|
@@ -67,12 +67,21 @@
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="cell-bottom">
|
|
|
|
|
+ <view
|
|
|
|
|
+ v-if="mainCheckerUser != null"
|
|
|
|
|
+ class="record-btn blue-btn"
|
|
|
|
|
+ @click="handleRouteToEquipmentDetail(pipeSet, 'INSPECT')"
|
|
|
|
|
+ >
|
|
|
|
|
+ <text class="blue-btn-text">记录录入</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<view v-if="!pipeSetChildren[pipeSet.id]" class="loading-text">加载中...</view>
|
|
<view v-if="!pipeSetChildren[pipeSet.id]" class="loading-text">加载中...</view>
|
|
|
<view v-else-if="pipeSetChildren[pipeSet.id].length === 0" class="empty-text-small">
|
|
<view v-else-if="pipeSetChildren[pipeSet.id].length === 0" class="empty-text-small">
|
|
|
- <text>暂无下级管线</text>
|
|
|
|
|
|
|
+ <text>暂无下级管道</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-else>
|
|
<view v-else>
|
|
|
<view
|
|
<view
|
|
@@ -102,7 +111,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
<view
|
|
<view
|
|
|
class="child-pipe-info"
|
|
class="child-pipe-info"
|
|
|
@click="handleRouteToEquipmentDetail(childPipe, 'EQUIPMENT')"
|
|
@click="handleRouteToEquipmentDetail(childPipe, 'EQUIPMENT')"
|
|
@@ -114,16 +122,6 @@
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
- <view class="cell-bottom">
|
|
|
|
|
- <view
|
|
|
|
|
- v-if="childPipe.isClaim"
|
|
|
|
|
- class="record-btn blue-btn"
|
|
|
|
|
- @click="handleRouteToEquipmentDetail(childPipe, 'INSPECT')"
|
|
|
|
|
- >
|
|
|
|
|
- <text class="blue-btn-text">记录录入</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</wd-collapse-item>
|
|
</wd-collapse-item>
|
|
@@ -869,7 +867,7 @@ const handleUpdateSafetyManagerConfirm = async (params: { name: string; phone: s
|
|
|
|
|
|
|
|
const handleRouteToEquipmentDetail = async (item: any, pageType: string) => {
|
|
const handleRouteToEquipmentDetail = async (item: any, pageType: string) => {
|
|
|
uni.showLoading({ title: '加载中' })
|
|
uni.showLoading({ title: '加载中' })
|
|
|
- const equipPipeId = item.equipPipeId
|
|
|
|
|
|
|
+ const equipPipeId = item.id
|
|
|
const inputIdResp = await getInputIdByEquipId({ equipId: equipPipeId })
|
|
const inputIdResp = await getInputIdByEquipId({ equipId: equipPipeId })
|
|
|
if (inputIdResp.code != 0 || inputIdResp.data == '') {
|
|
if (inputIdResp.code != 0 || inputIdResp.data == '') {
|
|
|
uni.showToast({ title: '查找设备信息失败', icon: 'none' })
|
|
uni.showToast({ title: '查找设备信息失败', icon: 'none' })
|
|
@@ -1058,6 +1056,8 @@ const handleRouteToEquipmentDetail = async (item: any, pageType: string) => {
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: flex-end;
|
|
justify-content: flex-end;
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ padding-right: 40px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.claim-btn,
|
|
.claim-btn,
|