瀏覽代碼

修改字段

newStyle
风继续吹 1 年之前
父節點
當前提交
7d69be78d6
共有 1 個文件被更改,包括 100 次插入83 次删除
  1. +100
    -83
      pages/mine/details2.vue

+ 100
- 83
pages/mine/details2.vue 查看文件

@@ -81,23 +81,24 @@
src="https://static.quhouse.com/1b6ac53247e043a1bdc59ecfb2167eba.png"></image>
</view>
<!-- ----------对话下方新加话术标签标识------------ -->
<!-- 1 客户画像 2销讲词 3违禁 4 需求挖掘 -->
<view class="newmark" v-if="item.types">
<view class="mark-item" v-for="(subitem,i) in dealTypes(item.types)" :key="i">
<image v-if="dealword(subitem)[0]==1" class="markicon"
src="https://static.quhouse.com/37e0de3f8d1c421dac8bf699d5e7992d.png"></image>
<image v-if="dealword(subitem)[0]==2" class="markicon"
src="https://static.quhouse.com/b106e8e75db24a59a579a15a78830a76.png"></image>
<image v-if="dealword(subitem)[0]==3" class="markicon"
src="https://static.quhouse.com/8443a2ecb81d4639991ab29c422e9949.png"></image>
<image v-if="dealword(subitem)[0]==4" class="markicon"
src="https://static.quhouse.com/1cd794cb6c974d9dad948a6dd444518b.png"></image>
<view class="marktext" :style="dealword(subitem)[0]==3?'color:#E7483C':'color:#3E50E8'">
{{dealword(subitem)[1]}}
<!-- 1 客户画像 2销讲词 3违禁 4 需求挖掘 -->
<view class="newmark" v-if="item.types">
<view class="mark-item" v-for="(subitem,i) in dealTypes(item.types)" :key="i">
<image v-if="dealword(subitem)[0]==1" class="markicon"
src="https://static.quhouse.com/37e0de3f8d1c421dac8bf699d5e7992d.png"></image>
<image v-if="dealword(subitem)[0]==2" class="markicon"
src="https://static.quhouse.com/b106e8e75db24a59a579a15a78830a76.png"></image>
<image v-if="dealword(subitem)[0]==3" class="markicon"
src="https://static.quhouse.com/8443a2ecb81d4639991ab29c422e9949.png"></image>
<image v-if="dealword(subitem)[0]==4" class="markicon"
src="https://static.quhouse.com/1cd794cb6c974d9dad948a6dd444518b.png"></image>
<view class="marktext"
:style="dealword(subitem)[0]==3?'color:#E7483C':'color:#3E50E8'">
{{dealword(subitem)[1]}}
</view>
</view>
</view>
</view>
</view>
</view>
</block>
</view>
@@ -144,15 +145,16 @@
src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode=""></image>
</view>
<view class="more-btn">
<view v-if="permissions.xgxjyw" class="btn-item" @click.stop="showTemplate = !showTemplate; Thetapeidisshow=false">
<!-- <image class="icon" v-if="userlistobj.validInvalidName"

<view v-if="permissions.xgxjyw" class="btn-item"
@click.stop="showTemplate = !showTemplate; Thetapeidisshow=false">
<!-- <image class="icon" v-if="userlistobj.validInvalidName"
src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
<image class="icon" v-else src="https://static.quhouse.com/480e572bf43c48558ad9febe5426f439.png"
mode=""></image> -->
更换销讲业务
</view>
<view class="btn-item" v-if="permissions.bjyx" @click.stop="alllogo">
<image class="icon" v-if="userlistobj.validInvalidName"
src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
@@ -304,12 +306,12 @@
</view>
</view>
<view class="pingfenbox">
<view style="overflow: hidden;" :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%
<view style="overflow: hidden;" :class="{ activecllasscet: zhixingcenterindex == 0 }"
@click="recordclick(0)">销讲总执行率{{totalRate}}%
</view>
<view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
@click="recordclick(1)">禁忌执行</view>
<view :class="{ activecllasscet: zhixingcenterindex == 2 }"
@click="recordclick(2)">需求挖掘率</view>
<view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率</view>
</view>
<view v-if="zhixingcenterindex == 0" class="cenisbox">
<view
@@ -392,8 +394,7 @@
<view class="item" v-else style="flex:1;text-align:center;">未完成</view>
</view>
<view class="jiantobox">
<image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
mode="" />
<image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
<image v-else class="arrow" src="/static/images/up.png" mode="" />
</view>
</view>
@@ -435,8 +436,8 @@
<view class="zhixing2" v-else>未完成</view>
</view>
<view class="jiantobox">
<image v-if="!subitem.show" class="arrow rotatearrow"
src="/static/images/down.png" mode="" />
<image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
mode="" />
<image v-else class="arrow" src="/static/images/up.png" mode="" />
</view>
</view>
@@ -445,8 +446,8 @@
客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
<view class="hsnrtest" style="margin-top: 10rpx">话术内容:</view>
<view v-if="subitem.modelList.length==0">暂无话术</view>
<view class="Level3che" @click="clickWajue(che)"
v-for="(che,inc) in subitem.modelList" :key='inc'>
<view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in subitem.modelList"
:key='inc'>
<view class="title1"
:style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
{{inc+1}}.{{che.showFormatExpression}}
@@ -540,30 +541,28 @@
<view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
</view>

<view class="zhezhao" v-if="effective"></view>
<view class="bounced" v-if="effective">
<view class="jiajinghuatit">选择</view>
<view>
<view class="uni-list">
<radio-group @change="radioChange">
<label style="display: flex;align-items: center;font-size: 30rpx;
width: 94%;height: 80rpx;margin: 0 auto;" v-for="(item, index) in effectiveitems" :key="item.value">
<view style="margin-top: 2rpx;flex: 1; text-indent: 20rpx;">{{item.name}}</view>
<view style="width: 80rpx;">
<radio :value="item.value" :checked="index == effectiveindex" />
</view>
</label>
</radio-group>
<template v-if="effective">
<view class="zhezhao"></view>
<view class="bounced">
<view class="jiajinghuatit">请选择无效原因</view>
<view class="uni-list"
style="margin: 20rpx 0;padding: 0 40rpx;display: flex;justify-content: center;height: 90rpx;"
@tap="effectiveIndexShow = true">
<view
style="width: 100%;padding: 10rpx 20rpx;display: flex;align-items: center;justify-content: space-between;border: 1rpx solid #E0E0E0;border-radius: 4rpx;color: #333333;">
{{ effectiveIndexText }}
<image style="width: 20rpx;height: 12rpx;" src="@/static/images/downs.png" mode=""></image>
</view>
</view>
<view v-if="effectiveindex==4">
<textarea class="ffectivetext" v-model="effectiveitext" placeholder="备注" />
<view v-if="effectiveindex == 5" style="margin: 20rpx 0;padding: 0 40rpx;">
<textarea class="ffectivetext" v-model="effectiveitext" placeholder="请填写无效原因" />
</view>
<view class="bounced3">
<view class="bounced3-1" @click="effective=false">取消</view>
<view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
</view>
</view>
<view class="bounced3">
<view class="bounced3-1" @click="effective=false">取消</view>
<view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
</view>
</view>
</template>

<!-- 修改角色 -->
<view class="zhezhao" v-if="roleisshaw" @tap="unmarktap()"></view>
@@ -592,6 +591,12 @@

<!-- 加载组件 -->
<u-loadings v-model="LOADING"></u-loadings>


<!-- 无效接待原因 -->
<u-select :mask-close-able="false" label-name="name" value-name="id" v-model="effectiveIndexShow"
mode="single-column" :list="effectiveitems" @cancel="effectiveIndexCancel" @confirm="effectiveIndexConfirm">
</u-select>
</view>
</template>

@@ -672,28 +677,10 @@

effective: false,
effectiveindex: '0',
effectiveitems: [{
value: '1',
name: '没电指派无录音',
checked: true
},
{
value: '2',
name: '离线指派无录音',
},
{
value: '3',
name: '系统测试误操作'
},
{
value: '4',
name: '非接访场景录音'
},
{
value: '5',
name: '其他'
}
],
effectiveitems: [],
effectiveIndexShow: false,
effectiveIndexText: '请选择',

effectiveitext: '',
textItself: '',
argtextindex1: 0,
@@ -719,12 +706,12 @@
refined: false, // 多选加精;
nowPlaying: 0, // 当前播放位置
stepPosition: 0, // 需要跳转的播放位置
templateList: [], // 销讲业务
showTemplate: false, // 展示选择销讲业务弹窗
templateName: '', // 销讲业务类型文字
percent: 0,// 挖掘成功
wordFraction: 0,// 挖掘执行
percent: 0, // 挖掘成功
wordFraction: 0, // 挖掘执行
};
},
computed: {
@@ -737,6 +724,7 @@
},

onLoad(options) {
this.buildingID = uni.getStorageSync('buildingID').id;
this.LOADING = true
this.status = options.status;
this.customerId = options.customerId;
@@ -767,6 +755,7 @@
})
})

this.getInvalidList()
uni.$on('DETAILS2INIT', (info) => {
this.itemobj = info
this.init(info)
@@ -801,11 +790,10 @@
// 校准 xz
this.intention = false;
this.kehuyixiangcenterindex = 0;
this.buildingID = uni.getStorageSync('buildingID').id;
if (this.stateisshow == 2) {
var info = this.itemobj;
}!this.isPageHide && this.init(info);
this.getMarketingBusiness()
},

@@ -824,6 +812,26 @@
},

methods: {

// 获取接待类型列表
getInvalidList() {
this.$u.post('/customer/invalidList', {
houseId: this.buildingID,
}).then(res => {
console.log(res)
this.effectiveitems = res.filter(item => item.id != 6 && item.id != 7)
})
},

effectiveIndexCancel() {
this.effectiveitext = "";
},

effectiveIndexConfirm(e) {
this.effectiveIndexText = e[0].label
this.effectiveindex = e[0].value
},

// 获取销讲业务
getMarketingBusiness() {
this.$u.get('/customer/marketingBusiness', {
@@ -1056,9 +1064,9 @@
this.zhixingcenterindex = i;
if (i == 0) {
this.getRatelist()
} else if(i ==1) {
} else if (i == 1) {
this.huoqujinji()
}else{
} else {
this.getfindKeyWordsBycusId()
}
},
@@ -1259,7 +1267,7 @@
},

effectiveAdd() {
if (this.effectiveindex == 4) {
if (this.effectiveindex == 5) {
if (this.effectiveitext.length == 0) {
uni.showToast({
title: '备注不能为空',
@@ -1269,12 +1277,21 @@
return
}
}

if (this.effectiveIndexText == "请选择") {
uni.showToast({
title: '请选择无效原因',
icon: "none",
duration: 2000
});
return
}
this.effective = false;
let parames = {
id: this.customerId,
validInvalid: '',
validInvalid: 1,
invalidReason: Number(this.effectiveindex) + 1,
invalidReason: this.effectiveindex,
invalidNote: this.effectiveitext
}
this.$u.post("/customer/updateValidInvalid", parames).then(res => {
@@ -2216,6 +2233,7 @@
.scroll-Y .text[data-speaker="6"] .newmark {
// margin-left: 84rpx;
}

.box {
width: 100%;
height: 100vh;
@@ -2641,6 +2659,7 @@
.cenisbox {
flex: 1;
overflow: auto;

.top-box {
height: 80rpx;
line-height: 80rpx;
@@ -2880,8 +2899,7 @@
}

// 顾问默认在右边显示
.scroll-Y .text[data-guwen="0"]
{
.scroll-Y .text[data-guwen="0"] {
flex-direction: row-reverse;
text-align: right;

@@ -2915,8 +2933,7 @@

}

.scroll-Y .text[data-guwen="0"]
{
.scroll-Y .text[data-guwen="0"] {
.contentInfo {
.info {
.AudioUserName {


Loading…
取消
儲存