diff --git a/pages/apply-code/apply-code.vue b/pages/apply-code/apply-code.vue index 5b6ebcc..4aff07f 100644 --- a/pages/apply-code/apply-code.vue +++ b/pages/apply-code/apply-code.vue @@ -94,11 +94,11 @@ *当前体温(℃) - + - *紧急联系人 + 紧急联系人 @@ -182,12 +182,12 @@ export default { value: '1', name: '是' }], - animalHeat: 0, + animalHeat: '', healthTypeId: 0, touchHubei: 0, touchSick: 0, touchOverseas: 0, - schoolLocation: 0, + schoolLocation: 1, emergencyName: '', emergencyPhone: '', remark: '', @@ -286,6 +286,7 @@ export default { } uni.uploadFile({ url: `https://www.tall.wiki/gateway${HEALTH_FILE}`, + // url: `https://test.tall.wiki/gateway${HEALTH_FILE}`, filePath: res.tempFilePaths[0], fileType: 'image', name: 'file', @@ -410,7 +411,7 @@ export default { // 验证信息 checkRules() { - const { district, address, healthTypeId, animalHeat,emergencyName,emergencyPhone, agree,agree1,agree2 } = this; + const { district, address, healthTypeId, animalHeat, agree,agree1,agree2 } = this; if (!district || district === '请选择当前所在地区') { showToast('请选择当前所在地区'); return; @@ -427,14 +428,6 @@ export default { showToast('请输入正确的体温值(范围:30℃~45℃)'); return; } - if (!emergencyName) { - showToast('请输入紧急联系人姓名'); - return; - } - if (!this.verifyPhone(emergencyPhone)) { - showToast('请输入正确的紧急联系人手机号'); - return; - } if (!agree) { showToast('请选择是否同意《用户服务协议》和《隐私政策》'); return; diff --git a/pages/my-code/my-code.vue b/pages/my-code/my-code.vue index 55ed41a..db918da 100644 --- a/pages/my-code/my-code.vue +++ b/pages/my-code/my-code.vue @@ -25,7 +25,7 @@ 在校 不在校 - 紧急联系人:{{ item.emergencyName }}     {{ item.emergencyPhone }} + 紧急联系人:{{ item.emergencyName }}     {{ item.emergencyPhone }} 备注:{{ item.remark }} diff --git a/pages/punch-the-clock/punch-the-clock.vue b/pages/punch-the-clock/punch-the-clock.vue index b36c4bf..334d2af 100644 --- a/pages/punch-the-clock/punch-the-clock.vue +++ b/pages/punch-the-clock/punch-the-clock.vue @@ -94,11 +94,11 @@ *当前体温(℃) - + - *紧急联系人 + 紧急联系人 @@ -178,12 +178,12 @@ value: '1', name: '是' }], - animalHeat: 0, + animalHeat: '', healthTypeId: 0, touchHubei: 0, touchSick: 0, touchOverseas: 0, - schoolLocation: 0, + schoolLocation: 1, emergencyName: '', emergencyPhone: '', remark: '', @@ -299,7 +299,8 @@ this.imgList = res.tempFilePaths } uni.uploadFile({ - url: `https://www.tall.wiki/gateway${HEALTH_FILE}`, + usrl: `https://www.tall.wiki/gateway${HEALTH_FILE}`, + // url: `https://test.tall.wiki/gateway${HEALTH_FILE}`, filePath: res.tempFilePaths[0], fileType: 'image', name: 'file', @@ -434,8 +435,6 @@ address, healthTypeId, animalHeat, - emergencyName, - emergencyPhone, agree, agree1, agree2 @@ -456,14 +455,6 @@ showToast('请输入正确的体温值(范围:30℃~45℃)'); return; } - if (!emergencyName) { - showToast('请输入紧急联系人姓名'); - return; - } - if (!this.verifyPhone(emergencyPhone)) { - showToast('请输入正确的紧急联系人手机号'); - return; - } if (!agree) { showToast('请选择是否同意《用户服务协议》和《隐私政策》'); return;