diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index cfa2e39..5015df2 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -500,14 +500,7 @@ const attrList = computed(() => { ], }, - { - label: "表单栅格", - value: config.span, - placeholder: "表单区域栅格宽,0为自动宽", - path: "config.span", - vHide: ["gridChild"], - isNum: true, - }, + /*{ label: '行类样式', value: config.inline, @@ -695,38 +688,7 @@ const attrList = computed(() => { eventName: "setInputSlot", }, - { - label: "占据的列数span", - value: attr.span, - path: "attr.span", - vShow: ["gridChild"], - eventName: "formatNumber", - isNum: true, - }, - { - label: "左侧的间隔格数offset", - value: attr.offset, - path: "attr.offset", - vShow: ["gridChild"], - eventName: "formatNumber", - isNum: true, - }, - { - label: "向右移动格数push", - value: attr.push, - path: "attr.push", - vShow: ["gridChild"], - eventName: "formatNumber", - isNum: true, - }, - { - label: "向左移动格数pull", - value: attr.pull, - path: "attr.pull", - vShow: ["gridChild"], - eventName: "formatNumber", - isNum: true, - }, + { label: "序号列", value: columnIndex, @@ -861,6 +823,58 @@ const attrList = computed(() => { vIf: state.isSearch, vShow: ["expand-user"], }, + /* { + label: "表单栅格", + value: config.span, + placeholder: "表单区域栅格宽,0为自动宽", + path: "config.span", + vHide: ["gridChild"], + isNum: true, + }, */ + { + label: "表单栅格", + value: config.span, + path: "config.span", + type: "span", + vHide: ["gridChild"], + isNum: true, + }, + { + label: "占据的列数span", + value: attr.span, + type: "attrSpan", + path: "attr.span", + vShow: ["gridChild"], + eventName: "formatNumber", + isNum: true, + }, + { + label: "左侧的间隔格数offset", + value: attr.offset, + type: "attrOffset", + path: "attr.offset", + vShow: ["gridChild"], + eventName: "formatNumber", + isNum: true, + }, + { + label: "向右移动格数push", + value: attr.push, + type: "attrPush", + path: "attr.push", + vShow: ["gridChild"], + eventName: "formatNumber", + isNum: true, + }, + { + label: "向左移动格数pull", + value: attr.pull, + type: "attrPull", + path: "attr.pull", + vShow: ["gridChild"], + eventName: "formatNumber", + isNum: true, + }, /* { label: "添加时间水印", value: config.lowcodeImage, @@ -4352,6 +4366,13 @@ const aiAgentList = ref([ // value: 3, // }, ]); + + +const formatTooltip = (val: number) => { + //console.log("zhidhfasidhais----->",val) + const result = ((val / 24) * 100).toFixed(2); + return `${result}%`; +}