From 72a63e1fdc9e763464cf175f00a8db0bb0426401 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Tue, 6 Dec 2022 08:39:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=A1=E5=8F=A3=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppGetewayRegister/getewayAdd.vue | 235 +----------------- .../AppGetewayRegister/getewayDetail.vue | 94 ------- 2 files changed, 3 insertions(+), 326 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 026b922..f9cea95 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -16,17 +16,6 @@ -
@@ -49,50 +38,11 @@
-
行程信息
-
@@ -110,55 +60,7 @@
- - - - - +
@@ -207,72 +109,6 @@
- - -
同行情况
@@ -295,8 +131,7 @@
添加同行人
- - +
@@ -323,8 +158,6 @@ export default { phone: '', name: '', idNumber: '', - // type: '', // 人员类别 - // highRiskIndustries: '', startTime: '', startAreaId: '', startAreaName: '', @@ -472,7 +305,6 @@ export default { this.form = res.data this.people = res.data.companionList this.travelType = res.data.travelType?.split(',') - // this.form.startTime = res.data.startTime.substr(0, res.data.startTime.length - 3) this.form.arriveTime = res.data.arriveTime.substr(0, res.data.arriveTime.length - 3) this.startAreaId = res.data.startAreaId this.startAreaName = res.data.startAreaName @@ -526,7 +358,6 @@ export default { this.startAreaName = res.data.startAreaName this.form.arriveAreaId = res.data.arriveAreaId this.form.arriveAreaName = res.data.arriveAreaName - // this.form.startAddress = res.data.startAddress || '' this.form.arriveAddress = res.data.arriveAddress || '' } }) @@ -538,14 +369,6 @@ export default { return this.$toast('请选择卡口') } - // if (!this.form.idNumber) { - // return this.$toast('请输入身份证号') - // } - - // if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(this.form.idNumber)) { - // return this.$toast('请输入正确的身份证账号') - // } - if (!this.form.phone) { return this.$toast('请输入手机号码') } @@ -558,22 +381,6 @@ export default { return this.$toast('请输入姓名') } - // if (!this.form.highRiskIndustries) { - // return this.$toast('请选择高危行业') - // } - - // if (!this.form.type) { - // return this.$toast('请选择人员类别') - // } - - // if (!this.form.startTime) { - // return this.$toast('请选择出发时间') - // } - - // if (new Date(this.form.startTime.replace(/-/g, '/')).getTime() > new Date().getTime()) { - // return this.$toast('出发时间不得晚于当前时间') - // } - if (!this.startAreaId) { return this.$toast('请选择从哪来') } @@ -582,14 +389,7 @@ export default { return this.$toast('出发地必须选至县级及以下') } - // if (!this.form.startAddress) { - // return this.$toast('请输入出发地详址') - // } - - // if (!this.travelType.length) { - // return this.$toast('请选择出行方式') - // } - + if (!this.form.arriveTime) { return this.$toast('请选择抵平时间') } @@ -606,34 +406,6 @@ export default { return this.$toast('目的地必须选到村或社区') } - // if (!this.form.arriveAddress) { - // return this.$toast('请输入到达地址') - // } - - // if (!this.form.fromHighRiskArea) { - // return this.$toast('请选择是否有风险旅居史') - // } - - // if (this.form.fromHighRiskArea == 1) { - // if (!this.form.highRiskAreaId) { - // return this.$toast('请选择风险旅居地区') - // } - // } - - // if (!this.form.contactPatients) { - // return this.$toast('请选择近七日内是否接触新冠确诊或疑似患者') - // } - - // if (!this.form.abnormalHealth) { - // return this.$toast('请选择是否有健康异常情况') - // } - - // if (this.form.abnormalHealth == 1) { - // if (!this.form.abnormalType) { - // return this.$toast('请选择异常情况') - // } - // } - if (!this.form.companionCount || this.form.companionCount == 0) { this.form.companionCount = 0 this.form.companionList = [] @@ -663,7 +435,6 @@ export default { startAreaId: this.startAreaId, startAreaName: this.startAreaName, travelType: this.travelType.toString(), - // startTime: this.form.startTime + ':00', arriveTime: this.form.arriveTime + ':00', }).then(res => { this.$hideLoading() diff --git a/src/project/pingchang/AppGetewayRegister/getewayDetail.vue b/src/project/pingchang/AppGetewayRegister/getewayDetail.vue index 0fb8f1b..0df115f 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayDetail.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayDetail.vue @@ -31,14 +31,6 @@ {{ info.name }}
-
@@ -48,52 +40,9 @@ {{ info.phone }}
- -

行程信息

- - -
@@ -102,22 +51,6 @@ {{ info.startAreaName }}
- -
@@ -143,33 +76,6 @@
-

同行情况