diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 61e390b..7b78262 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -135,24 +135,24 @@ :replaceFields="notNeedEnTitleTreeField.includes(item.dbFieldName) ? null : {title: isChinese() ? 'title' : 'enTitle'}" :placeholder="$t('pleaseSelect')+item.dbFieldTxt" /> - - - - - - - - - + + + + + + + + + + + @@ -184,12 +184,12 @@ import TreeSelection from '../selection/TreeSelection' import STreeSelect from '../STreeSelect' import { isHasPermission } from '../../utils/hasPermission' import { mapGetters } from 'vuex' -// import TreeDataSelection from '../selection/TreeDataSelection' +import TreeDataSelection from '../selection/TreeDataSelection' export default { name: 'AddForm', components: { - // TreeDataSelection, + TreeDataSelection, UserSelection, JMultipleDatePicker, StandardSelection, diff --git a/src/components/selection/TreeDataSelectModal.vue b/src/components/selection/TreeDataSelectModal.vue new file mode 100644 index 0000000..8101047 --- /dev/null +++ b/src/components/selection/TreeDataSelectModal.vue @@ -0,0 +1,491 @@ + + + + + + + + + + {{ dataRef[replaceFields.title] }} + + {{ dataRef[replaceFields.title] }} + + + + + {{ $t('treeSelection.selectedData') }} + + + {{ item[replaceFields.title] }} + + + + + + + + + + + + + + + + + + {{ treeOperationText }} + {{ $t('close') }} + {{ $t('confirm') }} + + + + + + + + diff --git a/src/components/selection/TreeDataSelection.vue b/src/components/selection/TreeDataSelection.vue new file mode 100644 index 0000000..bca415a --- /dev/null +++ b/src/components/selection/TreeDataSelection.vue @@ -0,0 +1,145 @@ + + + + + + + + {{ $t('select') }} + + + + + + + + + +
{{ $t('treeSelection.selectedData') }}