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 = { ...@@ -267,7 +267,8 @@ module.exports = {
/** 获取与会驻店人员 */ /** 获取与会驻店人员 */
getStaffList(data) { 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({ ...@@ -301,7 +301,7 @@ Page({
// 与会驻店人员选择确定 // 与会驻店人员选择确定
changeStaff(e) { changeStaff(e) {
let { selectItemName, tmlpFormData, trainTmlpSuffix } = this.data; let { selectItemName, tmlpFormData, trainTmlpSuffix } = this.data;
if(selectItemName) { if (selectItemName) {
tmlpFormData[selectItemName] = ""; tmlpFormData[selectItemName] = "";
tmlpFormData[selectItemName + "Txt"] = ""; tmlpFormData[selectItemName + "Txt"] = "";
} }
...@@ -315,7 +315,7 @@ Page({ ...@@ -315,7 +315,7 @@ Page({
list.push(item.staffName); list.push(item.staffName);
ids.push(item.id) ids.push(item.id)
}); });
if(selectItemName) { if (selectItemName) {
tmlpFormData[selectItemName] = list.join(","); tmlpFormData[selectItemName] = list.join(",");
tmlpFormData[selectItemName + 'Txt'] = list.join(',') tmlpFormData[selectItemName + 'Txt'] = list.join(',')
} }
...@@ -484,7 +484,7 @@ Page({ ...@@ -484,7 +484,7 @@ Page({
inputLimit: frontConfig.inputLimit || {}, inputLimit: frontConfig.inputLimit || {},
isOnlyPc: frontConfig.isOnlyPc || false isOnlyPc: frontConfig.isOnlyPc || false
}) })
if(!frontConfig.isOnlyPc) { if (!frontConfig.isOnlyPc) {
tmlpFormData[k.key] = k.value tmlpFormData[k.key] = k.value
} }
if (frontConfig.type == 'select') { if (frontConfig.type == 'select') {
...@@ -654,7 +654,7 @@ Page({ ...@@ -654,7 +654,7 @@ Page({
cancelColor: "#292D33", cancelColor: "#292D33",
confirmText: "确定", confirmText: "确定",
confirmColor: "#347BFF", confirmColor: "#347BFF",
success(res) { complete(res) {
if (res.confirm) { if (res.confirm) {
api.saveTempReport(params).then(res => { api.saveTempReport(params).then(res => {
if (res.code == '0' || res.code == '-3') { if (res.code == '0' || res.code == '-3') {
...@@ -666,6 +666,10 @@ Page({ ...@@ -666,6 +666,10 @@ Page({
isConfirm: false 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!