|
@@ -148,18 +148,7 @@
|
|
|
>立即申请</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-if="
|
|
|
- scope.row.auditStatus === 'AUDITED' &&
|
|
|
- scope.row.reviewStatus === 'NOT_PASS' &&
|
|
|
- checkPrivilege('link', 'edit')
|
|
|
- "
|
|
|
- class="btn-primary"
|
|
|
- type="text"
|
|
|
- @click="toEdit(scope.row)"
|
|
|
- >重新申请</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- v-if="scope.row.setup === 0 && checkPrivilege('link', 'end')"
|
|
|
+ v-if="scope.row.setup === 2 && checkPrivilege('link', 'end')"
|
|
|
class="btn-danger"
|
|
|
type="text"
|
|
|
@click="toCancel(scope.row)"
|
|
@@ -313,8 +302,7 @@ export default {
|
|
|
})
|
|
|
.then(async () => {
|
|
|
const data = await cancelOrRestartTaskApply({
|
|
|
- id: row.id,
|
|
|
- status: "CANCEL"
|
|
|
+ id: row.id
|
|
|
}).catch(() => {});
|
|
|
if (!data) return;
|
|
|
this.$message.success("操作成功!");
|