Commit 59193d90 by 杨北旺

修复bug

1 parent 1007f5b4
......@@ -160,6 +160,9 @@ export default {
customerJf = '#客户积分#',
customerName = '#客户姓名#'
// 如果标题中包含,关键字就替换一下
if (title.length > 500) {
title = title.substring(0, 500)
}
if (title.includes(shortLink)) {
title = title.replaceAll(shortLink, '<font style="color:#5092FF !important;">' + shortLink + '</font>')
}
......@@ -169,9 +172,6 @@ export default {
if (title.includes(customerName)) {
title = title.replaceAll(customerName, '<font style="color:#5850ff !important;">' + customerName + '</font>')
}
if (title.length > 500) {
title = title.substring(0, 500)
}
return title
},
// 获取标签文案
......@@ -254,7 +254,7 @@ export default {
// 筛选已打开的短信模块
for (let k in _temp) {
const target = _temp[k]
if (target.switch) {
if (target.switch || target.id) {
isHaveOpen = true
needCheckList.push(target)
}
......@@ -370,7 +370,7 @@ export default {
})
}
},
onchangeInput(){
onchangeInput() {
this.editStatus = true
}
}
......
......@@ -249,6 +249,7 @@
size="medium"
>取消</el-button>
<el-button
v-if="!isWatchPage"
type="primary"
@click="handleConfirm"
size="medium"
......@@ -459,12 +460,14 @@ export default {
gasCardServiceCharge: 0,
passageServiceCharge: 0
},
pageNum: 1
pageNum: 1,
isWatchPage:false
}
},
mounted () {
const { id, type } = this.$route.query
if (id) this.getDetail(id, type)
this.isWatchPage = !type
},
methods: {
refreshTable ({ pageNum }) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!