-
-
-
-
-
+
+
+
+ {{ scope.row[scope.column.property] }}
-
-
+
+ {{ judjeCascader(scope.row[scope.column.property], item.options) }}
+
+
+
+ {{ judjeRadio(scope.row[scope.column.property], item.options) }}
+
+
+
{
启用
禁用
-
-
- {{ scope.row[scope.column.property] }}
-
-
-
- {{ scope.row[scope.column.property] }}==
-
+
+
+ {{ scope.row[scope.column.property] }}
+
+
+
+ {{ scope.row[scope.column.property] }}==
+
+
@@ -2493,7 +2640,7 @@ const isObject = (obj: any) => {
@@ -2561,22 +2708,23 @@ const isObject = (obj: any) => {
:dprt="rangedDatePickerInTables1"
@get-page-data="getPageData"
/>
-
-
+
+
-->
+ />
diff --git a/src/components/DesignForm/app/index_20260129.vue b/src/components/DesignForm/app/index_20260129.vue
new file mode 100644
index 0000000..bce9adb
--- /dev/null
+++ b/src/components/DesignForm/app/index_20260129.vue
@@ -0,0 +1,1387 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 操作按钮区域
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.column.label }}
+
+
+
+
+
+ {{ writeListTitle(scope.row, viewPage.list) }}
+
+
+
+
+
+
+ {{ sunItem }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/DesignForm/app/pageViews/tableList.vue b/src/components/DesignForm/app/pageViews/tableList.vue
new file mode 100644
index 0000000..ee1cd71
--- /dev/null
+++ b/src/components/DesignForm/app/pageViews/tableList.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
diff --git a/src/components/DesignForm/public/expand/lowcodeImage.vue b/src/components/DesignForm/public/expand/lowcodeImage.vue
index 4470330..6428421 100644
--- a/src/components/DesignForm/public/expand/lowcodeImage.vue
+++ b/src/components/DesignForm/public/expand/lowcodeImage.vue
@@ -7,7 +7,7 @@
import {
AnalysisCss,
AnalysisInputCss,
-} from "@/components/DesignForm/public/form/calculate/cssInfo.ts";
+} from "@/components/DesignForm/public/form/calculate/cssInfo";
import errimg from "@/assets/404_images/imgNotFound.png";
import { uploadUrl, getRequest } from "@/api/DesignForm";
import { ref,useAttrs } from 'vue'
@@ -16,6 +16,8 @@ import { Plus } from '@element-plus/icons-vue'
import type { UploadProps, UploadUserFile } from 'element-plus'
import { useRoute } from 'vue-router';
+import NoImgPage from '@/assets/image/1.png'
+
import { getCurrentInstance } from 'vue';
const getAncestorComponentNames = () => {
@@ -310,7 +312,7 @@ const fit = computed(()=>{
{
:style="getFormItemInputStyle(configStyle, 2)"
:fit="fit"
/>
+
+
+
diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue
index c0ae24b..55e0f02 100644
--- a/src/components/DesignForm/public/form/form.vue
+++ b/src/components/DesignForm/public/form/form.vue
@@ -613,7 +613,8 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any)
let formatRes: any = data.data;
// 比较适用通用表单,保存在服务端
const afterResponse = props.formData.events?.afterResponse;
-
+ // 构建结果树 - 修复重复问题
+ let result = {};
if (typeof afterResponse === "string" && afterResponse) {
formatRes = formatResult(result, afterResponse);
} else if (typeof afterResponse === "function") {
diff --git a/src/components/DesignForm/public/form/formGroup.vue b/src/components/DesignForm/public/form/formGroup.vue
index 8dc151e..4a84655 100644
--- a/src/components/DesignForm/public/form/formGroup.vue
+++ b/src/components/DesignForm/public/form/formGroup.vue
@@ -18,6 +18,8 @@ import { jsonParseStringify } from "@/utils/DesignForm";
import request from "@/utils/request";
import { AnalysisCss } from "@/components/DesignForm/public/form/calculate/cssInfo";
import { nodePoweInfo,powerAryInfo } from "@/api/taskapi/types";
+import SvgIcon from "@/components/SvgIcon/index.vue";
+import { cs } from "element-plus/es/locale";
const props = withDefaults(
defineProps<{
@@ -355,7 +357,7 @@ const linksIf = (obj: FormList) => {
//按钮点击事件
const injectBtnEvent: any = inject(constFormBtnEvent);
const clickBtn = (control: any) => {
- // console.log(control)
+ console.log(type.value,"------->",control)
// 0: '提交表单',
// 1: '重置表单',
// 2: '取消返回',
@@ -798,6 +800,39 @@ const judgeIsShow = (key: string) => {
}
}
+/**
+@ 作者: 秦东
+@ 时间: 2026-01-29 11:31:35
+@ 功能: 输出按钮样式
+*/
+const judgaButClass = (btnClass:string):string => {
+ switch(btnClass){
+ case "submit":
+ return "btn-primary"
+ break;
+ case "draftSubmit":
+ return "btn-primary"
+ break;
+ case "saveDraft":
+ return "btn-secondary"
+ break;
+ case "saveEditDraft":
+ return "btn-success"
+ break;
+ case "submitEdit":
+ return "btn-success"
+ break;
+ case "afreshSubmit":
+ return "btn-warning"
+ break;
+ case "dangerErr":
+ return "btn-danger"
+ break;
+ default:
+ return "btn-primary"
+ }
+ return ""
+}
{