|
@@ -11,9 +11,11 @@
|
|
|
v-model.trim="searchForm">
|
|
|
<el-form-item prop='organId'>
|
|
|
<el-select class='multiple'
|
|
|
- v-model.trim="searchForm.organId"
|
|
|
+ v-model.trim="searchForm.organIdList"
|
|
|
clearable
|
|
|
filterable
|
|
|
+ multiple
|
|
|
+ collapse-tags
|
|
|
placeholder="请选择分部">
|
|
|
<el-option v-for="(item,index) in organList"
|
|
|
:key="index"
|
|
@@ -141,7 +143,8 @@ export default {
|
|
|
endTime: null,
|
|
|
organId: null,
|
|
|
month: '',
|
|
|
- schoolId: ''
|
|
|
+ schoolId: '',
|
|
|
+ organIdList: []
|
|
|
},
|
|
|
tableList: [],
|
|
|
organList: [],
|
|
@@ -215,6 +218,7 @@ export default {
|
|
|
getOperatingReport({
|
|
|
...params,
|
|
|
month: (params.month ? dayjs(params.month).format('YYYY-MM-DD') : ''),
|
|
|
+ organIdList: [...this.searchForm.organIdList].join()
|
|
|
}).then(res => {
|
|
|
let result = res.data
|
|
|
if (res.code == 200) {
|
|
@@ -239,6 +243,7 @@ export default {
|
|
|
endTime: null,
|
|
|
month: '',
|
|
|
schoolId: '',
|
|
|
+ organIdList: []
|
|
|
}
|
|
|
this.getList()
|
|
|
}
|