|
|
@@ -2,7 +2,7 @@
|
|
|
<view>
|
|
|
<uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="检查中" @clickLeft="back"></uni-nav-bar>
|
|
|
|
|
|
- <view class="top-wrapper">
|
|
|
+<!-- <view class="top-wrapper">
|
|
|
<uni-section>
|
|
|
<uni-easyinput prefixIcon="search" style="width: 460rpx" v-model="keyWords" placeholder="请输入">
|
|
|
</uni-easyinput>
|
|
|
@@ -13,7 +13,7 @@
|
|
|
<image class="menu_icon" src="~@/static/pda/menu.svg"></image>
|
|
|
|
|
|
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<view class="check-content">
|
|
|
<view class="title">
|
|
|
@@ -106,6 +106,7 @@
|
|
|
let params = {
|
|
|
id: this.equipList[0].id,
|
|
|
executeStatus: isAllPass ? 1 : 2,
|
|
|
+ isAbnormal: isAllPass ? 1 : 0,
|
|
|
workItems: this.equipList.map(item => {
|
|
|
return {
|
|
|
content: item.content,
|
|
|
@@ -114,7 +115,7 @@
|
|
|
operationGuide: item.operationGuide,
|
|
|
result: item.result,
|
|
|
serialNum: item.serialNum,
|
|
|
- status:item.status==-1?-1:1,
|
|
|
+ status: item.status == -1 ? -1 : 1,
|
|
|
photoList: item.photoList || []
|
|
|
}
|
|
|
})
|
|
|
@@ -238,6 +239,8 @@
|
|
|
return {
|
|
|
...item,
|
|
|
id: data.id,
|
|
|
+ status:1,
|
|
|
+ result:'正常',
|
|
|
executeStatus: 1
|
|
|
}
|
|
|
})
|