douzhuo 2 年前
父节点
当前提交
b899656a2d
共有 2 个文件被更改,包括 38 次插入37 次删除
  1. +1
    -1
      manifest.json
  2. +37
    -36
      pages/mine/details2.vue

+ 1
- 1
manifest.json 查看文件

@@ -1,5 +1,5 @@
{
"name" : "去房智控管家",
"name" : "数智工牌",
"appid" : "__UNI__7A1611D",
"description" : "去房智控管家",
"versionName" : "1.1.0",


+ 37
- 36
pages/mine/details2.vue 查看文件

@@ -818,44 +818,45 @@
this.wajueshow = true
return;
}
let flag = true
this.wajueshow = true
if(flag){
flag = false
}
uni.request({
url: config.service.addWordMining,
method: "post",
header: {
'content-type': 'application/json',
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
data: {
"houseId": this.buildingID, // 楼盘id
"cusId": this.customerId, //客户id
"question": this.thewrongword, // 问题
"keywordsId": this.wordBiao.wordBiaoqianId, // 标签id
"level": this.wordBiao.level // 标签等级
},
success: (res) => {
// console.log(res)
flag = true;
if (res.data.code == 10000) {
uni.showToast({
title: '添加成功',
duration: 2000
});
this.wajueshow = false
} else {
uni.showToast({
title: res.data.message,
icon: 'none',
duration: 2000
});
this.wajueshow = false
if(!this.flag){
this.flag = true
uni.request({
url: config.service.addWordMining,
method: "post",
header: {
'content-type': 'application/json',
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
data: {
"houseId": this.buildingID, // 楼盘id
"cusId": this.customerId, //客户id
"question": this.thewrongword, // 问题
"keywordsId": this.wordBiao.wordBiaoqianId, // 标签id
"level": this.wordBiao.level // 标签等级
},
success: (res) => {
// console.log(res)
this.flag = false;
if (res.data.code == 10000) {
uni.showToast({
title: '添加成功',
icon: 'none',
duration: 2000
});
this.wajueshow = false
} else {
uni.showToast({
title: res.data.message,
icon: 'none',
duration: 2000
});
this.wajueshow = false
}
}
}
})
})
}
},
// 挖掘话术分类树的选择
confirmTree(e) {


正在加载...
取消
保存