Commit 17ffa36c by chenwq

去掉console

1 parent 10b39438
......@@ -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)
......@@ -655,7 +655,6 @@ Page({
confirmText: "确定",
confirmColor: "#347BFF",
complete(res) {
console.log(res, 'res-----')
if (res.confirm) {
api.saveTempReport(params).then(res => {
if (res.code == '0' || res.code == '-3') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!