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