Explorar el Código

合并代码

yun
corala hace 2 años
padre
commit
9efde7ba90
Se han modificado 3 ficheros con 58 adiciones y 39 borrados
  1. +24
    -21
      pages/center/consumer/index.vue
  2. +21
    -13
      pages/center/records/index.vue
  3. +13
    -5
      pages/mine/details2.vue

+ 24
- 21
pages/center/consumer/index.vue Ver fichero

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

@@ -682,19 +682,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 Ver fichero

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


Cargando…
Cancelar
Guardar