2024-3-1 保养/点检/巡检页面加序号+维修报表页面图片展示优化

yangwl
A0010407 9 months ago
parent cd07c84d62
commit 42ca5f8ba5

@ -323,6 +323,8 @@
<el-table v-loading="loading" :data="inspectionWorkList">
<el-table-column v-if="false" label="主键" align="center" prop="orderId" />
<!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" fixed/>
<el-table-column v-if="false" label="计划id" align="center" prop="planId" />
<el-table-column width="150" label="计划编码" align="center" prop="planCode" />
<el-table-column width="150" label="计划名称" align="center" prop="planName" />
@ -672,6 +674,10 @@ export default {
this.getList();
},
methods: {
//
indexMethod(index) {
return index + 1;
},
//
setWorkCenter() {
getWorkCenter().then(response => {

@ -339,6 +339,8 @@
<el-table v-loading="loading" :data="inspectionWorkList">
<el-table-column v-if="false" label="主键" align="center" prop="orderId" />
<!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" fixed/>
<el-table-column v-if="false" label="计划id" align="center" prop="planId" />
<el-table-column width="150" label="计划编码" align="center" prop="planCode" />
<el-table-column width="150" label="计划名称" align="center" prop="planName" />
@ -741,6 +743,10 @@ export default {
this.getList();
},
methods: {
//
indexMethod(index) {
return index + 1;
},
//
setWorkCenter() {
getWorkCenter().then(response => {

@ -195,7 +195,7 @@
label="维修单号"
align="center"
prop="workCode"
width="200"
width="180"
fixed
>
<template slot-scope="scope">
@ -208,7 +208,7 @@
label="维修状态"
align="center"
prop="workStatus"
width="150"
width="120"
>
<template slot-scope="scope">
<dict-tag
@ -223,12 +223,13 @@
prop="orderCode"
width="200"
/>
<el-table-column label="设备编码" align="center" prop="equipmentCode" />
<el-table-column label="设备编码" align="center" prop="equipmentCode" width="120"/>
<el-table-column
label="故障描述"
align="center"
prop="workFaultDesc"
width="300"
:show-overflow-tooltip="true"
/>
<el-table-column
label="计划维修时间"
@ -278,6 +279,7 @@
align="center"
prop="teamPerson"
width="300"
:show-overflow-tooltip="true"
/>
<el-table-column label="是否委外" align="center" prop="workOutsource">
<template slot-scope="scope">
@ -295,6 +297,7 @@
align="center"
prop="workReason"
width="300"
:show-overflow-tooltip="true"
/>
<el-table-column
label="维修开始时间"
@ -409,7 +412,7 @@
<el-tab-pane label="维修基本信息">
<el-descriptions
:column="2"
:column="3"
border
:contentStyle="CS"
:label-style="LS"
@ -470,13 +473,20 @@
<el-descriptions-item label="维修费用">{{
form.workCost
}}</el-descriptions-item>
</el-descriptions>
<el-descriptions
:column="1"
border
:contentStyle="CS_IMG"
:label-style="LS_AFTER_IMG"
>
<el-descriptions-item label="故障原因">{{
form.orderDesc
}}</el-descriptions-item>
<el-descriptions-item label="维修后原因分析">{{
form.workReason
}}</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<el-descriptions
:column="1"
border
@ -623,7 +633,7 @@ export default {
},
LS_AFTER_IMG: {
"text-align": "center",
width: "280px",
width: "190px",
},
//
detailList: [],

@ -124,7 +124,7 @@
/>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button type="primary" @click="submitForm" :disabled="multiple"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>

@ -313,6 +313,8 @@
</el-row>
<el-table v-loading="loading" :data="inspectionWorkList">
<!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" fixed/>
<el-table-column v-if="false" label="主键" align="center" prop="orderId" />
<el-table-column v-if="false" label="计划id" align="center" prop="planId" />
<el-table-column width="150" label="计划编码" align="center" prop="planCode" />
@ -656,6 +658,10 @@ export default {
this.getList();
},
methods: {
//
indexMethod(index) {
return index + 1;
},
//
setWorkCenter() {
getWorkCenter().then(response => {

Loading…
Cancel
Save