This commit is contained in:
2026-04-25 08:53:03 +08:00
parent 14a150a335
commit e3be4cbd6e
9 changed files with 272 additions and 2 deletions
@@ -84,6 +84,7 @@ layout("/layouts/platform.html"){
<el-table-column label="操作" fixed="right" width="200">
<template slot-scope="{row}">
<el-button @click="onView(row)" size="mini" type="primary">查看</el-button>
<el-button @click="onDelete(row)" :loading="formLoading" size="mini" type="danger">删除</el-button>
</template>
</el-table-column>
</el-table>
@@ -135,6 +136,23 @@ layout("/layouts/platform.html"){
this.$refs.infoRef.onOpen(row)
})
},
onDelete(row) {
this.$confirm("确定要删除【" + row.username + "】的变更记录吗?删除后将同步删除关联流程记录", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.formLoading = true
this.$axios.post(loc() + "/delete", {id: row.id}).then((res) => {
if (res.code === 0) {
this.$message.success(res.msg)
this.doSearch()
}
}).finally(() => {
this.formLoading = false
})
})
},
async unionChange(val) {
this.pageForm.unitId = null
this.unitList = await this.$businessTool.listUnit(val)
@@ -75,6 +75,12 @@ layout("/layouts/platform.html"){
type="primary">导出会员缴费金额
</el-button>
<el-button @click="exportAnnualPayMemberList"
size="small"
icon="el-icon-download"
type="primary">导出年度缴费名单
</el-button>
<el-button :disabled="tableData.length==0" :loading="tableLoading" @click="clearPayRecord"
icon="el-icon-delete"
size="small"
@@ -191,6 +197,9 @@ layout("/layouts/platform.html"){
exportYearPayRecord(){
this.$downLoad('/platform/medicalMutualAid/aidFund/payRecord/exportYearPayRecord', this.pageForm)
},
exportAnnualPayMemberList() {
this.$downLoad('/platform/medicalMutualAid/aidFund/payRecord/exportAnnualPayMemberList', this.pageForm)
},
exportPayRecord() {
this.$downLoad('/platform/medicalMutualAid/aidFund/payRecord/exportPayRecord', this.pageForm)
},
@@ -40,10 +40,13 @@ layout("/layouts/platform.html"){
<el-radio-button label="true">已审核</el-radio-button>
<el-radio-button label="false">未审核</el-radio-button>
</el-radio-group>
<el-button @click="notifyUnapprovedUnionChairman" :loading="formLoading" size="small" type="primary">
一键通知未审核工会
</el-button>
</table-tool>
<el-table :data="tableData" :size="tableSize" @sort-change="pageOrder"
ref="table" row-key="id" style="width: 100%">
ref="table" row-key="id" style="width: 100%" v-loading="tableLoading">
<el-table-column :index="indexMethod" header-align="center" label="序号"
type="index" width="60px"></el-table-column>
<el-table-column
@@ -158,6 +161,29 @@ layout("/layouts/platform.html"){
this.$refs.infoRef.onOpen(row)
})
},
notifyUnapprovedUnionChairman() {
this.$confirm("确定要通知未审核的分工会吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(() => {
this.formLoading = true
this.$axios.post(loc() + "/notifyUnapprovedUnionChairman", {
year: this.pageForm.year,
aidFundMemberUserType: this.pageForm.aidFundMemberUserType,
changeType: this.pageForm.changeType
}).then((res) => {
if (res.code === 0) {
const loginNames = res.data || []
this.$alert(loginNames.length ? loginNames.join("、") : "暂无需要发送通知的人员", "需要发送人的工号", {
confirmButtonText: "确定"
})
}
}).finally(() => {
this.formLoading = false
})
})
},
handleTaskAction(val) {
this.$confirm("您确定要提交吗?", "提示", {