update 企标稽查计划
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="selection-wrapper">
|
||||
<div class="box-title-text">
|
||||
<a-input class="box-input" v-model="textVals" :title="textVals"
|
||||
:disabled="disabledInput" readonly :placeholder="placeholder">
|
||||
:disabled="disabledInput" :placeholder="placeholder">
|
||||
<a-icon v-if="storeVals" slot="suffix" type="close-circle" @click="handleEmpty" title="清空"/>
|
||||
</a-input>
|
||||
<a-button v-if="!disabled" type="primary" class="button-box" @click="workGroupClick">
|
||||
@@ -62,10 +62,10 @@ export default {
|
||||
default: true,
|
||||
required: false
|
||||
},
|
||||
// 自定义返回字段,默认返回 id
|
||||
// 自定义返回字段,默认返回 name
|
||||
customReturnField: {
|
||||
type: String,
|
||||
default: ''
|
||||
default: 'name'
|
||||
},
|
||||
backDepart: {
|
||||
type: Boolean,
|
||||
@@ -156,9 +156,6 @@ export default {
|
||||
this.$emit('change', this.storeVals)
|
||||
this.backDepartInfo()
|
||||
},
|
||||
getDepartNames () {
|
||||
return this.departNames
|
||||
},
|
||||
handleEmpty () {
|
||||
this.handleOK('')
|
||||
},
|
||||
|
||||
@@ -280,7 +280,7 @@ export default {
|
||||
if (item.id === key) {
|
||||
return item
|
||||
}
|
||||
if (item.children instanceof Array) {
|
||||
if (Array.isArray(item.children)) {
|
||||
const value = forChildren(item.children, key)
|
||||
if (value != null) {
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user