@@ -997,9 +997,9 @@ export default { | |||
this.$u.post("/customer/customerManagement", parames) | |||
.then((data) => { | |||
this.LOADING = false; | |||
if (this.screen.staTime && this.screen.endTime) { | |||
this.arriveFilter = `${this.screen.staTime}-${this.screen.endTime}`; | |||
} | |||
// if (this.screen.staTime && this.screen.endTime) { | |||
// this.arriveFilter = `${this.screen.staTime}-${this.screen.endTime}`; | |||
// } | |||
var list = data.results || []; | |||
list.forEach((item) => { | |||
if (this.userInfo.dataCode == 6) { | |||
@@ -1056,25 +1056,28 @@ export default { | |||
}, | |||
//获取顾问列表 | |||
getFreeList() { | |||
this.freeList = []; | |||
this.$u | |||
.post("/cusLvStatistics/selectAllAccountIdByHouseId", { | |||
houseId: this.buildingID, | |||
}) | |||
.then((res) => { | |||
this.freeList = res; | |||
this.freeList.forEach((item) => { | |||
item.label = item.name; | |||
item.value = item.accountId; | |||
}); | |||
this.freeList.unshift({ | |||
label: '全部', | |||
value: '', | |||
}) | |||
if(this.userInfo.dataCode==6){ | |||
this.freeList = [] | |||
if(this.userInfo.dataCode==6){ | |||
this.freeList = [{ | |||
label: this.userInfo.name, | |||
value: this.userInfo.accountId | |||
}] | |||
}else{ | |||
this.freeList = []; | |||
this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", { | |||
houseId: this.buildingID, | |||
}) | |||
.then((res) => { | |||
this.freeList = res; | |||
this.freeList.forEach((item) => { | |||
item.label = item.name; | |||
item.value = item.accountId; | |||
}); | |||
this.freeList.unshift({ | |||
label: '全部', | |||
value: '', | |||
}) | |||
}); | |||
} | |||
}); | |||
}, | |||
// 获取客户阶段数据 | |||
getCustomPhase() { | |||
@@ -678,19 +678,27 @@ | |||
}, | |||
//获取顾问列表 | |||
getFreeList() { | |||
this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", { | |||
houseId: this.buildingID | |||
}).then(res => { | |||
this.freeList = res; | |||
this.freeList.forEach(item => { | |||
item.label = item.name; | |||
item.value = item.accountId | |||
}) | |||
this.freeList.unshift({ | |||
label:'全部', | |||
value: '' | |||
}) | |||
}) | |||
if(this.userInfo.dataCode==6){// 顾问角色登录时只显示自己 | |||
this.freeList = [{ | |||
label: this.userInfo.name, | |||
value: this.userInfo.accountId | |||
}] | |||
}else{ | |||
this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", { | |||
houseId: this.buildingID | |||
}).then(res => { | |||
this.freeList = res; | |||
this.freeList.forEach(item => { | |||
item.label = item.name; | |||
item.value = item.accountId | |||
}) | |||
this.freeList.unshift({ | |||
label:'全部', | |||
value: '' | |||
}) | |||
}) | |||
} | |||
}, | |||
actionSelectCallback(e) { | |||
this.screen.agentId = e[0].value; | |||
@@ -343,10 +343,13 @@ | |||
<view class="hhhbox" v-if="item.show" style="padding: 30rpx;"> | |||
<view class="hsnrtest">话术内容</view> | |||
<view class="Level3che" v-for="(che,inc) in item.questionList" :key='inc'> | |||
<view class="title1">{{inc+1}}.{{che.question}}</view> | |||
<view class="title1" :style="che.selected==2?'color:#666':che.selected==1?'color: #666':''">{{inc+1}}.{{che.question}}</view> | |||
<view class="jiantobox"> | |||
<!-- 0本次选中 1未选中 2上次选中 --> | |||
<image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png" | |||
mode="" /> | |||
<image v-else-if="che.selected==2" class="arrow" src="/static/images/rate-checked.png" | |||
mode="" /> | |||
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" /> | |||
</view> | |||
</view> | |||
@@ -370,11 +373,16 @@ | |||
<view v-if="subitem.show" style="padding: 30rpx 0;"> | |||
<view class="hsnrtest">话术内容</view> | |||
<view class="Level3che" v-for="(che,inc) in subitem.questionList" :key='inc'> | |||
<view class="title1">{{inc+1}}.{{che.question}}</view> | |||
<view class="title1" :style="che.selected==2?'color:#666':che.selected==1?'color: #666':''">{{inc+1}}.{{che.question}}</view> | |||
<!-- <view class="title1">{{inc+1}}.{{che.question}}</view> --> | |||
<view class="jiantobox"> | |||
<image v-if="che.selected==0" class="arrow" | |||
src="/static/images/rate-checked.png" mode="" /> | |||
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" /> | |||
<!-- 0本次选中 1未选中 2上次选中 --> | |||
<image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png" | |||
mode="" /> | |||
<image v-else-if="che.selected==2" class="arrow" src="/static/images/rate-checked.png" | |||
mode="" /> | |||
<!-- <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png" mode="" /> --> | |||
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" /> | |||
</view> | |||
</view> | |||
</view> | |||
@@ -1,5 +1,6 @@ | |||
// http.js使用域名 | |||
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||
const baseUrl = 'http://81.70.55.170:7070/api';// 最新测试 | |||
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||
// const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | |||
// const baseUrl = 'http://192.168.31.231:8080/autoSR/api'; // 长龙 | |||
// const baseUrl = 'http://192.168.31.149:8080/api'; // 盛浩 | |||