拆分人员回显
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
checkable
|
||||
:loading="loading"
|
||||
:tree-data="gData"
|
||||
v-model:checkedKeys="selectedKey"
|
||||
@select="onSelect"
|
||||
@check="onCheck"
|
||||
@expand="onExpand"
|
||||
@@ -69,7 +70,7 @@
|
||||
userIds: [],
|
||||
searchModel:'',
|
||||
defaultExpandedKeys: [],
|
||||
defaultCheckedKeys: []
|
||||
defaultCheckedKeys: [],
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -167,6 +168,7 @@
|
||||
this.gData = res.result
|
||||
this.defaultExpandedKeys = [this.departId]
|
||||
this.defaultCheckedKeys = this.personneQuery[this.query.db_field_name + '_id'] ? this.personneQuery[this.query.db_field_name + '_id'].split(',') : []
|
||||
this.selectedKey = this.personneQuery[this.query.db_field_name + '_id'] ? this.personneQuery[this.query.db_field_name + '_id'].split(',') : []
|
||||
console.log(this.defaultCheckedKeys)
|
||||
this.treeVisible = true
|
||||
} else {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="ocr-upload">
|
||||
<div class="split-upload">
|
||||
<!-- <a-modal v-model="visible" :maskClosable="false" :footer="[]" :title="title" class="ocr-upload-modal">-->
|
||||
<a-upload
|
||||
:accept='accept'
|
||||
@@ -234,4 +234,9 @@
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
.upload-split {
|
||||
.import{
|
||||
margin-right: 3px!important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -4,7 +4,7 @@
|
||||
<a-upload-dragger
|
||||
:accept='accept'
|
||||
:disabled="disabled"
|
||||
class="ant-upload-list"
|
||||
class="split-upload-list"
|
||||
name="file"
|
||||
:file-list="myfileList"
|
||||
:multiple="true"
|
||||
|
||||
Reference in New Issue
Block a user