|
|
|
@ -100,11 +100,11 @@
|
|
|
|
|
</el-form>
|
|
|
|
|
<section v-if="index == 1">
|
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
|
|
<el-tab-pane :label="item.conent" :name="item.lable" :xtmcName="item.xtmcName" v-for="item in chanckListTow">
|
|
|
|
|
<el-tab-pane :label="item.conent" :name="item.lable" :xtmcName="item.xtmcName"
|
|
|
|
|
v-for="item in chanckListTow">
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
<el-table v-loading="loading" :data="tableData" :height="tabHeader"
|
|
|
|
|
:row-class-name="tableRowClassName">
|
|
|
|
|
<el-table v-loading="loading" :data="tableData" :height="tabHeader" :row-class-name="tableRowClassName">
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<!-- <el-table-column label="资产编号" key="id" width="200px" prop="id" align="center" /> -->
|
|
|
|
|
<el-table-column :label="xtmcName" key="xtmc" prop="xtmc" align="center" />
|
|
|
|
@ -140,20 +140,22 @@
|
|
|
|
|
<el-table-column label="操作" prop="userId" class-name="table-operation" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div style="display: flex;align-items: center;justify-content: center;">
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(1,scope.row)" v-if="scope.row.status != 1 || ($route.query.pageType == 'look' || $route.meta.pageType == 'look')">
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;" @click="goInfo(1, scope.row)"
|
|
|
|
|
v-if="scope.row.status != 1 || ($route.query.pageType == 'look' || $route.meta.pageType == 'look')">
|
|
|
|
|
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
|
|
|
|
|
<span class="look-info"
|
|
|
|
|
style="color: #1485EF;">查看</span>
|
|
|
|
|
<span class="look-info" style="color: #1485EF;">查看</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" @click="goInfo(2,scope.row)" v-if="$route.query.pageType == 'info' || $route.meta.pageType == 'info'" v-show='scope.row.status == 1'>
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;"
|
|
|
|
|
@click="goInfo(2, scope.row)"
|
|
|
|
|
v-if="$route.query.pageType == 'info' || $route.meta.pageType == 'info'"
|
|
|
|
|
v-show='scope.row.status == 1'>
|
|
|
|
|
<img src="@/assets/images/icon-shenhe@2x.png" alt="" style="width: 15px;margin-right: 5px;">
|
|
|
|
|
<span class="look-info"
|
|
|
|
|
style="color: #1485EF;">审核</span>
|
|
|
|
|
<span class="look-info" style="color: #1485EF;">审核</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;" @click="goInfo(3,scope.row)" v-show='scope.row.status == 4'>
|
|
|
|
|
<div style="display: flex;align-items: center;cursor: pointer;margin-left: 5px;"
|
|
|
|
|
@click="goInfo(3, scope.row)" v-show='scope.row.status == 4'>
|
|
|
|
|
<img src="@/assets/images/icon-ck@2x.png" alt="" style="width: 20px;margin-right: 5px;">
|
|
|
|
|
<span class="look-info"
|
|
|
|
|
style="color: #1485EF;">查看原因</span>
|
|
|
|
|
<span class="look-info" style="color: #1485EF;">查看原因</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -293,11 +295,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
handleClick(tab, event) {
|
|
|
|
|
this.formInline = {
|
|
|
|
|
xtlx: "",
|
|
|
|
|
}
|
|
|
|
|
console.log(tab);
|
|
|
|
|
this.formInline.type = tab.name
|
|
|
|
|
this.activeName = tab.name
|
|
|
|
|
this.xtmcName = tab.$attrs.xtmcName,
|
|
|
|
|
|
|
|
|
|
this.handleQuery()
|
|
|
|
|
},
|
|
|
|
|
//返回图片
|
|
|
|
@ -542,8 +545,8 @@ export default {
|
|
|
|
|
padding-right: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.look-info {
|
|
|
|
|
}
|
|
|
|
|
.look-info {}
|
|
|
|
|
|
|
|
|
|
::v-deep .el-dialog {
|
|
|
|
|
margin-top: 20vh !important;
|
|
|
|
|
}
|
|
|
|
|