douzhuo 1 rok temu
rodzic
commit
b899656a2d
2 zmienionych plików z 38 dodań i 37 usunięć
  1. +1
    -1
      manifest.json
  2. +37
    -36
      pages/mine/details2.vue

+ 1
- 1
manifest.json Wyświetl plik

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


+ 37
- 36
pages/mine/details2.vue Wyświetl plik

@@ -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) {


Ładowanie…
Anuluj
Zapisz