|
@@ -331,7 +331,7 @@ const getTitle = computed(() => {
|
|
|
switch (props.businessType) {
|
|
switch (props.businessType) {
|
|
|
case 100:
|
|
case 100:
|
|
|
return '服务单/受理单'
|
|
return '服务单/受理单'
|
|
|
- case 200:
|
|
|
|
|
|
|
+ case 1000:
|
|
|
return '检验结果告知'
|
|
return '检验结果告知'
|
|
|
case 400:
|
|
case 400:
|
|
|
return '重大问题线索'
|
|
return '重大问题线索'
|
|
@@ -433,7 +433,7 @@ const handleClose = () => {
|
|
|
serviceOrderDialogVisible.value = false
|
|
serviceOrderDialogVisible.value = false
|
|
|
serviceOrderDialogFormRef.value?.clearValidate()
|
|
serviceOrderDialogFormRef.value?.clearValidate()
|
|
|
}
|
|
}
|
|
|
-type BusinessType = 100 | 200 | 400
|
|
|
|
|
|
|
+type BusinessType = 100 | 1000 | 400
|
|
|
const getSignFilePath = async (type: BusinessType) => {
|
|
const getSignFilePath = async (type: BusinessType) => {
|
|
|
const response = await BoilerTaskOrderApi.getTaskOrder(props.taskOrderDetail.id)
|
|
const response = await BoilerTaskOrderApi.getTaskOrder(props.taskOrderDetail.id)
|
|
|
const signFileRespVOList = response.signFileRespVOList || []
|
|
const signFileRespVOList = response.signFileRespVOList || []
|
|
@@ -632,8 +632,8 @@ const fetchHisVersionPage = async (bool = false) => {
|
|
|
handleGetCheckKeyInputs(templateParams.value.dataStr)
|
|
handleGetCheckKeyInputs(templateParams.value.dataStr)
|
|
|
}
|
|
}
|
|
|
handleGetCheckKeyInputs(templateParams.value.dataStr)
|
|
handleGetCheckKeyInputs(templateParams.value.dataStr)
|
|
|
- // 重大问题线索新增直接打开葡萄城编辑
|
|
|
|
|
- if (props.businessType === 400 && unref(isAddMainquestion) === 'add' && curReportId.value === '') {
|
|
|
|
|
|
|
+ // 重大问题线索和检验情况告知单新增直接打开葡萄城编辑
|
|
|
|
|
+ if ((props.businessType === 400 || props.businessType === 1000) && unref(isAddMainquestion) === 'add' && curReportId.value === '') {
|
|
|
|
|
|
|
|
//先生成报表
|
|
//先生成报表
|
|
|
const addReportFn = async (paramsData) => {
|
|
const addReportFn = async (paramsData) => {
|
|
@@ -657,7 +657,7 @@ const fetchHisVersionPage = async (bool = false) => {
|
|
|
if (props.businessType === 400) {
|
|
if (props.businessType === 400) {
|
|
|
params.orderItemId = props.orderItemId
|
|
params.orderItemId = props.orderItemId
|
|
|
}
|
|
}
|
|
|
- if (props.businessType === 400 && !props.reportId) {
|
|
|
|
|
|
|
+ if ((props.businessType === 400 || props.businessType === 1000) && !props.reportId) {
|
|
|
curReportId.value = await addReportFn(params)
|
|
curReportId.value = await addReportFn(params)
|
|
|
}
|
|
}
|
|
|
|
|
|