|
|
@ -236,7 +236,7 @@
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="执行开始时间" prop="orderStart">
|
|
|
|
<el-form-item v-if="false" label-width="100px" label="执行开始时间" prop="orderStart">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
v-model="queryParams.orderStartArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -249,7 +249,7 @@
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
:picker-options="pickerOptions">
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label-width="100px" label="执行结束时间" prop="orderEnd">
|
|
|
|
<el-form-item v-if="false" label-width="100px" label="执行结束时间" prop="orderEnd">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
v-model="queryParams.orderEndArray"
|
|
|
|
type="daterange"
|
|
|
|
type="daterange"
|
|
|
@ -348,12 +348,12 @@
|
|
|
|
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.planLoopEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="120" label="执行开始时间" align="center" prop="orderStart">
|
|
|
|
<el-table-column v-if="false" width="120" label="执行开始时间" align="center" prop="orderStart">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.orderStart, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="120" label="执行结束时间" align="center" prop="orderEnd">
|
|
|
|
<el-table-column v-if="false" width="120" label="执行结束时间" align="center" prop="orderEnd">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.orderEnd, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -441,12 +441,13 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
width="180"
|
|
|
|
width="170"
|
|
|
|
prop="standardName"
|
|
|
|
prop="standardName"
|
|
|
|
label="标准名称"
|
|
|
|
label="标准名称"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
width="110"
|
|
|
|
prop="detailReach"
|
|
|
|
prop="detailReach"
|
|
|
|
label="是否达标">
|
|
|
|
label="是否达标">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
@ -478,10 +479,18 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
width="80"
|
|
|
|
width="60"
|
|
|
|
prop="detailUnit"
|
|
|
|
prop="detailUnit"
|
|
|
|
label="单位">
|
|
|
|
label="单位">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
width="300"
|
|
|
|
|
|
|
|
prop="detailUnit"
|
|
|
|
|
|
|
|
label="图片上传">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<FileUpload v-model="scope.row.picturePath" />
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
|
<el-tab-pane label="工单信息修改">
|
|
|
|
<el-tab-pane label="工单信息修改">
|
|
|
@ -536,8 +545,8 @@
|
|
|
|
<el-descriptions-item label="车间编码">{{ workVO.order.planWorkshop }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="车间编码">{{ workVO.order.planWorkshop }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环开始时间">{{ workVO.order.planLoopStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="循环开始时间">{{ workVO.order.planLoopStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item v-if="false" label="点检执行结束时间">{{ workVO.order.planLoopEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item v-if="false" label="点检执行结束时间">{{ workVO.order.planLoopEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="执行开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item v-if="false" label="执行开始时间">{{ workVO.order.orderStart }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="执行结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item v-if="false" label="执行结束时间">{{ workVO.order.orderEnd }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="点检人">{{ workVO.order.planPerson }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="点检人">{{ workVO.order.planPerson }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="报修单号">{{ workVO.order.repairCode }}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="报修单号">{{ workVO.order.repairCode }}</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
@ -590,6 +599,26 @@
|
|
|
|
prop="detailUnit"
|
|
|
|
prop="detailUnit"
|
|
|
|
label="单位">
|
|
|
|
label="单位">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
prop="picturePath"
|
|
|
|
|
|
|
|
label="图片">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-popover
|
|
|
|
|
|
|
|
placement="right"
|
|
|
|
|
|
|
|
width="300"
|
|
|
|
|
|
|
|
trigger="hover">
|
|
|
|
|
|
|
|
<div class="demo-image__lazy">
|
|
|
|
|
|
|
|
<el-empty :image-size="200" v-if="scope.row.checkPictrueList.length == 0"></el-empty>
|
|
|
|
|
|
|
|
<div v-for="(url, index) in scope.row.checkPictrueList" :key="index">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="url"
|
|
|
|
|
|
|
|
></el-image>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<el-button slot="reference">图片</el-button>
|
|
|
|
|
|
|
|
</el-popover>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
@ -599,6 +628,7 @@
|
|
|
|
<el-button type="primary" @click="workDetail = false">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="workDetail = false">确 定</el-button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -613,8 +643,6 @@ 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 {
|
|
|
|
dialogImageUrl: '',
|
|
|
|
|
|
|
|
dialogVisible: false,
|
|
|
|
|
|
|
|
workDetail:false,
|
|
|
|
workDetail:false,
|
|
|
|
// 初始化VO
|
|
|
|
// 初始化VO
|
|
|
|
workVO: {
|
|
|
|
workVO: {
|
|
|
@ -928,3 +956,9 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.demo-image__lazy{
|
|
|
|
|
|
|
|
height: 400px;
|
|
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|