Kaynağa Gözat

修改顾问账号登录时的筛选,及挖掘执行状态显示

yun
corala 2 yıl önce
ebeveyn
işleme
7552dad836
4 değiştirilmiş dosya ile 60 ekleme ve 40 silme
  1. +24
    -21
      pages/center/consumer/index.vue
  2. +21
    -13
      pages/center/records/index.vue
  3. +13
    -5
      pages/mine/details2.vue
  4. +2
    -1
      utils/domain.js

+ 24
- 21
pages/center/consumer/index.vue Dosyayı Görüntüle

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


+ 21
- 13
pages/center/records/index.vue Dosyayı Görüntüle

@@ -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;


+ 13
- 5
pages/mine/details2.vue Dosyayı Görüntüle

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


+ 2
- 1
utils/domain.js Dosyayı Görüntüle

@@ -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'; // 盛浩


Yükleniyor…
İptal
Kaydet