疗休养优化1.5
This commit is contained in:
+11
@@ -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)
|
||||
|
||||
+11
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user