diff --git a/src/components/comfort/dialog.vue b/src/components/comfort/dialog.vue index de99328..a860b9e 100644 --- a/src/components/comfort/dialog.vue +++ b/src/components/comfort/dialog.vue @@ -224,7 +224,7 @@ @@ -286,23 +286,32 @@ function handleReturn() { approveShow.value = true; formData.value.returnFlag = true; } + + function handleApprove() { approveShow.value = true; formData.value.returnFlag = false; } +const btnDisabled = ref(false) async function submit() { - await formRef.value.validate(); - await comfortApprove({ - rpcId: props.id, - returnFlag: formData.value.returnFlag, - comments: formData.value.comments, - }); - approveShow.value = false; - formData.value = {}; - feedback.msgSuccess("操作成功"); - dialogShow.value = false; - emit("update"); + btnDisabled.value = true; + try { + await formRef.value.validate(); + await comfortApprove({ + rpcId: props.id, + returnFlag: formData.value.returnFlag, + comments: formData.value.comments, + }); + btnDisabled.value = false; + approveShow.value = false; + formData.value = {}; + feedback.msgSuccess("操作成功"); + dialogShow.value = false; + emit("update"); + } catch(e) { + btnDisabled.value = false; + } } diff --git a/src/components/negativeInfo/depart-dialog.vue b/src/components/negativeInfo/depart-dialog.vue index f13e6e8..ca8d400 100644 --- a/src/components/negativeInfo/depart-dialog.vue +++ b/src/components/negativeInfo/depart-dialog.vue @@ -80,50 +80,54 @@
问题情况
- - -
- {{ negativeInfo.size }} -
-
问题总数
-
- - - - - - - - - - - - - -
+
+ + +
+
+
{{ negativeInfo.size }}
+
问题总数
+
+
+
+ + + + + + + + + + + + + +
+
@@ -319,7 +323,7 @@ async function getProfileData() { beginTime: time.value.length ? time.value[0] : "", endTime: time.value.length ? time.value[1] : "", }); - score.value = data.score; + score.value = Math.round(data.score); days.value = data.days negativeList.value = data.negatives; departInfo.value = data.departInfo; @@ -472,8 +476,8 @@ main { font-size: 18px; .score-progress_score { - font-size: 60px; - line-height: 84px; + font-size: 50px; + line-height: 70px; } .score-progress_title { diff --git a/src/components/negativeInfo/police-dialog.vue b/src/components/negativeInfo/police-dialog.vue deleted file mode 100644 index 37cbec2..0000000 --- a/src/components/negativeInfo/police-dialog.vue +++ /dev/null @@ -1,518 +0,0 @@ - - - \ No newline at end of file diff --git a/src/style/public.scss b/src/style/public.scss index 610f506..872e78b 100644 --- a/src/style/public.scss +++ b/src/style/public.scss @@ -371,10 +371,6 @@ svg+span { margin-bottom: 40px; } -.h100 { - height: 100%; -} - .row { display: flex; flex-wrap: wrap; @@ -466,6 +462,9 @@ svg+span { transform: translate(-50%, -50%); } +.w100 { + width: 100%; +} .h100 { height: 100%; } diff --git a/src/views/mobileSupervise/TaskProblem.vue b/src/views/mobileSupervise/TaskProblem.vue index c51f0fe..d272ced 100644 --- a/src/views/mobileSupervise/TaskProblem.vue +++ b/src/views/mobileSupervise/TaskProblem.vue @@ -749,10 +749,10 @@ function handleShowGenReport() { }); const problmes = selectRows.value.filter((item) => item.hasProblem) const set = new Set(problmes.filter(item => item.problemType).map(item => item.problemType.indexOf('/') === -1 ? item.problemType : item.problemType.substring(0, item.problemType.indexOf('/')))) - console.log(set) + const arr = []; set.forEach(item => { - const content = problmes.filter(p => p.problemType && p.problemType.indexOf(item) === 0).map(item => item.thingDesc).join('。') + const content = problmes.filter(p => p.problemType && p.problemType.indexOf(item) === 0).map(item => item.thingDesc).join('\n') arr.push({ title: item, content: content diff --git a/src/views/rightsComfort/MyComfort.vue b/src/views/rightsComfort/MyComfort.vue index 781fcf9..44a355d 100644 --- a/src/views/rightsComfort/MyComfort.vue +++ b/src/views/rightsComfort/MyComfort.vue @@ -748,6 +748,7 @@ +
备注:经济抚慰 精神伤害1000元、明显性损伤2000元、轻微伤3000元、轻伤5000元、重伤10000元填报,并出具伤情法医鉴定书及其它相关材料。
佐证材料
diff --git a/src/views/sensitivePerception/Model.vue b/src/views/sensitivePerception/Model.vue index 4ce3d14..c5db0f8 100644 --- a/src/views/sensitivePerception/Model.vue +++ b/src/views/sensitivePerception/Model.vue @@ -849,10 +849,10 @@ 问题涉及单位 指定单位 + 涉及单位及指定单位
说明 @@ -880,6 +880,21 @@
+ + + 法制 + 警保 + 督审 + +