人员管理
This commit is contained in:
@@ -14,7 +14,7 @@ layout("/layouts/platform.html"){
|
||||
code="SPECIAL_STAFF_TYPE"></dict-select>
|
||||
</search-item>
|
||||
<search-item label="所属工会">
|
||||
<el-select @change="flushUnits" @clear="flushUnits" clearable filterable
|
||||
<el-select @change="flushUnits();doSearch()" @clear="flushUnits" clearable filterable
|
||||
placeholder="所属工会" style="width: 100%;" v-model="pageForm.unionId">
|
||||
<el-option :key="item.id" :label="item.name" :value="item.id"
|
||||
v-for="item in unions"></el-option>
|
||||
@@ -366,7 +366,7 @@ layout("/layouts/platform.html"){
|
||||
this.$set(this.pageForm, "unitId", null)
|
||||
this.units = []
|
||||
if (this.pageForm.unionId) {
|
||||
this.units = this.$businessTool.listUnit(this.pageForm.unionId)
|
||||
this.units = await this.$businessTool.listUnit(this.pageForm.unionId)
|
||||
}
|
||||
},
|
||||
async initData() {
|
||||
@@ -380,6 +380,7 @@ layout("/layouts/platform.html"){
|
||||
async created() {
|
||||
this.initData()
|
||||
this.pageData()
|
||||
this.unions = await this.$businessTool.listUnion()
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user