修改禅道bug

This commit is contained in:
zyx.net
2022-07-02 15:32:45 +08:00
parent 65c25fe8cd
commit ab0081166e
6 changed files with 336 additions and 23 deletions
@@ -3,10 +3,14 @@
<div class="box-title-text" v-if="!isInput">
<a-input class="box-input" :value="value" @input="indexclick($event)"
:disabled="true"
:title="value"
:placeholder="$t('PleaseSelect')+query.db_field_txt"/>
<a-button type="primary" class="button-box" @click="standardClick">
{{this.$t('PersonnelSelection')}}
</a-button>
<a-button type="primary" class="button-box" @click="standardDelete">
{{this.$t('delete')}}
</a-button>
</div>
<div class="box-title-text" v-if="isInput">
<a-input :class="{'box-input':!isClass}" :value="value"
@@ -86,6 +90,9 @@
this.queryDepartUserTreeList()
this.visible = true
},
standardDelete(){
this.$emit('input', null)
},
// onSelect(selectedKeys, info) {
// console.log(selectedKeys)
// this.selectedKey = selectedKeys
@@ -151,6 +158,11 @@
},
indexclick(event) {
this.$emit('input', event.target.value)
this.departId = ''
this.searchModel = ''
this.userIds = []
this.userName = []
this.defaultCheckedKeys = []
},
onSearch(e) {
this.gData = []