bug整改

This commit is contained in:
=
2025-12-04 15:06:57 +08:00
parent 8b537ea21e
commit d8ad59084c
5 changed files with 20 additions and 19 deletions
@@ -26,21 +26,21 @@ const flowMixins = {
console.log(this.$refs.guava)
// this.oepnAudit({})
//
//
// this.$axios.post(location.pathname + '/queryTask', {taskId}).then(res => {
// if (res.code === 0) {
// // 延迟1.5秒 显示loading动画 解决Guava异步加载 获取不到实例的问题
// setTimeout(() => {
// if (res.data.taskState === 10) {
// this.openAudit(res.data);
// } else {
// this.openView(res.data);
// }
// loading.close();
// }, 1500)
// }
// })
this.$axios.post(location.pathname + '/queryTask', {taskId}).then(res => {
if (res.code === 0) {
// 延迟1.5秒 显示loading动画 解决Guava异步加载 获取不到实例的问题
setTimeout(() => {
if (res.data.taskState === 10) {
this.openAudit(res.data);
} else {
this.openView(res.data);
}
loading.close();
}, 1500)
}
})
},
}
}
@@ -6,7 +6,7 @@ const branchUnionManage = {
<el-input placeholder="请输入分工会名称" clearable size="small" style="width: 300px" v-model="pageForm.searchKeyword"></el-input>
<el-button type="primary" class="ml5" size="small" icon="el-icon-search" @click="doSearch"></el-button>
<el-button @click="openAudit" icon="el-icon-s-check" type="primary" style="margin-left: auto" size="small">基层干部审核</el-button>
<el-button @click="openAudit" icon="el-icon-s-check" type="primary" style="margin-left: auto" size="small" v-if="$auth.hasPermission('sys.manager.union.add')">基层干部审核</el-button>
<el-button @click="openAdd" icon="ti-plus" type="primary" size="small" v-if="$auth.hasPermission('sys.manager.union.add')">新建分工会</el-button>
</el-row>
</el-card>