fix:禅道262

This commit is contained in:
shijing 2026-01-15 13:53:26 +08:00
parent e3890bd687
commit 2dfd9efdae
1 changed files with 13 additions and 1 deletions

View File

@ -54,7 +54,7 @@
</el-table-column>
<el-table-column label="检验人" prop="test_user_name">
</el-table-column>
<el-table-column label="操作" fixed="right" width="80">
<el-table-column label="操作" fixed="right" width="100">
<template #default="scope">
<el-button
link
@ -63,6 +63,13 @@
v-auth="'ftestwork.update'"
@click="table_revert(scope.row)"
>撤回</el-button>
<el-button
link
v-if="scope.row.submit_time==null"
type="primary"
v-auth="'ftestwork.update'"
@click="table_submit(scope.row)"
>提交</el-button>
<el-button
link
v-if="scope.row.submit_time==null"
@ -109,6 +116,11 @@ export default {
this.$refs.drawer_table.refresh();
});
},
table_submit(row){
this.$API.qm.ftestwork.submit.req(row.id).then((res) => {
this.$refs.drawer_table.refresh();
});
},
table_delete(row){
let that = this;
that.$confirm("确定删除该检验记录吗?", "提示", {