xwt
2025-07-09 f4711865a8ea9566910bfcc6daa31795b89272a7
来料检优化
已修改2个文件
23 ■■■■ 文件已修改
pages/QC/LLJ/Add.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
store/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/QC/LLJ/Add.vue
@@ -472,7 +472,7 @@
                                        // 如果有页面跳转,需要用定时器延迟
                                        setTimeout(() => {
                                            uni.navigateTo({
                                            uni.redirectTo({
                                                url: 'List'
                                            });
                                        }, 2000); // 保持与 duration 相同的时长
@@ -525,12 +525,7 @@
                                duration: 2000
                            })
                            // 如果有页面跳转,需要用定时器延迟
                            setTimeout(() => {
                                uni.navigateTo({
                                    url: 'List'
                                });
                            }, 2000); // 保持与 duration 相同的时长
                            setTimeout(() => {uni.navigateBack();}, 2000); // 保持与 duration 相同的时长
                        } else {
                            uni.showModal({
                                title: "提示",
@@ -1184,10 +1179,7 @@
                        this.destructionPopup = false;
                        this.$showMessage("保存成功");
                        setTimeout(() => {
                            // 跳转到列表页面
                            uni.navigateTo({
                                url: 'List'
                            });
                            this.init();
                        }, 2000);
                    }
                })
@@ -1208,10 +1200,7 @@
                        this.destructionPopup = false;
                        this.$showMessage("清除成功");
                        setTimeout(() => {
                            // 跳转到列表页面
                            uni.navigateTo({
                                url: 'List'
                            });
                            this.init();
                        }, 2000);
                    }
                })
store/index.js
@@ -10,10 +10,10 @@
            networkFlag:'内网', 
            serverURLInt:'http://192.168.11.251:10055',//服务器体检 10.0.1.104:10054
            serverURL:'http://localhost:10055',//本地调试地址
            //serverAPI:'http://localhost:5184/api',//当前正在使用的服务器,默认为外网  localhost
            serverAPI:'http://localhost:5184/api',//当前正在使用的服务器,默认为外网  localhost
            //serverAPI:'http://192.168.1.22:10054/api',//当前正在使用的服务器,默认为外网  10054为正式API
            //serverAPI:'http://192.168.1.104:10055/api',//当前正在使用的服务器,默认为外网  10055为测试API
            serverAPI:'http://36.26.21.214:10055/api',
            //serverAPI:'http://36.26.21.214:10055/api',
        }
    },
    mutations: {