Selaa lähdekoodia

需求挖掘功能

yun
corala 1 vuosi sitten
vanhempi
commit
399947dd94
4 muutettua tiedostoa jossa 20 lisäystä ja 17 poistoa
  1. +1
    -1
      manifest.json
  2. +3
    -4
      pages/center/consumer/consumerDetail.vue
  3. +11
    -6
      pages/center/consumer/index.vue
  4. +5
    -6
      pages/mine/details2.vue

+ 1
- 1
manifest.json Näytä tiedosto

@@ -93,7 +93,7 @@
"mp-weixin" : {
"appid" : "wx8f883dca5ecc5510",
"setting" : {
"urlCheck" : true,
"urlCheck" : false,
"es6" : true,
"postcss" : true,
"minified" : true


+ 3
- 4
pages/center/consumer/consumerDetail.vue Näytä tiedosto

@@ -28,7 +28,7 @@
手机号码:{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
</view>
<view class="content-sec-lab1" style="width: 44%"
>到访次数:{{ customerInfo.visitRecord || "--" }}次/{{
>到访次数:{{ customerInfo.visitRecord || 0 }}次/{{
customerInfo.mm || 0
}}min</view
>
@@ -39,8 +39,7 @@
>
<view class="content-sec-lab1" @click.stop="tipupon" style="width: 44%"
>画像标签:<text class="look">{{
customerInfo.demand.cusSemanticWordsList.length || 0
}}</text><text class="look1" >查看</text></view
customerInfo.demand.cusSemanticWordsList?customerInfo.demand.cusSemanticWordsList.length:0}}</text><text class="look1" >查看</text></view
>
</view>
<view class="content-sec-lab">
@@ -419,7 +418,7 @@
che.name = che.name + che.unit + '-' + che.endName + che.unit;
}
})
res.demand.cusSemanticWordsList = res.demand.cusSemanticWordsList.slice(0, 3)
// res.demand.cusSemanticWordsList = res.demand.cusSemanticWordsList.slice(0, 3)
}

// console.log(res.demand.cusSemanticWords,'关键字')


+ 11
- 6
pages/center/consumer/index.vue Näytä tiedosto

@@ -111,7 +111,7 @@
>手机号码:{{ item.phone || "--" }}</view
>
<view class="content-sec-lab1" style="width: 44%"
>到访次数:{{ item.visitRecord || "--" }}次/{{
>到访次数:{{ item.visitRecord || 0 }}次/{{
item.mm || 0
}}min</view
>
@@ -849,13 +849,16 @@ export default {
.then((res) => {
console.log(res)
if(res.length){
res.forEach((item) => {
item.label = item.sourceName
item.value = item.id
item.isShow = false
this.sourceList = res.map((item) => {
return {
label: item.sourceName,
value: item.id,
isShow: false
}
})
}else{
this.sourceList = []
}
this.sourceList = res
})
},
// 过滤
@@ -1039,6 +1042,8 @@ export default {
che.name = che.name + che.unit + "-" + che.endName + che.unit;
}
});
}else{
item.demand.cusSemanticWordsList = []
}
});
if (this.isRefresh) {


+ 5
- 6
pages/mine/details2.vue Näytä tiedosto

@@ -155,7 +155,7 @@
</view>
<view class="tian-view" style="margin-left: 20rpx;">
<view class="tian-view-t2">
话术内容:<u-input :auto-height="true" :height="80" type="textarea" v-model="thewrongword" :border="true" :custom-style="{'width': '320rpx','font-size':'34rpx'}" placeholder="请输入" />
话术内容:<u-input style="flex:1" :auto-height="true" :height="50" type="textarea" v-model="thewrongword" :border="false" :custom-style="{'width': '320rpx','font-size':'34rpx','border-bottom': '1px solid #ccc'}" placeholder="请输入" />
</view>
</view>
</u-modal>
@@ -164,13 +164,13 @@
<u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="$noMultipleClicks(Confirmtheexit)">
<view class="tian-view">
<view class="tian-view-t2" style="margin-left: 20rpx;">
常错词:<u-input :auto-height="true" :height="80" type="textarea" v-model="thewrongword" :border="true" :custom-style="{'width': '320rpx','font-size':'34rpx'}" placeholder="请输入" />
常错词:<u-input style="flex:1" :auto-height="true" :height="50" type="textarea" v-model="thewrongword" :border="false" :custom-style="{'width': '320rpx','font-size':'34rpx','border-bottom': '1px solid #ccc'}" placeholder="请输入" />
</view>
</view>
<view class="tian-view">
<view class="tian-view-t3" style="margin-left: 20rpx;">正确词:<u-input :auto-height="true" :height="80" type="textarea" v-model="reswrongword" :border="true" :custom-style="{'width': '320rpx','font-size':'34rpx'}" placeholder="请输入" /></view>
<view class="tian-view-t3" style="margin-left: 20rpx;">
正确词:<u-input style="flex:1" :auto-height="true" :height="50" type="textarea" v-model="reswrongword" :border="false" :custom-style="{'width': '320rpx','font-size':'34rpx','border-bottom': '1px solid #ccc'}" placeholder="请输入" /></view>
</view>
</u-modal>

<!-- 加精华 -->
@@ -2714,7 +2714,6 @@
background-color: #FFFFFF;
display: flex;
margin-bottom:30rpx;

.tian-view-t2 {
width: 100%;
font-size: 34rpx;
@@ -2726,7 +2725,7 @@
display: flex;
font-size: 34rpx;
.huashu-input{
padding:0 10rpx;
flex:1;
font-size: 34rpx;
border-bottom: 1px solid #ccc;
}


Ladataan…
Peruuta
Tallenna