This commit is contained in:
2026-06-22 14:58:03 +08:00
parent a2e5e7d56f
commit 36ac0aad69
2 changed files with 11 additions and 8 deletions
@@ -64,7 +64,7 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>
<el-table-column prop="typeName" label="慰问类型"></el-table-column>
<!-- <el-table-column prop="createTime" label="申请时间"></el-table-column>-->
<!-- <el-table-column prop="createTime" label="申请时间"></el-table-column>-->
<el-table-column prop="curTaskName" label="当前节点"></el-table-column>
<el-table-column prop="instanceState" label="流程状态">
<template slot-scope="{row}">
@@ -151,6 +151,7 @@ layout("/layouts/platform.html"){
this.showApprovalForm = true
this.formData = {
processTaskId: row.taskId,
userId: row.certifierUserId,
taskName: row.curTaskName
}
this.$refs.condolenceInfoRef.onOpen(row)
@@ -197,11 +198,11 @@ layout("/layouts/platform.html"){
})
},
queryCondolenceType() {
this.$axios.post('/platform/condolence/type/queryCondolenceType')
this.$axios.post("/platform/condolence/type/queryCondolenceType")
.then((resp) => {
this.typeOptions = resp.data
})
},
}
},
@@ -27,8 +27,9 @@ layout("/layouts/platform_h5.html"){
</van-sticky>
<table-list api="/platform/condolence/helpUserSign/pageData" :page_form.sync="pageForm" ref="tableListRef" @ready="onReady">
<template v-slot="{index,row}">
<table-list api="/platform/condolence/helpUserSign/pageData" :page_form.sync="pageForm" ref="tableListRef"
@ready="onReady">
<template v-slot="{index,row}">
<table-column label="慰问对象">{{row.helpUserName}}</table-column>
<table-column label="慰问对象工号">{{row.helpLoginName}}</table-column>
<table-column label="申请人">{{row.applyUserName}}</table-column>
@@ -106,7 +107,7 @@ layout("/layouts/platform_h5.html"){
approvalText: "0",
approval: false,
year: new Date().getFullYear(),
type: null,
type: null
},
typeOptions: [],
formData: {},
@@ -137,12 +138,13 @@ layout("/layouts/platform_h5.html"){
this.$refs.infoRef.onOpen(row)
this.formData = {
processTaskId: row.taskId,
userId: row.certifierUserId,
taskName: row.curTaskName
}
},
async handleTaskAction(val) {
try {
await this.$refs.formRef.validate();
await this.$refs.formRef.validate()
this.$dialog.confirm({
title: "提示",
message: "您确定要提交吗?"
@@ -167,7 +169,7 @@ layout("/layouts/platform_h5.html"){
}
},
async queryCondolenceType() {
const res = await this.$axios.post('/platform/condolence/type/queryCondolenceType')
const res = await this.$axios.post("/platform/condolence/type/queryCondolenceType")
return res.data
},
doSearch() {