|
@@ -83,7 +83,7 @@
|
|
|
<el-form-item label="检验方案审核人" prop="inspectionAuditId">
|
|
<el-form-item label="检验方案审核人" prop="inspectionAuditId">
|
|
|
<el-select v-model="formData.inspectionAuditId" clearable placeholder="请选择">
|
|
<el-select v-model="formData.inspectionAuditId" clearable placeholder="请选择">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in optionList.schemeReviewerList"
|
|
|
|
|
|
|
+ v-for="item in optionList.schemeReviewerList.list"
|
|
|
:key="item.id"
|
|
:key="item.id"
|
|
|
:label="item.nickname"
|
|
:label="item.nickname"
|
|
|
:value="item.id"
|
|
:value="item.id"
|
|
@@ -94,7 +94,7 @@
|
|
|
<el-form-item label="检验方案批准人" prop="inspectionApproveId">
|
|
<el-form-item label="检验方案批准人" prop="inspectionApproveId">
|
|
|
<el-select v-model="formData.inspectionApproveId" clearable placeholder="请选择">
|
|
<el-select v-model="formData.inspectionApproveId" clearable placeholder="请选择">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in optionList.schemeApproveList"
|
|
|
|
|
|
|
+ v-for="item in optionList.schemeApproveList.list"
|
|
|
:key="item.id"
|
|
:key="item.id"
|
|
|
:label="item.nickname"
|
|
:label="item.nickname"
|
|
|
:value="item.id"
|
|
:value="item.id"
|
|
@@ -132,6 +132,7 @@ import {editReport} from "@/utils/reportUtil";
|
|
|
import {DynamicTbColApi} from "@/api/pressure2/dynamictbcol";
|
|
import {DynamicTbColApi} from "@/api/pressure2/dynamictbcol";
|
|
|
import {SpreadViewer} from "@/components/DynamicReport";
|
|
import {SpreadViewer} from "@/components/DynamicReport";
|
|
|
import {InitParams} from "@/components/DynamicReport/SpreadInterface";
|
|
import {InitParams} from "@/components/DynamicReport/SpreadInterface";
|
|
|
|
|
+import {PipeTaskOrderApi} from "@/api/pressure2/pipetaskorder";
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
taskOrderDetail: {
|
|
taskOrderDetail: {
|
|
@@ -175,19 +176,19 @@ const approvalUserVisible = ref(false)
|
|
|
// 获取审核人信息
|
|
// 获取审核人信息
|
|
|
const getSchemeReviewerList = async () => {
|
|
const getSchemeReviewerList = async () => {
|
|
|
try {
|
|
try {
|
|
|
- const { inspectionAuditId, inspectionApproveId } = await UserApi.getApprovalDetail({})
|
|
|
|
|
- formData.value = {
|
|
|
|
|
- inspectionAuditId,
|
|
|
|
|
- inspectionApproveId
|
|
|
|
|
- }
|
|
|
|
|
- optionList.schemeReviewerList = await UserGroupApi.getUserGroupUserList({
|
|
|
|
|
- category: 600,
|
|
|
|
|
- status: 0
|
|
|
|
|
|
|
+ // const { inspectionAuditId, inspectionApproveId } = await UserApi.getApprovalDetail({})
|
|
|
|
|
+ // formData.value = {
|
|
|
|
|
+ // inspectionAuditId,
|
|
|
|
|
+ // inspectionApproveId
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
|
|
+ optionList.schemeReviewerList = await BoilerTaskOrderApi.getAuditList({
|
|
|
|
|
+ roleCode: 'Boiler Director'
|
|
|
})
|
|
})
|
|
|
- optionList.schemeApproveList = await UserGroupApi.getUserGroupUserList({
|
|
|
|
|
- category: 700,
|
|
|
|
|
- status: 0
|
|
|
|
|
|
|
+ optionList.schemeApproveList = await BoilerTaskOrderApi.getAuditList({
|
|
|
|
|
+ roleCode: 'Boiler_Department_Head'
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
approvalUserVisible.value = true
|
|
approvalUserVisible.value = true
|
|
|
} catch (error) {}
|
|
} catch (error) {}
|
|
|
}
|
|
}
|