From 3e8c94e2aee4f7cc96202d7a78f658bbe11d7ff0 Mon Sep 17 00:00:00 2001 From: 18154758993 <605281283@qq.com> Date: Tue, 6 Jan 2026 10:37:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=95=99=E6=A0=A1=E7=A6=BB=E6=A0=A1?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/sub/StuApply.vue | 50 +++++++++++++++++++++--------------------- pages/sub/add.vue | 4 ++-- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/pages/sub/StuApply.vue b/pages/sub/StuApply.vue index f0291ab..5863497 100644 --- a/pages/sub/StuApply.vue +++ b/pages/sub/StuApply.vue @@ -9,7 +9,7 @@ - 主题:{{v.surveyName}} + 主题:{{v.surveyName}} @@ -34,7 +34,7 @@ :type="v.isSubmit=='是'?'success':'error'" plain> - 审核状态: + 审核状态: @@ -114,7 +114,7 @@ - + @@ -136,7 +136,7 @@ - + @@ -167,7 +167,7 @@ - + @@ -239,7 +239,7 @@ - 主题:{{v.surveyName}} + 主题:{{v.surveyName}} + 状态: @@ -603,14 +603,14 @@ }); return; } - if (isEmpty(sdata.scheduledReturnTime)) { - uni.showToast({ - title: "请选择预计返校时间", - icon: "none", - mask: true - }); - return; - } + // if (isEmpty(sdata.scheduledReturnTime)) { + // uni.showToast({ + // title: "请选择预计返校时间", + // icon: "none", + // mask: true + // }); + // return; + // } } // console.log("表单", sdata) return; @@ -633,10 +633,10 @@ let res = await that.getConfigSignature(); that.info += JSON.stringify(res) ww.register({ - corpId: 'wx129e6bf0f36b8b3d', // 必填,当前用户企业所属企业ID - agentId: 1000093, // 必填,当前应用的AgentID - jsApiList: ["getLocation", "openLocation"], // 必填,需要使用的JSAPI列表 - // getAgentConfigSignature: that.getAgentConfigSignature, // 必填,根据url生成应用签名的回调函数 + corpId: 'wx129e6bf0f36b8b3d', // 必填,当前用户企业所属企业ID + agentId: 1000093, // 必填,当前应用的AgentID + jsApiList: ["getLocation", "openLocation"], // 必填,需要使用的JSAPI列表 + // getAgentConfigSignature: that.getAgentConfigSignature, // 必填,根据url生成应用签名的回调函数 getConfigSignature() { // console.log(res) return res @@ -646,7 +646,7 @@ // 初始化微信 JS-SDK async getConfigSignature() { return new Promise((resolve, reject) => { - // 调用后端接口获取签名信息(需要后端支持) + // 调用后端接口获取签名信息(需要后端支持) getWxConfig("corpId").then(res => { const { timestamp, @@ -665,7 +665,7 @@ }, async getAgentConfigSignature() { return new Promise((resolve, reject) => { - // 调用后端接口获取签名信息(需要后端支持) + // 调用后端接口获取签名信息(需要后端支持) getWxConfig("agentId").then(res => { const { timestamp, @@ -742,13 +742,13 @@ this.formData.name = this.ownName; this.formData.stuNo = this.ownStuNo; - // 安全检查:确保moreDeptList存在且不为空,并且能找到匹配的部门 + // 安全检查:确保moreDeptList存在且不为空,并且能找到匹配的部门 if (this.moreDeptList && this.moreDeptList.length > 0 && this.ownDeptName) { const matchedDept = this.moreDeptList.filter(x => x && x.dictValue && x.dictValue.includes(this.ownDeptName)); if (matchedDept.length > 0) { this.formData.moreDeptName = matchedDept[0].dictValue; } else { - // 如果没有找到匹配的部门,使用第一个部门或者设置为空 + // 如果没有找到匹配的部门,使用第一个部门或者设置为空 this.formData.moreDeptName = this.moreDeptList[0] && this.moreDeptList[0].dictValue ? this.moreDeptList[0].dictValue : ''; } } else { @@ -824,7 +824,7 @@ } .bottom-div { - /* 此处不需要特别设置,因为它默认就在下面的位置 */ + /* 此处不需要特别设置,因为它默认就在下面的位置 */ } diff --git a/pages/sub/add.vue b/pages/sub/add.vue index 5d3326b..cb017a6 100644 --- a/pages/sub/add.vue +++ b/pages/sub/add.vue @@ -49,7 +49,7 @@ template> - + @@ -71,7 +71,7 @@ template> - + From 6c2497075688ae510f7c151afd842c588ec99dbe Mon Sep 17 00:00:00 2001 From: 15976874561 <2553956742@qq.com> Date: Tue, 6 Jan 2026 11:42:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 6 +++--- manifest.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index 61e05ae..0977875 100644 --- a/config.js +++ b/config.js @@ -4,10 +4,10 @@ module.exports = { // 若在同一台机器调试:使用 localhost:8066 // 若手机在同一局域网:替换为本机局域网 IP,例如 172.16.96.111:8066 // 页面在 https://zhxg.gxsdxy.cn 下访问,接口同域同协议以避免 CORS - // baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', - // baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', + baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', + //baseUrl: 'https://zhxg.gxsdxy.cn/prod_api', // 若本地/内网以 HTTP 访问页面,可改为: - baseUrl: 'http://localhost:8085', + //baseUrl: 'http://localhost:8085', // 应用信息 appInfo: { // 应用名称 diff --git a/manifest.json b/manifest.json index cd22618..02c753e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "sassImplementationName" : "node-sass", "name" : "学工系统", - "appid" : "__UNI__CB00986", + "appid" : "__UNI__4E0771D", "description" : "", "versionName" : "1.1.0", "versionCode" : "100", From 08369aed72a64e836f6cc7c101eb9e0cd5ab8f27 Mon Sep 17 00:00:00 2001 From: 18154758993 <605281283@qq.com> Date: Tue, 6 Jan 2026 15:10:34 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=AF=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=A2=84=E8=AE=A1=E8=BF=94=E6=A0=A1=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/sub/StudoEdit.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/sub/StudoEdit.vue b/pages/sub/StudoEdit.vue index a61076b..b1d9337 100644 --- a/pages/sub/StudoEdit.vue +++ b/pages/sub/StudoEdit.vue @@ -542,14 +542,14 @@ import { }); return; } - if (isEmpty(sdata.scheduledReturnTime)) { - uni.showToast({ - title: "请选择预计返校时间", - icon: "none", - mask: true - }); - return; - } + // if (isEmpty(sdata.scheduledReturnTime)) { + // uni.showToast({ + // title: "请选择预计返校时间", + // icon: "none", + // mask: true + // }); + // return; + // } const today = new Date(); today.setHours(0, 0, 0, 0); const willLeaveTime = new Date(sdata.willLeaveTime.replace(/-/g, '/'));