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 912c14f..ef918b1 100644 --- a/otherPages/authentication/examination/end.vue +++ b/otherPages/authentication/examination/end.vue @@ -68,7 +68,7 @@ - + 添加客服微信 @@ -77,7 +77,7 @@ 微信二维码 - + @@ -182,7 +182,6 @@ } const selectAddr = () => { - console.log('--selectAddr') uni.chooseLocation({ success: function(res) { setAddress(res)