From f9e1a0cc187551f81eb496d573b232c64d9c557e Mon Sep 17 00:00:00 2001 From: caijun Date: Fri, 23 Jan 2026 15:16:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=94=B9=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/apply/dynamicModelList/form.vue | 2 +- pages/index/indexWork.vue | 2 +- utils/define.js | 18 +++++++++--------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index bf49d5e..23a1f39 100644 --- a/manifest.json +++ b/manifest.json @@ -202,7 +202,7 @@ "vueVersion": "3", "h5": { "devServer": { - "port": 3800 + "port": 5001 }, "title": "jnpf java vue3版", "router": { diff --git a/pages/apply/dynamicModelList/form.vue b/pages/apply/dynamicModelList/form.vue index f23e41f..f796470 100644 --- a/pages/apply/dynamicModelList/form.vue +++ b/pages/apply/dynamicModelList/form.vue @@ -1222,8 +1222,8 @@ this.submit(type); }, submit(type) { + console.log(type,'type333') this.clickType = type; - if (this.isPreview == '1') return this.$u.toast('功能预览不支持数据保存'); this.$refs.dynamicForm && this.$refs.dynamicForm.submitForm(); }, // 获取审批记录 diff --git a/pages/index/indexWork.vue b/pages/index/indexWork.vue index 7acd5f1..df8aebd 100644 --- a/pages/index/indexWork.vue +++ b/pages/index/indexWork.vue @@ -44,7 +44,7 @@ :menuList="homeData.commonUseMenuList || []" @launch="launch" v-if="homeData.commonUseEnable" @openPage="openPage" :flowEnabled="homeData.flowEnabled" /> --> - diff --git a/utils/define.js b/utils/define.js index 8602a2f..1866885 100644 --- a/utils/define.js +++ b/utils/define.js @@ -1,19 +1,19 @@ /* process.env.NODE_ENV设置生产环境模式 */ // #ifndef MP -const baseURL = process.env.NODE_ENV === "production" ? "https://app.java.jnpfsoft.com" : "http://10.28.117.48:48080" -const webSocketUrl = process.env.NODE_ENV === "production" ? "wss://app.java.jnpfsoft.com/websocket" : +const baseURL = process.env.NODE_ENV === "production" ? "http://10.0.64.25:48080" : "http://10.28.117.48:48080" +const webSocketUrl = process.env.NODE_ENV === "production" ? "http://10.0.64.25:48080" : "ws://10.28.117.183:30000/api/message/websocket" -const report = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com/Report' : 'http://10.28.117.183:8200' -const pcURL = process.env.NODE_ENV === 'production' ? 'https://java.jnpfsoft.com' : 'http://10.28.117.183:3000' +const report = process.env.NODE_ENV === 'production' ? 'http://10.0.64.25:48080' : 'http://10.28.117.183:8200' +const pcURL = process.env.NODE_ENV === 'production' ? 'http://10.0.64.25:48080' : 'http://10.28.117.183:3000' // #endif // #ifdef MP -const baseURL = "http://10.28.117.48:30000" -const webSocketUrl = "ws://10.28.117.183:30000/api/message/websocket" -const report = 'http://10.28.117.183:8200' -const pcURL = 'http://10.28.117.183:3000' +// const baseURL = "http://10.28.117.48:30000" +// const webSocketUrl = "ws://10.28.117.183:30000/api/message/websocket" +// const report = 'http://10.28.117.183:8200' +// const pcURL = 'http://10.28.117.183:3000' // #endif - +console.log(process.env.NODE_ENV === "production",'判断环境----------') const define = { copyright: "Copyright @ 2025 引迈信息技术有限公司版权所有", sysVersion: "V6.0",