diff --git a/common/config.js b/common/config.js index 83ff890..89619a4 100644 --- a/common/config.js +++ b/common/config.js @@ -27,8 +27,8 @@ const config = { // config.baseUrl = 'http://tc.cqsznc.com:7080/api'; //正式 -// config.baseUrl = 'http://183.230.235.66:11010/api'; +config.baseUrl = 'http://183.230.235.66:11010/api'; -config.baseUrl = 'http://799004da.r28.cpolar.top'; +// config.baseUrl = 'http://799004da.r28.cpolar.top'; export default config; diff --git a/pages/sys/workbench/inspection/inspectionOpt.vue b/pages/sys/workbench/inspection/inspectionOpt.vue index 814589b..955d406 100644 --- a/pages/sys/workbench/inspection/inspectionOpt.vue +++ b/pages/sys/workbench/inspection/inspectionOpt.vue @@ -152,13 +152,13 @@ }); }, beforeSubmit() { - // if(!this.isSign){ - // uni.showToast({ - // title: '请先签到', - // icon: 'none' - // }); - // return - // } + if(!this.isSign){ + uni.showToast({ + title: '请先签到', + icon: 'none' + }); + return + } if (this.info.inspectionResults == 1) { // 直接提交 this.submit();