修改拉黑原因
This commit is contained in:
@@ -4,8 +4,8 @@ export const productUrl='dj-admin';
|
|||||||
// const baseUrl = "http://192.168.1.7:8100/czg/"
|
// const baseUrl = "http://192.168.1.7:8100/czg/"
|
||||||
// const baseUrl = "https://api.tianjinzhitongdaohe.com/czg/"
|
// const baseUrl = "https://api.tianjinzhitongdaohe.com/czg/"
|
||||||
|
|
||||||
const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
|
// const baseUrl = "https://web-api.hnsiyao.cn/czg/" //测试
|
||||||
// const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
|
const baseUrl = "https://web.hnsiyao.cn/czg/" // 线上
|
||||||
|
|
||||||
export default{
|
export default{
|
||||||
baseUrl
|
baseUrl
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="拉黑原因">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
<span>{{scope.row.platform| platformFilter}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -465,7 +465,7 @@
|
|||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="拉黑原因">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
<span>{{scope.row.platform| platformFilter}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -601,7 +601,7 @@
|
|||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
<el-table-column prop="platform" label="拉黑原因">
|
<el-table-column prop="platform" label="拉黑原因">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.platform=='IP频繁跳动' ? scope.row.platform : '-' }}</span>
|
<span>{{scope.row.platform| platformFilter}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
<el-table-column prop="zhifubaoName" label="支付宝名称">
|
||||||
@@ -779,6 +779,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// tabs切换
|
// tabs切换
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
this.page = 1
|
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() {
|
mounted() {
|
||||||
this.dataSelect()
|
this.dataSelect()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user