|
|
@@ -989,8 +989,8 @@
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
<!-- 拒绝约检:拒绝原因=检验项目调整(6)时只显示"无需上报"(不进入上报中心,只在约检单中删除设备);其他原因显示"上报市局" -->
|
|
|
- <el-button v-if="formData.reasonDict != '6'" @click="submitForm" type="primary" :disabled="formLoading">上报市局</el-button>
|
|
|
- <el-button v-if="formData.reasonDict == '6'" @click="submitFormNoReport" :disabled="formLoading" style="background-color: #F56C6C; border-color: #F56C6C; color: #ffffff;">无需上报</el-button>
|
|
|
+ <el-button @click="submitForm" v-if = "isFromChecker || (formData.reasonDict !== '6' && !isFromChecker)" type="primary" :disabled="formLoading">上报市局</el-button>
|
|
|
+ <el-button v-if="!isFromChecker" @click="submitFormNoReport" :disabled="formLoading" style="background-color: #F56C6C; border-color: #F56C6C; color: #ffffff;">无需上报</el-button>
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
</template>
|
|
|
</Dialog>
|
|
|
@@ -1890,6 +1890,9 @@ const handleFileUploadSuccess = (fileInfo:{fileName: string, fileUrl: string}) =
|
|
|
}
|
|
|
/***** 异常信息 end *****/
|
|
|
|
|
|
+// 判断是否从检验员页面跳转
|
|
|
+const isFromChecker = computed(() => route.query.type === 'checker')
|
|
|
+
|
|
|
// 获取服务单/受理单模板 1000-检验情况告知 400-重大问题线索
|
|
|
type BusinessType = 100 | 1000 | 400
|
|
|
const handleServiceOrder = (type: BusinessType) => {
|