|
|
@ -47,14 +47,14 @@ |
|
|
|
<el-table-column fixed width="150px" label="操作" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div class="searchbtns"> |
|
|
|
<el-button v-show="scope.row.state === '已通过' ? false : scope.row.state === '未通过' ? false : true" size="small" type="primary" @click="handleCheck(scope.row)">办理</el-button> |
|
|
|
<el-button v-show="scope.row.nodeState !== '已办结' && scope.row.nodeState !== '已终止'" size="small" type="primary" @click="handleCheck(scope.row)">办理</el-button> |
|
|
|
<el-button size="small" type="primary" @click="handleLooK(scope.row)">查看</el-button> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="状态" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.state }}</span> |
|
|
|
<span>{{ scope.row.nodeState }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="合同编号" align="center"> |
|
|
@ -111,6 +111,7 @@ export default { |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
btndisabled: false, |
|
|
|
viewTitle: '', |
|
|
|
// 主页面:隐藏查询条件按钮 |
|
|
|
isSearchShow: false, |
|
|
@ -121,8 +122,6 @@ export default { |
|
|
|
customerList: [], |
|
|
|
list: [], |
|
|
|
sids: [], // 用于导出的时候保存已选择的SIDs |
|
|
|
sides: '', |
|
|
|
state_list: [], |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
|
typeList: [], // 选择器 |
|
|
@ -211,13 +210,9 @@ export default { |
|
|
|
row.forEach((element) => { |
|
|
|
aa.push(element.sid) |
|
|
|
setuser(this.sids) // 用于导出的时候保存已选择的sids |
|
|
|
bb.push(element.state) |
|
|
|
}) |
|
|
|
this.sids = aa |
|
|
|
this.sides = this.sids.join() // 将sid数组的元素转化成字符串 |
|
|
|
this.state_list = bb |
|
|
|
console.log('sids数组', this.sids) |
|
|
|
console.log('sides字符串', this.sides) |
|
|
|
}, |
|
|
|
// 查询按钮 |
|
|
|
handleFilter() { |
|
|
@ -266,7 +261,7 @@ export default { |
|
|
|
// 打开查看 |
|
|
|
handleCheck(row) { |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divInfo'].showInfo(row.sid, row.state) |
|
|
|
this.$refs['divInfo'].showInfo(row.sid) |
|
|
|
}, |
|
|
|
handleLooK(row) { |
|
|
|
this.viewState = 3 |
|
|
|