|
|
@ -283,7 +283,12 @@
|
|
|
|
prop="orderCode"
|
|
|
|
prop="orderCode"
|
|
|
|
width="200"
|
|
|
|
width="200"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<el-table-column label="设备编码" align="center" prop="equipmentCode" width="150"/>
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="设备编码"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="equipmentCode"
|
|
|
|
|
|
|
|
width="150"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="故障描述"
|
|
|
|
label="故障描述"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
@ -824,8 +829,8 @@
|
|
|
|
<el-descriptions
|
|
|
|
<el-descriptions
|
|
|
|
:column="3"
|
|
|
|
:column="3"
|
|
|
|
border
|
|
|
|
border
|
|
|
|
:contentStyle="CS1"
|
|
|
|
:contentStyle="CS_WRITE"
|
|
|
|
:label-style="LS1"
|
|
|
|
:label-style="LS_WRITE"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-descriptions-item label="维修工单号">{{
|
|
|
|
<el-descriptions-item label="维修工单号">{{
|
|
|
|
form.workCode
|
|
|
|
form.workCode
|
|
|
@ -891,7 +896,7 @@
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item
|
|
|
|
label="维修前故障图片"
|
|
|
|
label="维修前故障图片"
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_WRITE_IMG"
|
|
|
|
:label-style="LS_WRITE_IMG"
|
|
|
|
:label-style="LS_WRITE_IMG"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="view_picture_body">
|
|
|
|
<div class="view_picture_body">
|
|
|
@ -906,7 +911,7 @@
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item
|
|
|
|
label="维修后故障图片"
|
|
|
|
label="维修后故障图片"
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_WRITE_IMG"
|
|
|
|
:label-style="LS_WRITE_IMG"
|
|
|
|
:label-style="LS_WRITE_IMG"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="view_picture_body">
|
|
|
|
<div class="view_picture_body">
|
|
|
@ -921,13 +926,7 @@
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="检查项信息">
|
|
|
|
<el-tab-pane label="检查项信息">
|
|
|
|
<el-table
|
|
|
|
<el-table :data="detailList" border :span-method="objectSpanMethod">
|
|
|
|
:data="detailList"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
:contentStyle="CS"
|
|
|
|
|
|
|
|
:label-style="LS"
|
|
|
|
|
|
|
|
:span-method="objectSpanMethod"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-table-column prop="itemTypeName" label="检查类型" width="100">
|
|
|
|
<el-table-column prop="itemTypeName" label="检查类型" width="100">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="150">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="150">
|
|
|
@ -1186,10 +1185,10 @@
|
|
|
|
<el-tabs type="border-card">
|
|
|
|
<el-tabs type="border-card">
|
|
|
|
<el-tab-pane label="维修基本信息">
|
|
|
|
<el-tab-pane label="维修基本信息">
|
|
|
|
<el-descriptions
|
|
|
|
<el-descriptions
|
|
|
|
:column="2"
|
|
|
|
:column="3"
|
|
|
|
border
|
|
|
|
border
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_VIEW"
|
|
|
|
:label-style="LS"
|
|
|
|
:label-style="LS_VIEW"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-descriptions-item label="维修工单号">{{
|
|
|
|
<el-descriptions-item label="维修工单号">{{
|
|
|
|
form.workCode
|
|
|
|
form.workCode
|
|
|
@ -1245,6 +1244,13 @@
|
|
|
|
<el-descriptions-item label="维修班组">{{
|
|
|
|
<el-descriptions-item label="维修班组">{{
|
|
|
|
form.workTeam
|
|
|
|
form.workTeam
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
|
|
|
<el-descriptions
|
|
|
|
|
|
|
|
:column="1"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
:contentStyle="CS_VIEW_IMG"
|
|
|
|
|
|
|
|
:label-style="LS_VIEW_IMG"
|
|
|
|
|
|
|
|
>
|
|
|
|
<el-descriptions-item label="维修班组人员">{{
|
|
|
|
<el-descriptions-item label="维修班组人员">{{
|
|
|
|
form.workTeamPerson
|
|
|
|
form.workTeamPerson
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
}}</el-descriptions-item>
|
|
|
@ -1255,38 +1261,36 @@
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item
|
|
|
|
label="维修前故障图片"
|
|
|
|
label="维修前故障图片"
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_VIEW_IMG"
|
|
|
|
:label-style="LS_VIEW_IMG"
|
|
|
|
:label-style="LS_VIEW_IMG"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="view_picture_body">
|
|
|
|
<el-image
|
|
|
|
<el-image
|
|
|
|
v-for="(item, index) in urlBeforeLists"
|
|
|
|
v-for="(item, index) in urlBeforeLists"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
|
:src="item"
|
|
|
|
:src="item"
|
|
|
|
></el-image
|
|
|
|
></el-image>
|
|
|
|
></el-descriptions-item>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item
|
|
|
|
label="维修后故障图片"
|
|
|
|
label="维修后故障图片"
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_VIEW_IMG"
|
|
|
|
:label-style="LS_VIEW_IMG"
|
|
|
|
:label-style="LS_VIEW_IMG"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="view_picture_body">
|
|
|
|
<el-image
|
|
|
|
<el-image
|
|
|
|
v-for="(item, index) in urlAfterLists"
|
|
|
|
v-for="(item, index) in urlAfterLists"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
|
:src="item"
|
|
|
|
:src="item"
|
|
|
|
></el-image
|
|
|
|
></el-image>
|
|
|
|
></el-descriptions-item>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="查看检查项信息">
|
|
|
|
<el-tab-pane label="查看检查项信息">
|
|
|
|
<el-table
|
|
|
|
<el-table :data="detailList" border :span-method="objectSpanMethod">
|
|
|
|
:data="detailList"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
:contentStyle="CS"
|
|
|
|
|
|
|
|
:label-style="LS"
|
|
|
|
|
|
|
|
:span-method="objectSpanMethod"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-table-column prop="itemTypeName" label="检查类型" width="100">
|
|
|
|
<el-table-column prop="itemTypeName" label="检查类型" width="100">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="150">
|
|
|
|
<el-table-column prop="itemName" label="检查项名称" width="150">
|
|
|
@ -1555,39 +1559,41 @@ export default {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
//委外表格格式
|
|
|
|
//委外表格格式
|
|
|
|
WCS: {
|
|
|
|
WCS: {
|
|
|
|
"text-align": "center",
|
|
|
|
"text-align": "left",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
WLS: {
|
|
|
|
WLS: {
|
|
|
|
"text-align": "center",
|
|
|
|
|
|
|
|
width: "225px",
|
|
|
|
width: "225px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
CS: {
|
|
|
|
//查看维修表格
|
|
|
|
"text-align": "center",
|
|
|
|
CS_VIEW: {
|
|
|
|
|
|
|
|
width: "183px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
CS1: {
|
|
|
|
LS_VIEW: {
|
|
|
|
"text-align": "center",
|
|
|
|
width: "150px",
|
|
|
|
width: "250px",
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
LS: {
|
|
|
|
//图片 以及图面上面两行
|
|
|
|
"text-align": "center",
|
|
|
|
LS_VIEW_IMG: {
|
|
|
|
width: "225px",
|
|
|
|
width: "145px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
LS1: {
|
|
|
|
CS_VIEW_IMG: {
|
|
|
|
"text-align": "center",
|
|
|
|
width: "817px",
|
|
|
|
width: "250px",
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//图片表格样式 查看功能
|
|
|
|
//填写维修表格
|
|
|
|
LS_VIEW_IMG: {
|
|
|
|
CS_WRITE: {
|
|
|
|
"text-align": "center",
|
|
|
|
width: "200px",
|
|
|
|
width: "225px",
|
|
|
|
},
|
|
|
|
|
|
|
|
LS_WRITE: {
|
|
|
|
|
|
|
|
width: "200px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//图片格式样式 填写功能
|
|
|
|
//图片 以及图面上面两行
|
|
|
|
LS_WRITE_IMG: {
|
|
|
|
LS_WRITE_IMG: {
|
|
|
|
"text-align": "center",
|
|
|
|
width: "200px",
|
|
|
|
width: "235px",
|
|
|
|
},
|
|
|
|
|
|
|
|
CS_WRITE_IMG: {
|
|
|
|
|
|
|
|
width: "1000px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//故障描述
|
|
|
|
//故障描述
|
|
|
|
workFaultDescOption : [],
|
|
|
|
workFaultDescOption: [],
|
|
|
|
//维修处理措施模糊选择
|
|
|
|
//维修处理措施模糊选择
|
|
|
|
repairMeasuresOption: [],
|
|
|
|
repairMeasuresOption: [],
|
|
|
|
//原因分析模糊选择
|
|
|
|
//原因分析模糊选择
|
|
|
@ -1974,11 +1980,10 @@ export default {
|
|
|
|
urlBeforeLists.push(item.url);
|
|
|
|
urlBeforeLists.push(item.url);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.urlBeforeLists = urlBeforeLists;
|
|
|
|
this.urlBeforeLists = urlBeforeLists;
|
|
|
|
}else{
|
|
|
|
} else {
|
|
|
|
this.urlBeforeLists = null;
|
|
|
|
this.urlBeforeLists = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//遍历response.data.afterRepairFiles
|
|
|
|
//遍历response.data.afterRepairFiles
|
|
|
|
if (response.data.afterRepairFiles != null) {
|
|
|
|
if (response.data.afterRepairFiles != null) {
|
|
|
|
var afterNewFiles = [];
|
|
|
|
var afterNewFiles = [];
|
|
|
@ -1995,7 +2000,7 @@ export default {
|
|
|
|
urlAfterLists.push(item.url);
|
|
|
|
urlAfterLists.push(item.url);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.urlAfterLists = urlAfterLists;
|
|
|
|
this.urlAfterLists = urlAfterLists;
|
|
|
|
}else{
|
|
|
|
} else {
|
|
|
|
this.urlAfterLists = null;
|
|
|
|
this.urlAfterLists = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|