Browse Source

添加搜索框

xiaowang-featrue
是小王呀\24601 10 months ago
parent
commit
ff32fdab90
  1. 4
      src/views/modules/shequzhili/event/cpts/process-form-assign.vue

4
src/views/modules/shequzhili/event/cpts/process-form-assign.vue

@ -11,7 +11,7 @@
<el-form ref="ref_form2" :inline="false" :model="formData" :rules="dataRule">
<el-form-item label="指派处理部门" prop="assignDeptIds" label-width="150px"
:class="{ 'form-item': source === 'visiual' }">
<el-cascader class="cell-width-1" ref="agencyIdArray" :clearable="false" :filter-method="filter" v-model.trim="agencyIdArray" :options="orgOptions"
<el-cascader class="cell-width-1" ref="agencyIdArray" :clearable="false" filterable :filter-method="filter" v-model.trim="agencyIdArray" :options="orgOptions"
:props="orgOptionProps" :show-all-levels="false" @change="handleChangeAgency" :disabled="isCascaderDisabled">
<template v-slot:tag="{ value, label, index }">
<!-- 自定义标签渲染去掉叉号 -->
@ -380,14 +380,12 @@ export default {
if (file && file.status === "success") {
this.fileList.splice(
this.fileList.findIndex((item) => item.uid === file.uid),
1
);
}
},
filter(node, keyword) {
console.log('data111',node,keyword)
return node.data.agencyName.includes(keyword)
},

Loading…
Cancel
Save