diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts index dc4031dd0..d2775cc1a 100644 --- a/src/components/DesignForm/assembly/index.ts +++ b/src/components/DesignForm/assembly/index.ts @@ -247,15 +247,6 @@ const selectOption: any = [ }, config: {} }, - { - type: 'orgCentent', - label: '行政组织', - icon: 'sliders', - iconFont: 'fa-sliders', - control: { - }, - config: {} - }, { type: 'colorPicker', label: '取色器', @@ -409,6 +400,15 @@ const selectOption: any = [ modelValue: '' }, config: {} // 其他配置信息 + }, + { + type: 'orgCentent', + label: '行政组织', + icon: 'sliders', + iconFont: 'fa-sliders', + control: { + }, + config: {} } ] } diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index 38a9ef354..0868c292b 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -1267,9 +1267,13 @@ const updataDigit = (key:sring,val:any) => { // console.log("默认值处理-1-->",props.formList) // console.log("默认值处理-2-->",props.formConfig) // console.log("默认值处理--3->",props.formOtherData) - // console.log("默认值处理--4->",formAttr) - formConfig.value[key] = val.mathsFormula - // console.log("返回值处理--->",key,val) + console.log("默认值处理--4->",val) + formConfig.value[key] = { + mathsFormula:val.mathsFormula, + takingMethod:val.takingMethod, + digit:val.digit + } + console.log("返回值处理--->",formConfig.value) attrList.value.forEach((item:any)=>{ // console.log("返回值处理--1->",item) if(item.type == "digitpage"){ diff --git a/src/components/DesignForm/math/matchFunction.ts b/src/components/DesignForm/math/matchFunction.ts index 7f542b70b..7a06a0559 100644 --- a/src/components/DesignForm/math/matchFunction.ts +++ b/src/components/DesignForm/math/matchFunction.ts @@ -4,7 +4,7 @@ export const funcList = [ name: "函数列表", children: [ { - id: "11", + id: "1", name: "SUM", type:'func', dataType: "number", @@ -22,16 +22,16 @@ export const funcList = [ `, }, { - id: "14", - name: "AVG", + id: "2", + name: "AVERAGE", type:'func', dataType: "number", dataTypeName: "数字", desc: `