Commit e0c4a7ee by 徐忆琳

Merge branch 'xuyl_v3.13_0' into 'scrmv3.13.0'

解决watch报错问题,数字展示优化

See merge request !16
2 parents ca39f5c6 94156456
...@@ -23,12 +23,13 @@ ...@@ -23,12 +23,13 @@
<template slot='shareName' slot-scope='scope'> <template slot='shareName' slot-scope='scope'>
<div class='wechatWrap'> <div class='wechatWrap'>
<img v-if="scope.scope.shareimg !== 'null' && scope.scope.shareimg" class='wechatimg' :src='scope.scope.shareimg'> <img v-if="scope.scope.shareimg !== 'null' && scope.scope.shareimg" class='wechatimg'
{{ scope.scope.shareName == 'null'|| !scope.scope.shareName? '-' : scope.scope.shareName }} :src='scope.scope.shareimg'>
{{ scope.scope.shareName == 'null' || !scope.scope.shareName ? '-' : scope.scope.shareName }}
</div> </div>
</template> </template>
<!-- 转发明细员工--> <!-- 转发明细员工-->
<template slot='staff' slot-scope='scope'> <template slot='staff' slot-scope='scope'>
<div class='wechatWrap'> <div class='wechatWrap'>
<img v-if='scope.scope.wechatimg' class='wechatimg' :src='scope.scope.wechatimg'> <img v-if='scope.scope.wechatimg' class='wechatimg' :src='scope.scope.wechatimg'>
...@@ -36,12 +37,12 @@ ...@@ -36,12 +37,12 @@
</div> </div>
</template> </template>
<!-- 转发明细核销激励--> <!-- 转发明细核销激励-->
<template slot='writeoffIncentive' slot-scope='scope'> <template slot='writeoffIncentive' slot-scope='scope'>
{{ scope.scope.writeoffIncentive == 'null' ? '-' : scope.scope.writeoffIncentive }} {{ scope.scope.writeoffIncentive == 'null' ? '-' : scope.scope.writeoffIncentive }}
</template> </template>
<!-- 转化率--> <!-- 转化率-->
<template slot='conversionRate' slot-scope='scope'> <template slot='conversionRate' slot-scope='scope'>
{{ scope.scope.writeoffIncentive == 'null' ? '-' : scope.scope.writeoffIncentive }} {{ scope.scope.writeoffIncentive == 'null' ? '-' : scope.scope.writeoffIncentive }}
</template> </template>
...@@ -65,15 +66,17 @@ ...@@ -65,15 +66,17 @@
<template slot='reference' slot-scope='scope'> <template slot='reference' slot-scope='scope'>
{{ scope.scope.reference == 'null' || !scope.scope.reference ? '-' : scope.scope.reference }} {{ scope.scope.reference == 'null' || !scope.scope.reference ? '-' : scope.scope.reference }}
<span v-if='scope.scope.referencetype && scope.scope.reference' class='referencetype'>@{{ !scope.scope.referencetype || scope.scope.referencetype =='null' ? '-' : scope.scope.referencetype }}</span> <span v-if='scope.scope.referencetype && scope.scope.reference'
class='referencetype'>@{{ !scope.scope.referencetype || scope.scope.referencetype == 'null' ? '-' : scope.scope.referencetype
}}</span>
</template> </template>
<template slot='lastFollowup' slot-scope='scope'> <template slot='lastFollowup' slot-scope='scope'>
<el-switch <el-switch
v-model="scope.scope.lastFollowup == '是'" v-model="scope.scope.lastFollowup == '是'"
active-color="#EB6001" active-color='#EB6001'
inactive-color="#E8E8EA"> inactive-color='#E8E8EA'>
</el-switch> </el-switch>
</template> </template>
...@@ -100,7 +103,7 @@ export default { ...@@ -100,7 +103,7 @@ export default {
}, },
data() { data() {
return { return {
showFuncIntro:false, showFuncIntro: false,
getListApi: this.api.renewal.getDetail, getListApi: this.api.renewal.getDetail,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'totalNum' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'totalNum' },
tableParams: null, tableParams: null,
...@@ -138,7 +141,7 @@ export default { ...@@ -138,7 +141,7 @@ export default {
watch: { watch: {
selectedData: { selectedData: {
handler(newValue, oldValue) { handler(newValue, oldValue) {
this.detailTitle = this.switchSelectedType(newValue.type) this.detailTitle = newValue && this.switchSelectedType(newValue.type)
this.renewalSearchForm.activityName = newValue.activityName this.renewalSearchForm.activityName = newValue.activityName
// '活动1' // '活动1'
this.renewalSearchForm.merchantId = newValue.merchantId this.renewalSearchForm.merchantId = newValue.merchantId
...@@ -150,7 +153,7 @@ export default { ...@@ -150,7 +153,7 @@ export default {
}, 500) }, 500)
}, },
deep: true, deep: true,
immediate: true immediate: false
} }
} }
} }
...@@ -167,10 +170,12 @@ export default { ...@@ -167,10 +170,12 @@ export default {
margin-right: 5px; margin-right: 5px;
} }
} }
.referencetype{
color:rgb(235, 96, 1); .referencetype {
color: rgb(235, 96, 1);
} }
/deep/.el-table{
/deep/ .el-table {
background-color: rgba(38, 38, 38, 0.75); background-color: rgba(38, 38, 38, 0.75);
} }
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<div :class="{ 'tab-total-box': true }"> <div :class="{ 'tab-total-box': true }">
<div class='total-title-box flex'> <div class='total-title-box flex'>
<div class='title inline total'>已开通门店 <div class='title inline total'>已开通门店
<!-- <transition-number :num='dataOverView.openedStores' class='number-total' />--> <!-- <transition-number :num='dataOverView.openedStores' class='number-total' />-->
<div class='number-total'>{{ dataOverView.openedStores}}</div> <div class='number-total' v-if='dataOverView'>{{ toThousands(dataOverView.openedStores) }}</div>
</div> </div>
<div <div
:class="{'title':true,'inline':true, 'active': tabIndex == index}" :class="{'title':true,'inline':true, 'active': tabIndex == index}"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@click='clickItemTab(index,item)' @click='clickItemTab(index,item)'
:key='index'>{{ item.title }} :key='index'>{{ item.title }}
<div class='flex' v-if='dataOverView'> <div class='flex' v-if='dataOverView'>
<div class='transition-number'>{{ toThousands(dataOverView[item.type])}}</div> <div class='transition-number'>{{ toThousands(dataOverView[item.type]) }}</div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!