Commit 190b503d by 前端

Merge branch 'SAAS+V4.51.1-0415' into 'SAAS+V4.52.0-0429'

开发提测合并

See merge request !380
2 parents e3b84638 17ffa36c
......@@ -267,7 +267,8 @@ module.exports = {
/** 获取与会驻店人员 */
getStaffList(data) {
return api.post("dj.api.mindworkplate.app.daily.report.staffBaseInfo.pageList", data);
// return api.post("dj.api.mindworkplate.app.daily.report.staffBaseInfo.pageList", data);
return api.post("dj.api.mindworkplate.app.daily.report.staffBaseInfo.page", data);
},
// 获取带教管理列表数据
......
......@@ -301,7 +301,7 @@ Page({
// 与会驻店人员选择确定
changeStaff(e) {
let { selectItemName, tmlpFormData, trainTmlpSuffix } = this.data;
if(selectItemName) {
if (selectItemName) {
tmlpFormData[selectItemName] = "";
tmlpFormData[selectItemName + "Txt"] = "";
}
......@@ -315,7 +315,7 @@ Page({
list.push(item.staffName);
ids.push(item.id)
});
if(selectItemName) {
if (selectItemName) {
tmlpFormData[selectItemName] = list.join(",");
tmlpFormData[selectItemName + 'Txt'] = list.join(',')
}
......@@ -484,7 +484,7 @@ Page({
inputLimit: frontConfig.inputLimit || {},
isOnlyPc: frontConfig.isOnlyPc || false
})
if(!frontConfig.isOnlyPc) {
if (!frontConfig.isOnlyPc) {
tmlpFormData[k.key] = k.value
}
if (frontConfig.type == 'select') {
......@@ -595,7 +595,7 @@ Page({
let thisPage = wx.$router.getPageInstance()
return thisPage?.data[this.data.dataAttrName]
},
dealParams() {
let { tmlpObj } = this.data
let list = Object.keys(tmlpObj)
......@@ -654,7 +654,7 @@ Page({
cancelColor: "#292D33",
confirmText: "确定",
confirmColor: "#347BFF",
success(res) {
complete(res) {
if (res.confirm) {
api.saveTempReport(params).then(res => {
if (res.code == '0' || res.code == '-3') {
......@@ -666,6 +666,10 @@ Page({
isConfirm: false
})
})
} else {
that.setData({
isConfirm: false
})
}
}
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!