diff --git a/pkg/sumdb/sum.golang.org/latest b/pkg/sumdb/sum.golang.org/latest new file mode 100644 index 0000000..31dde1f --- /dev/null +++ b/pkg/sumdb/sum.golang.org/latest @@ -0,0 +1,5 @@ +go.sum database tree +29530890 +yb6t6HZvxxy4PrtbS+3QjpejyjLeRuqQ2INBTisrK38= + +— sum.golang.org Az3grvtY2DM7q7cq6/vo+qjK+WpbUaK7FrxZoFBSvTJ3U6QlFARxFVdrEusYH48zS1BENhlysJZH2iz7XZmGlOf1aAU= diff --git a/src/api/DesignForm/type.ts b/src/api/DesignForm/type.ts index bdd04e8..46bc2f0 100644 --- a/src/api/DesignForm/type.ts +++ b/src/api/DesignForm/type.ts @@ -220,3 +220,11 @@ export interface optionsInfo { label: string; value: string; } + + +//定义树形结构体 +export interface treeStruct { + value: string + label?: string + children?: treeStruct[] +} diff --git a/src/assets/image/tinymce.png b/src/assets/image/tinymce.png index e1499fb..67d7de1 100644 Binary files a/src/assets/image/tinymce.png and b/src/assets/image/tinymce.png differ diff --git a/src/assets/image/tinymce1.png b/src/assets/image/tinymce1.png new file mode 100644 index 0000000..e1499fb Binary files /dev/null and b/src/assets/image/tinymce1.png differ diff --git a/src/components/DesignForm/aceDrawer.vue b/src/components/DesignForm/aceDrawer.vue index e221b85..6eb6e27 100644 --- a/src/components/DesignForm/aceDrawer.vue +++ b/src/components/DesignForm/aceDrawer.vue @@ -5,10 +5,12 @@ --> diff --git a/src/components/DesignForm/aceDrawerTree.vue b/src/components/DesignForm/aceDrawerTree.vue new file mode 100644 index 0000000..eeb1fa2 --- /dev/null +++ b/src/components/DesignForm/aceDrawerTree.vue @@ -0,0 +1,254 @@ + + + + diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts index 2ca1514..b0653d0 100644 --- a/src/components/DesignForm/assembly/index.ts +++ b/src/components/DesignForm/assembly/index.ts @@ -32,7 +32,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -61,7 +61,7 @@ export default [ selectvalue: "default", styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -82,7 +82,7 @@ export default [ config: {}, // 其他配置信息 styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -103,7 +103,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -127,7 +127,7 @@ export default [ config: config, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -151,7 +151,7 @@ export default [ config: config, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -176,7 +176,7 @@ export default [ config: config, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -197,7 +197,7 @@ export default [ config: config, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -218,7 +218,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -238,7 +238,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -258,7 +258,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -267,7 +267,7 @@ export default [ } }, { - type: 'organization', + type: 'organization', label: '联系地址', unitName: '联系地址', icon: 'marker', @@ -277,7 +277,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -311,7 +311,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -332,7 +332,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -352,7 +352,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -372,7 +372,7 @@ export default [ // config: {}, // styles: { // divStyle: { - // marginBot: "10" + // marginBot: "15" // }, // labelStyle: { // paddingLeft: "7", @@ -415,7 +415,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -435,7 +435,7 @@ export default [ item: {}, // label标题相关 styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -457,7 +457,7 @@ export default [ }, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -476,7 +476,7 @@ export default [ list: [], styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -501,7 +501,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -520,7 +520,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -601,7 +601,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -622,7 +622,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -642,7 +642,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -666,7 +666,7 @@ export default [ }, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -685,7 +685,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -705,7 +705,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -725,7 +725,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -745,7 +745,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -778,7 +778,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -798,7 +798,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -849,7 +849,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -873,7 +873,7 @@ export default [ }, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -953,7 +953,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -990,7 +990,7 @@ export default [ }, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1011,7 +1011,7 @@ export default [ config: {}, // 其他配置信息 styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1030,7 +1030,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1050,7 +1050,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1070,7 +1070,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1090,7 +1090,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1110,7 +1110,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", @@ -1130,7 +1130,7 @@ export default [ config: {}, styles: { divStyle: { - marginBot: "10" + marginBot: "15" }, labelStyle: { paddingLeft: "7", diff --git a/src/components/DesignForm/dragControlApp.vue b/src/components/DesignForm/dragControlApp.vue index 2987072..7720709 100644 --- a/src/components/DesignForm/dragControlApp.vue +++ b/src/components/DesignForm/dragControlApp.vue @@ -157,8 +157,9 @@ const clone = (origin: any) => { } .fontIcon{ + height: 35px; i{ - padding: 4px 0px 0 0px; + padding: 3px 0px 0 0px; } } diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index 0153dd5..f25b9c5 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -880,7 +880,7 @@ isNum: true }, { - label: 'type', + label: '显示类型', value: control.type, path: 'control.type', vShow: ['datePicker'], @@ -898,7 +898,7 @@ } }, { - label: 'format', + label: '时间类型', value: control.format, path: 'control.format', vShow: ['datePicker', 'timePicker'], diff --git a/src/components/DesignForm/formControlAttres.vue b/src/components/DesignForm/formControlAttres.vue index 45ef55b..7a5d714 100644 --- a/src/components/DesignForm/formControlAttres.vue +++ b/src/components/DesignForm/formControlAttres.vue @@ -592,7 +592,7 @@ const attrList = computed(() => { vShow: ['upload'] }, { - label: 'direction', + label: '分割线方向', type: 'select', dict: { horizontal: 'horizontal', vertical: 'vertical' }, placeholder: '分割线方向,默认horizontal', @@ -601,14 +601,14 @@ const attrList = computed(() => { vShow: ['divider'] }, { - label: 'border-style', + label: '分隔符样式', placeholder: '分隔符样式,默认solid', value: control.borderStyle, path: 'control.borderStyle', vShow: ['divider'] }, { - label: 'content-position', + label: '文字方位', type: 'select', dict: { left: 'left', right: 'right', center: 'center' }, value: control.contentPosition, diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index fb497c1..0e05b4f 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -908,7 +908,7 @@ const attrList = computed(() => { vShow: ['upload'] }, { - label: 'direction', + label: '分割线方向', type: 'select', dict: { horizontal: 'horizontal', vertical: 'vertical' }, placeholder: '分割线方向,默认horizontal', @@ -917,14 +917,14 @@ const attrList = computed(() => { vShow: ['divider'] }, { - label: 'border-style', + label: '分隔符样式', placeholder: '分隔符样式,默认solid', value: control.borderStyle, path: 'control.borderStyle', vShow: ['divider'] }, { - label: 'content-position', + label: '文字方位', type: 'select', dict: { left: 'left', right: 'right', center: 'center' }, value: control.contentPosition, @@ -956,7 +956,7 @@ const attrList = computed(() => { isNum: true }, { - label: 'type', + label: '显示类型', value: control.type, path: 'control.type', vShow: ['datePicker'], @@ -974,7 +974,7 @@ const attrList = computed(() => { } }, { - label: 'format', + label: '时间格式', value: control.format, path: 'control.format', vShow: ['datePicker', 'timePicker'], @@ -1840,7 +1840,7 @@ const currentAsfChangeCount = ref(0) } } // console.log(resDataForGlxxszExceptself1) - if(getAssociatedFormsCurrentFieldTreeData.treeAttrs!=undefined){ + if(getAssociatedFormsCurrentFieldTreeData && getAssociatedFormsCurrentFieldTreeData.treeAttrs && getAssociatedFormsCurrentFieldTreeData.treeAttrs!=undefined){ associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value = [{ id: 'rootid_'+getAssociatedFormsCurrentFieldTreeData.label, //label: '当前表单', diff --git a/src/components/DesignForm/formControlProperties.vue b/src/components/DesignForm/formControlProperties.vue index 7f50ad9..28e3e59 100644 --- a/src/components/DesignForm/formControlProperties.vue +++ b/src/components/DesignForm/formControlProperties.vue @@ -915,7 +915,7 @@ const attrList = computed(()=>{ vShow: ['upload'] }, { - label: 'direction', + label: '分割线方向', type: 'select', dict: { horizontal: 'horizontal', vertical: 'vertical' }, placeholder: '分割线方向,默认horizontal', @@ -924,14 +924,14 @@ const attrList = computed(()=>{ vShow: ['divider'] }, { - label: 'border-style', + label: '分隔符样式', placeholder: '分隔符样式,默认solid', value: control.borderStyle, path: 'control.borderStyle', vShow: ['divider'] }, { - label: 'content-position', + label: '文字方位', type: 'select', dict: { left: 'left', right: 'right', center: 'center' }, value: control.contentPosition, diff --git a/src/components/DesignForm/public/expand/cascader.vue b/src/components/DesignForm/public/expand/cascader.vue new file mode 100644 index 0000000..e1d6b4c --- /dev/null +++ b/src/components/DesignForm/public/expand/cascader.vue @@ -0,0 +1,47 @@ + + + + diff --git a/src/components/DesignForm/public/expand/datePicker.vue b/src/components/DesignForm/public/expand/datePicker.vue new file mode 100644 index 0000000..dbf3ec6 --- /dev/null +++ b/src/components/DesignForm/public/expand/datePicker.vue @@ -0,0 +1,43 @@ + + + + diff --git a/src/components/DesignForm/public/expand/org.vue b/src/components/DesignForm/public/expand/org.vue index fae9667..c00f204 100644 --- a/src/components/DesignForm/public/expand/org.vue +++ b/src/components/DesignForm/public/expand/org.vue @@ -19,7 +19,12 @@ const emits = defineEmits<{ }>() const value = computed({ get: () => { - return props.modelValue*1 + if (props.modelValue != "" && props.modelValue != undefined){ + return props.modelValue*1 + }else{ + return props.modelValue + } + }, set: (newVal: any) => { emits('update:modelValue', newVal) @@ -48,7 +53,7 @@ const orgTreeProps ={ function haveOrgTreeInfo(){ orgTreeLoading.value = true; - getOrgTreeList({}) + getOrgTreeList({"orgid": 309}) .then(({ data })=>{ orgTreeList.value = data }).finally(()=>{orgTreeLoading.value = false;}) diff --git a/src/components/DesignForm/public/expand/orgCitys.vue b/src/components/DesignForm/public/expand/orgCitys.vue new file mode 100644 index 0000000..428b0f5 --- /dev/null +++ b/src/components/DesignForm/public/expand/orgCitys.vue @@ -0,0 +1,320 @@ + + + + diff --git a/src/components/DesignForm/public/expand/uploadPage.vue b/src/components/DesignForm/public/expand/uploadPage.vue new file mode 100644 index 0000000..47e585e --- /dev/null +++ b/src/components/DesignForm/public/expand/uploadPage.vue @@ -0,0 +1,174 @@ + + + + diff --git a/src/components/DesignForm/public/expand/uploadPageList.vue b/src/components/DesignForm/public/expand/uploadPageList.vue new file mode 100644 index 0000000..f8cb337 --- /dev/null +++ b/src/components/DesignForm/public/expand/uploadPageList.vue @@ -0,0 +1,106 @@ + + + + diff --git a/src/components/DesignForm/public/expand/userDialog.vue b/src/components/DesignForm/public/expand/userDialog.vue index 5cf031c..07859f7 100644 --- a/src/components/DesignForm/public/expand/userDialog.vue +++ b/src/components/DesignForm/public/expand/userDialog.vue @@ -24,7 +24,7 @@ const visible = ref(false) // 侧栏处理 const treeEl = ref() const treeData = ref([]) -const department = ref() +const department = ref(309) const handleNodeClick = (data: any) => { department.value = data.id getUserList() @@ -33,7 +33,7 @@ const getTreeData = () => { // getRequest('deptList', {}).then((res: any) => { // treeData.value = formatResult(res.data, 'transformDataToChild') // }) - getOrgFormTree() + getOrgFormTree({id:309}) .then(({ data }) => { // console.log(data) treeData.value = data.list diff --git a/src/components/DesignForm/public/form/childTable.vue b/src/components/DesignForm/public/form/childTable.vue index 81ef855..c4b8abd 100644 --- a/src/components/DesignForm/public/form/childTable.vue +++ b/src/components/DesignForm/public/form/childTable.vue @@ -10,7 +10,7 @@ import Tooltips from '@/components/DesignForm/tooltip.vue' import {constFormProps } from '@/api/DesignForm/utils' import { jsonParseStringify } from '@/utils/DesignForm' import LowcodeImagePage from '@/components/DesignForm/public/expand/lowcodeImage.vue' - +import UploadPageList from '@/components/DesignForm/public/expand/uploadPageList.vue' import LokOrgCentent from '@/widget/org/cont.vue' @@ -197,7 +197,7 @@ const timeToString = (timeVal:any,types:int) => { :width="item.item.span" >