|
|
|
@ -127,7 +127,9 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" prop="userId" class-name="table-operation" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span class="look-info" @click="goInfo(scope.row)" style="color: #192A92;cursor: pointer;">查看</span>
|
|
|
|
|
<span class="look-info" @click="goInfo(1, scope.row)" style="color: #192A92;cursor: pointer;">查看</span>
|
|
|
|
|
<span class="look-info" @click="goInfo(2, scope.row)" style="color: #192A92;cursor: pointer;"
|
|
|
|
|
v-if="$route.query.pageType == 'info'">审核</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -189,46 +191,10 @@ export default {
|
|
|
|
|
size: 10,
|
|
|
|
|
},
|
|
|
|
|
tableData: [
|
|
|
|
|
{
|
|
|
|
|
number: 20230001,
|
|
|
|
|
name: "XXX资产",
|
|
|
|
|
type: "1类资产",
|
|
|
|
|
unit: "太仓市XXX局",
|
|
|
|
|
status: 0,
|
|
|
|
|
}, {
|
|
|
|
|
number: 20230001,
|
|
|
|
|
name: "XXX资产",
|
|
|
|
|
type: "1类资产",
|
|
|
|
|
unit: "太仓市XXX局",
|
|
|
|
|
status: 1,
|
|
|
|
|
}, {
|
|
|
|
|
number: 20230001,
|
|
|
|
|
name: "XXX资产",
|
|
|
|
|
type: "1类资产",
|
|
|
|
|
unit: "太仓市XXX局",
|
|
|
|
|
status: 2,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
tableDataTwo: [
|
|
|
|
|
{
|
|
|
|
|
unitName: "太仓市XXX局",
|
|
|
|
|
hczcsl: "100",
|
|
|
|
|
wcsl: "80",
|
|
|
|
|
wwcsl: "20",
|
|
|
|
|
wwcbl: "20%"
|
|
|
|
|
}, {
|
|
|
|
|
unitName: "太仓市XXX局",
|
|
|
|
|
hczcsl: "100",
|
|
|
|
|
wcsl: "80",
|
|
|
|
|
wwcsl: "20",
|
|
|
|
|
wwcbl: "20%"
|
|
|
|
|
}, {
|
|
|
|
|
unitName: "太仓市XXX局",
|
|
|
|
|
hczcsl: "100",
|
|
|
|
|
wcsl: "80",
|
|
|
|
|
wwcsl: "20",
|
|
|
|
|
wwcbl: "20%"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
loading: false,
|
|
|
|
|
tabHeader: undefined,
|
|
|
|
@ -252,8 +218,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
this.cancalDebounce();
|
|
|
|
|
window.addEventListener('resize', this.cancalDebounce);
|
|
|
|
@ -262,7 +226,25 @@ export default {
|
|
|
|
|
destroyed() {
|
|
|
|
|
window.removeEventListener('resize', this.cancalDebounce);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
goInfo(type, row) {
|
|
|
|
|
// 查看
|
|
|
|
|
if (type == 1) {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
name: 'AssetsAuth', query: {
|
|
|
|
|
pageType: "look",
|
|
|
|
|
id: row.id
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
//审核
|
|
|
|
|
if (type == 2) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// getassetTaskid(row.id)
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
taskstatus(id) {
|
|
|
|
|
if (id) {
|
|
|
|
|
let obj = {
|
|
|
|
@ -276,7 +258,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
titleInfo() {
|
|
|
|
|
console.log(this.$route.query);
|
|
|
|
|
|
|
|
|
|
getassetTaskid(this.$route.query.id).then(res => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.titleInfoObj = res.data
|
|
|
|
@ -380,4 +361,8 @@ export default {
|
|
|
|
|
::v-deep .el-form-item__label {
|
|
|
|
|
padding-right: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.look-info {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|