修改拉黑原因

This commit is contained in:
duan 2025-03-06 18:28:58 +08:00
parent 25dcbea759
commit bf93fea486
2 changed files with 19 additions and 5 deletions

View File

@ -4,8 +4,8 @@ export const productUrl='dj-admin';
// const baseUrl = "http://192.168.1.7:8100/czg/"
// const baseUrl = "https://api.tianjinzhitongdaohe.com/czg/"
const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
export default{
baseUrl

View File

@ -138,7 +138,7 @@
</el-table-column> -->
<el-table-column prop="platform" label="拉黑原因">
<template slot-scope="scope">
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
<span>{{scope.row.platform| platformFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="zhifubaoName" label="支付宝名称">
@ -465,7 +465,7 @@
</el-table-column> -->
<el-table-column prop="platform" label="拉黑原因">
<template slot-scope="scope">
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
<span>{{scope.row.platform| platformFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="zhifubaoName" label="支付宝名称">
@ -601,7 +601,7 @@
</el-table-column> -->
<el-table-column prop="platform" label="拉黑原因">
<template slot-scope="scope">
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
<span>{{scope.row.platform| platformFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="zhifubaoName" label="支付宝名称">
@ -779,6 +779,7 @@ export default {
})
})
},
// tabs
handleClick(tab, event) {
this.page = 1
@ -1183,6 +1184,19 @@ export default {
})
},
},
filters: {
platformFilter(item) {
if(item == 'h5') return '-'
else if(item == 'app') return '-'
else return item
},
formatDate(time) {
if (!time) return ''
let date = new Date(time)
return date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
},
},
mounted() {
this.dataSelect()
}