Browse Source

新增巡查出现状态问2的情况

xiaowang-bug
是小王呀\24601 1 year ago
parent
commit
ec2640a672
  1. 3
      subpages/InspectionReport/pages/InspectionReport/InspectionReport.js
  2. 2
      subpages/securityCheck/pages/securityCheck.wxml

3
subpages/InspectionReport/pages/InspectionReport/InspectionReport.js

@ -400,8 +400,7 @@ Page({
});
},
addAnother() {
let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 2});
console.log()
let newArr = this.data.addHiddenDangeList.concat({ hazardDesc: this.data.newContent, hazardStatus: 0});
this.setData({
addHiddenDangeList: newArr,
newContent: '', // 清空输入框的值

2
subpages/securityCheck/pages/securityCheck.wxml

@ -2,7 +2,7 @@
<view class="page">
<view class="search">
<view class="row1">
<van-tabs active="{{active}}" bind:change="toggleColor " title-active-color="#3974F6" color="#3974F6" >
<van-tabs active="{{active}}" bind:change="toggleColor" title-active-color="#3974F6" color="#3974F6" >
<van-tab title="待复核" title-class="custom-tab-title" >
<view class="section_5">
<scroll-view scroll-y="{{true}}" scroll-into-view="scrollToHere" style="width: 100%; height: 90vh;" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower">

Loading…
Cancel
Save