feat: 更改环境

This commit is contained in:
caijun
2026-01-23 15:16:31 +08:00
parent 5b3c7512a2
commit f9e1a0cc18
4 changed files with 12 additions and 12 deletions

View File

@@ -202,7 +202,7 @@
"vueVersion": "3",
"h5": {
"devServer": {
"port": 3800
"port": 5001
},
"title": "jnpf java vue3版",
"router": {

View File

@@ -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();
},
// 获取审批记录

View File

@@ -44,7 +44,7 @@
:menuList="homeData.commonUseMenuList || []" @launch="launch" v-if="homeData.commonUseEnable"
@openPage="openPage" :flowEnabled="homeData.flowEnabled" /> -->
<CommonPaneSys title="" :flowList="[]" type="common"
<CommonPaneSys title="应用功能" :flowList="[]" type="common"
:menuList="homeData || []" @launch="launch" v-if="homeData"
@openPage="openPage" />
<view class="todo-list-wrap">

View File

@@ -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",