|
|
@@ -272,6 +272,7 @@
|
|
|
:value="dict.dictValue"
|
|
|
/>
|
|
|
</el-select>
|
|
|
+ <el-button style="margin-left: 10px" type="text" size="small" @click="selectAllCompany">全选</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -848,6 +849,10 @@ export default {
|
|
|
this.queryParams.isShow = this.activeName
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
+ /** 全选公司 */
|
|
|
+ selectAllCompany() {
|
|
|
+ this.companyIds = this.companyOptions.map(item => item.dictValue)
|
|
|
+ },
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map(item => item.courseId)
|