From 50fb58286ed3b718c39a97e0987ee7561a295651 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 04 七月 2025 17:56:41 +0800
Subject: [PATCH] git ch

---
 company/src/components/business/OperaSettleClaimsWindow.vue |  660 +++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 368 insertions(+), 292 deletions(-)

diff --git a/company/src/components/business/OperaSettleClaimsWindow.vue b/company/src/components/business/OperaSettleClaimsWindow.vue
index 922b4f5..a652802 100644
--- a/company/src/components/business/OperaSettleClaimsWindow.vue
+++ b/company/src/components/business/OperaSettleClaimsWindow.vue
@@ -19,39 +19,57 @@
                     </div>
                 </div>
             </div>
-            <template v-if="userInfo.type === 1">
-                <div class="box_tui">
-                    <span class="box_tui_status">宸查��鍥�</span>
-                    <div class="box_tui_title">閫�鍥炶鏄�</div>
-                    <div class="box_tui_info">鏃堕棿锛�2025-03-11 12:23</div>
-                    <div class="box_tui_info">浜哄憳锛氬钩鍙扮悊璧斾汉鍛�-寮犱笁-18876784433</div>
-                    <div class="box_tui_row"><div class="yuan"></div>浣忛櫌鐥呭巻鏉愭枡涓嶅畬鏁达紝璇疯ˉ鍏�2025骞�1鏈�1鏃ヨ嚦2鏈�1鏃ユ棩鏈熼棿鐨勪綇闄㈣褰�</div>
+            <div class="box_dk" v-if="[13].includes(info.status)">
+                <div class="box_dk_title">
+                    <i class="el-icon-success"></i>
+                    <span style="font-weight: bold">宸叉墦娆�</span>
                 </div>
-                <div class="box_dk" v-if="info.status === 13">
-                    <div class="box_dk_title">
-                        <i class="el-icon-success"></i>
-                        <span>宸叉墦娆�</span>
+                <div class="box_dk_list">
+                    <div class="box_dk_list_row">
+                        <div class="box_dk_list_row_label">鎵撴鏃堕棿锛�</div>
+                        <div class="box_dk_list_row_value">{{info.refuseSettleClaimsLog.createDate}}</div>
                     </div>
-                    <div class="box_dk_list">
-                        <div class="box_dk_list_row">
-                            <div class="box_dk_list_row_label">鎵撴鏃堕棿锛�</div>
-                            <div class="box_dk_list_row_value">2025-06-08 09:52</div>
-                        </div>
-                        <div class="box_dk_list_row">
-                            <div class="box_dk_list_row_label">鎵撴璇存槑锛�</div>
-                            <div class="box_dk_list_row_value">杩欓噷鏄墦娆捐鏄�</div>
-                        </div>
-                        <div class="box_dk_list_row">
-                            <div class="box_dk_list_row_label">鎵撴鍑瘉锛�</div>
-                            <div class="box_dk_list_row_l">
-                                <div class="box_dk_list_row_l_img">
-                                    <img src="" alt="">
-                                </div>
+                    <div class="box_dk_list_row">
+                        <div class="box_dk_list_row_label">鎵撴璇存槑锛�</div>
+                        <div class="box_dk_list_row_value">{{info.refuseSettleClaimsLog.content}}</div>
+                    </div>
+                    <div class="box_dk_list_row">
+                        <div class="box_dk_list_row_label">鎵撴鍑瘉锛�</div>
+                        <div class="box_dk_list_row_l" v-if="info.payFileList">
+                            <div class="box_dk_list_row_l_img" v-for="(item, index) in info.payFileList" :key="index">
+                                <el-image
+                                    style="width: 80px; height: 80px"
+                                    :src="item.fileurlFull"
+                                    :preview-src-list="[item.fileurlFull]">
+                                </el-image>
                             </div>
                         </div>
                     </div>
                 </div>
-                <div class="box_comInfo" v-if="[10,11,12].includes(info.status)">
+            </div>
+            <template v-if="userInfo.type === 1">
+                <div class="box_tui" v-if="[9].includes(info.status) && info.waitSupplement === 1">
+                    <span class="box_tui_status" style="background-color: rgba(255,162,63,0.15); color: #FFA23F;">鏉愭枡琛ュ厖</span>
+                    <div class="box_tui_title">琛ュ厖璇存槑</div>
+                    <div class="box_tui_info">鏃堕棿锛歿{info.refuseSettleClaimsLog.createDate}}</div>
+                    <div class="box_tui_info">浜哄憳锛氬钩鍙扮悊璧斾汉鍛�-{{info.refuseSettleClaimsLog.creatorName}}</div>
+                    <div class="box_tui_row"><div class="yuan"></div>{{info.refuseSettleClaimsLog.content}}</div>
+                </div>
+                <div class="box_tui" v-if="[6,8].includes(info.status)">
+                    <span class="box_tui_status">宸叉嫆缁�</span>
+                    <div class="box_tui_title">鎷掔粷鍘熷洜</div>
+                    <div class="box_tui_info">鏃堕棿锛歿{info.refuseSettleClaimsLog.createDate}}</div>
+                    <div class="box_tui_info">浜哄憳锛氬钩鍙扮悊璧斾汉鍛�-{{info.refuseSettleClaimsLog.creatorName}}</div>
+                    <div class="box_tui_row"><div class="yuan"></div>{{info.refuseSettleClaimsLog.content}}</div>
+                </div>
+                <div class="box_tui" v-if="[4].includes(info.status)">
+                    <span class="box_tui_status">宸查��鍥�</span>
+                    <div class="box_tui_title">閫�鍥炶鏄�</div>
+                    <div class="box_tui_info">鏃堕棿锛歿{info.refuseSettleClaimsLog.createDate}}</div>
+                    <div class="box_tui_info">浜哄憳锛氬钩鍙扮悊璧斾汉鍛�-{{info.refuseSettleClaimsLog.creatorName}}</div>
+                    <div class="box_tui_row"><div class="yuan"></div>{{info.refuseSettleClaimsLog.content}}</div>
+                </div>
+                <div class="box_comInfo" v-if="[10,11,12,13].includes(info.status)">
                     <div class="box_comInfo_title">
                         <i class="el-icon-info"></i>
                         <span>閲嶈鎻愮ず</span>
@@ -62,8 +80,10 @@
                         <span>鈥� 濡傛湁鐤戦棶璇峰強鏃惰仈绯诲鏈� 0551-77738493</span>
                     </div>
                 </div>
-                <div class="box_price" v-if="[10,11,12].includes(info.status)">
-                    <span class="box_price_title">璧斾粯閲戦{{[11].includes(info.status) ? '寰呯‘璁�' : '宸茬‘璁�'}}</span>
+                <div class="box_price" v-if="[10,11,12,13].includes(info.status)">
+                    <span class="box_price_title" v-if="[11].includes(info.status) && info.feeUpdate === 1">璧斾粯閲戦宸插彉鏇�</span>
+                    <span class="box_price_title" v-else-if="[11].includes(info.status) && info.feeUpdate === 0">璧斾粯閲戦宸茬‘璁�</span>
+                    <span class="box_price_title" v-else>璧斾粯閲戦宸茬‘璁�</span>
                     <span class="box_price_jine">楼{{info.hpAccount + info.hpOtherAccount}}</span>
                     <el-button type="text" style="margin-bottom: 5px;" @click="$refs.compensationDetails.open('璧斾粯璇︽儏', info.hpAccountContent)">鏌ョ湅璧斾粯璇︽儏</el-button>
                     <el-button type="primary" @click="confirmFeeInfo" v-if="[11].includes(info.status)">纭</el-button>
@@ -92,11 +112,37 @@
                     </div>
                 </div>
             </template>
-            <div class="box_desc" v-if="[9,10].includes(info.status)">
+            <div class="box_desc" v-if="[11,12,13].includes(info.status) && userInfo.type === 0">
+                <div class="box_desc_head">
+                    <div class="box_desc_title" v-if="[11].includes(info.status)">
+                        <i class="el-icon-success" style="color: #FF9502;"></i>
+                        <span class="box_desc_title_val" style="color: #FF9502;">鏍歌禂寰呯‘璁�</span>
+                    </div>
+                    <div class="box_desc_title" v-else>
+                        <i class="el-icon-success" style="color: #34C758;"></i>
+                        <span class="box_desc_title_val" style="color: #34C758;">鏍歌禂宸茬‘璁�</span>
+                    </div>
+                </div>
+                <div class="box_desc_ls">
+                    <span>鏍歌禂璧斾粯閲戦鍚堣锛�</span>
+                    <span>楼{{info.hpAccount + info.hpOtherAccount}}</span>
+                </div>
+                <div class="box_desc_lslist">
+                    <div class="box_desc_lslist_title">璧斾粯璇︽儏</div>
+                    <div class="box_desc_lslist_l">
+                        <div class="box_desc_lslist_l_row" v-for="(item, index) in JSON.parse(info.hpAccountContent).filter(row => row.type === 0)" :key="index">
+                            <span>{{item.name}}</span>
+                            <span>{{item.fee}}</span>
+                            <span>{{item.describe}}</span>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="box_desc" v-if="[10,11,12,13].includes(info.status) && userInfo.type === 0">
                 <div class="box_desc_head">
                     <div class="box_desc_title">
                         <i class="el-icon-success"></i>
-                        <span class="box_desc_title_val">鐞嗙畻瀹屾垚</span>
+                        <span class="box_desc_title_val" style="color: #34C758;">鐞嗙畻瀹屾垚</span>
                     </div>
                 </div>
                 <div class="box_desc_ls">
@@ -119,12 +165,12 @@
                     <div class="box_desc_title">
                         <span class="box_desc_title_val">鎶ユ璇︽儏</span>
                         <div class="box_desc_title_zt" v-if="info.statusName">{{info.statusName}}</div>
-                        <div class="box_desc_title_tips" v-if="info.isRisk === 1">
+                        <div class="box_desc_title_tips" @click="$refs.riskCaseReminder.open('椋庨櫓妗堜欢鎻愰啋', info.riskContent)" v-if="info.isRisk === 1">
                             <i class="el-icon-warning"></i>
                             <span>椋庨櫓妗堜欢</span>
                         </div>
                         <template v-if="userInfo.type === 0">
-                            <el-select v-model="info.caseType" @change="setCaseType" style="width: 100px;" placeholder="妗堜欢绫诲瀷" v-if="[9,10,11].includes(info.status)">
+                            <el-select v-model="info.caseType" @change="setCaseType" style="width: 100px;" placeholder="妗堜欢绫诲瀷" v-if="[9,10,11,12].includes(info.status)">
                                 <el-option label="鍖荤枟" :value="1"></el-option>
                                 <el-option label="浼ゆ畫" :value="2"></el-option>
                                 <el-option label="姝讳骸" :value="3"></el-option>
@@ -134,25 +180,25 @@
                     <div class="box_desc_btns">
                         <template v-if="userInfo.type === 1">
                             <el-button type="danger" @click="revoke()" v-if="[1,2,3,4,5,9,7,10].includes(info.status)">鎾ら攢鎶ユ</el-button>
-                            <el-button type="primary" @click="addReport(1)" v-if="[3].includes(info.status) && info.reportNumStatus === 0">娣诲姞鎶ユ鍙�</el-button>
-                            <el-button type="primary" @click="$refs.additionMaterial_ba.open('琛ュ厖鏉愭枡', info.id)" v-if="[3].includes(info.status)">琛ュ厖鏉愭枡</el-button>
+                            <el-button type="primary" @click="$refs.additionMaterial_ba.open('琛ュ厖鏉愭枡', info.id)" v-if="[9].includes(info.status) && info.waitSupplement === 1">琛ュ厖鏉愭枡</el-button>
                         </template>
                         <template v-if="userInfo.type === 0">
                             <el-button type="danger" @click="returnCase" v-if="[1,2].includes(info.status)">閫�鍥�</el-button>
                             <el-button type="primary" @click="register" v-if="[1,2].includes(info.status)">绔嬫</el-button>
                             <el-button type="primary" @click="$refs.acceptance.open('妗堜欢鍙楃悊', info.id)" v-if="[3,5].includes(info.status)">鍙楃悊</el-button>
-                            <el-button type="primary" @click="addRemark" v-if="![0,1,2,4,13,14].includes(info.status)">澶囨敞</el-button>
-                            <el-button type="primary" @click="addReport(1)" v-if="[3].includes(info.status) && info.reportNumStatus === 0">娣诲姞鎶ユ鍙�</el-button>
+                            <el-button type="primary" @click="addRemark" v-if="![0,1,2,4,14].includes(info.status)">澶囨敞</el-button>
+                            <el-button type="primary" @click="addReport(1)" v-if="[3,9].includes(info.status) && info.reportNumStatus === 0">娣诲姞鎶ユ鍙�</el-button>
                             <el-button type="primary" @click="addReport(2)" v-if="[9].includes(info.status) && info.reportNumStatus === 1">缂栬緫鎶ユ鍙�</el-button>
                             <el-button type="primary" @click="$refs.adjustment.open('鐞嗙畻', info.id, 1)" v-if="[9].includes(info.status)">鐞嗙畻</el-button>
                             <el-button type="primary" @click="$refs.adjustment.open('閲嶆柊鐞嗙畻', info.id, 1)" v-if="[10].includes(info.status)">閲嶆柊鐞嗙畻</el-button>
                             <el-button type="primary" @click="$refs.adjustment.open('鏍歌禂', info.id, 2)" v-if="[10].includes(info.status)">鏍歌禂</el-button>
                             <el-button type="primary" @click="$refs.adjustment.open('淇敼閲戦', info.id, 2)" v-if="[11,12].includes(info.status)">淇敼閲戦</el-button>
                             <el-button type="primary" @click="$refs.makePayment.open('鎵撴', info.id)" v-if="[12].includes(info.status)">鎵撴</el-button>
+                            <el-button type="primary" @click="$refs.discussAudit.open('鍟嗚瀹℃壒', info.id)" v-if="[7].includes(info.status)">鍟嗚瀹℃壒</el-button>
                             <el-button type="primary" @click="supplementaryMaterials" v-if="[9].includes(info.status)">琛ュ厖鏉愭枡</el-button>
                             <el-button type="primary" @click="$refs.additionMaterial_ba.open('娣诲姞鏉愭枡', info.id)" v-if="[9,10].includes(info.status)">娣诲姞鏉愭枡</el-button>
                         </template>
-                        <el-button icon="el-icon-refresh-left" type="primary" circle @click="$refs.caseProgress.open('妗堜欢杩涘害', info.settleClaimsLogList)" v-if="![0,13,14].includes(info.status)"></el-button>
+                        <el-button icon="el-icon-refresh-left" type="primary" title="鏌ョ湅妗堜欢杩涘害" circle @click="$refs.caseProgress.open('妗堜欢杩涘害', info.settleClaimsLogList)" v-if="![0].includes(info.status)"></el-button>
                     </div>
                 </div>
                 <div class="box_desc_list">
@@ -160,7 +206,10 @@
                         鎶ユ鏃堕棿锛歿{info.createDate}}
                     </div>
                     <div class="box_desc_list_row">
-                        鎶ユ鍙凤細{{info.reportNum}}
+                        鎶ユ鍙凤細{{info.code}}
+                    </div>
+                    <div class="box_desc_list_row">
+                        淇濆徃鎶ユ鍙凤細{{info.reportNum}}
                     </div>
                     <div class="box_desc_list_row">
                         鎵�灞炰繚鍗曪細{{info.applyCode}}
@@ -169,18 +218,18 @@
                         鎶ユ浜猴細{{info.informantName}}
                     </div>
                     <div class="box_desc_list_row">
-                        鎶ユ浜鸿仈绯绘柟寮忥細{{info.informantPhone}}
+                       鎶ユ浜鸿仈绯绘柟寮忥細{{info.informantPhone}}
                     </div>
                     <div class="box_desc_list_zw"></div>
                 </div>
             </div>
-            <div class="box_fx" v-if="info.isRisk === 1">
+            <div class="box_fx" v-if="info.isRisk === 1 && showIsRisk ===true ">
                 <div class="box_fx_left">
                     <i class="el-icon-warning"></i>
                     <span class="box_fx_left_a">娉ㄦ剰锛岃妗堜欢鏈墈{info.riskContent.length}}鏉¢闄╀俊鎭�</span>
                     <span class="box_fx_left_b" @click="$refs.riskCaseReminder.open('椋庨櫓妗堜欢鎻愰啋', info.riskContent)">鏌ョ湅璇︽儏</span>
                 </div>
-                <i class="el-icon-close" @click="info.isRisk = 0"></i>
+                <i class="el-icon-close" @click="closeRiskTip"></i>
             </div>
             <div class="box_desc">
                 <div class="box_desc_head">
@@ -199,7 +248,7 @@
                         鍑洪櫓浜哄鍚嶏細{{info.memberName}}
                     </div>
                     <div class="box_desc_list_row">
-                        鍑洪櫓浜鸿韩浠借瘉鍙凤細{{info.memberIdcard}}
+                        鍑洪櫓浜鸿韩浠借瘉鍙凤細{{info.idcardNo}}
                     </div>
                     <div style="width: 33%; height: 0;"></div>
                 </div>
@@ -240,7 +289,10 @@
                         浜嬫晠绫诲瀷锛歿{returnType(info.type)}}
                     </div>
                     <div class="box_desc_list_row">
-                        鏄惁鏈夊尰鐤椾繚闄╋細{{returnName(info.medicalInsurance)}}
+                        鏄惁浼ゆ畫锛歿{returnName(info.hurtType)}}
+                    </div>
+                    <div class="box_desc_list_row">
+                        鏄惁鏈夊尰淇濓細{{returnName(info.medicalInsurance)}}
                     </div>
                     <div class="box_desc_list_row">
                         灏辫瘖绫诲瀷锛歿{returnInHospital(info.inHospital)}}
@@ -249,10 +301,24 @@
                     <div class="box_desc_list_img">
                         <span>浜嬫晠瑙嗛/鐓х墖锛�</span>
                         <div class="box_desc_list_img_files">
-                            <div class="box_desc_list_img_files_row" v-for="(item, index) in info.reportFileList" :key="index">
-                                <img :src="item.fileurlFull" alt="img" />
-                            </div>
+                            <PreviewArea :list="info.reportFileList || []" />
                         </div>
+                    </div>
+                </div>
+                <div class="box_desc_head" style="margin-top: 30px;">
+                    <div class="box_desc_title">
+                        <span class="box_desc_title_val">鏀舵淇℃伅</span>
+                    </div>
+                </div>
+                <div class="box_desc_list">
+                    <div class="box_desc_list_row">
+                        鏀舵閾惰锛歿{info.receiveBank}}
+                    </div>
+                    <div class="box_desc_list_row">
+                        鏀舵浜猴細{{info.receiveUserName}}
+                    </div>
+                    <div class="box_desc_list_row">
+                        鏀舵璐﹀彿锛歿{info.receiveAccount}}
                     </div>
                 </div>
             </div>
@@ -274,9 +340,7 @@
                         <span>鍛樺伐鍏崇郴璇佹槑鏉愭枡</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.relationFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea :list="info.relationFileList || []" />
                     </div>
                 </div>
                 <div class="box_desc_cailiao">
@@ -285,9 +349,7 @@
                         <span>闂ㄨ瘖</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.outpatientFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea :list="info.outpatientFileList || []" />
                     </div>
                 </div>
                 <div class="box_desc_cailiao">
@@ -296,9 +358,7 @@
                         <span>浣忛櫌</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.hospitalFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea :list="info.hospitalFileList || []" />
                     </div>
                 </div>
                 <div class="box_desc_cailiao">
@@ -307,9 +367,7 @@
                         <span>浼ゆ畫</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.disabilityFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea :list="info.disabilityFileList || []" />
                     </div>
                 </div>
                 <div class="box_desc_cailiao">
@@ -318,9 +376,7 @@
                         <span>鍏朵粬鏉愭枡</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.otherFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea :list="info.otherFileList || []" />
                     </div>
                 </div>
                 <div class="box_desc_cailiao">
@@ -329,30 +385,18 @@
                         <span>琛ュ厖鏉愭枡</span>
                     </div>
                     <div class="box_desc_cailiao_list">
-                        <div class="box_desc_cailiao_list_img" v-for="(item, index) in info.supplementFileList" :key="index">
-                            <img :src="item.fileurlFull" alt="img" />
-                        </div>
+                        <PreviewArea   :list="info.supplementFileList || []" />
                     </div>
                 </div>
             </div>
         </div>
-        <!--    閫�鍥�    -->
-        <el-dialog
-            title="閫�鍥�"
-            :visible.sync="show"
-            width="500px">
-            <span>杩欐槸涓�娈典俊鎭�</span>
-            <span slot="footer" class="dialog-footer">
-                <el-button @click="show = false">鍙栨秷</el-button>
-                <el-button type="primary" @click="show = false">纭畾閫�鍥�</el-button>
-            </span>
-        </el-dialog>
         <!--    椋庨櫓妗堜欢鎻愰啋    -->
         <RiskCaseReminder ref="riskCaseReminder" />
         <!--    妗堜欢杩涘害    -->
         <CaseProgress ref="caseProgress" />
         <!--    鍙楃悊    -->
         <Acceptance ref="acceptance" @success="getDetail" />
+        <discussAudit ref="discussAudit" @success="getDetail" />
         <!--    娣诲姞鏉愭枡    -->
         <AdditionMaterial_ba ref="additionMaterial_ba" @success="getDetail" />
         <!--    鐞嗙畻    -->
@@ -369,34 +413,37 @@
 <script>
 import BaseOpera from '@/components/base/BaseOpera'
 import GlobalWindow from '@/components/common/GlobalWindow'
-import { findById, returnSettle } from '@/api/business/settleClaims'
+import { findById } from '@/api/business/settleClaims'
 import {
-    register,
-    addReportNum,
-    addRemark,
-    saveSupplementDescribe,
-    updCaseType,
-    confirmFee,
-    payCash } from '@/api/business/settleRisk'
+  register,
+  addReportNum,
+  addRemark,
+  saveSupplementDescribe,
+  updCaseType,
+  confirmFee,
+  returnSettle
+} from '@/api/business/settleRisk'
 import RiskCaseReminder from '@/components/business/riskCaseReminder'
 import CaseProgress from '@/components/business/caseProgress'
 import Acceptance from '@/components/business/acceptance'
+import discussAudit from '@/components/business/discussAudit'
 import AdditionMaterial_ba from '@/components/business/additionMaterial_ba'
 import adjustment from '@/components/business/adjustment'
 import CompensationDetails from '@/components/business/compensationDetails'
 import PaymentInformation from '@/components/business/paymentInformation'
 import MakePayment from '@/components/business/makePayment'
+import PreviewArea from '@/components/common/previewArea'
 import { mapState } from 'vuex'
 
 export default {
   name: 'OperaSettleClaimsWindow',
   extends: BaseOpera,
-  components: { GlobalWindow, MakePayment, PaymentInformation, CompensationDetails, RiskCaseReminder, CaseProgress, Acceptance, AdditionMaterial_ba, adjustment },
+  components: { GlobalWindow, MakePayment, PreviewArea, PaymentInformation, CompensationDetails, RiskCaseReminder, CaseProgress, Acceptance,discussAudit, AdditionMaterial_ba, adjustment },
   data () {
     return {
-        show: false,
-        info: null,
-        id: null
+      info: null,
+      id: null,
+      showIsRisk: true
     }
   },
   computed: {
@@ -409,206 +456,250 @@
     })
   },
   methods: {
-      open (title, id) {
-          this.title = title
-          this.id = id
+    open (title, id) {
+      this.title = title
+      this.id = id
+      this.getDetail()
+    },
+    closeRiskTip(){
+      this.showIsRisk= false
+    },
+    setCaseType (e) {
+      updCaseType({ id: this.id, caseType: e })
+        .then(res => {
           this.getDetail()
-      },
-      setCaseType(e) {
-          updCaseType({ id: this.id, caseType: e })
-            .then(res => {
-                this.getDetail()
-            })
-      },
-      supplementaryMaterials() {
-          this.$prompt('琛ュ厖璇存槑', '琛ュ厖鏉愭枡', {
-              confirmButtonText: '鎻愪氦',
-              cancelButtonText: '鍙栨秷',
-              inputPattern: /^(?:.|\n)+$/,
-              inputErrorMessage: '琛ュ厖璇存槑涓嶈兘涓虹┖锛�',
-              beforeClose: (action, instance, done) => {
-                  if (action === 'confirm') {
-                      instance.confirmButtonLoading = true;
-                      saveSupplementDescribe({ id: this.id, describe: instance.inputValue })
-                          .finally(() => {
-                              done();
-                              instance.confirmButtonLoading = false;
-                          })
-                  } else {
-                      done();
-                  }
-              }
-          }).then(({ value }) => {
-              this.getDetail()
-          }).catch(() => {
+        })
+        .catch(err => {
+            this.$message.error(err.message)
+        })
+    },
+    supplementaryMaterials () {
+      this.$prompt('琛ュ厖璇存槑', '琛ュ厖鏉愭枡', {
+        confirmButtonText: '鎻愪氦',
+        cancelButtonText: '鍙栨秷',
+        inputType: 'textarea',
+        inputPattern: /^(?:.|\n)+$/,
+        inputErrorMessage: '琛ュ厖璇存槑涓嶈兘涓虹┖锛�',
+        beforeClose: (action, instance, done) => {
+          if (action === 'confirm') {
+            instance.confirmButtonLoading = true
+            saveSupplementDescribe({ id: this.id, describe: instance.inputValue })
+                .then((res) => {
+                  done()
+                })
+                .catch((data) => {
+                  this.$message.error(data.message)
+                })
+                .finally(() => {
+                  instance.confirmButtonLoading = false
+                })
+          } else {
+            done()
+          }
+        }
+      }).then(({ value }) => {
+        this.getDetail()
+      }).catch(() => {
 
-          });
-      },
-      addRemark() {
-          this.$prompt('澶囨敞', '娣诲姞澶囨敞', {
-              confirmButtonText: '娣诲姞',
-              cancelButtonText: '鍙栨秷',
-              inputPattern: /^(?:.|\n)+$/,
-              inputErrorMessage: '澶囨敞涓嶈兘涓虹┖锛�',
-              beforeClose: (action, instance, done) => {
-                  if (action === 'confirm') {
-                      instance.confirmButtonLoading = true;
-                      addRemark({ id: this.id, describe: instance.inputValue })
-                          .finally(() => {
-                              done();
-                              instance.confirmButtonLoading = false;
-                          })
-                  } else {
-                      done();
-                  }
-              }
-          }).then(({ value }) => {
-              this.getDetail()
-          }).catch(() => {
+      })
+    },
+    addRemark () {
+      this.$prompt('澶囨敞', '娣诲姞澶囨敞', {
+        confirmButtonText: '娣诲姞',
+        cancelButtonText: '鍙栨秷',
+        inputType: 'textarea',
+        inputPattern: /^(?:.|\n)+$/,
+        inputErrorMessage: '澶囨敞涓嶈兘涓虹┖锛�',
+        beforeClose: (action, instance, done) => {
+          if (action === 'confirm') {
+            instance.confirmButtonLoading = true
+            addRemark({ id: this.id, describe: instance.inputValue })
+                .then((res) => {
+                  done()
+                })
+                .catch((data) => {
+                  this.$message.error(data.message)
+                })
+                .finally(() => {
+                  instance.confirmButtonLoading = false
+                })
+          } else {
+            done()
+          }
+        }
+      }).then(({ value }) => {
+        this.getDetail()
+      }).catch(() => {
 
-          });
-      },
-      addReport(type) {
-          this.$prompt(`鎶ユ鍙穈, `${type === 1 ? '娣诲姞鎶ユ鍙�' : '缂栬緫鎶ユ鍙�'}`, {
-              confirmButtonText: '娣诲姞',
-              cancelButtonText: '鍙栨秷',
-              inputPattern: /^(?:.|\n)+$/,
-              inputErrorMessage: '鎶ユ鍙蜂笉鑳戒负绌猴紒',
-              beforeClose: (action, instance, done) => {
-                  if (action === 'confirm') {
-                      instance.confirmButtonLoading = true;
-                      addReportNum({ id: this.id, reportNum: instance.inputValue })
-                        .finally(() => {
-                            done();
-                            instance.confirmButtonLoading = false;
-                        })
-                  } else {
-                      done();
-                  }
-              }
-          }).then(({ value }) => {
-              this.getDetail()
-          }).catch(() => {
-
-          });
-      },
-      register() {
-          this.$prompt('绔嬫璇存槑', '绔嬫', {
-              confirmButtonText: '纭畾',
-              cancelButtonText: '鍙栨秷',
-              beforeClose: (action, instance, done) => {
-                  if (action === 'confirm') {
-                      instance.confirmButtonLoading = true;
-                      register({ id: this.id, describe: instance.inputValue, registerStatus: 3 })
-                          .finally(() => {
-                              done();
-                              instance.confirmButtonLoading = false;
-                          })
-                  } else {
-                      done();
-                  }
-              }
-          }).then(({ value }) => {
-              this.getDetail()
-          }).catch(() => {
-
-          });
-      },
-      returnCase() {
-          this.$prompt('閫�鍥炶鏄�', '閫�鍥�', {
-              confirmButtonText: '纭畾',
-              cancelButtonText: '鍙栨秷',
-              inputPattern: /^(?:.|\n)+$/,
-              inputErrorMessage: '閫�鍥炶鏄庝笉鑳戒负绌猴紒',
-              beforeClose: (action, instance, done) => {
-                  if (action === 'confirm') {
-                      instance.confirmButtonLoading = true;
-                      register({ id: this.id, describe: instance.inputValue, registerStatus: 4 })
-                          .finally(() => {
-                              done();
-                              instance.confirmButtonLoading = false;
-                          })
-                  } else {
-                      done();
-                  }
-              }
-          }).then(({ value }) => {
-              this.getDetail()
-          }).catch(() => {
-
-          });
-      },
-      getDetail() {
-          findById(this.id)
-              .then(res => {
-                  res.riskContent = JSON.parse(res.riskContent)
-                  this.info = res
-                  this.visible = true
+      })
+    },
+    addReport (type) {
+      this.$prompt('鎶ユ鍙�', `${type === 1 ? '娣诲姞鎶ユ鍙�' : '缂栬緫鎶ユ鍙�'}`, {
+        confirmButtonText: '娣诲姞',
+        cancelButtonText: '鍙栨秷',
+        inputPattern: /^(?:.|\n)+$/,
+        inputErrorMessage: '鎶ユ鍙蜂笉鑳戒负绌猴紒',
+        beforeClose: (action, instance, done) => {
+          if (action === 'confirm') {
+            instance.confirmButtonLoading = true
+            addReportNum({ id: this.id, reportNum: instance.inputValue })
+              .then((res) => {
+                done()
               })
-      },
-      // 鎾ら攢
-      revoke(id) {
-          this.$confirm('鎾ら攢鍚庯紝妗堜欢鐩存帴缁撴潫锛屾棤娉曠户缁繘琛岀悊璧旀搷浣滐紒', '鏄惁鎾ら攢鎶ユ锛�', {
-              confirmButtonText: '纭畾鎾ら攢',
-              cancelButtonText: '鎴戝啀鎯虫兂',
-              type: 'warning'
-          }).then(() => {
-              returnSettle({ id: this.info.id })
-                  .then(res => {
-                      this.getDetail()
-                  })
-          }).catch(() => {
+              .catch((data) => {
+                this.$message.error(data.message)
+              })
+              .finally(() => {
+                instance.confirmButtonLoading = false
+              })
+          } else {
+            done()
+          }
+        }
+      }).then(({ value }) => {
+        this.getDetail()
+      }).catch(() => {
 
-          });
-      },
-      returnInHospital(type) {
-          switch (type) {
-              case 0:
-                  return '浣忛櫌'
-              case 1:
-                  return '闂ㄨ瘖'
+      })
+    },
+    register () {
+      this.$prompt('绔嬫璇存槑', '绔嬫', {
+        confirmButtonText: '纭畾',
+        cancelButtonText: '鍙栨秷',
+        inputType: 'textarea',
+        beforeClose: (action, instance, done) => {
+          if (action === 'confirm') {
+            instance.confirmButtonLoading = true
+            register({ id: this.id, describe: instance.inputValue, registerStatus: 3 })
+                .then((res) => {
+                  done()
+                })
+                .catch((data) => {
+                  this.$message.error(data.message)
+                })
+                .finally(() => {
+                  instance.confirmButtonLoading = false
+                })
+          } else {
+            done()
           }
-      },
-      returnName(type) {
-          switch (type) {
-              case 0:
-                  return '鏄�'
-              case 1:
-                  return '鍚�'
-          }
-      },
-      returnType(type) {
-          switch (type) {
-                case 0:
-                    return '宸ヤ綔鏈熼棿鍙椾激'
-              case 1:
-                  return '涓婁笅鐝�斾腑鍙椾激'
-              case 2:
-                  return '闈炲伐浣滄椂闂村彈浼�'
-              case 3:
-                  return '鎰忓鍙椾激'
-          }
-      },
-      confirmFeeInfo() {
-          this.$confirm('鏄惁纭璧斾粯閲戦?', '鎻愮ず', {
-              confirmButtonText: '纭畾',
-              cancelButtonText: '鍙栨秷',
-              type: 'warning'
-          }).then(() => {
-              confirmFee(this.id)
-                  .then(res => {
-                      this.getDetail()
-                  })
-          }).catch(() => {
+        }
+      }).then(({ value }) => {
+        this.getDetail()
+      }).catch(() => {
 
-          });
-      },
+      })
+    },
+    returnCase () {
+      this.$prompt('閫�鍥炶鏄�', '閫�鍥�', {
+        confirmButtonText: '纭畾',
+        cancelButtonText: '鍙栨秷',
+        inputType: 'textarea',
+        inputPattern: /^(?:.|\n)+$/,
+        inputErrorMessage: '閫�鍥炶鏄庝笉鑳戒负绌猴紒',
+        beforeClose: (action, instance, done) => {
+          if (action === 'confirm') {
+            instance.confirmButtonLoading = true
+            register({ id: this.id, describe: instance.inputValue, registerStatus: 4 })
+                .then((res) => {
+                  done()
+                })
+                .catch((data) => {
+                  this.$message.error(data.message)
+                })
+                .finally(() => {
+                  instance.confirmButtonLoading = false
+                })
+          } else {
+            done()
+          }
+        }
+      }).then(({ value }) => {
+        this.getDetail()
+      }).catch(() => {
+
+      })
+    },
+    getDetail () {
+      findById(this.id)
+        .then(res => {
+          res.riskContent = JSON.parse(res.riskContent)
+          this.info = res
+          this.info.showIsRisk = true
+          this.visible = true
+        })
+    },
+    // 鎾ら攢
+    revoke () {
+      this.$confirm('鎾ら攢鍚庯紝妗堜欢鐩存帴缁撴潫锛屾棤娉曠户缁繘琛岀悊璧旀搷浣滐紒', '鏄惁鎾ら攢鎶ユ锛�', {
+        confirmButtonText: '纭畾鎾ら攢',
+        cancelButtonText: '鎴戝啀鎯虫兂',
+        type: 'warning',
+      }).then(() => {
+        returnSettle({ id: this.info.id })
+          .then(res => {
+            this.getDetail()
+          }).catch(err => {
+              console.log(err)
+            this.$message.error(err.message)
+        })
+      }).catch(() => {
+
+      })
+    },
+    returnInHospital (type) {
+      switch (type) {
+      case 0:
+        return '浣忛櫌'
+      case 1:
+        return '闂ㄨ瘖'
+      }
+    },
+    returnName (type) {
+      switch (type) {
+      case 0:
+        return '鏄�'
+      case 1:
+        return '鍚�'
+      case 2:
+        return '寰呯‘瀹�'
+      default:
+        return ''
+      }
+    },
+    returnType (type) {
+      switch (type) {
+      case 0:
+        return '宸ヤ綔鏈熼棿鍙椾激'
+      case 1:
+        return '涓婁笅鐝�斾腑鍙椾激'
+      case 2:
+        return '闈炲伐浣滄椂闂村彈浼�'
+      case 3:
+        return '鎰忓鍙椾激'
+      }
+    },
+    confirmFeeInfo () {
+      this.$confirm('鏄惁纭璧斾粯閲戦?', '鎻愮ず', {
+        confirmButtonText: '纭畾',
+        cancelButtonText: '鍙栨秷',
+        type: 'warning'
+      }).then(() => {
+        confirmFee(this.id)
+          .then(res => {
+            this.getDetail()
+          })
+      }).catch(() => {
+
+      })
+    }
   }
 }
 </script>
 
 <style lang="scss" scoped>
     .box {
+        //margin-left: 30px;
         width: 100%;
         .box_tui {
             width: 100%;
@@ -909,23 +1000,6 @@
                     display: flex;
                     align-items: center;
                     flex-wrap: wrap;
-                    .box_desc_cailiao_list_img {
-                        width: 100px;
-                        height: 100px;
-                        display: flex;
-                        align-items: center;
-                        justify-content: center;
-                        overflow: hidden;
-                        margin-right: 15px;
-                        background-color: #E5E5E5;
-                        &:last-child {
-                            margin: 0;
-                        }
-                        img {
-                            width: 100%;
-                            height: 100%;
-                        }
-                    }
                 }
             }
             .box_desc_ls {
@@ -989,6 +1063,7 @@
             .box_desc_head {
                 width: 100%;
                 display: flex;
+                font-weight: bold;
                 align-items: center;
                 justify-content: space-between;
                 margin-bottom: 26px;
@@ -1019,6 +1094,7 @@
                         margin-right: 20px;
                     }
                     .box_desc_title_tips {
+                      cursor: pointer;
                         width: 84px;
                         height: 25px;
                         border-radius: 15px;

--
Gitblit v1.9.3