|
@@ -125,6 +125,27 @@
|
|
|
</template>
|
|
</template>
|
|
|
</HeaderTitle>
|
|
</HeaderTitle>
|
|
|
<div class="maintain_equipment_info_content">
|
|
<div class="maintain_equipment_info_content">
|
|
|
|
|
+ <div class="confirmBtn">
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ taskDefinitionKey === 'leader_receive' &&
|
|
|
|
|
+ !infoData.planDeviceList[0].leaderVerifyTime
|
|
|
|
|
+ "
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="confirmReceive(1, 3)"
|
|
|
|
|
+ >确定收到</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ taskDefinitionKey === 'team_leader_receive1' &&
|
|
|
|
|
+ !infoData.planDeviceList[0].teamVerifyTime
|
|
|
|
|
+ "
|
|
|
|
|
+ @click="confirmReceive(2, 2)"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ >确定收到</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<el-table :height="300" :data="infoData.planDeviceList" border>
|
|
<el-table :height="300" :data="infoData.planDeviceList" border>
|
|
|
<el-table-column label="序号" type="index" width="50">
|
|
<el-table-column label="序号" type="index" width="50">
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -239,7 +260,19 @@
|
|
|
label="负责人确认时间"
|
|
label="负责人确认时间"
|
|
|
prop="teamReceiptTime"
|
|
prop="teamReceiptTime"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
- <el-table-column label="操作" width="90">
|
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="量具管理员确认时间"
|
|
|
|
|
+ prop="leaderVerifyTime"
|
|
|
|
|
+ ></el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="负责人确认收到时间"
|
|
|
|
|
+ prop="teamVerifyTime"
|
|
|
|
|
+ ></el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="使用人收取量具时间"
|
|
|
|
|
+ prop="harvestTime"
|
|
|
|
|
+ ></el-table-column>
|
|
|
|
|
+ <!-- <el-table-column label="操作" width="90">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="!scope.row.teamReceiptTime"
|
|
v-if="!scope.row.teamReceiptTime"
|
|
@@ -249,7 +282,7 @@
|
|
|
>确认</el-button
|
|
>确认</el-button
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ </el-table-column> -->
|
|
|
</template>
|
|
</template>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<!-- <div
|
|
<!-- <div
|
|
@@ -381,7 +414,8 @@
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import {
|
|
import {
|
|
|
processById,
|
|
processById,
|
|
|
- getList
|
|
|
|
|
|
|
+ getList,
|
|
|
|
|
+ adminVerify
|
|
|
} from '@/api/bpm/components/inspectionManage/index.js';
|
|
} from '@/api/bpm/components/inspectionManage/index.js';
|
|
|
export default {
|
|
export default {
|
|
|
name: 'measuringToolInspection_detailDialog',
|
|
name: 'measuringToolInspection_detailDialog',
|
|
@@ -425,6 +459,10 @@
|
|
|
{
|
|
{
|
|
|
value: 1,
|
|
value: 1,
|
|
|
label: '异常'
|
|
label: '异常'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 2,
|
|
|
|
|
+ label: '未收'
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
options: {
|
|
options: {
|
|
@@ -491,6 +529,22 @@
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ confirmReceive(confirmType, listType) {
|
|
|
|
|
+ let params = this.infoData.planDeviceList.map((item) => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ id: item.id,
|
|
|
|
|
+ type: confirmType
|
|
|
|
|
+ };
|
|
|
|
|
+ });
|
|
|
|
|
+ adminVerify(params).then(() => {
|
|
|
|
|
+ processById({ id: this.businessId, type: listType }).then(
|
|
|
|
|
+ async (data) => {
|
|
|
|
|
+ this.infoData = data;
|
|
|
|
|
+ this.$message.success('确认成功');
|
|
|
|
|
+ }
|
|
|
|
|
+ );
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
async getTableValue() {
|
|
async getTableValue() {
|
|
|
return this.infoData;
|
|
return this.infoData;
|
|
|
}
|
|
}
|
|
@@ -533,6 +587,11 @@
|
|
|
}
|
|
}
|
|
|
.maintain_equipment_info_content {
|
|
.maintain_equipment_info_content {
|
|
|
padding: 0 30px;
|
|
padding: 0 30px;
|
|
|
|
|
+ .confirmBtn {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ margin: 20px 0;
|
|
|
|
|
+ }
|
|
|
.equipment_item {
|
|
.equipment_item {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
padding: 15px;
|
|
padding: 15px;
|