feat: 优化选人组件和选择组织组件
This commit is contained in:
@ -756,7 +756,7 @@
|
||||
import ApiCheckboxGroup from '/@/components/Form/src/components/ApiCheckboxGroup.vue';
|
||||
import SelectArea from '/@/components/Form/src/components/SelectArea.vue';
|
||||
import CommonInfo from '/@/components/Form/src/components/CommonInfo.vue';
|
||||
import SelectDepartment from '/@/components/Form/src/components/SelectDepartment.vue';
|
||||
import SelectDepartment from '/@/components/Form/src/components/SelectDepartmentV2.vue';
|
||||
import SelectMap from '/@/components/Form/src/components/SelectMap.vue';
|
||||
import XjrQrcode from '/@/components/Form/src/components/QrCode.vue';
|
||||
import ApiComplete from '/@/components/Form/src/components/ApiComplete.vue';
|
||||
|
||||
@ -455,6 +455,11 @@
|
||||
<a-form-item v-if="hasKey('reverse')" :label="t('反向坐标轴')">
|
||||
<a-switch v-model:checked="data.options.reverse" />
|
||||
</a-form-item>
|
||||
<template v-if="data.type === 'organization'">
|
||||
<a-form-item v-if="hasKey('parentNode')" label="父级节点">
|
||||
<SelectDepartmentV2 v-model:value="data.options.parentNode"></SelectDepartmentV2>
|
||||
</a-form-item>
|
||||
</template>
|
||||
|
||||
<template v-if="data.type === 'image'">
|
||||
<a-form-item :label="t('默认值')">
|
||||
@ -756,6 +761,7 @@
|
||||
// import { getAppEnvConfig } from '/@/utils/env';
|
||||
import { ColorPicker } from '/@/components/ColorPicker';
|
||||
import { TimePicker } from '/@/components/TimePicker';
|
||||
import SelectDepartmentV2 from '/@/components/Form/src/components/SelectDepartmentV2.vue';
|
||||
import { XjrDatePicker } from '/@/components/DatePicker';
|
||||
import { DicTreeSelect } from '/@/components/DicTreeSelect';
|
||||
import Sortable from 'sortablejs';
|
||||
@ -785,7 +791,8 @@
|
||||
XjrDatePicker,
|
||||
DicTreeSelect,
|
||||
ApiAssoConfig,
|
||||
DicAssoConfig
|
||||
DicAssoConfig,
|
||||
SelectDepartmentV2
|
||||
},
|
||||
props: {
|
||||
//所选组件配置
|
||||
|
||||
@ -1162,6 +1162,7 @@ export const infoComponents = [
|
||||
options: {
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
parentNode: '',
|
||||
responsive: false,
|
||||
span: '',
|
||||
width: '100%',
|
||||
|
||||
Reference in New Issue
Block a user