Browse Source

合格提交网络错误

data-page-V4.3.1
是小王呀\24601 1 year ago
parent
commit
e65e30a7d7
  1. 3
      subpages/safetyinspection/pages/safetyinspection/safetyinspection.js
  2. 3
      subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml

3
subpages/safetyinspection/pages/safetyinspection/safetyinspection.js

@ -303,6 +303,9 @@ handelClickSave(){
remark:this.data.remark, remark:this.data.remark,
address:"" address:""
} }
if (!this.data.reviewTime) {
form.reviewTime=null
}
console.log(this.data.checkboxOptions.concat(this.data.addHiddenDangeList)) console.log(this.data.checkboxOptions.concat(this.data.addHiddenDangeList))
addRecord(form).then(res => { addRecord(form).then(res => {
if(res.code == 0){ if(res.code == 0){

3
subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml

@ -27,8 +27,7 @@
</van-checkbox-group> </van-checkbox-group>
<view class="addHiddenDangeList"> <view class="addHiddenDangeList">
<text wx:for="{{addHiddenDangeList}}" wx:for-index="index" class="addHiddenDangeListText" <text wx:for="{{addHiddenDangeList}}" wx:for-index="index" class="addHiddenDangeListText"
wx:for-item="item">{{index + checkboxOptionsnumber wx:for-item="item"> {{item.hazardDesc}}</text>
}}. {{item.hazardDesc}}</text>
</view> </view>
</view> </view>
<view class="input1"> <view class="input1">

Loading…
Cancel
Save