Преглед на файлове

修改挖掘执行颜色变化

yun
corala преди 2 години
родител
ревизия
ac90f516a2
променени са 3 файла, в които са добавени 23 реда и са изтрити 15 реда
  1. +19
    -8
      pages/center/consumer/consumerDetail.vue
  2. +2
    -5
      pages/mine/details2.vue
  3. +2
    -2
      utils/domain.js

+ 19
- 8
pages/center/consumer/consumerDetail.vue Целия файл

@@ -199,12 +199,15 @@
<view class="hsnrtest" v-if="subitem.show">话术内容</view>
<view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
v-for="(che,inc) in subitem.children" :key='inc'>
<view class="title1">{{inc+1}}.{{che.name}}</view>
<!-- che.selected==0 为本次接待-蓝色 ,viewFlag==1 为2次接待-黄色 未执行-灰色-->
<!-- <view class="title1" v-if="che.viewFlag==1" :style="che.viewFlag==1?'color:#FF8C13':che.selected!=0?'color: #666':''">{{inc+1}}.{{che.name}}</view> -->
<view class="title1" :style="che.viewFlag==1?'color:#FF8C13':che.selected!=0?'color: #666':''">{{inc+1}}.{{che.name}}</view>
<view class="jiantobox">
<image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
<image v-if="che.selected==0&&che.viewFlag != 1" class="arrow" src="/static/images/rate-checked.png"
mode="" />
<image v-if="che.selected==1" class="arrow" src="/static/images/rate-nocheck.png"
<image v-else-if="che.selected==0&&che.viewFlag == 1" class="arrow" src="/static/images/checked-yellow.png"
mode="" />
<image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
</view>
</view>
<view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
@@ -250,9 +253,12 @@
<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:#FF8C13':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/checked-yellow.png"
mode="" />
<image v-else class="arrow" src="/static/images/rate-nocheck.png"
mode="" />
@@ -279,10 +285,12 @@
<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:#FF8C13':che.selected==1?'color: #666':''">{{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-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/checked-yellow.png"
mode="" />
<image v-else class="arrow" src="/static/images/rate-nocheck.png"
mode="" />
</view>
@@ -371,7 +379,7 @@
// 客户详情需求挖掘话术
getfindKeyWordsBycusId() {
this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
console.log(res)
// console.log(res)
if(res.length){
res.forEach(item=>{
item.show = false
@@ -560,6 +568,7 @@
rate: item.fraction,
name: item.name,
sort: item.sort,
viewFlag: item.viewFlag,
show: false,
ratepercent: 0,
children: []
@@ -579,6 +588,7 @@
rate: subitem.fraction,
selected: subitem.selected,
name: subitem.name,
viewFlag: subitem.viewFlag,
show: false,
marketingId: subitem.marketingId,
children: []
@@ -595,6 +605,7 @@
id: subitem.id,
rate: subitem.fraction,
selected: subitem.selected,
viewFlag: subitem.viewFlag,
name: subitem.name,
marketingId: subitem.marketingId,
})


+ 2
- 5
pages/mine/details2.vue Целия файл

@@ -296,7 +296,8 @@
<view class="hsnrtest" v-if="subitem.show">话术内容</view>
<view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
v-for="(che,inc) in subitem.children" :key='inc'>
<view class="title1" :style="che.viewFlag==1?'color:#FF8C13':che.selected!=0?'color: #666':''" :class="{orange: che.viewFlag == 1}">{{inc+1}}.{{che.name}}</view>
<!-- che.selected==0 为本次接待 ,viewFlag==1 为2次接待 -->
<view class="title1" :style="che.viewFlag==1?'color:#FF8C13':che.selected!=0?'color: #666':''">{{inc+1}}.{{che.name}}</view>
<view class="jiantobox">
<image v-if="che.selected==0&&che.viewFlag != 1" class="arrow" src="/static/images/rate-checked.png"
mode="" />
@@ -2824,10 +2825,6 @@
font-weight: 400;
}

.orange {
color: #FF8C13 !important;
}

.jiantobox {
width: 30rpx;
height: 30rpx;


+ 2
- 2
utils/domain.js Целия файл

@@ -1,6 +1,6 @@
// http.js使用域名
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试服务器1
const baseUrl = 'http://81.70.55.170:7070/api';// 测试服务器2
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试服务器1
// const baseUrl = 'http://81.70.55.170:7070/api';// 测试服务器2
// 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'; // 盛浩


Зареждане…
Отказ
Запис