疗休养优化1.5

This commit is contained in:
2026-06-17 11:43:19 +08:00
parent a8abd16c7a
commit 47e971ebc8
6 changed files with 249 additions and 0 deletions
@@ -54,6 +54,7 @@ layout("/layouts/platform.html"){
<i class="el-icon-user"></i>
人员分配
</el-button>
<el-button type="primary" size="medium" icon="el-icon-download" @click="exportData">导出</el-button>
</table-tool>
<el-table
v-loading="tableLoading"
@@ -451,6 +452,16 @@ layout("/layouts/platform.html"){
}
})
},
exportData() {
const params = new URLSearchParams()
;["year", "settingId", "matterId", "personType", "keyword", "pageOrderName", "pageOrderBy"].forEach(key => {
const value = this.pageForm[key]
if (value !== undefined && value !== null && value !== "") {
params.append(key, value)
}
})
window.location.href = loc() + "/exportData?" + params.toString()
},
openAssign() {
const year = this.pageForm.year || moment().format("YYYY")
this.assignForm = this.defaultAssignForm(year)
@@ -64,6 +64,7 @@ layout("/layouts/platform.html"){
<i class="el-icon-user"></i>
人员分配
</el-button>
<el-button type="primary" size="medium" icon="el-icon-download" @click="exportData">导出</el-button>
</table-tool>
<el-table
v-loading="tableLoading"
@@ -441,6 +442,16 @@ layout("/layouts/platform.html"){
}
})
},
exportData() {
const params = new URLSearchParams()
;["year", "settingId", "matterId", "unionId", "personType", "assignSource", "keyword", "pageOrderName", "pageOrderBy"].forEach(key => {
const value = this.pageForm[key]
if (value !== undefined && value !== null && value !== "") {
params.append(key, value)
}
})
window.location.href = loc() + "/exportData?" + params.toString()
},
openAssign() {
const year = this.pageForm.year || moment().format("YYYY")
this.assignForm = this.defaultAssignForm(year)