mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 16:39:37 +08:00
1
This commit is contained in:
parent
1ba11dbd7a
commit
7ec0fbb629
@ -18,3 +18,12 @@ export function visitorSelectUserByCustomerRq(id) {
|
|||||||
method: "get",
|
method: "get",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 访客预约-添加
|
||||||
|
export function visitorPersonRq(data) {
|
||||||
|
return request({
|
||||||
|
url: '/api/visitor/visitorPerson',
|
||||||
|
method: "post",
|
||||||
|
data,
|
||||||
|
});
|
||||||
|
}
|
@ -6,6 +6,10 @@ import {
|
|||||||
selfFormatTimeYMDHMS
|
selfFormatTimeYMDHMS
|
||||||
} from "../../../../utils/util.js"
|
} from "../../../../utils/util.js"
|
||||||
|
|
||||||
|
import {
|
||||||
|
visitorPersonRq
|
||||||
|
} from "../../../../api/meeting/visitorIinvitation.js"
|
||||||
|
|
||||||
|
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
@ -294,8 +298,16 @@ Page({
|
|||||||
_this.showErrMsg('请上传照片!')
|
_this.showErrMsg('请上传照片!')
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
//
|
||||||
|
// 添加数据
|
||||||
|
visitorPersonRq(detail).then(res => {
|
||||||
|
console.log('visitorPersonRq', res);
|
||||||
|
if (res.code == 0) {
|
||||||
|
wx.navigateBack()
|
||||||
|
} else {
|
||||||
|
_this.showErrMsg(res.msg)
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 显示错误消息
|
// 显示错误消息
|
||||||
|
Loading…
x
Reference in New Issue
Block a user