提交 6d0bfcf7 编写于 作者: huangwensu's avatar huangwensu

联调修改

上级 2b40edcb
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
:data="tableData" :data="tableData"
style="width: 100%"> style="width: 100%">
<el-table-column prop="mobilePhone" label="手机号" min-width="140" align="center"></el-table-column> <el-table-column prop="mobilePhone" label="手机号" min-width="140" align="center"></el-table-column>
<el-table-column prop="createTimestamp" label="添加时间" min-width="140" align="center"></el-table-column> <el-table-column prop="createTimestamp" label="添加时间" min-width="140" align="center">
<template slot-scope="scope">
<span>{{ scope.row.createTimestamp | timeFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="remark" label="添加理由" min-width="150" align="center"></el-table-column> <el-table-column prop="remark" label="添加理由" min-width="150" align="center"></el-table-column>
<el-table-column label="操作" fixed="right" align="center" min-width="200"> <el-table-column label="操作" fixed="right" align="center" min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -124,6 +128,11 @@ export default { ...@@ -124,6 +128,11 @@ export default {
base64Str: '' base64Str: ''
} }
}, },
filters: {
timeFilter: function timeFilter(val) {
return new Date(val).format("yyyy-MM-dd")
}
},
mounted() { mounted() {
// 1 黑名单 2 空号 // 1 黑名单 2 空号
this.search(); this.search();
......
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
:data="tableData" :data="tableData"
style="width: 100%"> style="width: 100%">
<el-table-column prop="mobilePhone" label="手机号" min-width="140" align="center"></el-table-column> <el-table-column prop="mobilePhone" label="手机号" min-width="140" align="center"></el-table-column>
<el-table-column prop="createTimestamp" label="添加时间" min-width="140" align="center"></el-table-column> <el-table-column prop="createTimestamp" label="添加时间" min-width="140" align="center">
<template slot-scope="scope">
<span>{{ scope.row.createTimestamp | timeFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="remark" label="添加理由" min-width="150" align="center"></el-table-column> <el-table-column prop="remark" label="添加理由" min-width="150" align="center"></el-table-column>
<el-table-column label="操作" fixed="right" align="center" min-width="200"> <el-table-column label="操作" fixed="right" align="center" min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -123,6 +127,11 @@ export default { ...@@ -123,6 +127,11 @@ export default {
importFileName: '' importFileName: ''
} }
}, },
filters: {
timeFilter: function timeFilter(val) {
return new Date(val).format("yyyy-MM-dd")
}
},
mounted() { mounted() {
this.search(); this.search();
}, },
......
...@@ -182,11 +182,11 @@ export default { ...@@ -182,11 +182,11 @@ export default {
}) })
} }
this.searchParam.versionParamList.push({ this.searchParam.versionParamList.push({
param: arr.join(","), params: arr.join(","),
score: this.versionArray[i].score score: this.versionArray[i].score
}) })
} }
if(this.strategyId) this.searchParam.id = this.strategyId if(this.strategyId) this.searchParam.id = this.strategyId;
let req = this.searchParam; let req = this.searchParam;
this.getData( this.getData(
"post", `/riskcontrol/strategy/save`, req, "post", `/riskcontrol/strategy/save`, req,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册