diff --git a/src/components/DesignForm/public/form/formItem.vue b/src/components/DesignForm/public/form/formItem.vue
index c50d50f..8410b08 100644
--- a/src/components/DesignForm/public/form/formItem.vue
+++ b/src/components/DesignForm/public/form/formItem.vue
@@ -34,6 +34,8 @@ 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 OrgCitys from '@/components/DesignForm/public/expand/orgCitys.vue'
+import DatePickerPage from '@/components/DesignForm/public/expand/datePicker.vue'
@@ -190,9 +192,15 @@ const currentComponent = computed(() => {
}
if (props.data.type === 'upload') {
return markRaw(UploadPage)
+ }
+ if (props.data.type === 'organization') {
+ return markRaw(OrgCitys)
}
if (props.data.type === 'datePicker') {
props.data.control.valueFormat="x"
+ // props.data.control.align="right"
+ // props.data.control.appendToBody =true
+ return markRaw(DatePickerPage)
}
if (props.data.type === 'switch') {
if(typeof props.data.control.activeValue === "number"){
@@ -929,14 +937,14 @@ const uploadPic = (val:any) => {
-
+
{
:transformOption="transformOption"
:placeholder="data.control.placeholder?data.control.placeholder:'请选择'+getLabel(data.item)"
/>
+
{
/>
+
+
+
+
{{ item.label }}
diff --git a/src/views/sysworkflow/codepage/page.vue b/src/views/sysworkflow/codepage/page.vue
index b5733af..1d8fb5c 100644
--- a/src/views/sysworkflow/codepage/page.vue
+++ b/src/views/sysworkflow/codepage/page.vue
@@ -48,8 +48,73 @@ function sendMessage() {
import Editor from "@/components/WangEditor/index.vue";
const value = ref("初始内容");
+
+const tableData = [
+ {
+ date: '2016-05-03',
+ name: 'Tom',
+ address: 'No. 189, Grove St, Los Angeles',
+ },
+ {
+ date: '2016-05-02',
+ name: 'Tom',
+ address: 'No. 189, Grove St, Los Angeles',
+ },
+ {
+ date: '2016-05-04',
+ name: 'Tom',
+ address: 'No. 189, Grove St, Los Angeles',
+ },
+ {
+ date: '2016-05-01',
+ name: 'Tom',
+ address: 'No. 189, Grove St, Los Angeles',
+ },
+]
+
+const dialogVisible = ref(false)
+
+const handleClose = (done: () => void) => {
+ ElMessageBox.confirm('Are you sure to close this dialog?')
+ .then(() => {
+ done()
+ })
+ .catch(() => {
+ // catch error
+ })
+}
+
+
+
+
+
+
+
+ Click to open the Dialog
+
+
+
+ This is a message
+
+
+
+
+
+
+
+
diff --git a/src/widget/orgcitys/index.vue b/src/widget/orgcitys/index.vue
index 50385ba..5184f08 100644
--- a/src/widget/orgcitys/index.vue
+++ b/src/widget/orgcitys/index.vue
@@ -275,6 +275,7 @@ const initAddressData = () =>{
v-model="addressBox"
title="填写地址"
width="600px"
+ :modal="false"
:before-close="addressBoxClose"
>