From 019d99dafd369b029b0259d3a9c199ee96782fcc Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Fri, 10 Apr 2026 16:36:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E6=B6=89=E8=AE=BF?= =?UTF-8?q?=E6=B6=89=E8=AF=89=E5=8A=9E=E7=90=86=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/negative/dialog.vue | 40 +++++-------------- .../negative/verify-description.vue | 28 +++++++++++-- src/components/negative/verify-sfss.vue | 14 ++++++- 3 files changed, 46 insertions(+), 36 deletions(-) diff --git a/src/components/negative/dialog.vue b/src/components/negative/dialog.vue index 9e5fcf2..c120137 100644 --- a/src/components/negative/dialog.vue +++ b/src/components/negative/dialog.vue @@ -521,6 +521,7 @@ function getDetails() { getNegativeDetails(props.id, work?.value.workId).then((data) => { negative.value = { ...data.negative, + remainingDuration: data.remainingDuration, complaintCollectionPageDTO: data.complaintCollectionPageDTO, currentRow: data.complaintCollectionPageDTO || {}, }; @@ -683,12 +684,7 @@ async function handleExecute(action, data) { try { if (isComplaintReport.value && action.actionKey === FlowActionEnum.SAVE) { const formData = componentRef.value.getData(); - const stage = componentRef.value?.getStage?.() || currentComplaintStage.value; - if (stage === STAGE_INITIAL) { - await submitComplaintInitialReview(formData); - } else { - await saveComplaintVerifyData(formData); - } + await submitSaveInvolveJson(formData); feedback.msgSuccess("操作成功"); getDetails(); return; @@ -740,10 +736,6 @@ function handleFav() { const spotCheckEditFlag = ref(false); - - - - function spotCheck() { spotCheckEditFlag.value = true; } @@ -779,31 +771,17 @@ async function handleUpdateVerify() { verifyEditFlag.value = !verifyEditFlag.value; } -async function saveComplaintVerifyData(data) { - const payload = { - blames: data?.blames || [], - blameLeaders: data?.blameLeaders || [], - files: data?.files || [], - }; - - await saveInvolveJson({ +async function submitComplaintInitialReview(data) { + await initialReview({ complaintId: data?.complaintId, - checkStatusCode: data?.checkStatusCode, - checkStatusName: data?.checkStatusName, - checkStatusDesc: data?.checkStatusDesc, - accountabilityTarget: data?.accountabilityTarget, - involveDepartId: data?.involveDepartId, - involveDepartName: data?.involveDepartName, - completionStatus: data?.completionStatus, - publicRecognition: data?.publicRecognition, - caseNumber: data?.caseNumber, - involveJson: JSON.stringify(payload), - files: data?.files || [], + initWorkDes: data?.initWorkDes, + initProblemPlan: data?.initProblemPlan, + initVerdict: data?.initVerdict, }); } -async function submitComplaintInitialReview(data) { - await initialReview({ +async function submitSaveInvolveJson(data) { + await saveInvolveJson({ complaintId: data?.complaintId, initWorkDes: data?.initWorkDes, initProblemPlan: data?.initProblemPlan, diff --git a/src/components/negative/verify-description.vue b/src/components/negative/verify-description.vue index bb95cec..98d3c6d 100644 --- a/src/components/negative/verify-description.vue +++ b/src/components/negative/verify-description.vue @@ -63,11 +63,11 @@ {{ getInitialReviewStatusLabel(initialReviewInfo.gwf3) }}
- + {{ initialReviewInfo.initWorkDes || "/" }}
- + {{ initialReviewInfo.initProblemPlan || "/" }}
@@ -80,10 +80,11 @@ title="信访情况" name="mail" v-if=" - negative.problemSourcesCode === ProblemSources.GJXFPT || + showInitialReviewInfo || + (negative.problemSourcesCode === ProblemSources.GJXFPT || negative.problemSourcesCode === ProblemSources.GABXF || negative.problemSourcesCode === ProblemSources.JZXX || - negative.problemSourcesCode === ProblemSources.XF12337 + negative.problemSourcesCode === ProblemSources.XF12337) " >
@@ -124,6 +125,20 @@ {{ negative.disciplinaryActionDesc }}
+
+ + {{ getDictLable( + dict.completionStatus, + negative.completionStatus + ) }} +
+
+ + {{ getDictLable( + dict.publicRecognition, + negative.publicRecognition + ) }} +
{ + debugger const currentRow = negative.value?.currentRow || {}; return { gwf2: currentRow?.gwf2 || negative.value?.gwf2 || "", @@ -389,6 +407,8 @@ const initialReviewInfo = computed(() => { initWorkDes: currentRow?.initWorkDes || negative.value?.initWorkDes || "", initProblemPlan: currentRow?.initProblemPlan || negative.value?.initProblemPlan || "", initVerdict: currentRow?.initVerdict || negative.value?.initVerdict || "", + completionStatus: currentRow?.completionStatus, + publicRecognition: currentRow?.publicRecognition }; }); diff --git a/src/components/negative/verify-sfss.vue b/src/components/negative/verify-sfss.vue index b15d7fc..dc6a47d 100644 --- a/src/components/negative/verify-sfss.vue +++ b/src/components/negative/verify-sfss.vue @@ -19,6 +19,9 @@ >4个工作日内办结无需上传初核情况 + + + 认可不认可不认可 + 不接电话 + @@ -275,6 +280,13 @@ const createForm = (): VerifySfssForm => ({ const form = ref(createForm()); const currentRow = computed(() => sourceNegative?.value?.currentRow || {}); const isInitialStage = computed(() => form.value.processingStage === STAGE_INITIAL); +const initialRemainingDuration = computed(() => + Number( + sourceNegative?.value?.remainingDuration ?? + currentRow.value?.remainingDuration ?? + 0 + ) +); const showPetitionFields = computed(() => [ ProblemSources.GJXFPT,