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 @@
+
+
+
+
+
+
+
+ {{ props.config?.btnText }}
+
+
+
+
+ {{ props.config?.btnText }}
+
+
+
+
+
+ {{ props.config?.tip }}
+
+
+
+
+
+
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/form/childTable.vue b/src/components/DesignForm/public/form/childTable.vue
index 81ef855..44a9587 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'
@@ -205,6 +205,9 @@ const timeToString = (timeVal:any,types:int) => {
+
+
+
{{ getText(scope.row[item.name],scope.row,item.name) }}
diff --git a/src/components/DesignForm/public/form/formItem.vue b/src/components/DesignForm/public/form/formItem.vue
index d55e14f..0f965af 100644
--- a/src/components/DesignForm/public/form/formItem.vue
+++ b/src/components/DesignForm/public/form/formItem.vue
@@ -32,6 +32,10 @@ import LokOrgCentent from '@/widget/org/cont.vue'
import DigitpagePage from '@/components/DesignForm/public/expand/digitpage.vue'
import LowcodeImagePage from '@/components/DesignForm/public/expand/lowcodeImage.vue'
+import UploadPage from '@/components/DesignForm/public/expand/uploadPage.vue'
+import UploadPageList from '@/components/DesignForm/public/expand/uploadPageList.vue'
+
+
import AKSelect from './select.vue'
import { uploadUrl,getRequest } from '@/api/DesignForm'
@@ -41,6 +45,7 @@ import { useRoute } from 'vue-router'
import { json2string,objToStringify,string2json,stringToObj } from '@/utils/DesignForm/form'
+
import TextImg from "@/assets/image/tinymce.png"
import { AnalysisCss,AnalysisInputCss } from '@/components/DesignForm/public/form/calculate/cssInfo.ts'
@@ -182,6 +187,9 @@ const currentComponent = computed(() => {
}
if (props.data.type === 'lowcodeImage') {
return markRaw(LowcodeImagePage)
+ }
+ if (props.data.type === 'upload') {
+ return markRaw(UploadPage)
}
if (props.data.type === 'datePicker') {
props.data.control.valueFormat="x"
@@ -877,8 +885,22 @@ function asfValueChanged(val:any){
//console.log("asfValueChanged",val)
emits("asfValueChanged",val)
}
-
-
+/**
+@ 作者: 秦东
+@ 时间: 2024-09-17 14:30:37
+@ 功能: 解析下载图片
+*/
+const uploadPic = (val:any) => {
+ console.log("解析下载图片-->",val)
+ if(val != ""){
+ let urlAry = string2json(val)
+ // let urlAry = val.toString().split(",")
+ console.log("解析下载图片-2->",urlAry)
+ return urlAry
+ }else{
+ return [];
+ }
+}
@@ -964,9 +986,10 @@ function asfValueChanged(val:any){
-
@@ -1078,43 +1101,28 @@ function asfValueChanged(val:any){
:transformOption="transformOption"
:placeholder="data.control.placeholder?data.control.placeholder:'请选择'+getLabel(data.item)"
/>
-
-
-
- {{ config?.btnText }}
-
-
-
-
- {{ config?.btnText }}
-
-
-
-
-
- {{ config?.tip }}
-
-
-
+ :options="options"
+ v-model="value"
+ />
+
-
+