master
parent
99a17d532c
commit
dfca7c9ee2
@ -1,3 +1,3 @@
|
||||
NODE_ENV = 'development'
|
||||
VUE_APP_URL = ''
|
||||
VUE_APP_CDN = ''
|
||||
VUE_APP_URL = 'http://121.41.26.2251:8002/admin'
|
||||
VUE_APP_CDN = 'http://121.41.26.2251:8002/admin'
|
@ -1,3 +1,3 @@
|
||||
NODE_ENV = 'production'
|
||||
VUE_APP_URL = ''
|
||||
VUE_APP_CDN = ''
|
||||
VUE_APP_URL = 'http://121.41.26.2251:8002/admin'
|
||||
VUE_APP_CDN = 'http://121.41.26.2251:8002/admin'
|
@ -0,0 +1,10 @@
|
||||
import httpService from "@/request"
|
||||
|
||||
// 获取预报列表
|
||||
export function functionName(params) {
|
||||
return httpService({
|
||||
url: `url`,
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import httpService from "@/request"
|
||||
|
||||
// 登录
|
||||
export function loginTel(params) {
|
||||
return httpService({
|
||||
url: `/manage/loginTelCode`,
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div>
|
||||
<a-drawer
|
||||
title="抽屉"
|
||||
:width="720"
|
||||
:visible="visible"
|
||||
:body-style="{ paddingBottom: '80px' }"
|
||||
@close="onClose"
|
||||
>
|
||||
<div class="drawer-content"></div>
|
||||
<div class="drawer-footer">
|
||||
<a-button :style="{ marginRight: '8px' }" @click="onClose">
|
||||
关闭
|
||||
</a-button>
|
||||
<a-button type="primary" @click="onClose"> 提交 </a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
showDrawer() {
|
||||
this.visible = true;
|
||||
},
|
||||
onClose() {
|
||||
this.visible = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue