Commit 884e5d37 authored by wangxl's avatar wangxl

eee

parent 479d8ed6
......@@ -8,13 +8,13 @@
</div>
</a-col>
</a-row>
<!-- <a-row>
<a-row>
<a-col :span="24">
<a-form-model-item ref="upTreeCode" label="上级单位" prop="upTreeCode">
<unit-tree-select v-model="formData.upTreeCode" :unitType="0" />
</a-form-model-item>
</a-col>
</a-row> -->
</a-row>
<a-row>
<a-col :span="24">
<a-form-model-item ref="unitName" label="单位名称" prop="unitName">
......@@ -24,7 +24,7 @@
{{ item.title }}
</a-select-option>
</a-select>-->
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
......@@ -129,7 +129,7 @@ import { isIdentityId } from '@/views/utils/validate'
export default {
name: "unitRegister",
components: {
unitTreeSelect, verifiCode
unitTreeSelect, verifiCode
},
data () {
return {
......@@ -271,7 +271,7 @@ export default {
},
methods: {
onSearch(value) {
onSearch (value) {
let pars = { UnitName: value }
this.$api.unit.getListByUnitName(pars).then(({ data = {} }) => {
this.selectData = []
......@@ -286,11 +286,11 @@ export default {
}
})
},
filterOption(input, option) {
filterOption (input, option) {
// 自定义过滤逻辑,如果没有匹配的选项就保留输入值
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
},
handleChange(value) {
handleChange (value) {
this.formData.unitName = value
},
verifiMobile () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment