From daf76fb0807550f6e49545e10603a29e414f3b84 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 26 五月 2025 09:02:15 +0800
Subject: [PATCH] 提交

---
 company/src/components/enterprise/onlineReporting.vue | 1560 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 1,251 insertions(+), 309 deletions(-)

diff --git a/company/src/components/enterprise/onlineReporting.vue b/company/src/components/enterprise/onlineReporting.vue
index a44e8a6..221ffe6 100644
--- a/company/src/components/enterprise/onlineReporting.vue
+++ b/company/src/components/enterprise/onlineReporting.vue
@@ -2,139 +2,407 @@
     <GlobalWindow
         :title="title"
         width="100%"
+        :withFooter="false"
         :visible.sync="visible"
         :confirm-working="isWorking"
         @confirm="confirm"
     >
-        <el-form :model="form" ref="form" :rules="rules">
-            <el-form-item label="鍑洪櫓浜哄鍚�" prop="memberId" v-if="!form.id">
-                <el-select v-model="form.memberId" filterable @change="getSolutions" placeholder="璇烽�夋嫨">
-                    <el-option
-                        v-for="item in user"
-                        :key="item.id"
-                        :label="item.name + ' - ' + item.idcardNo"
-                        :value="item.id">
-                    </el-option>
-                </el-select>
-            </el-form-item>
-            <el-form-item label="淇濋櫓鏂规" prop="solutionId" v-if="!form.id">
-                <div style="display: flex; align-items: center;">
-                    <span>{{form.solutionName}}</span>
-                    <el-button type="primary" @click="openS" style="margin-left: 10px;">閫夋嫨鏂规</el-button>
+        <div class="box">
+            <div class="box_status">
+                <div class="box_status_row" v-for="(item, index) in statusList" :key="index">
+                    <div :class="index <= i ? 'box_status_row_icon statusColor2 statusColor3' : 'box_status_row_icon'">
+                        <span>{{index + 1}}</span>
+                    </div>
+                    <div class="box_status_row_info">
+                        <div class="title">{{item.name}}</div>
+                        <div class="info">{{item.info}}</div>
+                    </div>
                 </div>
-            </el-form-item>
-            <el-form-item label="娲鹃仯鍗曚綅" prop="duId" v-if="form.duName && !form.id">
-                <span>{{form.duName}}</span>
-            </el-form-item>
-            <el-form-item label="鎵�灞炲伐绉�" prop="worktypeId" v-if="form.worktypeName && !form.id">
-                <span>{{form.worktypeName}}</span>
-            </el-form-item>
-            <el-form-item label="浜嬫晠鍙戠敓鏃堕棿" prop="happenTime" v-if="!form.id">
-                <el-date-picker
-                    v-model="form.happenTime"
-                    type="datetime"
-                    format="yyyy-MM-dd HH:mm:ss"
-                    value-format="yyyy-MM-dd HH:mm:ss"
-                    placeholder="閫夋嫨鏃ユ湡鏃堕棿">
-                </el-date-picker>
-            </el-form-item>
-            <el-form-item label="灏辫瘖鍖荤枟鏈烘瀯" prop="hospital" v-if="!form.id">
-                <el-input v-model="form.hospital" placeholder="璇疯緭鍏�"></el-input>
-            </el-form-item>
-            <el-form-item label="鍑洪櫓鍦板尯" prop="areaId">
-                <el-cascader
-                v-model="form.areaId"
-                :options="area"
-                :props="{ value: 'id', label: 'name', children: 'childAreasList' }"
-                @change="handleChange" />
-            </el-form-item>
-            <el-form-item label="浜嬫晠绫诲瀷" prop="type">
-                <el-radio-group v-model="form.type">
-                    <el-radio :label="0">宸ヤ綔鏈熼棿鍙椾激</el-radio>
-                    <el-radio :label="1">涓婁笅鐝�斾腑鍙椾激</el-radio>
-                    <el-radio :label="2">闈炲伐浣滄椂闂村彈浼�</el-radio>
-                    <el-radio :label="3">鎰忓鍙椾激</el-radio>
-                </el-radio-group>
-            </el-form-item>
-            <el-form-item label="鏄惁浣忛櫌" prop="inHospital">
-                <el-radio-group v-model="form.inHospital">
-                    <el-radio :label="0">鏄�</el-radio>
-                    <el-radio :label="1">鍚�</el-radio>
-                </el-radio-group>
-            </el-form-item>
-            <el-form-item label="鏄惁鏈夊尰鐤椾繚闄�" prop="medicalInsurance">
-                <el-radio-group v-model="form.medicalInsurance">
-                    <el-radio :label="0">鏄�</el-radio>
-                    <el-radio :label="1">鍚�</el-radio>
-                </el-radio-group>
-            </el-form-item>
-            <el-form-item label="浜嬫晠鎻忚堪" prop="content" v-if="!form.id">
-                <el-input type="textarea" :rows="5" placeholder="璇疯緭鍏ュ唴瀹�" v-model="form.content"></el-input>
-            </el-form-item>
-            <el-form-item label="涓婁紶浜嬫晠瑙嗛/鐓х墖" prop="list" v-if="!form.id">
-                <upload :list="form.list" :accept="'.mp4,.jpg,.png,.jpeg'" folder="settle" @dele="deleFile" @success="getData" />
-            </el-form-item>
-            <el-form-item label="鎶ユ浜哄鍚�" prop="informantName">
-                <el-input v-model="form.informantName" placeholder="璇疯緭鍏�"></el-input>
-            </el-form-item>
-            <el-form-item label="鎶ユ浜鸿仈绯绘柟寮�" prop="informantPhone">
-                <el-input maxlength="11" v-model="form.informantPhone" placeholder="璇疯緭鍏�"></el-input>
-            </el-form-item>
-        </el-form>
-        <!--    寮圭獥鎻愰啋    -->
-        <el-dialog
-            title="娓╅Θ鎻愮ず"
-            :modal="false"
-            :close-on-click-modal="false"
-            :show-close="false"
-            :visible.sync="centerDialogVisible"
-            width="50%"
-            center>
-            <div class="fuwenben" style="font-size: 12px">
-                    灏婃暚鐨勫鎴凤細
-
-                棣栧厛鎰熻阿鎮ㄥ浜庢垜浠殑淇′换涓庢敮鎸侊紝鎴戜滑寰堣崳骞告垚涓鸿吹鍙哥殑淇濋櫓鍜ㄨ鏈嶅姟鍟嗭紒
-
-                閴翠簬杩戞湡鍑虹幇涓埆瀹㈡埛瀛樺湪锛氬綋澶╂姇淇濆綋澶╁嚭闄╋紙鍗冲厛鍑哄伐浼ゆ垨鎰忓銆佸啀杩涜鎶曚繚鎿嶄綔锛夌殑涓埆璇堥獥淇濋櫓閲戠殑妗堜緥锛岄敊璇娇鐢ㄢ�滃嵆鏃剁敓鏁堚�濇潯娆俱�傞拡瀵规绉嶆儏鍐垫湰鍏徃閮戦噸鍛婄煡鍚勪綅瀹㈡埛:
-
-                1.璇堥獥淇濋櫓閲戠殑琛屼负灞炰簬杩濇硶琛屼负,涓�鏃﹀彂鐜�,鏈叕鍙稿皢鎻愪氦鍏畨鏈哄叧澶勭悊骞朵繚鐣欒拷绌舵硶寰嬭矗浠伙紱
-
-                2.涓轰簡椤哄埄鐞嗚禂缁撴,鎸夌収淇濋櫓鍏徃鐨勭悊璧斿鏌ヨ姹�,褰撳ぉ鎶曚繚褰撳ぉ鍑洪櫓闇�瑕佹彁渚涘嚭闄╃洃鎺ц棰戞垨鑰呰兘浣愯瘉鍏蜂綋鏃堕棿鐐圭殑浠讳綍璇佹嵁锛�
-
-                3.璇锋偍娣卞埢鐞嗚В淇濋櫓涓�滃瀹炲憡鐭モ�濈殑鎶曚繚浜轰箟鍔★紝鎴戜滑鑷村姏浜庝负鎮ㄨ浆绉荤敤宸ラ闄╁拰娉曞緥椋庨櫓銆備絾杩欎竴鍒囩殑鍓嶆彁鏄細鍚堣鍚堟硶鍚堢悊銆�
-
-                闄勪欢涓�锛�
-
-                銆婁腑鍗庝汉姘戝叡鍜屽浗鍒戞硶銆嬬涓�鐧句節鍗佸叓鏉� 銆愪繚闄╄瘓楠楃姜銆戞湁涓嬪垪鎯呭舰涔嬩竴锛岃繘琛屼繚闄╄瘓楠楁椿鍔紝鏁伴杈冨ぇ鐨勶紝澶勪簲骞翠互涓嬫湁鏈熷緬鍒戞垨鑰呮嫎褰癸紝 骞跺涓�涓囧厓浠ヤ笂鍗佷竾鍏冧互涓嬬綒閲戯紱鏁伴宸ㄥぇ鎴栬�呮湁鍏朵粬涓ラ噸鎯呰妭鐨勶紝澶勪簲骞翠互涓婂崄骞翠互涓嬫湁鏈熷緬鍒戯紝骞跺浜屼竾鍏冧互涓婁簩鍗佷竾鍏冧互涓嬬綒閲戯紱鏁伴鐗瑰埆宸ㄥぇ鎴栬�呮湁鍏朵粬鐗瑰埆涓ラ噸鎯呰妭鐨勶紝澶勫崄骞翠互涓婃湁鏈熷緬 鍒戯紝骞跺浜屼竾鍏冧互涓婁簩鍗佷竾鍏冧互涓嬬綒閲戞垨鑰呮病鏀惰储浜э細
-
-                锛堜竴锛夋姇淇濅汉鏁呮剰铏氭瀯淇濋櫓鏍囩殑锛岄獥鍙栦繚闄╅噾鐨勶紱
-
-                锛堜簩锛夋姇淇濅汉銆佽淇濋櫓浜烘垨鑰呭彈鐩婁汉瀵瑰彂鐢熺殑淇濋櫓浜嬫晠缂栭�犺櫄鍋囩殑鍘熷洜鎴栬�呭じ澶ф崯澶辩殑绋嬪害锛岄獥鍙栦繚闄╅噾鐨勶紱
-
-                锛堜笁锛夋姇淇濅汉銆佽淇濋櫓浜烘垨鑰呭彈鐩婁汉缂栭�犳湭鏇惧彂鐢熺殑淇濋櫓浜嬫晠锛岄獥鍙栦繚闄╅噾鐨勶紱
-
-                锛堝洓锛夋姇淇濅汉銆佽淇濋櫓浜烘晠鎰忛�犳垚璐骇鎹熷け鐨勪繚闄╀簨鏁咃紝楠楀彇淇濋櫓閲戠殑锛�
-
-                锛堜簲锛夋姇淇濅汉銆佸彈鐩婁汉鏁呮剰閫犳垚琚繚闄╀汉姝讳骸銆佷激娈嬫垨鑰呯柧鐥咃紝楠楀彇淇濋櫓閲戠殑銆�
-
-                鏈夊墠娆剧鍥涢」銆佺浜旈」鎵�鍒楄涓猴紝鍚屾椂鏋勬垚鍏朵粬鐘姜鐨勶紝渚濈収鏁扮姜骞剁綒鐨勮瀹氬缃氥�� 鍗曚綅鐘涓�娆剧姜鐨勶紝瀵瑰崟浣嶅垽澶勭綒閲戯紝骞跺鍏剁洿鎺ヨ礋璐g殑涓荤浜哄憳鍜� 鍏朵粬鐩存帴璐d换浜哄憳锛屽浜斿勾浠ヤ笅鏈夋湡寰掑垜鎴栬�呮嫎褰癸紱鏁伴宸ㄥぇ鎴栬�呮湁 鍏朵粬涓ラ噸鎯呰妭鐨勶紝澶勪簲骞翠互涓婂崄骞翠互涓嬫湁鏈熷緬鍒戯紱鏁伴鐗瑰埆宸ㄥぇ鎴栬�� 鏈夊叾浠栫壒鍒弗閲嶆儏鑺傜殑锛屽鍗佸勾浠ヤ笂鏈夋湡寰掑垜銆� 淇濋櫓浜嬫晠鐨勯壌瀹氫汉銆佽瘉鏄庝汉銆佽储浜ц瘎浼颁汉鏁呮剰鎻愪緵铏氬亣鐨勮瘉鏄庢枃浠讹紝涓轰粬浜鸿瘓楠楁彁渚涙潯浠剁殑锛屼互淇濋櫓璇堥獥鐨勫叡鐘澶勩��
-
-                闄勪欢浜岋細
-
-                銆婁腑鍗庝汉姘戝叡鍜屽浗淇濋櫓娉曘�嬬浜屽崄涓冩潯 鏈彂鐢熶繚闄╀簨鏁咃紝琚繚闄╀汉鎴栬�呭彈鐩婁汉璋庣О鍙戠敓浜嗕繚闄╀簨鏁咃紝鍚戜繚闄╀汉鎻愬嚭璧斿伩鎴栬�呯粰浠樹繚闄╅噾璇锋眰鐨勶紝淇濋櫓浜烘湁鏉冭В闄ゅ悎鍚岋紝骞朵笉閫�杩樹繚闄╄垂銆�
-
-                鎶曚繚浜恒�佽淇濋櫓浜烘晠鎰忓埗閫犱繚闄╀簨鏁呯殑锛屼繚闄╀汉鏈夋潈瑙i櫎鍚堝悓锛屼笉鎵挎媴璧斿伩鎴栬�呯粰浠樹繚闄╅噾鐨勮矗浠伙紱闄ゆ湰娉曠鍥涘崄涓夋潯瑙勫畾澶栵紝涓嶉��杩樹繚闄╄垂銆�
-
-                淇濋櫓浜嬫晠鍙戠敓鍚庯紝鎶曚繚浜恒�佽淇濋櫓浜烘垨鑰呭彈鐩婁汉浠ヤ吉閫犮�佸彉閫犵殑鏈夊叧璇佹槑銆佽祫鏂欐垨鑰呭叾浠栬瘉鎹紝缂栭�犺櫄鍋囩殑浜嬫晠鍘熷洜鎴栬�呭じ澶ф崯澶辩▼搴︾殑锛屼繚闄╀汉瀵瑰叾铏氭姤鐨勯儴鍒嗕笉鎵挎媴璧斿伩鎴栬�呯粰浠樹繚闄╅噾鐨勮矗浠汇��
-
-                鎶曚繚浜恒�佽淇濋櫓浜烘垨鑰呭彈鐩婁汉鏈夊墠涓夋瑙勫畾琛屼负涔嬩竴锛岃嚧浣夸繚闄� 浜烘敮浠樹繚闄╅噾鎴栬�呮敮鍑鸿垂鐢ㄧ殑锛屽簲褰撴挙閿�鎴栬�呰禂鍋裤��
             </div>
-            <span slot="footer" class="dialog-footer">
-                <el-button type="primary" @click="centerDialogVisible = false">鎴戝凡鐭ユ檽</el-button>
-            </span>
-        </el-dialog>
-        <!--    閫夋嫨淇濋櫓鏂规    -->
-        <selectSolutions ref="selectSolutions" @success="getVal" />
+            <el-form :model="form" :rules="rules" ref="form" label-width="130px" class="demo-ruleForm">
+                <template v-if="i === 0">
+                    <div class="box_desc">
+                        <div class="box_desc_head">
+                            <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" style="margin: 0;">
+                                <el-form-item label="鍑洪櫓浜�" prop="memberId">
+                                    <el-select v-model="form.memberId" filterable @change="getSolutions" placeholder="璇烽�夋嫨">
+                                        <el-option
+                                            v-for="item in user"
+                                            :key="item.id"
+                                            :label="item.name + ' - ' + item.idcardNo"
+                                            :value="item.id">
+                                        </el-option>
+                                    </el-select>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row" style="margin: 0;">
+                                <el-form-item label="璇佷欢鍙风爜" prop="idcardNo">
+                                    <el-input v-model="form.idcardNo" disabled></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_ZW"></div>
+                        </div>
+                    </div>
+                    <div class="box_desc">
+                        <div class="box_desc_head" v-if="solutionList.length > 0">
+                            <div class="box_desc_title">
+                                <span class="box_desc_title_val">淇濋櫓鏂规</span>
+                            </div>
+                        </div>
+                        <div class="box_desc_f" v-if="solutionList.length > 0">
+                            <div class="box_desc_fa" v-for="(item, index) in solutionList" :key="index">
+                                <div class="box_desc_fa_title">
+                                    <span @click="jumpSolutionDetail(item.applyId, item.solutionType)">{{item.solutionName}}</span>
+                                    <el-checkbox v-model="item.active" @change="changeSolution($event, index)"></el-checkbox>
+                                </div>
+                                <div class="box_desc_fa_row">淇濆崟鍙凤細{{item.applyCode}}</div>
+                                <div class="box_desc_fa_row">淇濋殰鏈熼檺锛歿{item.parentStartTime}}锝瀧{item.parentEndTime}}</div>
+                                <div class="box_desc_fa_row">鎶曚繚鍗曚綅锛歿{item.companyName}}</div>
+                                <div class="box_desc_fa_row">娲鹃仯鍗曚綅锛歿{item.duName}}</div>
+                                <div class="box_desc_fa_row">鎵�灞炲伐绉嶏細{{item.workTypeName}}</div>
+                            </div>
+                            <div style="width: 32%; height: 0;"></div>
+                        </div>
+                        <div class="box_desc_head">
+                            <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">
+                                <el-form-item label="鍑洪櫓鏃堕棿" prop="happenTime">
+                                    <el-date-picker
+                                        v-model="form.happenTime"
+                                        type="datetime"
+                                        :disabled="!form.insuranceApplyId"
+                                        :picker-options="pickerOptions"
+                                        value-format="yyyy-MM-dd HH:mm:ss"
+                                        placeholder="閫夋嫨鏃ユ湡">
+                                    </el-date-picker>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="灏辫瘖鍖荤枟鏈烘瀯" prop="hospital">
+                                    <el-input v-model="form.hospital" placeholder="璇疯緭鍏�"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鍑洪櫓鍦板尯" prop="areaId">
+                                    <div style="width: 100%; display: flex; align-items: center;">
+                                        <el-cascader
+                                            v-model="form.area"
+                                            :options="area"
+                                            ref="cascader"
+                                            @change="changeArea"
+                                            :props="{ label: 'name', children: 'childAreasList', value: 'id' }"/>
+                                        <el-input v-model="form.address" placeholder="璇疯緭鍏ヨ缁嗗湴鍧�"></el-input>
+                                    </div>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row" style="width: 100%;">
+                                <el-form-item label="鍑洪櫓缁忚繃" prop="content">
+                                    <el-input v-model="form.content" placeholder="璇疯緭鍏�" type="textarea" :autosize="{ minRows: 2, maxRows: 6}"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row" style="width: 100%;">
+                                <el-form-item label="浜嬫晠绫诲瀷" prop="type">
+                                    <el-radio-group v-model="form.type">
+                                        <el-radio :label="0">宸ヤ綔鏈熼棿鍙椾激</el-radio>
+                                        <el-radio :label="1">涓婁笅鐝�斾腑鍙椾激</el-radio>
+                                        <el-radio :label="2">闈炲伐浣滄椂闂村彈浼�</el-radio>
+                                        <el-radio :label="3">鎰忓鍙椾激</el-radio>
+                                    </el-radio-group>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row" style="width: 100%;">
+                                <el-form-item label="灏辫瘖绫诲瀷" prop="inHospital">
+                                    <el-radio-group v-model="form.inHospital">
+                                        <el-radio :label="0">浣忛櫌</el-radio>
+                                        <el-radio :label="1">闂ㄨ瘖</el-radio>
+                                    </el-radio-group>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鏄惁浼ゆ畫" prop="hurtType">
+                                    <el-radio-group v-model="form.hurtType">
+                                        <el-radio :label="0">鏄�</el-radio>
+                                        <el-radio :label="1">鍚�</el-radio>
+                                        <el-radio :label="2">寰呯‘瀹�</el-radio>
+                                    </el-radio-group>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row" style="width: 100%;">
+                                <el-form-item label="鏄惁鏈夊尰淇�" prop="medicalInsurance">
+                                    <el-radio-group v-model="form.medicalInsurance">
+                                        <el-radio :label="0">鏄�</el-radio>
+                                        <el-radio :label="1">鍚�</el-radio>
+                                    </el-radio-group>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_img">
+                                <span>浜嬫晠瑙嗛/鐓х墖锛�</span>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.reportFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 6)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 6)" />
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                    <div class="box_desc">
+                        <div class="box_desc_head">
+                            <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">
+                                <el-form-item label="鎶ユ浜哄鍚�" prop="informantName">
+                                    <el-input v-model="form.informantName" placeholder="璇疯緭鍏�"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鎶ユ浜鸿仈绯绘柟寮�" prop="informantPhone">
+                                    <el-input v-model="form.informantPhone" placeholder="璇疯緭鍏�"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_ZW"></div>
+                        </div>
+                    </div>
+                </template>
+                <template v-if="i === 1">
+                    <div class="box_info">
+                        <i class="el-icon-info"></i>
+                        <div class="box_info_title">
+                            <span>閲嶈鎻愮ず</span>
+                            <span>鈥� 涓嶅悓淇濋櫓浜у搧鐞嗚禂鏉愭枡鏈夋墍涓嶅悓</span>
+                            <span>鈥� 涓婁紶鏉愭枡鍓嶆敞鎰忎娇鐢ㄧ洊绔犳枃浠舵ā鐗堝拰鏌ョ湅鐞嗚禂鏉愭枡涓�瑙堣〃</span>
+                        </div>
+                    </div>
+                    <div class="box_item">
+                        <div class="box_item_title">
+                            <span>鐞嗚禂鏉愭枡</span>
+                        </div>
+                        <div class="box_item_list">
+                            <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;">
+                                <div class="box_item_list_row_title">
+                                    <div class="x"></div>
+                                    <span>鍛樺伐鍏崇郴璇佹槑鏉愭枡</span>
+                                </div>
+                                <div class="box_item_list_row_info">
+                                    <div class="label">鏂囦欢涓婁紶璇存槑锛�</div>
+                                    <div class="content">闇�涓婁紶鐨勬枃浠讹細鍔冲姩鍚堝悓澶嶅嵃浠躲�佸伐璧勬祦姘淬�佽�冨嫟璁板綍銆佽韩浠借瘉姝e弽闈€�侊紱</div>
+                                </div>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.relationFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 1)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 1)" />
+                                </div>
+                            </div>
+                            <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;">
+                                <div class="box_item_list_row_title">
+                                    <div class="x"></div>
+                                    <span>闂ㄨ瘖</span>
+                                </div>
+                                <div class="box_item_list_row_info">
+                                    <div class="label">鏂囦欢涓婁紶璇存槑锛�</div>
+                                    <div class="content">闇�涓婁紶鐨勬枃浠讹細鍔冲姩鍚堝悓澶嶅嵃浠躲�佸伐璧勬祦姘淬�佽�冨嫟璁板綍銆佽韩浠借瘉姝e弽闈€�侊紱</div>
+                                </div>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.outpatientFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 2)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 2)" />
+                                </div>
+                            </div>
+                            <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;">
+                                <div class="box_item_list_row_title">
+                                    <div class="x"></div>
+                                    <span>浣忛櫌</span>
+                                </div>
+                                <div class="box_item_list_row_info">
+                                    <div class="label">鏂囦欢涓婁紶璇存槑锛�</div>
+                                    <div class="content">闇�涓婁紶鐨勬枃浠讹細鍔冲姩鍚堝悓澶嶅嵃浠躲�佸伐璧勬祦姘淬�佽�冨嫟璁板綍銆佽韩浠借瘉姝e弽闈€�侊紱</div>
+                                </div>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.hospitalFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 3)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 3)" />
+                                </div>
+                            </div>
+                            <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;">
+                                <div class="box_item_list_row_title">
+                                    <div class="x"></div>
+                                    <span>浼ゆ畫</span>
+                                </div>
+                                <div class="box_item_list_row_info">
+                                    <div class="label">鏂囦欢涓婁紶璇存槑锛�</div>
+                                    <div class="content">闇�涓婁紶鐨勬枃浠讹細鍔冲姩鍚堝悓澶嶅嵃浠躲�佸伐璧勬祦姘淬�佽�冨嫟璁板綍銆佽韩浠借瘉姝e弽闈€�侊紱</div>
+                                </div>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.disabilityFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 4)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 4)" />
+                                </div>
+                            </div>
+                            <div class="box_item_list_row" style="width: 100%; margin-bottom: 30px;">
+                                <div class="box_item_list_row_title">
+                                    <div class="x"></div>
+                                    <span>鍏朵粬</span>
+                                </div>
+                                <div class="box_item_list_row_info">
+                                    <div class="label">鏂囦欢涓婁紶璇存槑锛�</div>
+                                    <div class="content">闇�涓婁紶鐨勬枃浠讹細鍔冲姩鍚堝悓澶嶅嵃浠躲�佸伐璧勬祦姘淬�佽�冨嫟璁板綍銆佽韩浠借瘉姝e弽闈€�侊紱</div>
+                                </div>
+                                <div class="box_item_list_row_l">
+                                    <div class="desc_data_list_item" v-for="(item, index) in form.otherFileList" :key="index">
+                                        <div class="desc_data_list_item_dele" @click="delFile(index, 5)">鍒犻櫎</div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 0">
+                                            <img :src="item.fileurlFull" alt="img"/>
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 1">
+                                            <video controls :src="item.fileurlFull" />
+                                        </div>
+                                        <div class="desc_data_list_item_img" v-if="item.type === 2">
+                                            <i class="el-icon-folder-opened"></i>
+                                        </div>
+                                        <div class="desc_data_list_item_info">
+                                            <span>{{ item.name }}</span>
+                                        </div>
+                                    </div>
+                                    <upload width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @success="claimsUploadFile($event, 5)" />
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                    <div class="box_desc">
+                        <div class="box_desc_head">
+                            <div class="box_desc_title">
+                                <span class="box_desc_title_val">鏀舵淇℃伅</span>
+                                <div class="box_desc_title_tips1">
+                                    <i class="el-icon-info"></i>
+                                    <span class="box_desc_title_tips_text">娉ㄦ剰鏀舵閾惰杈撳叆寮�鎴锋敮琛屽悕绉�</span>
+                                </div>
+                            </div>
+                        </div>
+                        <div class="box_desc_list">
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鏀舵閾惰" prop="receiveBank">
+                                    <el-input v-model="form.receiveBank" placeholder="璇疯緭鍏ユ敹娆鹃摱琛屾敮琛屽悕绉�"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鏀舵浜�" prop="receiveUserName">
+                                    <el-input v-model="form.receiveUserName" placeholder="璇疯緭鍏ュ紑鎴峰鍚�"></el-input>
+                                </el-form-item>
+                            </div>
+                            <div class="box_desc_list_row">
+                                <el-form-item label="鏀舵璐﹀彿" prop="receiveAccount">
+                                    <el-input v-model="form.receiveAccount" placeholder="璇疯緭鍏ラ摱琛岃处鍙�"></el-input>
+                                </el-form-item>
+                            </div>
+                        </div>
+                    </div>
+                </template>
+                <template v-if="i === 2">
+                    <div class="box_success">
+                        <div class="box_success_icon">
+                            <i class="el-icon-check"></i>
+                        </div>
+                        <div class="box_success_title">鎻愪氦鎴愬姛</div>
+                        <div class="box_success_info">璇风瓑寰呯珛妗�</div>
+                        <div class="box_success_btns">
+                            <el-button @click="continueReporting">缁х画鎶ユ</el-button>
+                            <el-button type="primary" @click="$refs.operaSettleClaimsWindow.open('鎶ユ璇︽儏', id)">鏌ョ湅璇︽儏</el-button>
+                        </div>
+                    </div>
+                </template>
+            </el-form>
+            <div class="box_footer">
+                <div class="box_footer_btns" v-if="i === 0">
+                    <el-button type="primary" @click="confirm(0)">鏆傚瓨</el-button>
+                    <el-button type="primary" @click="next">涓嬩竴姝�</el-button>
+                </div>
+                <div class="box_footer_btns" v-if="i === 1">
+                    <el-button @click="i--">涓婁竴姝�</el-button>
+                    <el-button type="primary" @click="confirm(0)">鏆傚瓨</el-button>
+                    <el-button type="primary" @click="confirm(1)">鎻愪氦</el-button>
+                </div>
+            </div>
+        </div>
+        <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" />
+        <OperaWtbApplyShopWindow ref="OperaWtbApplyShopWindow" />
+        <!-- 璇︽儏 -->
+        <OperaSettleClaimsWindow ref="operaSettleClaimsWindow"/>
     </GlobalWindow>
 </template>
 
@@ -142,79 +410,119 @@
     import BaseOpera from '@/components/base/BaseOpera'
     import GlobalWindow from '@/components/common/GlobalWindow'
     import upload from '@/components/common/upload'
-    import selectSolutions from '@/components/enterprise/selectSolutions'
+    import { saveSettleClaims } from '@/api/business/settleRisk'
+    import { findById } from '@/api/business/settleClaims'
     import { findListByDTO } from '@/api/business/member'
     import { findList } from '@/api/business/applyChange'
-    import { findTreeList } from '@/api/system/common'
-    import { create, updateById } from '@/api/business/settleClaims'
+    import { findTreeList } from '@/api/business/knowledge'
+    import OperaWtbApplyShopWindow from '@/components/business/OperaWtbApplyShopWindow'
+    import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
+    import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow'
+    import { mapState } from 'vuex'
     export default {
         name: 'onlineReporting',
         extends: BaseOpera,
-        components: { GlobalWindow, upload, selectSolutions },
+        components: { GlobalWindow, upload, OperaSettleClaimsWindow, OperaWtbApplyShopWindow, OperaInsuranceApplyDetails },
+        computed: {
+            ...mapState(['userInfo'])
+        },
         data () {
             return {
+                i: 0,
+                id: null,
+                statusList: [
+                    {
+                        name: '濉啓鍑洪櫓淇℃伅',
+                        info: '瀹屾垚鎶ユ鍩虹淇℃伅濉啓'
+                    },
+                    {
+                        name: '涓婁紶鐞嗚禂鏉愭枡',
+                        info: '琛ュ厖闇�瑕佺悊璧旂殑鐩稿叧璧勬枡'
+                    },
+                    {
+                        name: '瀹屾垚鎶ユ',
+                        info: '鎻愪氦鎶ユ淇℃伅'
+                    }
+                ],
                 form: {
                     id: null,
-                    insuranceApplyId: '',
                     memberId: '',
-                    solutionId: '',
-                    solutionName: '',
-                    duId: '',
-                    duName: '',
-                    worktypeId: '',
-                    worktypeName: '',
+                    idcardNo: '',
+                    insuranceApplyId: '',
                     happenTime: '',
                     hospital: '',
+                    area: [],
                     areaId: '',
+                    address: '',
                     areaInfo: '',
+                    content: '',
                     type: 0,
                     inHospital: 0,
+                    hurtType: 0,
                     medicalInsurance: 0,
-                    content: '',
+                    reportFileList: [],
                     informantName: '',
                     informantPhone: '',
-                    list: [],
-                    reportFileList: []
+
+                    relationFileList: [],
+                    outpatientFileList: [],
+                    hospitalFileList: [],
+                    disabilityFileList: [],
+                    otherFileList: [],
+
+                    applyDetailId: '',
+                    solutionId: '',
+                    worktypeId: '',
+                    duId: '',
+                    receiveBank: '',
+                    receiveUserName: '',
+                    receiveAccount: ''
                 },
                 rules: {
+                    receiveAccount: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    receiveUserName: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    receiveBank: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
                     memberId: [
-                        { required: true, message: '璇烽�夋嫨鍑洪櫓浜�' }
+                        { required: true, message: '涓嶈兘涓虹┖' }
                     ],
-                    solutionId: [
-                        { required: true, message: '璇烽�夋嫨淇濋櫓鏂规' }
-                    ],
-                    duId: [
-                        { required: true, message: '璇烽�夋嫨娲鹃仯鍗曚綅' }
-                    ],
-                    worktypeId: [
-                        { required: true, message: '璇烽�夋嫨鎵�灞炲伐绉�' }
+                    idcardNo: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
                     ],
                     happenTime: [
-                        { required: true, message: '璇烽�夋嫨浜嬫晠鍙戠敓鏃堕棿' }
-                    ],
-                    type: [
-                        { required: true, message: '璇烽�夋嫨浜嬫晠绫诲瀷' }
-                    ],
-                    inHospital: [
-                        { required: true, message: '璇烽�夋嫨鏄惁浣忛櫌' }
-                    ],
-                    medicalInsurance: [
-                        { required: true, message: '璇烽�夋嫨鏄惁鏈夊尰鐤椾繚闄�' }
+                        { required: true, message: '涓嶈兘涓虹┖' }
                     ],
                     content: [
-                        { required: true, message: '璇疯緭鍏ヤ簨鏁呮弿杩�' }
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    type: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    inHospital: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    hurtType: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
+                    medicalInsurance: [
+                        { required: true, message: '涓嶈兘涓虹┖' }
                     ],
                     informantName: [
-                        { required: true, message: '璇疯緭鍏ユ姤妗堜汉濮撳悕' }
+                        { required: true, message: '涓嶈兘涓虹┖' }
                     ],
                     informantPhone: [
-                        { required: true, message: '璇疯緭鍏ユ姤妗堜汉鑱旂郴鏂瑰紡' }
-                    ]
+                        { required: true, message: '涓嶈兘涓虹┖' }
+                    ],
                 },
-                centerDialogVisible: false,
+                pickerOptions: {},
+                area: [],
                 user: [],
-                options: [],
-                area: []
+                solutionList: []
             }
         },
         created () {
@@ -224,112 +532,121 @@
             })
         },
         methods: {
-            open (title, target) {
+            open (title, id) {
                 this.title = title
-                this.visible = true
-                this.form.list = []
-                this.form.reportFileList = []
+                this.form.area = []
+                this.i = 0
+                this.solutionList = []
+                this.area = []
+                this.user = []
                 this.getUser()
-                this.getArea()
-                // 鏂板缓
-                if (target == null) {
+                this.getCityTree()
+                if (id) {
+                    findById(id)
+                        .then(res => {
+                            this.visible = true
+                            this.$nextTick(() => {
+                                for (const key in this.form) {
+                                    this.form[key] = res[key]
+                                }
+                                if (this.form.areaId) {
+                                    this.form.area = this.form.areaId.split(',').map(item => Number(item))
+                                }
+                                findList({ memberId: this.form.memberId })
+                                    .then(res1 => {
+                                        res1.forEach(item => {
+                                            if (item.id === res.applyDetailId) {
+                                                item.active = true
+                                                this.pickerOptions = {
+                                                    disabledDate(time) {
+                                                        return time.getTime() < new Date(item.parentStartTime).getTime() || time.getTime() > new Date(item.parentEndTime).getTime()
+                                                    }
+                                                };
+                                            } else {
+                                                item.active = false
+                                            }
+                                        })
+                                        this.solutionList = res1
+                                    })
+                            })
+                        })
+                } else {
+                    this.visible = true
                     this.$nextTick(() => {
                         this.$refs.form.resetFields()
-                        this.form[this.configData['field.id']] = null
-                        setTimeout(() => {
-                            this.centerDialogVisible = true
-                        }, 300)
+                        this.form.informantName = this.userInfo.realname
                     })
-                    return
                 }
-                // 缂栬緫
-                this.$nextTick(() => {
-                    for (const key in this.form) {
-                        this.form[key] = target[key]
-                    }
-                })
             },
-            handleTreeData(data) {
-                for (var i = 0; i < data.length; i++) {
-                    if (data[i].childAreasList.length < 1) {
-                        data[i].childAreasList = undefined; // 鐪嬪悗绔繑鐨勬槸child瀛楁杩樻槸children瀛楁锛岃嚜琛屾敼鍙�
-                    } else {
-                        this.handleTreeData(data[i].childAreasList) // children鑻ヤ笉涓虹┖鏁扮粍锛屽垯缁х画 閫掑綊璋冪敤 鏈柟娉�
-                    }
+            continueReporting() {
+                this.i = 0
+                this.id = null
+                this.pickerOptions = {}
+                this.solutionList = []
+                this.form = {
+                    id: null,
+                    memberId: '',
+                    idcardNo: '',
+                    insuranceApplyId: '',
+                    happenTime: '',
+                    hospital: '',
+                    area: [],
+                    areaId: '',
+                    address: '',
+                    areaInfo: '',
+                    content: '',
+                    type: 0,
+                    inHospital: 0,
+                    hurtType: 0,
+                    medicalInsurance: 0,
+                    reportFileList: [],
+                    informantName: '',
+                    informantPhone: '',
+
+                    relationFileList: [],
+                    outpatientFileList: [],
+                    hospitalFileList: [],
+                    disabilityFileList: [],
+                    otherFileList: [],
+
+                    applyDetailId: '',
+                    solutionId: '',
+                    worktypeId: '',
+                    duId: '',
+                    receiveBank: '',
+                    receiveUserName: '',
+                    receiveAccount: ''
                 }
-                return data;
             },
-            __confirmEdit () {
-                this.$refs.form.validate((valid) => {
-                    if (!valid) {
-                        return
-                    }
-                    // 璋冪敤鏂板缓鎺ュ彛
-                    this.isWorking = true
-                    let obj = JSON.parse(JSON.stringify(this.form))
-                    obj.areaId = obj.areaId.join(',')
-                    updateById(obj)
-                        .then(() => {
-                            this.visible = false
-                            this.$tip.apiSuccess('淇敼鎴愬姛')
-                            this.$emit('success')
-                        })
-                        .catch(e => {
-                            this.$tip.apiFailed(e)
-                        })
-                        .finally(() => {
-                            this.isWorking = false
-                        })
-                })
-            },
-            __confirmCreate () {
-                this.$refs.form.validate((valid) => {
-                    if (!valid) {
-                        return
-                    }
-                    // 璋冪敤鏂板缓鎺ュ彛
-                    this.isWorking = true
-                    let obj = JSON.parse(JSON.stringify(this.form))
-                    if (obj.areaId) {
-                        obj.areaId = obj.areaId.join(',')
-                    }
-                    create(obj)
-                        .then(() => {
-                            this.visible = false
-                            this.$tip.apiSuccess('鏂板缓鎴愬姛')
-                            this.$emit('success')
-                        })
-                        .catch(e => {
-                            this.$tip.apiFailed(e)
-                        })
-                        .finally(() => {
-                            this.isWorking = false
-                        })
-                })
-            },
-            // 鏌ヨ鍖哄煙鏁版嵁
-            getArea() {
-                findTreeList({})
-                    .then(res => {
-                        this.area = this.handleTreeData(res)
-                    })
-            },
-            getVal(e) {
-                console.log(e)
-                this.form.insuranceApplyId = e.applyId
-                this.form.solutionId = e.solutionId
-                this.form.solutionName = e.solutionName
-                this.form.duId = e.duId
-                this.form.duName = e.duName
-                this.form.worktypeId = e.worktypeId
-                this.form.worktypeName = e.worktypeName
-            },
-            openS() {
-                if (!this.form.memberId) {
-                    this.$message.warning('璇峰厛閫夋嫨鍑洪櫓浜�')
-                    return
+            changeArea(e) {
+                if (!e && e.length === 0) {
+                    this.form.areaId = ''
+                    this.form.areaInfo = ''
+                } else {
+                    this.form.areaId = e.join(',')
+                    this.form.areaInfo = this.$refs.cascader.getCheckedNodes()[0].pathLabels.join(',')
                 }
-                this.$refs.selectSolutions.open('閫夋嫨淇濋櫓鏂规', this.form.memberId)
+            },
+            async getCityTree() {
+                this.area = await findTreeList({})
+                this.setSecondLevelChildrenToNullPrecise(this.area);
+            },
+            setSecondLevelChildrenToNullPrecise(data, level = 1) {
+                if (!data || !data.length) return;
+
+                data.forEach(item => {
+                    if (item.childAreasList && item.childAreasList.length) {
+                        if (level === 2) {
+                            // 杩欐槸绗竴绾ц妭鐐癸紝澶勭悊鍏跺瓙鑺傜偣锛堢浜岀骇锛�
+                            item.childAreasList.forEach(child => {
+                                child.childAreasList = null;
+                            });
+                        } else {
+                            // 缁х画閫掑綊澶勭悊鏇存繁灞傜骇
+                            this.setSecondLevelChildrenToNullPrecise(item.childAreasList, level + 1);
+                        }
+                    }
+                });
             },
             getUser() {
                 findListByDTO({})
@@ -337,62 +654,687 @@
                         this.user = res
                     })
             },
-            getSolutions(id) {
-                findList({ memberId: id })
-                    .then(res => {
-                        this.form.solutionId = ''
-                        this.form.worktypeId = ''
-                        this.form.duId = ''
-                        this.options = res
-                    })
-            },
-            getTreeName(list, id){
-                let _this = this
-                for (let i = 0; i < list.length; i++) {
-                    let a = list[i]
-                    if (a.id === id) {
-                        return a.name
-                    } else {
-                        if (a.childAreasList && a.childAreasList.length > 0) {
-                            let res = _this.getTreeName(a.childAreasList, id)
-                            if (res) {
-                                return res
-                            }
-                        }
-                    }
+            delFile(index, type) {
+                if (type === 1) {
+                    this.form.relationFileList.splice(index, 1)
+                } else if (type === 2) {
+                    this.form.outpatientFileList.splice(index, 1)
+                } else if (type === 3) {
+                    this.form.hospitalFileList.splice(index, 1)
+                } else if (type === 4) {
+                    this.form.disabilityFileList.splice(index, 1)
+                } else if (type === 5) {
+                    this.form.otherFileList.splice(index, 1)
+                } else if (type === 6) {
+                    this.form.reportFileList.splice(index, 1)
                 }
             },
-            handleChange(value) {
-                let info = ''
-                value.forEach(item => {
-                    info += this.getTreeName(this.area, item)
-                })
-                this.form.areaInfo = info
+            claimsUploadFile(file, type) {
+                file.fileurl = file.imgaddr
+                file.name = file.originname
+                file.fileurlFull = file.url
+                if (type === 1) {
+                    this.form.relationFileList.push(file)
+                } else if (type === 2) {
+                    this.form.outpatientFileList.push(file)
+                } else if (type === 3) {
+                    this.form.hospitalFileList.push(file)
+                } else if (type === 4) {
+                    this.form.disabilityFileList.push(file)
+                } else if (type === 5) {
+                    this.form.otherFileList.push(file)
+                } else if (type === 6) {
+                    this.form.reportFileList.push(file)
+                }
             },
-            getData(data) {
-                this.form.list.push(data)
-                this.form.reportFileList.push({
-                    fileurl: data.imgaddr,
-                    name: data.originname,
-                    type: data.type
-                })
+            getSolutions(id) {
+                let row = this.user.filter(item => item.id === id)
+                this.form.idcardNo = row[0].idcardNo
+                findList({ memberId: id })
+                    .then(res => {
+                        this.form.insuranceApplyId = ''
+                        res.forEach(item => {
+                            item.active = false
+                        })
+                        this.solutionList = res
+                    })
             },
-            deleFile(index) {
-                this.form.reportFileList.splice(index, 1)
-                this.form.list.splice(index, 1)
+            changeSolution(e, i) {
+                this.solutionList.forEach((item, index) => {
+                    item.active = i === index
+                })
+                let obj = this.solutionList.filter(item => item.active)[0]
+                this.form.insuranceApplyId = obj.applyId
+                this.form.solutionId = obj.solutionId
+                this.form.worktypeId = obj.worktypeId
+                this.form.duId = obj.duId
+                this.form.applyDetailId = obj.id
+                this.form.happenTime = ''
+                this.pickerOptions = {
+                    disabledDate(time) {
+                        return time.getTime() < new Date(obj.parentStartTime).getTime() || time.getTime() > new Date(obj.parentEndTime).getTime()
+                    }
+                };
+            },
+            // 鏌ョ湅淇濆崟璇︽儏
+            jumpSolutionDetail(id, solutionType) {
+                if (solutionType === 1) {
+                    this.$refs.OperaWtbApplyShopWindow.open('濮旀墭鎶曚繚璇︽儏', { id: id })
+                } else {
+                    this.$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: id })
+                }
+            },
+            confirm(saveType) {
+                this.isWorking = true
+                saveSettleClaims({...this.form, saveType})
+                    .then(res => {
+                        console.log(res)
+                        if (saveType === 0) {
+                            this.visible = false
+                        } else {
+                            this.id = res
+                            this.i = 2
+                        }
+                        this.$emit('success')
+                    })
+                    .finally(() => {
+                        this.isWorking = false
+                    })
+            },
+            next() {
+                this.$refs.form.validate((valid) => {
+                    if (!valid) return
+                    this.i++
+                    // this.isWorking = true
+                    // createSys(obj)
+                    //     .then(() => {
+                    //         this.visible = false
+                    //         this.$emit('success')
+                    //     })
+                    //     .catch(e => {
+                    //         this.$tip.apiFailed(e)
+                    //     })
+                    //     .finally(() => {
+                    //         this.isWorking = false
+                    //     })
+                })
             }
         }
     }
 </script>
 
 <style lang="scss" scoped>
-    .fuwenben {
+    .box {
         width: 100%;
-        height: 400px;
-        font-size: 16px;
-        color: black;
-        overflow-y: scroll;
-        word-break: break-all;
-        overflow-wrap: break-word;
+        .box_info {
+            width: 100%;
+            padding: 15px 21px;
+            box-sizing: border-box;
+            display: flex;
+            align-items: start;
+            margin-bottom: 30px;
+            background-color: rgba(240,246,254,1);
+            i {
+                color: #165DFF;
+                font-size: 18px;
+                margin-right: 8px;
+            }
+            .box_info_title {
+                width: 100%;
+                display: flex;
+                flex-direction: column;
+                span {
+                    &:nth-child(1) {
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                    }
+                    &:nth-child(2) {
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                        margin-top: 12px;
+                    }
+                    &:nth-child(3) {
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                        margin-top: 12px;
+                    }
+                }
+            }
+        }
+        .box_item {
+            width: 100%;
+            margin-bottom: 30px;
+            .box_item_title {
+                width: 100%;
+                margin-bottom: 15px;
+                span {
+                    color: rgba(16,16,16,1);
+                    font-size: 16px;
+                    margin-right: 10px;
+                }
+            }
+            .box_item_desc {
+                width: 100%;
+                padding-left: 50px;
+                box-sizing: border-box;
+                color: rgba(16,16,16,1);
+                font-size: 14px;
+                margin-bottom: 15px;
+            }
+            .price {
+                width: 100%;
+                height: 62px;
+                display: flex;
+                align-items: center;
+                justify-content: space-between;
+                border-radius: 4px;
+                background-color: rgba(239,239,239,1);
+                margin-top: 50px;
+                padding: 0 20px;
+                box-sizing: border-box;
+                span {
+                    &:nth-child(1) {
+                        color: rgba(16,16,16,1);
+                        font-size: 18px;
+                    }
+                    &:nth-child(2) {
+                        color: rgba(255,149,2,1);
+                        font-size: 22px;
+                    }
+                }
+            }
+            .button {
+                width: 100%;
+                display: flex;
+                align-items: center;
+                justify-content: end;
+                margin-top: 15px;
+                .button_submit {
+                    width: 108px;
+                    height: 38px;
+                    line-height: 38px;
+                    text-align: center;
+                    border-radius: 4px;
+                    color: rgba(255,255,255,1);
+                    font-size: 14px;
+                    background-color: rgba(31,99,255,1);
+                }
+            }
+            .box_item_list {
+                width: 100%;
+                display: flex;
+                align-items: center;
+                flex-wrap: wrap;
+                justify-content: space-between;
+                .box_item_list_rowx {
+                    width: 33.3%;
+                    height: 0;
+                }
+                .box_item_list_row {
+                    width: 33.3%;
+                    .box_item_list_row_l {
+                        width: 100%;
+                        display: flex;
+                        align-items: center;
+                        flex-wrap: wrap;
+                        .desc_data_list_item {
+                            width: 100px;
+                            height: 100px;
+                            padding: 10px;
+                            box-sizing: border-box;
+                            border: 1px solid #e2e2e2;
+                            display: flex;
+                            flex-direction: column;
+                            align-items: center;
+                            justify-content: center;
+                            position: relative;
+                            margin-bottom: 10px;
+                            margin-left: 10px;
+                            &:first-child {
+                                margin-left: 0 !important;
+                            }
+                            .desc_data_list_item_dele {
+                                position: absolute;
+                                top: 5px;
+                                right: 5px;
+                                font-size: 14px;
+                                cursor: pointer;
+                                color: rgba(249, 86, 1, 0.996078431372549);
+                            }
+                            .desc_data_list_item_upload {
+                                flex: 1;
+                                height: 80px;
+                                display: flex;
+                                align-items: center;
+                                justify-content: center;
+                            }
+                            .desc_data_list_item_img {
+                                flex-shrink: 0;
+                                width: 70px;
+                                height: 70px;
+                                display: flex;
+                                align-items: center;
+                                justify-content: center;
+                                overflow: hidden;
+                                margin-right: 10px;
+                                .el-icon-folder-opened {
+                                    font-size: 34px;
+                                    color: #666666;
+                                }
+                                .el-icon-plus {
+                                    font-size: 26px;
+                                    color: #ffffff;
+                                }
+                                img {
+                                    width: 100%;
+                                }
+                                video {
+                                    width: 100%;
+                                }
+                            }
+                            .desc_data_list_item_info {
+                                width: 100%;
+                                display: flex;
+                                flex-direction: column;
+                                justify-content: space-between;
+                                word-break: break-all;
+                                span {
+                                    width: 100%;
+                                    white-space: nowrap;
+                                    overflow: hidden;
+                                    text-overflow: ellipsis;
+                                    font-size: 14px;
+                                    color: black;
+                                }
+                            }
+                        }
+                    }
+                    .box_item_list_row_info {
+                        width: 100%;
+                        height: 46px;
+                        border-radius: 4px;
+                        padding: 0 11px;
+                        box-sizing: border-box;
+                        margin-bottom: 20px;
+                        background-color: rgba(239,239,239,1);
+                        border: 1px solid rgba(187,187,187,1);
+                        display: flex;
+                        align-items: center;
+                        .label {
+                            flex-shrink: 0;
+                            color: rgba(16,16,16,1);
+                            font-size: 14px;
+                        }
+                        .content {
+                            flex: 1;
+                        }
+                    }
+                    .box_item_list_row_title {
+                        width: 100%;
+                        display: flex;
+                        align-items: center;
+                        margin-bottom: 20px;
+                        .x {
+                            width: 1px;
+                            height: 14px;
+                            background-color: rgba(255,255,255,1);
+                            border: 4px solid rgba(22,93,255,1);
+                            margin-right: 10px;
+                        }
+                        span {
+                            color: rgba(16,16,16,1);
+                            font-size: 14px;
+                        }
+                    }
+                }
+            }
+        }
+        .box_footer {
+            width: 100%;
+            margin-top: 30px;
+            .box_footer_btns {
+                width: 100%;
+                display: flex;
+                align-items: center;
+                justify-content: end;
+            }
+        }
+        .box_status {
+            width: 100%;
+            padding: 30px 0;
+            box-sizing: border-box;
+            display: flex;
+            align-items: start;
+            justify-content: center;
+            margin-bottom: 30px;
+            .box_status_row {
+                width: 250px;
+                display: flex;
+                align-items: start;
+                .statusColor1 {
+                    background-color: #E8F4FF !important;
+                }
+                .statusColor2 {
+                    background-color: #165DFF !important;
+                }
+                .statusColor3 {
+                    span {
+                        color: #ffffff !important;
+                    }
+                }
+                .box_status_row_icon {
+                    width: 28px;
+                    height: 28px;
+                    background-color: rgba(242,243,245,1);
+                    display: flex;
+                    align-items: center;
+                    justify-content: center;
+                    border-radius: 50%;
+                    margin-right: 10px;
+                    span {
+                        color: rgba(78,89,105,1);
+                        font-size: 14px;
+                    }
+                    i {
+                        color: #165DFF;
+                    }
+                }
+                .box_status_row_info {
+                    display: flex;
+                    flex-direction: column;
+                    .title {
+                        color: rgba(78,89,105,1);
+                        font-size: 16px;
+                        font-weight: bold;
+                    }
+                    .info {
+                        color: rgba(154,154,154,1);
+                        font-size: 14px;
+                        margin-top: 5px;
+                    }
+                }
+            }
+        }
+        .box_success {
+            width: 100%;
+            padding: 100px 0;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            flex-direction: column;
+            .box_success_icon {
+                width: 48px;
+                height: 48px;
+                border-radius: 50%;
+                display: flex;
+                align-items: center;
+                justify-content: center;
+                background-color: rgba(232,255,234,1);
+                .el-icon-check {
+                    color: #2DC24F;
+                    font-size: 24px;
+                    font-weight: bold;
+                }
+            }
+            .box_success_title {
+                color: rgb(29,33,41);
+                font-size: 16px;
+                margin-top: 16px;
+            }
+            .box_success_info {
+                color: rgb(134,144,156);
+                font-size: 12px;
+                margin-top: 5px;
+            }
+            .box_success_btns {
+                display: flex;
+                align-items: center;
+                margin-top: 20px;
+            }
+        }
+        .box_desc {
+            width: 100%;
+            margin-bottom: 15px;
+            .box_desc_cailiao {
+                width: 100%;
+                margin-bottom: 18px;
+                .box_desc_cailiao_title {
+                    width: 100%;
+                    display: flex;
+                    align-items: center;
+                    margin-bottom: 15px;
+                    .box_desc_cailiao_title_x {
+                        width: 5px;
+                        height: 14px;
+                        background-color: #165DFF;
+                    }
+                    span {
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                        margin-left: 5px;
+                    }
+                }
+                .box_desc_cailiao_list {
+                    width: 100%;
+                    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_head {
+                width: 100%;
+                display: flex;
+                align-items: center;
+                justify-content: space-between;
+                margin-bottom: 26px;
+                .box_desc_title {
+                    display: flex;
+                    align-items: center;
+                    .box_desc_title_val {
+                        color: rgba(16,16,16,1);
+                        font-size: 18px;
+                        margin-right: 20px;
+                    }
+                    .box_desc_title_tips1 {
+                        display: flex;
+                        align-items: center;
+                        .el-icon-info {
+                            color: #FF7B74;
+                            margin-right: 8px;
+                        }
+                        .box_desc_title_tips_text {
+                            color: rgba(255,123,116,1);
+                            font-size: 14px;
+                        }
+                    }
+                    .box_desc_title_zt {
+                        height: 25px;
+                        padding: 0 15px;
+                        display: flex;
+                        align-items: center;
+                        justify-content: center;
+                        box-sizing: border-box;
+                        border-radius: 15px;
+                        background-color: rgba(239,239,239,1);
+                        color: rgba(16,16,16,1);
+                        font-size: 12px;
+                        margin-right: 20px;
+                    }
+                    .box_desc_title_tips {
+                        width: 84px;
+                        height: 25px;
+                        border-radius: 15px;
+                        display: flex;
+                        align-items: center;
+                        justify-content: center;
+                        background-color: rgba(254,226,225,1);
+                        span {
+                            color: #FF4D4F;
+                            font-size: 12px;
+                        }
+                    }
+                }
+            }
+            .box_desc_list {
+                width: 100%;
+                display: flex;
+                align-items: center;
+                justify-content: space-between;
+                flex-wrap: wrap;
+                .box_desc_list_ZW {
+                    width: 33%;
+                    height: 0;
+                }
+                .box_desc_list_row {
+                    width: 33%;
+                    color: rgba(16,16,16,1);
+                    font-size: 14px;
+                    margin-bottom: 24px;
+                }
+                .box_desc_list_img {
+                    width: 100%;
+                    display: flex;
+                    align-items: start;
+                    .box_item_list_row_l {
+                        width: 100%;
+                        display: flex;
+                        align-items: center;
+                        flex-wrap: wrap;
+                        .desc_data_list_item {
+                            width: 100px;
+                            height: 100px;
+                            padding: 10px;
+                            box-sizing: border-box;
+                            border: 1px solid #e2e2e2;
+                            display: flex;
+                            flex-direction: column;
+                            align-items: center;
+                            justify-content: center;
+                            position: relative;
+                            margin-bottom: 10px;
+                            margin-left: 10px;
+                            &:first-child {
+                                margin-left: 0 !important;
+                            }
+                            .desc_data_list_item_dele {
+                                position: absolute;
+                                top: 5px;
+                                right: 5px;
+                                font-size: 14px;
+                                cursor: pointer;
+                                color: rgba(249, 86, 1, 0.996078431372549);
+                            }
+                            .desc_data_list_item_upload {
+                                flex: 1;
+                                height: 80px;
+                                display: flex;
+                                align-items: center;
+                                justify-content: center;
+                            }
+                            .desc_data_list_item_img {
+                                flex-shrink: 0;
+                                width: 70px;
+                                height: 70px;
+                                display: flex;
+                                align-items: center;
+                                justify-content: center;
+                                overflow: hidden;
+                                margin-right: 10px;
+                                .el-icon-folder-opened {
+                                    font-size: 34px;
+                                    color: #666666;
+                                }
+                                .el-icon-plus {
+                                    font-size: 26px;
+                                    color: #ffffff;
+                                }
+                                img {
+                                    width: 100%;
+                                }
+                                video {
+                                    width: 100%;
+                                }
+                            }
+                            .desc_data_list_item_info {
+                                width: 100%;
+                                display: flex;
+                                flex-direction: column;
+                                justify-content: space-between;
+                                word-break: break-all;
+                                span {
+                                    width: 100%;
+                                    white-space: nowrap;
+                                    overflow: hidden;
+                                    text-overflow: ellipsis;
+                                    font-size: 14px;
+                                    color: black;
+                                }
+                            }
+                        }
+                    }
+                    span {
+                        flex-shrink: 0;
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                    }
+                }
+            }
+            .box_desc_f {
+                width: 100%;
+                display: flex;
+                align-items: start;
+                flex-wrap: wrap;
+                margin-bottom: 30px;
+                justify-content: space-between;
+                .box_desc_fa {
+                    width: 32%;
+                    padding: 22px 25px;
+                    box-sizing: border-box;
+                    border-radius: 4px;
+                    margin-bottom: 30px;
+                    background-color: #ffffff;
+                    border: 1px solid #ececec;
+                    .box_desc_fa_title {
+                        width: 100%;
+                        display: flex;
+                        align-items: center;
+                        justify-content: space-between;
+                        margin-bottom: 10px;
+                        span {
+                            color: rgba(16,16,16,1);
+                            font-size: 18px;
+                            font-weight: bold;
+                            text-decoration: underline;
+                            cursor: pointer;
+                        }
+                    }
+                    .box_desc_fa_row {
+                        color: rgba(16,16,16,1);
+                        font-size: 14px;
+                        margin-bottom: 10px;
+                        &:last-child {
+                            margin: 0;
+                        }
+                    }
+                }
+            }
+        }
     }
 </style>

--
Gitblit v1.9.3