|
@@ -26,7 +26,7 @@
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|
|
|
- :style="{ height:auto}"
|
|
|
|
|
|
|
+ style="height: 300px"
|
|
|
>
|
|
>
|
|
|
<el-scrollbar
|
|
<el-scrollbar
|
|
|
style="height: 100%;width:100%; padding-bottom:8px;"
|
|
style="height: 100%;width:100%; padding-bottom:8px;"
|
|
@@ -53,7 +53,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<ibps-crud
|
|
<ibps-crud
|
|
|
ref="crud"
|
|
ref="crud"
|
|
|
- :height="'auto'"
|
|
|
|
|
|
|
+ :height="'300px'"
|
|
|
:data="listData"
|
|
:data="listData"
|
|
|
:toolbars="listConfig.toolbars"
|
|
:toolbars="listConfig.toolbars"
|
|
|
:search-form="listConfig.searchForm"
|
|
:search-form="listConfig.searchForm"
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
partyTypeOptions: this.orgAddIndex === 'qita'? this.orgAddList : this.$utils.isNotEmpty(this.customPartyTypeOptions) ? this.customPartyTypeOptions : partyTypeOptions,
|
|
partyTypeOptions: this.orgAddIndex === 'qita'? this.orgAddList : this.$utils.isNotEmpty(this.customPartyTypeOptions) ? this.customPartyTypeOptions : partyTypeOptions,
|
|
|
statusOptions: statusOptions,
|
|
statusOptions: statusOptions,
|
|
|
genderOptions: genderOptions,
|
|
genderOptions: genderOptions,
|
|
|
- partyType: this.$utils.isNotEmpty(this.customPartyTypeOptions) ? this.customPartyTypeOptions[0].value : 'org',
|
|
|
|
|
|
|
+ partyType: this.$utils.isNotEmpty(this.customPartyTypeOptions) ? this.customPartyTypeOptions[0].value : 'position',
|
|
|
// inclueChild: true,
|
|
// inclueChild: true,
|
|
|
partyId: '',
|
|
partyId: '',
|
|
|
treeDatas: [],
|
|
treeDatas: [],
|
|
@@ -221,7 +221,7 @@ export default {
|
|
|
watch: {
|
|
watch: {
|
|
|
showTree: {
|
|
showTree: {
|
|
|
handler: function(val, oldVal) {
|
|
handler: function(val, oldVal) {
|
|
|
- this.lazyTree = this.partyType === 'org'
|
|
|
|
|
|
|
+ this.lazyTree = this.partyType === 'position'
|
|
|
/* if (val === false) { */
|
|
/* if (val === false) { */
|
|
|
this.listConfig.searchForm.forms = [
|
|
this.listConfig.searchForm.forms = [
|
|
|
{ prop: 'name', label: '姓名' }
|
|
{ prop: 'name', label: '姓名' }
|