|
@@ -239,21 +239,21 @@
|
|
|
<el-popconfirm
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定申请吗?"
|
|
|
- @onConfirm="handleSubmit(scope.row.parentId)"
|
|
|
+ @onConfirm="handleSubmit(scope.row.parentId,scope.row)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'" >
|
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定撤回吗?"
|
|
|
- @onConfirm="handleWithdraw(scope.row.parentId)"
|
|
|
+ @onConfirm="handleWithdraw(scope.row.parentId,scope.row)"
|
|
|
v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'" >
|
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定弃审吗?"
|
|
|
- @onConfirm="handleAbandon(scope.row.parentId)"
|
|
|
+ @onConfirm="handleAbandon(scope.row.parentId,scope.row)"
|
|
|
v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'" >
|
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
|
</el-popconfirm>
|
|
@@ -283,7 +283,7 @@
|
|
|
<el-popconfirm
|
|
|
style="margin-left: 10px;"
|
|
|
title="确定删除吗?"
|
|
|
- @onConfirm="handleDelete(scope.row.parentId)"
|
|
|
+ @onConfirm="handleDelete(scope.row.parentId,scope.row)"
|
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus !== 'OK'">
|
|
|
<el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
|
</el-popconfirm>
|
|
@@ -552,24 +552,24 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 申请
|
|
|
- handleSubmit(id) {
|
|
|
- applyCom({id}).then(res => {
|
|
|
+ handleSubmit(id,row) {
|
|
|
+ applyCom({id,refEnginRecordNo:row.refEnginRecordNo}).then(res => {
|
|
|
this.$successMsg();
|
|
|
this.getList();
|
|
|
})
|
|
|
},
|
|
|
|
|
|
// 撤回
|
|
|
- handleWithdraw(id) {
|
|
|
- withdrawCom({id}).then(res => {
|
|
|
+ handleWithdraw(id,row) {
|
|
|
+ withdrawCom({id,refEnginRecordNo:row.refEnginRecordNo}).then(res => {
|
|
|
this.$successMsg();
|
|
|
this.getList();
|
|
|
})
|
|
|
},
|
|
|
|
|
|
// 弃审
|
|
|
- handleAbandon(id) {
|
|
|
- abandonCom({id}).then(res => {
|
|
|
+ handleAbandon(id,row) {
|
|
|
+ abandonCom({id,refEnginRecordNo:row.refEnginRecordNo}).then(res => {
|
|
|
this.$successMsg();
|
|
|
this.getList();
|
|
|
})
|