瀏覽代碼

需求挖掘功能

yun
corala 2 年之前
父節點
當前提交
ae631d4f21
共有 5 個文件被更改,包括 32 次插入29 次删除
  1. +1
    -1
      manifest.json
  2. +20
    -19
      pages.json
  3. +2
    -2
      pages/center/consumer/consumerDetail.vue
  4. +2
    -1
      pages/center/records/index.vue
  5. +7
    -6
      pages/mine/details2.vue

+ 1
- 1
manifest.json 查看文件

@@ -96,7 +96,7 @@
"urlCheck" : false,
"es6" : true,
"postcss" : true,
"minified" : true
"minified" : false
},
"usingComponents" : true,
"permission" : {},


+ 20
- 19
pages.json 查看文件

@@ -60,25 +60,6 @@
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/reportExcel/dayReport",
"style": {
"navigationBarTitleText": "数智工牌日报",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/reportExcel/weekReport",
"style": {
"navigationBarTitleText": "数智工牌周报",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
}
],
//这下面是分包
@@ -377,6 +358,26 @@
]
},
{
"root": "pages/reportExcel", //中心逻辑的模块都放到这里
"name": "reportExcel",
"pages": [{
"path": "weekReport",
"style": {
"navigationBarTitleText": "数智工牌周报",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},{
"path": "dayReport",
"style": {
"navigationBarTitleText": "数智工牌日报",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
}
]
},
{
"root": "pages/center", //中心逻辑的模块都放到这里
"name": "center",


+ 2
- 2
pages/center/consumer/consumerDetail.vue 查看文件

@@ -269,9 +269,9 @@
<view class="title1">{{item.name}}</view>
<view class="leve1-jindu">
<view class="jindutiao">
<view class="huanxing" v-if="item.selected==0" style="width: 100%"></view>
<view class="huanxing" v-if="item.selected==0" :style="{width: item.fraction+'%'}"></view>
<view class="huanxing" v-else style="width: 0"></view>
<view class="text">{{item.selected==0?100:0}}%</view>
<view class="text">{{item.selected==0?item.fraction:0}}%</view>
</view>
</view>
<view class="jiantobox">


+ 2
- 1
pages/center/records/index.vue 查看文件

@@ -529,6 +529,7 @@
var item = {
bg: 0,
customerId: item.id,
wordFraction: item.wordFraction
}
uni.setStorageSync("searchobj", item); //写入缓存
uni.setStorageSync("entrance", 1); //写入缓存
@@ -549,7 +550,7 @@
let newobj = res[0];
if (res[0].merge == 0) {
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&wordFraction=${item.wordFraction}`
})
} else {
uni.navigateTo({


+ 7
- 6
pages/mine/details2.vue 查看文件

@@ -314,9 +314,9 @@
<view class="title1">{{item.name}}</view>
<view class="leve1-jindu">
<view class="jindutiao">
<view class="huanxing" v-if="item.selected==0" style="width: 100%"></view>
<view class="huanxing" v-if="item.selected==0" :style="{width: item.fraction+'%'}"></view>
<view class="huanxing" v-else style="width: 0"></view>
<view class="text">{{item.selected==0?100:0}}%</view>
<view class="text">{{item.selected==0?item.fraction:0}}%</view>
</view>
</view>
<view class="jiantobox">
@@ -636,6 +636,7 @@
this.status = options.status;
this.customerId = options.customerId;
this.KeyWordsfraction = options.wordFraction||0;
this.itemobj = uni.getStorageSync('searchobj');
console.log(this.itemobj)
this.stateisshow = options.stateisshow;
@@ -1593,11 +1594,11 @@
this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
// console.log(res)
if(res.length){
this.KeyWordsfraction = 0
// this.KeyWordsfraction = 0
res.forEach(item=>{
if(item.selected==0){
this.KeyWordsfraction += +item.fraction // 总执行率
}
// if(item.selected==0){
// this.KeyWordsfraction += +item.fraction // 总执行率
// }
item.show = false
item.children.forEach(obj=>{
obj.show = false


Loading…
取消
儲存