master
parent
d03b032036
commit
488781f8b5
@ -1,3 +1,3 @@
|
|||||||
NODE_ENV = 'development'
|
NODE_ENV = 'development'
|
||||||
VUE_APP_URL = 'http://121.41.26.2251:8002/admin'
|
VUE_APP_URL = 'http://121.41.26.225:8002/admin'
|
||||||
VUE_APP_STATIC = 'http://121.41.26.2251:8002/admin'
|
VUE_APP_STATIC = 'https://saas.kaidalai.cn/resource/admin'
|
@ -1,3 +1,3 @@
|
|||||||
NODE_ENV = 'production'
|
NODE_ENV = 'production'
|
||||||
VUE_APP_URL = 'https://saas.kaidalai.cn/api/admin'
|
VUE_APP_URL = 'https://saas.kaidalai.cn/api/admin'
|
||||||
VUE_APP_STATIC = 'https://saas.kaidalai.cn/api/admin'
|
VUE_APP_STATIC = 'https://saas.kaidalai.cn/resource'
|
@ -1,9 +1,9 @@
|
|||||||
import httpService from "@/request"
|
import httpService from "@/request"
|
||||||
|
|
||||||
// 获取预报列表
|
// 小区
|
||||||
export function functionName(params) {
|
export function functionName(params) {
|
||||||
return httpService({
|
return httpService({
|
||||||
url: `url`,
|
url: `/user/community/getCommunityInfoByCompanyId`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: params,
|
data: params,
|
||||||
})
|
})
|
@ -0,0 +1,18 @@
|
|||||||
|
import httpService from "@/request"
|
||||||
|
|
||||||
|
// 获取控制台信息
|
||||||
|
export function consoleShow(params) {
|
||||||
|
return httpService({
|
||||||
|
url: `/user/console/show`,
|
||||||
|
method: 'get',
|
||||||
|
params: params,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 入驻申请
|
||||||
|
export function settledInsert(params) {
|
||||||
|
return httpService({
|
||||||
|
url: `/user/settledApplication/insert`,
|
||||||
|
method: 'post',
|
||||||
|
data: params,
|
||||||
|
})
|
||||||
|
}
|
@ -0,0 +1,48 @@
|
|||||||
|
export const form = {
|
||||||
|
username: "",
|
||||||
|
password: "",
|
||||||
|
tel: "",
|
||||||
|
code:""
|
||||||
|
}
|
||||||
|
export const registerForm = {
|
||||||
|
tel: "",
|
||||||
|
code: "",
|
||||||
|
password: '',
|
||||||
|
confirmPsw:''
|
||||||
|
}
|
||||||
|
export const registerRules = {
|
||||||
|
tel: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请输入手机号",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 11,
|
||||||
|
max: 11,
|
||||||
|
message: "手机号长度必须为 11 位",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
code: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请输入验证码",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
password: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请输入密码",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
confirmPsw: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请确认密码",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in new issue