diff --git a/otherPages/authentication/components/questionCard.vue b/otherPages/authentication/components/questionCard.vue index 32fb09d..542df0b 100644 --- a/otherPages/authentication/components/questionCard.vue +++ b/otherPages/authentication/components/questionCard.vue @@ -14,7 +14,7 @@ diff --git a/otherPages/authentication/examination/train.vue b/otherPages/authentication/examination/train.vue index 7a82547..3b4da83 100644 --- a/otherPages/authentication/examination/train.vue +++ b/otherPages/authentication/examination/train.vue @@ -69,7 +69,7 @@ const answered = computed(() => { } if(typeof item.value == 'string'){ - return item.value.length >= 700 + return item.value.length >= (item.numberWords || 0) } return true diff --git a/otherPages/myOrdersManage/clock/index.vue b/otherPages/myOrdersManage/clock/index.vue index 2bf92f5..928dceb 100644 --- a/otherPages/myOrdersManage/clock/index.vue +++ b/otherPages/myOrdersManage/clock/index.vue @@ -181,6 +181,7 @@ @@ -235,6 +236,7 @@ const itemOrderID = ref(0) const serviceId = ref(0) const isRead = ref(false) + const content = ref('') const fileList = reactive({ @@ -309,6 +311,10 @@ !fileList.urinalB || fileList.urinalB.length < 1) { return msg('请上传猫砂盆、尿盆照片') } + + if(!content.value){ + return msg('请填写补充信息') + } saveDraft(true) } diff --git a/pages/myOrdersManage/components/timelineService.vue b/pages/myOrdersManage/components/timelineService.vue index 1c20111..9973e67 100644 --- a/pages/myOrdersManage/components/timelineService.vue +++ b/pages/myOrdersManage/components/timelineService.vue @@ -48,7 +48,7 @@ 服务日期 - {{ item.orderId }} + 订单编号:{{ item.orderId }} {{ item.fullDate }} diff --git a/utils/getUrl.js b/utils/getUrl.js index 681aa9f..9f11a4f 100644 --- a/utils/getUrl.js +++ b/utils/getUrl.js @@ -1,10 +1,10 @@ -let current = "release"; +let current = "develop"; const accountInfo = wx.getAccountInfoSync(); -current = accountInfo.miniProgram.envVersion; +// current = accountInfo.miniProgram.envVersion; const api = { - // develop:"http://h5.xzaiyp.top", - develop:"https://api.catmdogd.com/prod-api", + develop:"http://h5.xzaiyp.top", + // develop:"https://api.catmdogd.com/prod-api", // develop:"http://pet-admin.hhlm1688.com/api", // develop: "http://youyi-test.natapp1.cc/prod-api", // 开发 trial: "https://api.catmdogd.com/prod-api", //测试