This commit is contained in:
2026-01-21 15:17:59 +08:00
parent ccd9e9db16
commit 75d6420f9b
3 changed files with 13 additions and 10 deletions
@@ -100,12 +100,12 @@ layout("/layouts/platform.html"){
<span v-else></span>
</template>
</el-table-column>
<!-- <el-table-column label="工代会代表" prop="isGdh">-->
<!-- <template v-slot="{row}">-->
<!-- <span v-if="row.isGdh" style="color:#0037ff;">是</span>-->
<!-- <span v-else>否</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="工代会代表" prop="isGdh">
<template v-slot="{row}">
<span v-if="row.isGdh" style="color:#0037ff;"></span>
<span v-else></span>
</template>
</el-table-column>
<el-table-column label="代表类型" prop="representativeType"></el-table-column>
<el-table-column prop="curTaskName" label="当前节点"></el-table-column>
<el-table-column prop="instanceState" label="流程状态">
@@ -188,7 +188,9 @@ layout("/layouts/platform.html"){
<el-button
v-else-if="row.taskKey === 'startTask'
|| row.taskKey==='53ff0c2a-ba93-45e9-a9fd-db51cdab3080'
|| row.taskKey==='0cacd1e7-7bb2-47dd-818b-6a73062e0c62' || !row.instanceId"
|| row.taskKey==='0cacd1e7-7bb2-47dd-818b-6a73062e0c62'
|| !row.instanceId
|| row.instanceState===45"
@click="onDelete(row.id)"
size="mini" type="danger">删除
</el-button>
@@ -262,7 +264,7 @@ layout("/layouts/platform.html"){
},
methods: {
doPushFormal() {
if (this.tableData.length >= this.maxPush) {
if (this.pageForm.totalCount >= this.maxPush) {
this.$message.warning("当前正式代表已超过最大推选人员数,如需调整请在表格数据列中选中【删除】按钮")
return
}
@@ -276,7 +278,7 @@ layout("/layouts/platform.html"){
await this.pageData()
const fullName = this.sessionOptions.find(v => v.id === this.pageForm.sessionId)?.fullName;
await this.$refs.pushProgressRef.refreshData(this.pageForm.sessionId, fullName, this.pageForm.unionId)
this.formalPush = this.maxPush - this.tableData.length
this.formalPush = this.maxPush - this.pageForm.totalCount
},
onView(row) {
this.$refs.guava.view(() => {
@@ -326,7 +328,7 @@ layout("/layouts/platform.html"){
if (resp.code === 0) {
this.tableData = resp.data.list
this.pageForm.totalCount = resp.data.totalCount
}
} catch (e) {
console.log(e)