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; } }