diff --git a/.DS_Store b/.DS_Store index 307d598..ff5fa0b 100644 --- a/.DS_Store +++ b/.DS_Store diff --git a/src/.DS_Store b/src/.DS_Store index ba59e94..3af023c 100644 --- a/src/.DS_Store +++ b/src/.DS_Store diff --git a/src/views/baseSpecialAction/FormPage.vue b/src/views/baseSpecialAction/FormPage.vue index 0bfe664..feb08b7 100644 --- a/src/views/baseSpecialAction/FormPage.vue +++ b/src/views/baseSpecialAction/FormPage.vue @@ -47,11 +47,6 @@ - - - - - @@ -59,7 +54,7 @@ - + @@ -67,6 +62,11 @@ + + + + + @@ -87,7 +87,11 @@ - 设计表单 + + + + + 没有找到表单?点击设计表单 @@ -128,12 +132,11 @@ - - + @@ -156,7 +159,8 @@ export default { isDetail: false, dialogVisible: false, viewportHeight: 0, - nestedPageUrl:"http://8.130.38.56:8043/old/#/onlineDev/webDesign/indexNew", + //nestedPageUrl:"http://8.130.38.56:8043/old/#/onlineDev/webDesign/indexNew", + nestedPageUrl:"http://localhost:3000/#/onlineDev/webDesign/indexNew", dataForm: { id: undefined, specialActionType: undefined, @@ -207,6 +211,7 @@ export default { ], specialActionTypeOptions: [], communicationAreaOptions: [], + BaseList:[] }; }, computed: {}, @@ -214,6 +219,7 @@ export default { created() { this.getspecialActionTypeOptions(); this.getcommunicationAreaOptions(); + this.getDataForm(); this.updateViewportHeight(); // 监听窗口大小变化事件 window.addEventListener('resize', this.updateViewportHeight); @@ -224,7 +230,11 @@ export default { window.removeEventListener('resize', this.updateViewportHeight); }, methods: { - + handleClose() { + // 这里是对话框关闭后需要执行的代码 + this.getDataForm(); + // 例如,你可以在这里添加任何其他的逻辑 + }, //查询所有区县 getcommunicationAreaOptions() { request({ @@ -234,6 +244,16 @@ export default { this.communicationAreaOptions = res.data; }); }, + //查询表单 + getDataForm() { + request({ + url: "/visualdev/Base?type=1", + method: "get", + }).then((res) => { + this.BaseList = res.data.list[0].children; + console.log(this.BaseList) + }); + }, updateViewportHeight() { // 获取页面显示高度 this.viewportHeight = window.innerHeight || document.documentElement.clientHeight;