From 3ebc90ffe672e876f1a59091228c3cd1078f6bc5 Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Sat, 29 Mar 2025 16:22:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=BC=B4=E5=AE=A0=E5=B8=88?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=B5=81=E7=A8=8B-=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otherPages/authentication/examination/end.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otherPages/authentication/examination/end.vue b/otherPages/authentication/examination/end.vue index 912c14f..ab49614 100644 --- a/otherPages/authentication/examination/end.vue +++ b/otherPages/authentication/examination/end.vue @@ -68,7 +68,7 @@ - + 添加客服微信 @@ -77,7 +77,7 @@ 微信二维码 - + From 462ba8d958919489895bf17db5e0fd721e54c3bd Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Sat, 29 Mar 2025 17:26:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E5=9C=B0=E5=9D=80=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2(=E6=9A=82=E5=AD=98);?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/address.js | 14 ++ api/examination.js | 6 + .../authentication/connectAddress/detail.vue | 149 +++++++++++++++++++++ otherPages/authentication/connectAddress/index.vue | 46 +++---- otherPages/authentication/examination/end.vue | 1 - 5 files changed, 191 insertions(+), 25 deletions(-) create mode 100644 api/address.js diff --git a/api/address.js b/api/address.js new file mode 100644 index 0000000..96f39f7 --- /dev/null +++ b/api/address.js @@ -0,0 +1,14 @@ +import request from '@/utils/request' + +export const getAddressList = (params) => { + return request({ + url: '/applet/address/addressList', + headers: { + isToken: true + }, + method: "get", + params + }).then(res => { + return res.data + }) +} \ No newline at end of file diff --git a/api/examination.js b/api/examination.js index 659481d..943d30a 100644 --- a/api/examination.js +++ b/api/examination.js @@ -80,6 +80,9 @@ export const addBaseAnswer = (data) => { export const answeBaseByQuestionId = (params) => { return request({ url: '/applet/examination/answeBaseByQuestionId', + headers: { + isToken: true + }, method: "get", params }).then(res => { @@ -101,6 +104,9 @@ export const addTrainAnswer = (data) => { export const answeTrainByQuestionId = (params) => { return request({ url: '/applet/examination/answeTrainByQuestionId', + headers: { + isToken: true + }, method: "get", params }).then(res => { diff --git a/otherPages/authentication/connectAddress/detail.vue b/otherPages/authentication/connectAddress/detail.vue index e738748..62a13c8 100644 --- a/otherPages/authentication/connectAddress/detail.vue +++ b/otherPages/authentication/connectAddress/detail.vue @@ -1,12 +1,161 @@ \ No newline at end of file diff --git a/otherPages/authentication/connectAddress/index.vue b/otherPages/authentication/connectAddress/index.vue index c546a5a..cc60dc7 100644 --- a/otherPages/authentication/connectAddress/index.vue +++ b/otherPages/authentication/connectAddress/index.vue @@ -4,6 +4,7 @@ 普通喂养员可设置3个接单地址,优选喂养员可设置5个接单地址 + - {{ `共${item.disabledDate.length}天:` }} + {{ `共${item.disabledDate?.length}天:` }} {{ getDisabledDateDesc(item.disabledDate) }} @@ -66,35 +67,27 @@ diff --git a/otherPages/authentication/examination/end.vue b/otherPages/authentication/examination/end.vue index ab49614..ef918b1 100644 --- a/otherPages/authentication/examination/end.vue +++ b/otherPages/authentication/examination/end.vue @@ -182,7 +182,6 @@ } const selectAddr = () => { - console.log('--selectAddr') uni.chooseLocation({ success: function(res) { setAddress(res)