commit
This commit is contained in:
@@ -157,7 +157,15 @@
|
||||
show-overflow-tooltip
|
||||
prop=""
|
||||
width="180px"
|
||||
label="合规评估结果">
|
||||
label="合规性情况">
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-button @click="changeState(scope.row)">符合性状态</el-button>-->
|
||||
<div class="table-jump" @click="changeState(scope.row)">
|
||||
<div v-if="scope.row.sarState === 1">符合</div>
|
||||
<div v-if="scope.row.sarState === 2">不符合</div>
|
||||
<div v-if="scope.row.sarState === 3"></div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
@@ -510,6 +518,19 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
changeState (row) {
|
||||
console.log(row);
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'ComplianceDetails',
|
||||
query: {
|
||||
sarId: this.saveSarId,
|
||||
productId: row.productId,
|
||||
sarType: row.standType,
|
||||
fromPage: 'product'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
//搜索清单
|
||||
searchSarAccess() {
|
||||
this.pageDo = 1
|
||||
|
||||
Reference in New Issue
Block a user