|
|
|
@ -502,7 +502,7 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="工单信息修改">
|
|
|
|
|
<el-tab-pane v-if="false" label="工单信息修改">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="16">
|
|
|
|
|
<el-form-item label="巡检时间">
|
|
|
|
@ -541,7 +541,7 @@
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="巡检详情"
|
|
|
|
|
:visible.sync="workDetail"
|
|
|
|
|
width="900px"
|
|
|
|
|
width="1000px"
|
|
|
|
|
>
|
|
|
|
|
<el-tabs type="border-card">
|
|
|
|
|
<el-tab-pane label="巡检信息">
|
|
|
|
@ -572,12 +572,15 @@
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="检查项信息">
|
|
|
|
|
<div v-for="(detail,index) in workVO.detailList" :key="index">
|
|
|
|
|
<el-divider content-position="left">{{ detail.itemName }}</el-divider>
|
|
|
|
|
<el-table
|
|
|
|
|
:data="detail.standardList"
|
|
|
|
|
:data="standardListVo"
|
|
|
|
|
border
|
|
|
|
|
style="width: 100%">
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="itemName"
|
|
|
|
|
label="检查项"
|
|
|
|
|
width="180">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="standardName"
|
|
|
|
|
label="标准名称"
|
|
|
|
@ -586,7 +589,7 @@
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="standardTypeName"
|
|
|
|
|
label="标准类型"
|
|
|
|
|
width="180">
|
|
|
|
|
width="80">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="detailReach"
|
|
|
|
@ -629,7 +632,6 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
@ -656,6 +658,7 @@ export default {
|
|
|
|
|
dicts: ['device_order_status', 'device_loop_type','device_reach_standard'],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
standardListVo:[],
|
|
|
|
|
// 初始化VO
|
|
|
|
|
workVO: {
|
|
|
|
|
order: {
|
|
|
|
@ -787,6 +790,12 @@ export default {
|
|
|
|
|
const orderId = row.orderId || this.ids
|
|
|
|
|
getInspectionWork(orderId).then(response => {
|
|
|
|
|
this.workVO = response.data;
|
|
|
|
|
for (let i = 0; i < this.workVO.detailList.length; i++) {
|
|
|
|
|
for (let j = 0; j < this.workVO.detailList[i].standardList.length; j++) {
|
|
|
|
|
this.workVO.detailList[i].standardList[j].itemName = this.workVO.detailList[i].itemName;
|
|
|
|
|
this.standardListVo.push(this.workVO.detailList[i].standardList[j]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.workDetail = true;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|