From 65f7e3b2c91c2039d6e1910499e031c83bfba1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BE=A4?= Date: Tue, 12 Sep 2023 17:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E8=BF=90=E6=83=85=E5=86=B5bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/water/transportation/form.vue | 39 +++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/pages/water/transportation/form.vue b/pages/water/transportation/form.vue index e30d777..61cfcf9 100644 --- a/pages/water/transportation/form.vue +++ b/pages/water/transportation/form.vue @@ -86,14 +86,30 @@ --> - + + + 事故内容: + + + + + + 处置工作开展情况: @@ -298,8 +314,7 @@ let checkAccident = true; if(this.form.listContion.length > 0){ checkAccident = this.form.listContion.every(item => { - return checkNotEmpty(item.accidentContent) && checkNotEmpty(item.accidentHappened) && checkNotEmpty(item.endTime) && checkNotEmpty(item - .gradeAccidents) && checkNotEmpty(item.occurrenceLocation) + return checkNotEmpty(item.accidentContent) && checkNotEmpty(item.accidentHappened) && checkNotEmpty(item.occurrenceLocation) }) } if (!checkAccident) { @@ -323,12 +338,14 @@ submitForm() { this.form.listContion.map((item,index) => { item.rowKey = index; + item.accidentHappened = this.formatdate(item.accidentHappened); + item.endTime = this.formatdate(item.endTime); }) uni.showLoading({ title: '提交中...', mask: true }) - this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/saveOrUpdate', this + this.$request(getApp().globalData.baseUrl + '/api/biz/watertransportRunSituation/saveOrUpdate', this .form, 'POST').then(res => { uni.hideLoading(); @@ -432,11 +449,13 @@ margin-bottom: 30rpx; .form_item_label { - color: #333333; - line-height: 42rpx; - font-size: 30rpx; - font-family: PingFang SC-Bold, PingFang SC; - font-weight: bold; + // color: #333333; + // line-height: 42rpx; + // font-size: 30rpx; + // font-family: PingFang SC-Bold, PingFang SC; + // font-weight: bold; + color: #666666; + font-size: 26rpx; margin-bottom: 30rpx; } }