|
|
@ -183,7 +183,7 @@
|
|
|
|
</el-radio-group>
|
|
|
|
</el-radio-group>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<!-- 主数据 -->
|
|
|
|
<!-- 主数据 (白班)-->
|
|
|
|
<el-table
|
|
|
|
<el-table
|
|
|
|
v-if="refreshNewWorkerTable"
|
|
|
|
v-if="refreshNewWorkerTable"
|
|
|
|
v-loading="newWorkerLoading"
|
|
|
|
v-loading="newWorkerLoading"
|
|
|
@ -360,6 +360,165 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table
|
|
|
|
|
|
|
|
v-if="refreshNewWorkerTableNight"
|
|
|
|
|
|
|
|
v-loading="newWorkerLoading"
|
|
|
|
|
|
|
|
class="my-print-table"
|
|
|
|
|
|
|
|
:data="form.checkInfos"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
style="width: 100%">
|
|
|
|
|
|
|
|
<el-table-column label="id" align="center" prop="recordId" v-if="false"/>
|
|
|
|
|
|
|
|
<el-table-column label="序号" type="index" align="center" :index="indexMethod"/>
|
|
|
|
|
|
|
|
<el-table-column label="项目名称" width="155" align="left" prop="ruleName" />
|
|
|
|
|
|
|
|
<el-table-column label="时间" align="center" >
|
|
|
|
|
|
|
|
<el-table-column prop="column080090" label="20:30-21:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column080090.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column080090.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column prop="column090100" label="21:30-22:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column090100.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column090100.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column prop="column100110" label="22:30-23:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column100110.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column100110.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column110120" label="23:30-1:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column110120.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column110120.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column133143" label="1:30-2:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column133143.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column133143.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column143153" label="2:30-3:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column143153.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column143153.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column153163" label="3:30-4:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column153163.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column153163.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column163173" label="4:30-5:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column163173.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column163173.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column123133" label="5:30-6:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column123133.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column123133.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column180190" label="6:30-7:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column180190.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column180190.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="column190200" label="7:30-8:30" width="95" align="center">
|
|
|
|
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
|
|
|
|
<div v-for="(item,index) in scope.row.column190200.split(',')">
|
|
|
|
|
|
|
|
<el-image
|
|
|
|
|
|
|
|
:src="item"
|
|
|
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
|
|
|
:fit="fit"
|
|
|
|
|
|
|
|
:preview-src-list="Array.from(scope.row.column190200.split(',')).slice(1)"
|
|
|
|
|
|
|
|
v-if="index>0"/>
|
|
|
|
|
|
|
|
<span v-else>{{item}}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<!-- 底部 -->
|
|
|
|
<!-- 底部 -->
|
|
|
|
<el-row class="my-print-foot">
|
|
|
|
<el-row class="my-print-foot">
|
|
|
@ -543,6 +702,7 @@ export default {
|
|
|
|
formRef: 'form',
|
|
|
|
formRef: 'form',
|
|
|
|
newWorkerLoading: false,
|
|
|
|
newWorkerLoading: false,
|
|
|
|
refreshNewWorkerTable:true,
|
|
|
|
refreshNewWorkerTable:true,
|
|
|
|
|
|
|
|
refreshNewWorkerTableNight:true,
|
|
|
|
validateRules: [],
|
|
|
|
validateRules: [],
|
|
|
|
checkList: [],
|
|
|
|
checkList: [],
|
|
|
|
standardNo: null,
|
|
|
|
standardNo: null,
|
|
|
@ -760,18 +920,32 @@ export default {
|
|
|
|
this.queryParams.recordId = recordId;
|
|
|
|
this.queryParams.recordId = recordId;
|
|
|
|
this.getCheckedProjectList();
|
|
|
|
this.getCheckedProjectList();
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|
|
|
|
|
|
|
|
|
const orderNo = row.orderNo;
|
|
|
|
const orderNo = row.orderNo;
|
|
|
|
getProduceReportXJ(orderNo).then(response => {
|
|
|
|
if(row.shiftId == '5'){
|
|
|
|
|
|
|
|
getProduceReportXJ(orderNo,row.shiftId).then(response => {
|
|
|
|
this.form = response;
|
|
|
|
this.form = response;
|
|
|
|
//巡检报告
|
|
|
|
//巡检报告
|
|
|
|
this.form.printable = 'printForm'; //打印时需要
|
|
|
|
this.form.printable = 'printForm'; //打印时需要
|
|
|
|
this.form.ignore = ['no-print'];//打印时需要
|
|
|
|
this.form.ignore = ['no-print'];//打印时需要
|
|
|
|
this.open = true;
|
|
|
|
this.open = true;
|
|
|
|
this.title = "巡检检验报告";
|
|
|
|
this.title = "巡检检验报告";
|
|
|
|
this.refreshNewWorkerTable = true // 立即将refreshProTable设置为true,显示表格
|
|
|
|
this.refreshNewWorkerTable = true ;// 立即将refreshProTable设置为true,显示表格
|
|
|
|
this.newWorkerLoading = false // 设置加载状态为false,表示加载完成
|
|
|
|
this.refreshNewWorkerTableNight = false ;
|
|
|
|
|
|
|
|
this.newWorkerLoading = false ;// 设置加载状态为false,表示加载完成
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}else if(row.shiftId == '2'){
|
|
|
|
|
|
|
|
getProduceReportXJ(orderNo,row.shiftId).then(response => {
|
|
|
|
|
|
|
|
this.form = response;
|
|
|
|
|
|
|
|
//巡检报告
|
|
|
|
|
|
|
|
this.form.printable = 'printForm'; //打印时需要
|
|
|
|
|
|
|
|
this.form.ignore = ['no-print'];//打印时需要
|
|
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
|
|
this.title = "巡检检验报告";
|
|
|
|
|
|
|
|
this.refreshNewWorkerTableNight = true ;// 立即将refreshProTable设置为true,显示表格
|
|
|
|
|
|
|
|
this.refreshNewWorkerTable = false ;
|
|
|
|
|
|
|
|
this.newWorkerLoading = false ;// 设置加载状态为false,表示加载完成
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|