|
|
@ -204,6 +204,19 @@
|
|
|
|
}}</el-button>
|
|
|
|
}}</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="维修状态"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="workStatus"
|
|
|
|
|
|
|
|
width="150"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag
|
|
|
|
|
|
|
|
:options="dict.type.device_repair_status"
|
|
|
|
|
|
|
|
:value="scope.row.workStatus"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="报修单号"
|
|
|
|
label="报修单号"
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
@ -308,25 +321,8 @@
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="workCostTime"
|
|
|
|
prop="workCostTime"
|
|
|
|
width="180"
|
|
|
|
width="180"
|
|
|
|
>
|
|
|
|
></el-table-column>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<span>{{ parseTime(scope.row.workCostTime) }}</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="维修费用" align="center" prop="workCost" />
|
|
|
|
<el-table-column label="维修费用" align="center" prop="workCost" />
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="维修状态"
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="workStatus"
|
|
|
|
|
|
|
|
width="150"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag
|
|
|
|
|
|
|
|
:options="dict.type.device_repair_status"
|
|
|
|
|
|
|
|
:value="scope.row.workStatus"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="工厂编码" align="center" prop="factoryCode" />
|
|
|
|
<el-table-column label="工厂编码" align="center" prop="factoryCode" />
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
@ -397,15 +393,17 @@
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions :column="1" border>
|
|
|
|
<el-descriptions-item
|
|
|
|
<el-descriptions-item
|
|
|
|
label="维修前故障图片"
|
|
|
|
label="维修前故障图片"
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_IMG"
|
|
|
|
:label-style="LS"
|
|
|
|
:label-style="LS_BEFORE_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-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
@ -482,16 +480,18 @@
|
|
|
|
<el-descriptions
|
|
|
|
<el-descriptions
|
|
|
|
:column="1"
|
|
|
|
:column="1"
|
|
|
|
border
|
|
|
|
border
|
|
|
|
:contentStyle="CS"
|
|
|
|
:contentStyle="CS_IMG"
|
|
|
|
:label-style="LS"
|
|
|
|
:label-style="LS_AFTER_IMG"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-descriptions-item label="维修后图片">
|
|
|
|
<el-descriptions-item label="维修后图片">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
@ -613,6 +613,18 @@ export default {
|
|
|
|
"text-align": "center",
|
|
|
|
"text-align": "center",
|
|
|
|
width: "200px",
|
|
|
|
width: "200px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
//表格样式
|
|
|
|
|
|
|
|
CS_IMG: {
|
|
|
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
LS_BEFORE_IMG: {
|
|
|
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
|
|
|
width: "190px",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
LS_AFTER_IMG: {
|
|
|
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
|
|
|
width: "280px",
|
|
|
|
|
|
|
|
},
|
|
|
|
//检查项表格数据
|
|
|
|
//检查项表格数据
|
|
|
|
detailList: [],
|
|
|
|
detailList: [],
|
|
|
|
//维修前照片
|
|
|
|
//维修前照片
|
|
|
@ -828,6 +840,8 @@ export default {
|
|
|
|
urlBeforeLists.push(item.url);
|
|
|
|
urlBeforeLists.push(item.url);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.urlBeforeLists = urlBeforeLists;
|
|
|
|
this.urlBeforeLists = urlBeforeLists;
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.urlBeforeLists = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//遍历response.data.afterRepairFiles
|
|
|
|
//遍历response.data.afterRepairFiles
|
|
|
@ -846,6 +860,8 @@ export default {
|
|
|
|
urlAfterLists.push(item.url);
|
|
|
|
urlAfterLists.push(item.url);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.urlAfterLists = urlAfterLists;
|
|
|
|
this.urlAfterLists = urlAfterLists;
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.urlAfterList = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//重置
|
|
|
|
//重置
|
|
|
@ -891,7 +907,6 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
this.detailList = standards;
|
|
|
|
this.detailList = standards;
|
|
|
|
console.log("111111111111", this.detailList);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//展示
|
|
|
|
//展示
|
|
|
@ -972,5 +987,10 @@ export default {
|
|
|
|
height: 400px;
|
|
|
|
height: 400px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.view_picture_body {
|
|
|
|
|
|
|
|
height: 300px;
|
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|