This commit is contained in:
2025-12-11 14:47:56 +08:00
parent bee5c04b95
commit 55d7578b67
2 changed files with 49 additions and 40 deletions
@@ -86,12 +86,12 @@ layout("/layouts/platform.html"){
<span v-else></span> <span v-else></span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="工代会代表" prop="isGdh">--> <!-- <el-table-column label="工代会代表" prop="isGdh">-->
<!-- <template v-slot="{row}">--> <!-- <template v-slot="{row}">-->
<!-- <span v-if="row.isGdh" style="color:#0037ff;">是</span>--> <!-- <span v-if="row.isGdh" style="color:#0037ff;">是</span>-->
<!-- <span v-else>否</span>--> <!-- <span v-else>否</span>-->
<!-- </template>--> <!-- </template>-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="代表类型" prop="representativeType"></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="curTaskName" label="当前节点"></el-table-column>
<el-table-column prop="instanceState" label="流程状态"> <el-table-column prop="instanceState" label="流程状态">
@@ -166,11 +166,22 @@ layout("/layouts/platform.html"){
} }
}, },
methods: { methods: {
doSearch() { async doSearch() {
this.pageData() await this.pageData()
const fullName = this.sessionOptions.find(v => v.id === this.pageForm.sessionId)?.fullName; const fullName = this.sessionOptions.find(v => v.id === this.pageForm.sessionId)?.fullName;
this.$refs.pushProgressRef.refreshData(this.pageForm.sessionId, fullName, this.pageForm.unionId,"JG") await this.$refs.pushProgressRef.refreshData(this.pageForm.sessionId, fullName, this.pageForm.unionId, "JG")
},
async pageData() {
try {
const resp = await this.$axios.post("/platform/teacherCongress/delegate/push/dwSjAudit/pageData", this.pageForm)
if (resp.code === 0) {
this.tableData = resp.data.list
this.pageForm.totalCount = resp.data.totalCount
}
} catch (e) {
console.log(e)
}
}, },
onBatchSubmit() { onBatchSubmit() {
this.$confirm('您确定要上报吗?', '提示', { this.$confirm('您确定要上报吗?', '提示', {
@@ -272,11 +272,10 @@ layout("/layouts/platform.html"){
setMaxCount(data) { setMaxCount(data) {
this.maxPush = data this.maxPush = data
}, },
doSearch() { async doSearch() {
this.pageData() await this.pageData()
const fullName = this.sessionOptions.find(v => v.id === this.pageForm.sessionId)?.fullName; 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.$refs.pushProgressRef.refreshData(this.pageForm.sessionId, fullName, this.pageForm.unionId)
}, },
onView(row) { onView(row) {
this.$refs.guava.view(() => { this.$refs.guava.view(() => {
@@ -334,7 +333,6 @@ layout("/layouts/platform.html"){
} }
}, },
created() { created() {
this.doSearch()
this.listUnion() this.listUnion()
this.listSession() this.listSession()
} }