From c1785f39c1b6a2e3cd2380de1dd6c87a684215b1 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 26 五月 2025 14:07:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1
---
company/src/components/business/tagLibrary.vue | 126
company/src/components/business/OperaSolutionsBaseWindow.vue | 98
company/src/views/business/settleClaims.vue | 67
company/src/components/business/setCompany.vue | 227 +
company/src/api/business/knowledge.js | 60
company/src/components/business/OperaSettleClaimsWindow.vue | 1535 +++++-----
company/src/views/business/insurance.vue | 14
company/src/components/enterprise/onlineReportingCopy.vue | 398 ++
company/src/api/business/settleClaimsMovement.js | 20
company/src/components/business/caseProgress.vue | 57
company/src/api/business/settleClaims.js | 9
company/src/views/business/riskReminder.vue | 168 +
company/src/api/business/insurance.js | 10
company/src/components/enterprise/onlineReporting.vue | 1560 +++++++++--
company/src/components/business/OpearaCaseEntryWindow.vue | 1249 ++++++++
company/src/api/business/settleRisk.js | 92
company/src/components/common/GlobalWindow.vue | 6
company/src/components/business/adjustment.vue | 306 ++
company/.env.developmentCom | 2
company/src/components/business/acceptance.vue | 129
company/src/views/business/caseEntry.vue | 186 +
company/src/components/business/additionMaterial_ba.vue | 177 +
company/src/components/business/OperaSettleClaimsWindow_copy.vue | 874 ++++++
company/src/views/business/knowledge.vue | 189 +
company/src/components/business/riskCaseReminder.vue | 92
company/src/views/business/dataBoard.vue | 493 +++
company/src/components/business/OperaKnowledgeWindow.vue | 165 +
company/.env.development | 2
28 files changed, 7,212 insertions(+), 1,099 deletions(-)
diff --git a/company/.env.development b/company/.env.development
index cabe354..80d74d9 100644
--- a/company/.env.development
+++ b/company/.env.development
@@ -12,4 +12,4 @@
# VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/'
# 浠诲悍
-VUE_APP_API = 'http://192.168.0.137:10030/'
+VUE_APP_API = 'http://192.168.0.143:10030/'
diff --git a/company/.env.developmentCom b/company/.env.developmentCom
index 98cdb4a..a5a651b 100644
--- a/company/.env.developmentCom
+++ b/company/.env.developmentCom
@@ -9,6 +9,6 @@
# VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/'
-VUE_APP_API = 'http://192.168.0.129:10031/'
+VUE_APP_API = 'http://192.168.0.143:10031/'
# VUE_APP_API = 'https://www.yyb.red/yyb_web_api/'
diff --git a/company/src/api/business/insurance.js b/company/src/api/business/insurance.js
index 2713c67..59573b9 100644
--- a/company/src/api/business/insurance.js
+++ b/company/src/api/business/insurance.js
@@ -20,6 +20,11 @@
return request.post('/business/insurance/create', data)
}
+// 瀛樺偍鐞嗚禂閰嶇疆
+export function saveLpInfo (data) {
+ return request.post('/business/insurance/saveLpInfo', data)
+}
+
// 鏌ヨ鍏ㄩ儴
export function all (data) {
return request.post('/business/insurance/list', data)
@@ -34,3 +39,8 @@
export function updateStatus (data) {
return request.post('/business/insurance/updateStatus', data)
}
+
+// 鏍规嵁ID鏌ヨ
+export function getById (id) {
+ return request.get(`/business/insurance/${id}`)
+}
diff --git a/company/src/api/business/knowledge.js b/company/src/api/business/knowledge.js
new file mode 100644
index 0000000..bb9d56c
--- /dev/null
+++ b/company/src/api/business/knowledge.js
@@ -0,0 +1,60 @@
+import request from '../../utils/request'
+
+// 鏌ヨ
+export function fetchList (data) {
+ return request.post('/business/knowledge/page', data, {
+ trim: true
+ })
+}
+
+// 瀵煎嚭Excel
+export function exportExcel (data) {
+ return request.post('/business/knowledge/exportExcel', data, {
+ trim: true,
+ download: true
+ })
+}
+
+// 鍒涘缓
+export function create (data) {
+ return request.post('/business/knowledge/create', data)
+}
+
+// 鍒涘缓鏍囩
+export function createLabels (data) {
+ return request.post('/business/labels/create', data)
+}
+
+// 鏍囩鍒楄〃
+export function list (data) {
+ return request.post('/business/labels/list', data)
+}
+
+// 淇敼
+export function updateById (data) {
+ return request.post('/business/knowledge/updateById', data)
+}
+
+// 鍖哄煙鏍戝垪琛�
+export function findTreeList (data) {
+ return request.post('/business/areas/findTreeList', data)
+}
+
+// 鍒犻櫎
+export function deleteById (id) {
+ return request.get(`/business/knowledge/delete/${id}`)
+}
+
+// 鍒犻櫎鏍囩
+export function labelsDeleteById (id) {
+ return request.get(`/business/labels/delete/${id}`)
+}
+
+// 鎵归噺鍒犻櫎
+export function deleteByIdInBatch (ids) {
+ return request.get('/business/knowledge/delete/batch', {
+ params: {
+ ids
+ }
+ })
+}
diff --git a/company/src/api/business/settleClaims.js b/company/src/api/business/settleClaims.js
index 17b41d7..6153a07 100644
--- a/company/src/api/business/settleClaims.js
+++ b/company/src/api/business/settleClaims.js
@@ -57,6 +57,10 @@
return request.get(`business/settleClaims/${id}`)
}
+export function dele (id) {
+ return request.get(`business/settleClaims/delete/${id}`)
+}
+
export function delFile (id,fileId) {
return request.get(`business/settleClaims/delFile/${id}/${fileId}`)
}
@@ -70,3 +74,8 @@
export function supplement (data) {
return request.post('/business/settleClaims/supplement', data)
}
+
+// 骞冲彴绯荤粺妗堜欢褰曞叆(ID涓嶄负绌鸿〃绀虹紪杈戯紝ID涓虹┖琛ㄧず鏂板锛�
+export function createSys (data) {
+ return request.post('/business/settleClaims/createSys', data)
+}
diff --git a/company/src/api/business/settleClaimsMovement.js b/company/src/api/business/settleClaimsMovement.js
new file mode 100644
index 0000000..3f25ce2
--- /dev/null
+++ b/company/src/api/business/settleClaimsMovement.js
@@ -0,0 +1,20 @@
+import request from '../../utils/request'
+
+// 鏌ヨ
+export function fetchList (data) {
+ return request.post('/business/settleClaims/pageForSD', data, {
+ trim: true
+ })
+}
+
+export function exportFiles (data) {
+ return request.post('/business/settleClaims/exportForSDExcel', data, {
+ trim: true,
+ download: true
+ })
+}
+
+export function findById (id) {
+ return request.get(`business/settleClaims/getDetailForSd?id=${id}`)
+}
+
diff --git a/company/src/api/business/settleRisk.js b/company/src/api/business/settleRisk.js
new file mode 100644
index 0000000..233f884
--- /dev/null
+++ b/company/src/api/business/settleRisk.js
@@ -0,0 +1,92 @@
+import request from '../../utils/request'
+
+// 鏇存柊椋庨櫓閰嶇疆
+export function updRiskConfig (data) {
+ return request.post('/business/settleRisk/updRiskConfig', data, {
+ trim: true
+ })
+}
+
+// 鐞嗚禂璐圭敤椤逛俊鎭�
+export function getCompensation (data) {
+ return request.post('/business/settleRisk/getCompensation', data, {
+ trim: true
+ })
+}
+
+// 鐞嗚禂鎶ユ
+export function saveSettleClaims (data) {
+ return request.post('/business/settleRisk/saveSettleClaims', data, {
+ trim: true
+ })
+}
+
+// 鎾ら攢鎶ユ
+export function returnSettle (data) {
+ return request.post('/business/settleRisk/returnSettle', data, {
+ trim: true
+ })
+}
+
+// 骞冲彴绔嬫鎴栭��鍥�
+export function register (data) {
+ return request.post('/business/settleRisk/register', data, {
+ trim: true
+ })
+}
+
+// 骞冲彴鍙楃悊涓氬姟
+export function acceptance (data) {
+ return request.post('/business/settleRisk/acceptance', data, {
+ trim: true
+ })
+}
+
+// 娣诲姞鎶ユ鍙�
+export function addReportNum (data) {
+ return request.post('/business/settleRisk/addReportNum', data, {
+ trim: true
+ })
+}
+
+// 娣诲姞澶囨敞
+export function addRemark (data) {
+ return request.post('/business/settleRisk/addRemark', data, {
+ trim: true
+ })
+}
+
+// 鑾峰彇璇︽儏
+export function getRiskConfig () {
+ return request.get('/business/settleRisk/getRiskConfig')
+}
+
+// 鍙楃悊涓氬姟
+export function getDiscussProblemType () {
+ return request.get('/business/settleRisk/getDiscussProblemType')
+}
+
+// 琛ュ厖璇存槑
+export function saveSupplementDescribe (data) {
+ return request.post('/business/settleRisk/saveSupplementDescribe', data)
+}
+
+// 淇敼妗堜欢绫诲瀷
+export function updCaseType (data) {
+ return request.post('/business/settleRisk/updCaseType', data)
+}
+
+// 娣诲姞鏉愭枡
+export function saveSupplementFile (data) {
+ return request.post('/business/settleRisk/saveSupplementFile', data)
+}
+
+// 鐞嗚禂
+export function compensation (data) {
+ return request.post('/business/settleRisk/compensation', data)
+}
+
+// 鏍歌禂
+export function nuclearCompensation (data) {
+ return request.post('/business/settleRisk/nuclearCompensation', data)
+}
diff --git a/company/src/components/business/OpearaCaseEntryWindow.vue b/company/src/components/business/OpearaCaseEntryWindow.vue
new file mode 100644
index 0000000..701a949
--- /dev/null
+++ b/company/src/components/business/OpearaCaseEntryWindow.vue
@@ -0,0 +1,1249 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="box">
+ <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="150px" class="demo-ruleForm">
+ <div class="box_item">
+ <div class="box_item_title">
+ <span>鍑洪櫓浜轰俊鎭�</span>
+ <el-select v-model="ruleForm.status" style="width: 100px;" placeholder="璇烽�夋嫨">
+ <el-option label="寰呯珛妗�" :value="2"></el-option>
+ <el-option label="宸查��鍥�" :value="4"></el-option>
+ <el-option label="寰呭彈鐞�" :value="5"></el-option>
+ <el-option label="宸叉嫆缁�" :value="6"></el-option>
+ <el-option label="寰呯悊绠�" :value="9"></el-option>
+ <el-option label="寰呮牳璧�" :value="10"></el-option>
+ <el-option label="寰呯粨妗�" :value="12"></el-option>
+ <el-option label="宸茬粨妗�" :value="13"></el-option>
+ <el-option label="宸叉挙妗�" :value="14"></el-option>
+ </el-select>
+ </div>
+ <div class="box_item_list">
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫓浜�" prop="extData.memberName">
+ <el-input v-model="ruleForm.extData.memberName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="璇佷欢绫诲瀷" prop="extData.memberIdcardType">
+ <el-select v-model="ruleForm.extData.memberIdcardType" placeholder="璇烽�夋嫨">
+ <el-option label="灞呮皯韬唤璇�" :value="0"></el-option>
+ <el-option label="鎶ょ収" :value="1"></el-option>
+ <el-option label="鎴峰彛鏈�" :value="2"></el-option>
+ <el-option label="灞呬綇璇�" :value="3"></el-option>
+ <el-option label="绛捐瘉" :value="4"></el-option>
+ <el-option label="娓境閫氳璇�" :value="5"></el-option>
+ </el-select>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="璇佷欢鍙风爜" prop="extData.memberIdcard">
+ <el-input v-model="ruleForm.extData.memberIdcard" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑虹敓鏃ユ湡" prop="extData.memberBirthday">
+ <el-date-picker
+ v-model="ruleForm.extData.memberBirthday"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy 骞� MM 鏈� dd 鏃�"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="骞撮緞" prop="extData.memberAge">
+ <el-input v-model="ruleForm.extData.memberAge" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎬у埆" prop="extData.memberSex">
+ <el-radio-group v-model="ruleForm.extData.memberSex">
+ <el-radio :label="0">鐢�</el-radio>
+ <el-radio :label="1">濂�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鐢佃瘽鍙风爜" prop="extData.memberPhone">
+ <el-input v-model="ruleForm.extData.memberPhone" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎴风睄鍦板潃" prop="extData.memberAddr">
+ <el-input v-model="ruleForm.extData.memberAddr" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_rowx"></div>
+ </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">
+ <el-form-item label="淇濋櫓鍚嶇О" prop="extData.bxName">
+ <el-input v-model="ruleForm.extData.bxName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="淇濆崟鍙�" prop="extData.bxCode">
+ <el-input v-model="ruleForm.extData.bxCode" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="淇濋殰鏈熼檺" prop="extData.bxDate">
+ <el-date-picker
+ v-model="ruleForm.extData.bxDate"
+ type="datetimerange"
+ @change="changeBxDate"
+ value-format="yyyy-MM-dd hh:mm:ss"
+ range-separator="鑷�"
+ start-placeholder="寮�濮嬫棩鏈�"
+ end-placeholder="缁撴潫鏃ユ湡">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎶曚繚浜�" prop="extData.bxTbName">
+ <el-input v-model="ruleForm.extData.bxTbName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="琚繚闄╀汉" prop="extData.bxBbName">
+ <el-input v-model="ruleForm.extData.bxBbName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎵夸繚鏈烘瀯" prop="extData.bxOrg">
+ <el-input v-model="ruleForm.extData.bxOrg" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="搴旀敹淇濊垂" prop="extData.bxYsMoney">
+ <el-input v-model="ruleForm.extData.bxYsMoney" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="瀹炴敹淇濊垂" prop="extData.bxSsMoney">
+ <el-input v-model="ruleForm.extData.bxSsMoney" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_rowx"></div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="鐢靛瓙淇濆崟" prop="dzbdFileList">
+ <div class="box_item_list_row_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.dzbdFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(index, 7)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type === 0">
+ <img :src="item.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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, 7)" />
+ </div>
+ </el-form-item>
+ </div>
+ </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">
+ <el-form-item label="妗堜欢鍙�" prop="reportNum">
+ <el-input v-model="ruleForm.reportNum" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎶ユ浜哄鍚�" prop="informantName">
+ <el-input v-model="ruleForm.informantName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎶ユ浜鸿仈绯绘柟寮�" prop="informantPhone">
+ <el-input v-model="ruleForm.informantPhone" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎶ユ鏃堕棿" prop="happenTime">
+ <el-date-picker
+ v-model="ruleForm.happenTime"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫓鏃堕棿" prop="createDate">
+ <el-date-picker
+ v-model="ruleForm.createDate"
+ type="datetime"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd hh:mm:ss"
+ value-format="yyyy-MM-dd hh:mm:ss">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫓鍦扮偣" prop="areaInfo">
+ <el-input v-model="ruleForm.areaInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鏄惁宸叉敞閿�" prop="extData.logoff">
+ <el-radio-group v-model="ruleForm.extData.logoff">
+ <el-radio :label="1">鏄�</el-radio>
+ <el-radio :label="0">鍚�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="娉ㄩ攢澶勭悊浜�" prop="extData.logoffUser">
+ <el-input v-model="ruleForm.extData.logoffUser" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="娉ㄩ攢鏃堕棿" prop="extData.logoffDate">
+ <el-date-picker
+ v-model="ruleForm.extData.logoffDate"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy 骞� MM 鏈� dd 鏃�"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="鍑洪櫓缁忚繃" prop="content">
+ <el-input v-model="ruleForm.content" :rows="5" type="textarea" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="浜嬫晠绫诲瀷" prop="type">
+ <el-radio-group v-model="ruleForm.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_item_list_row" style="width: 100%;">
+ <el-form-item label="灏辫瘖鍖荤枟鏈烘瀯" prop="hospital">
+ <el-input v-model="ruleForm.hospital" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="灏辫瘖绫诲瀷" prop="inHospital">
+ <el-radio-group v-model="ruleForm.inHospital">
+ <el-radio :label="1">闂ㄨ瘖</el-radio>
+ <el-radio :label="0">浣忛櫌</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="鏄惁浼ゆ畫" prop="hurtType">
+ <el-radio-group v-model="ruleForm.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_item_list_row" style="width: 100%;">
+ <el-form-item label="鏄惁鏈夊尰淇�" prop="medicalInsurance">
+ <el-radio-group v-model="ruleForm.medicalInsurance">
+ <el-radio :label="1">鏄�</el-radio>
+ <el-radio :label="0">鍚�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="浜嬫晠瑙嗛/鐓х墖" prop="reportFileList">
+ <div class="box_item_list_row_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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>
+ </el-form-item>
+ </div>
+ </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">
+ <el-form-item label="浼や骸浜哄憳灞炴��" prop="extData.rsAttr">
+ <el-input v-model="ruleForm.extData.rsAttr" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浜哄憳浼ゆ儏" prop="extData.rsInfo">
+ <el-input v-model="ruleForm.extData.rsInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="娌荤枟鐘舵��" prop="extData.rsZlStatus">
+ <el-input v-model="ruleForm.extData.rsZlStatus" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎹熷け閲戦" prop="extData.rsLossMoney">
+ <el-input v-model="ruleForm.extData.rsLossMoney" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="灏辫瘖鎯呭喌" prop="extData.rsJzInfo">
+ <el-input v-model="ruleForm.extData.rsJzInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫌鏃堕棿" prop="extData.rsCyDate">
+ <el-date-picker
+ v-model="ruleForm.extData.rsCyDate"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy 骞� MM 鏈� dd 鏃�"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍖荤枟鏈烘瀯" prop="extData.rsYlOrg">
+ <el-input v-model="ruleForm.extData.rsYlOrg" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="姝讳骸鏃堕棿" prop="extData.rsDeathDate">
+ <el-input v-model="ruleForm.extData.rsDeathDate" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_rowx"></div>
+ </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">
+ <el-form-item label="鍖婚櫌鍚嶇О" prop="extData.jzHospital">
+ <el-input v-model="ruleForm.extData.jzHospital" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浣忛櫌鍙�" prop="extData.jzZyCode">
+ <el-input v-model="ruleForm.extData.jzZyCode" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="绉戝" prop="extData.jzZyKs">
+ <el-input v-model="ruleForm.extData.jzZyKs" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍏ラ櫌鏃堕棿" prop="extData.jzZyDate">
+ <el-input v-model="ruleForm.extData.jzZyDate" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫌鏃堕棿" prop="extData.jzCyDate">
+ <el-input v-model="ruleForm.extData.jzCyDate" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍑洪櫌澶╂暟" prop="extData.jzZyDays">
+ <el-input v-model="ruleForm.extData.jzZyDays" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ </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">
+ <el-form-item label="娌荤枟鎯呭喌" prop="extData.zdZlInfo">
+ <el-input v-model="ruleForm.extData.zdZlInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浼ゆ儏鎻忚堪" prop="extData.zdSqInfo">
+ <el-input v-model="ruleForm.extData.zdSqInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="涓村簥璇婃柇" prop="extData.zdLczd">
+ <el-input v-model="ruleForm.extData.zdLczd" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鎵嬫湳鍚嶇О" prop="extData.zdSsName">
+ <el-input v-model="ruleForm.extData.zdSsName" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鍚庣画娌荤枟椤圭洰" prop="extData.zdHxProject">
+ <el-input v-model="ruleForm.extData.zdHxProject" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="鏄惁鏈夋棦寰�鐥�" prop="extData.zdJwb">
+ <el-input v-model="ruleForm.extData.zdJwb" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ </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">
+ <el-form-item label="淇濆崟鍙锋槸鍚︽垚绔�" prop="extData.hzBdhCl">
+ <el-input v-model="ruleForm.extData.hzBdhCl" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浜嬫晠璐d换姣斾緥" prop="extData.hzDutyRate">
+ <el-input v-model="ruleForm.extData.hzDutyRate" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_rowx"></div>
+ </div>
+ </div>
+ <div class="box_item">
+ <div class="box_item_title">
+ <span>閴村畾淇℃伅</span>
+ </div>
+ <div class="box_item_desc">鍔冲姩鑳藉姏閴村畾鑱屽伐宸ヤ激涓庤亴涓氱梾鑷存畫绛夌骇</div>
+ <div class="box_item_list">
+ <div class="box_item_list_row">
+ <el-form-item label="閴村畾鎯呭喌" prop="extData.jdInfo">
+ <el-input v-model="ruleForm.extData.jdInfo" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="閴村畾閫斿緞" prop="extData.jdChannel">
+ <el-input v-model="ruleForm.extData.jdChannel" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="閴村畾鏈烘瀯" prop="extData.jdOrg">
+ <el-input v-model="ruleForm.extData.jdOrg" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="閴村畾浜�" prop="extData.jdUser">
+ <el-input v-model="ruleForm.extData.jdUser" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="璇勫畾鏃ユ湡" prop="extData.jdPdDate">
+ <el-date-picker
+ v-model="ruleForm.extData.jdPdDate"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy 骞� MM 鏈� dd 鏃�"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浼ゆ畫绛夌骇" prop="extData.jdScLevel">
+ <el-select v-model="ruleForm.extData.jdScLevel" placeholder="璇烽�夋嫨">
+ <el-option
+ v-for="item in 10"
+ :key="item"
+ :label="item + '绾�'"
+ :value="item">
+ </el-option>
+ </el-select>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="閴村畾鏉℃" prop="extData.jdTerms">
+ <el-input v-model="ruleForm.extData.jdTerms" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row">
+ <el-form-item label="浼ゆ畫绯绘暟" prop="extData.jdXishu">
+ <el-input v-model="ruleForm.extData.jdXishu" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_rowx"></div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="鏄惁浼ゆ畫璧斿伩瀹屾垚瑙i櫎鍔冲姩鍚堝悓" prop="extData.jdJsldht">
+ <el-radio-group v-model="ruleForm.extData.jdJsldht">
+ <el-radio :label="1">鏄�</el-radio>
+ <el-radio :label="0">鍚�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 100%;">
+ <el-form-item label="璐d换涓庤瘎娈嬫潯娆惧叧鑱斿叧绯�" prop="extData.jdZrpctkRel">
+ <el-radio-group v-model="ruleForm.extData.jdZrpctkRel">
+ <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>
+ </div>
+ <div class="box_item">
+ <div class="box_item_title">
+ <span>瀹氭崯褰曞叆</span>
+ </div>
+ <div class="box_item_desc">涓昏璧斾粯椤�</div>
+ <div class="box_item_list">
+ <div class="box_item_list_row" style="width: 100%;" v-for="(item, index) in list1" :key="index">
+ <el-form-item :label="item.name">
+ <div style="display: flex; flex-direction: column;">
+ <el-input v-model="item.fee" @input="changeFee" type="number" placeholder="璇疯緭鍏ラ噾棰�"></el-input>
+ <el-input v-model="item.describe" placeholder="璇疯緭鍏ヨ垂鐢ㄨ鏄�"></el-input>
+ </div>
+ </el-form-item>
+ </div>
+ </div>
+ <div class="box_item_desc">鍏朵粬璧斾粯椤�</div>
+ <div class="box_item_list">
+ <div class="box_item_list_row" style="width: 50%;" v-for="(item, index) in list2" :key="index">
+ <el-form-item :label="item.name">
+ <div style="display: flex; flex-direction: column;">
+ <el-input v-model="item.fee" @input="changeFee" type="number" placeholder="璇疯緭鍏ラ噾棰�"></el-input>
+ <el-input v-model="item.describe" placeholder="璇疯緭鍏ヨ垂鐢ㄨ鏄�"></el-input>
+ </div>
+ </el-form-item>
+ </div>
+ </div>
+ <div class="price">
+ <span>璧斾粯閲戦鍚堣</span>
+ <span>楼{{totalPrice}}</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: 50%;" v-for="(item, index) in list3" :key="index">
+ <el-form-item :label="item.name">
+ <el-input v-model="item.fee" placeholder="璇疯緭鍏�"></el-input>
+ </el-form-item>
+ </div>
+ <div class="box_item_list_row" style="width: 50%;">
+ <el-form-item label="鏄惁鍙禂浠樺尰淇濆鐢ㄨ嵂" prop="payForYbwyy">
+ <el-radio-group v-model="ruleForm.payForYbwyy">
+ <el-radio :label="1">鏄�</el-radio>
+ <el-radio :label="0">鍚�</el-radio>
+ </el-radio-group>
+ </el-form-item>
+ </div>
+ </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_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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_l">
+ <div class="desc_data_list_item" v-for="(item, index) in ruleForm.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.url" alt="img"/>
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type === 1">
+ <video controls :src="item.url" />
+ </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>
+ </el-form>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import upload from '@/components/common/upload'
+ import { getCompensation } from '@/api/business/settleRisk'
+ import { createSys } from '@/api/business/settleClaims'
+ import { findById } from '@/api/business/settleClaimsMovement'
+ export default {
+ name: 'OpearaCaseEntryWindow',
+ extends: BaseOpera,
+ components: { GlobalWindow, upload },
+ data () {
+ return {
+ ruleForm: {
+ id: null,
+ extData: {
+ memberName: '',
+ memberIdcardType: '',
+ memberIdcard: '',
+ memberBirthday: '',
+ memberAge: '',
+ memberSex: 0,
+ memberPhone: '',
+ memberAddr: '',
+ bxName: '',
+ bxCode: '',
+
+ bxDate: [],
+ bxStartdate: '',
+ bxEnddate: '',
+ bxTbName: '',
+ bxBbName: '',
+ bxOrg: '',
+ bxYsMoney: '',
+ bxSsMoney: '',
+
+ rsAttr: '',
+ rsInfo: '',
+ rsZlStatus: '',
+ rsLossMoney: '',
+ rsJzInfo: '',
+ rsCyDate: '',
+ rsYlOrg: '',
+ rsDeathDate: '',
+
+ jzHospital: '',
+ jzZyCode: '',
+ jzZyKs: '',
+ jzZyDate: '',
+ jzCyDate: '',
+ jzZyDays: '',
+
+ zdZlInfo: '',
+ zdSqInfo: '',
+ zdLczd: '',
+ zdSsName: '',
+ zdHxProject: '',
+ zdJwb: '',
+
+ hzBdhCl: '',
+ hzDutyRate: '',
+
+ jdInfo: '',
+ jdChannel: '',
+ jdOrg: '',
+ jdUser: '',
+ jdPdDate: '',
+ jdScLevel: '',
+ jdTerms: '',
+ jdXishu: '',
+ jdJsldht: 1,
+ jdZrpctkRel: 0,
+
+ logoff: 1,
+ logoffUser: '',
+ logoffDate: ''
+ },
+ informantName: '',
+ informantPhone: '',
+ reportNum: '',
+ areaInfo: '',
+ type: 0,
+ hospital: '',
+ inHospital: 1,
+ hurtType: 0,
+ payForYbwyy: 1,
+
+ relationFileList: [],
+ outpatientFileList: [],
+ hospitalFileList: [],
+ disabilityFileList: [],
+ otherFileList: [],
+ reportFileList: [],
+
+ accountList: [],
+ dzbdFileList: [],
+
+ status: '',
+ medicalInsurance: 1,
+ content: '',
+ happenTime: '',
+ createDate: ''
+ },
+ rules: {
+ 'extData.memberName': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.memberIdcardType': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.memberIdcard': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.memberSex': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.memberPhone': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxName': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxCode': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxDate': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxTbName': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxBbName': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ 'extData.bxOrg': [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ informantPhone: [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ]
+ },
+ uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload?folder=settle',
+ totalPrice: 0,
+ list1: [],
+ list2: [],
+ list3: [],
+ }
+ },
+ created () {
+ this.config({
+ api: '/business/company',
+ 'field.id': 'id'
+ })
+ },
+ methods: {
+ open (title, id) {
+ this.title = title
+ if (id) {
+ findById(id)
+ .then(res => {
+ console.log(res)
+ this.ruleForm.id = id
+ this.$nextTick(() => {
+ for (const key in this.ruleForm) {
+ this.ruleForm[key] = res[key]
+ }
+ if (this.ruleForm.accountList && this.ruleForm.accountList.length > 0) {
+ this.list1 = this.ruleForm.accountList.filter(item => item.type === 0)
+ this.list2 = this.ruleForm.accountList.filter(item => item.type === 1)
+ this.list3 = this.ruleForm.accountList.filter(item => item.type === 2)
+ this.changeFee()
+ }
+ if (res.extData.bxStartdate && res.extData.bxEnddate) {
+ this.ruleForm.extData.bxDate = [res.extData.bxStartdate, res.extData.bxEnddate]
+ }
+ })
+ this.visible = true
+ })
+ } else {
+ this.visible = true
+ this.ruleForm = {
+ id: null,
+ extData: {
+ memberName: '',
+ memberIdcardType: '',
+ memberIdcard: '',
+ memberBirthday: '',
+ memberAge: '',
+ memberSex: 0,
+ memberPhone: '',
+ memberAddr: '',
+ bxName: '',
+ bxCode: '',
+
+ bxDate: [],
+ bxStartdate: '',
+ bxEnddate: '',
+ bxTbName: '',
+ bxBbName: '',
+ bxOrg: '',
+ bxYsMoney: '',
+ bxSsMoney: '',
+
+ rsAttr: '',
+ rsInfo: '',
+ rsZlStatus: '',
+ rsLossMoney: '',
+ rsJzInfo: '',
+ rsCyDate: '',
+ rsYlOrg: '',
+ rsDeathDate: '',
+
+ jzHospital: '',
+ jzZyCode: '',
+ jzZyKs: '',
+ jzZyDate: '',
+ jzCyDate: '',
+ jzZyDays: '',
+
+ zdZlInfo: '',
+ zdSqInfo: '',
+ zdLczd: '',
+ zdSsName: '',
+ zdHxProject: '',
+ zdJwb: '',
+
+ hzBdhCl: '',
+ hzDutyRate: '',
+
+ jdInfo: '',
+ jdChannel: '',
+ jdOrg: '',
+ jdUser: '',
+ jdPdDate: '',
+ jdScLevel: '',
+ jdTerms: '',
+ jdXishu: '',
+ jdJsldht: 1,
+ jdZrpctkRel: 0,
+
+ logoff: 1,
+ logoffUser: '',
+ logoffDate: ''
+ },
+ informantName: '',
+ informantPhone: '',
+ reportNum: '',
+ areaInfo: '',
+ type: 0,
+ hospital: '',
+ inHospital: 1,
+ hurtType: 0,
+ payForYbwyy: 1,
+
+ relationFileList: [],
+ outpatientFileList: [],
+ hospitalFileList: [],
+ disabilityFileList: [],
+ otherFileList: [],
+ reportFileList: [],
+
+ accountList: [],
+ dzbdFileList: [],
+
+ status: '',
+ medicalInsurance: 1,
+ content: '',
+ happenTime: '',
+ createDate: ''
+ }
+ }
+ this.getCompensations()
+ },
+ confirm() {
+ this.$refs.ruleForm.validate((valid) => {
+ if (!valid) return
+ this.isWorking = true
+ let obj = JSON.parse(JSON.stringify(this.ruleForm))
+ obj.accountList = [...this.list1, ...this.list2, ...this.list3]
+ createSys(obj)
+ .then(() => {
+ this.visible = false
+ if (!obj.id) {
+ this.$tip.apiSuccess('鏂板缓鎴愬姛')
+ } else {
+ this.$tip.apiSuccess('缂栬緫鎴愬姛')
+ }
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ })
+ },
+ changeFee() {
+ let arr = [...this.list1, ...this.list2]
+ let price = 0
+ arr.forEach(item => {
+ if (item.fee) {
+ price += Number(item.fee)
+ }
+ })
+ this.totalPrice = price
+ },
+ delFile (index, type) {
+ if (type === 1) {
+ this.ruleForm.relationFileList.splice(index, 1)
+ } else if (type === 2) {
+ this.ruleForm.outpatientFileList.splice(index, 1)
+ } else if (type === 3) {
+ this.ruleForm.hospitalFileList.splice(index, 1)
+ } else if (type === 4) {
+ this.ruleForm.disabilityFileList.splice(index, 1)
+ } else if (type === 5) {
+ this.ruleForm.otherFileList.splice(index, 1)
+ } else if (type === 6) {
+ this.ruleForm.reportFileList.splice(index, 1)
+ } else if (type === 7) {
+ this.ruleForm.dzbdFileList.splice(index, 1)
+ }
+ },
+ claimsUploadFile(file, type) {
+ file.fileurl = file.imgaddr
+ file.name = file.originname
+ if (type === 1) {
+ this.ruleForm.relationFileList.push(file)
+ } else if (type === 2) {
+ this.ruleForm.outpatientFileList.push(file)
+ } else if (type === 3) {
+ this.ruleForm.hospitalFileList.push(file)
+ } else if (type === 4) {
+ this.ruleForm.disabilityFileList.push(file)
+ } else if (type === 5) {
+ this.ruleForm.otherFileList.push(file)
+ } else if (type === 6) {
+ this.ruleForm.reportFileList.push(file)
+ } else if (type === 7) {
+ this.ruleForm.dzbdFileList.push(file)
+ }
+ },
+ changeBxDate(e) {
+ if (e.length > 1) {
+ this.ruleForm.extData.bxStartdate = e[0]
+ this.ruleForm.extData.bxEnddate = e[1]
+ } else {
+ this.ruleForm.extData.bxStartdate = ''
+ this.ruleForm.extData.bxEnddate = ''
+ }
+ },
+ getCompensations() {
+ getCompensation({ type: 1 })
+ .then(res => {
+ console.log(res)
+ this.list1 = res.filter(item => item.type === 0)
+ this.list2 = res.filter(item => item.type === 1)
+ this.list3 = res.filter(item => item.type === 2)
+ })
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .box {
+ width: 100%;
+ .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_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;
+ }
+ }
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/OperaKnowledgeWindow.vue b/company/src/components/business/OperaKnowledgeWindow.vue
new file mode 100644
index 0000000..8cdec25
--- /dev/null
+++ b/company/src/components/business/OperaKnowledgeWindow.vue
@@ -0,0 +1,165 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="500px"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <el-form :model="form" ref="form" :rules="rules">
+ <el-form-item label="鏍囬" prop="title">
+ <el-input v-model="form.title" placeholder="璇疯緭鍏ユ爣棰�" v-trim/>
+ </el-form-item>
+ <el-form-item label="鏍囩" prop="labelsArr">
+ <div style="width: 100%; display: flex; align-items: center;">
+ <el-select v-model="form.labelsArr" style="width: 100%;" @change="changeLabel" multiple placeholder="璇烽�夋嫨">
+ <el-option
+ v-for="item in cateList"
+ :key="item.id"
+ :label="item.name"
+ :value="item.id">
+ </el-option>
+ </el-select>
+ <el-button size="medium" style="margin-left: 15px;" @click="$refs.tagLibrary.open('鏍囩搴�')">鏍囩搴�</el-button>
+ </div>
+ </el-form-item>
+ <el-form-item label="鍦板尯" prop="area">
+ <el-cascader
+ v-model="form.area"
+ :options="area"
+ @change="changeArea"
+ :props="{ label: 'name', children: 'childAreasList', value: 'id' }" />
+ </el-form-item>
+ <el-form-item label="骞翠唤" prop="yearInfo">
+ <el-date-picker
+ v-model="form.yearInfo"
+ type="year"
+ value-format="yyyy"
+ placeholder="閫夋嫨骞翠唤">
+ </el-date-picker>
+ </el-form-item>
+ <el-form-item label="缃戝潃閾炬帴" prop="link">
+ <el-input v-model="form.link" placeholder="璇疯緭鍏ョ綉鍧�閾炬帴" v-trim/>
+ </el-form-item>
+ </el-form>
+ <!-- 娣诲姞鐭ヨ瘑搴� -->
+ <TagLibrary ref="tagLibrary" @refresh="getLabel(), form.labels = '', form.labelsArr = []" />
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import TagLibrary from '@/components/business/tagLibrary'
+ import { findTreeList, list } from '@/api/business/knowledge'
+ export default {
+ name: 'OperaKnowledgeWindow',
+ extends: BaseOpera,
+ components: { GlobalWindow, TagLibrary },
+ data () {
+ return {
+ // 琛ㄥ崟鏁版嵁
+ form: {
+ id: null,
+ provinceId: '',
+ cityId: '',
+ title: '',
+ link: '',
+ labels: '',
+ yearInfo: '',
+ area: [],
+ labelsArr: []
+ },
+ // 楠岃瘉瑙勫垯
+ rules: {
+ title: [
+ { required: true, message: '璇疯緭鍏ュ唴瀹�', trigger: 'blur' }
+ ],
+ link: [
+ { required: true, message: '璇疯緭鍏ュ唴瀹�', trigger: 'blur' }
+ ]
+ },
+ area: [],
+ cateList: []
+ }
+ },
+ created () {
+ this.config({
+ api: '/business/knowledge',
+ 'field.id': 'id'
+ })
+
+ },
+ methods: {
+ changeLabel(e) {
+ this.form.labels = e.join(',')
+ },
+ changeArea(e) {
+ if (e.length === 0) return
+ if (e.length === 1) {
+ this.form.provinceId = e[0]
+ } else if (e.length === 2) {
+ this.form.provinceId = e[0]
+ this.form.cityId = e[1]
+ }
+ },
+ open (title, target) {
+ this.getLabel()
+ this.getCityTree()
+ this.title = title
+ this.visible = true
+ // 鏂板缓
+ if (target == null) {
+ this.$nextTick(() => {
+ this.$refs.form.resetFields()
+ this.form[this.configData['field.id']] = null
+ })
+ return
+ }
+ // 缂栬緫
+ this.$nextTick(() => {
+ for (const key in this.form) {
+ this.form[key] = target[key]
+ }
+ if (this.form.labels) {
+ this.form.labelsArr = this.form.labels.split(',').map(item => Number(item))
+ }
+ if (this.form.provinceId && this.form.cityId) {
+ this.form.area = [this.form.provinceId, this.form.cityId]
+ } else if (this.form.provinceId && !this.form.cityId) {
+ this.form.area = [this.form.provinceId]
+ }
+ })
+ },
+ async getLabel() {
+ this.cateList = await list()
+ },
+ async getCityTree() {
+ this.area = await findTreeList({})
+ this.setSecondLevelChildrenToNullPrecise(this.area);
+ this.area.forEach(item => {
+ if (item.childAreasList.length === 0) {
+ item.childAreasList = null
+ }
+ })
+ },
+ setSecondLevelChildrenToNullPrecise(data, level = 1) {
+ if (!data || !data.length) return;
+
+ data.forEach(item => {
+ if (item.childAreasList && item.childAreasList.length) {
+ if (level === 1) {
+ // 杩欐槸绗竴绾ц妭鐐癸紝澶勭悊鍏跺瓙鑺傜偣锛堢浜岀骇锛�
+ item.childAreasList.forEach(child => {
+ child.childAreasList = null;
+ });
+ } else {
+ // 缁х画閫掑綊澶勭悊鏇存繁灞傜骇
+ this.setSecondLevelChildrenToNullPrecise(item.childAreasList, level + 1);
+ }
+ }
+ });
+ }
+ }
+ }
+</script>
diff --git a/company/src/components/business/OperaSettleClaimsWindow.vue b/company/src/components/business/OperaSettleClaimsWindow.vue
index e35dfb2..4d6201b 100644
--- a/company/src/components/business/OperaSettleClaimsWindow.vue
+++ b/company/src/components/business/OperaSettleClaimsWindow.vue
@@ -2,464 +2,311 @@
<GlobalWindow
:title="title"
width="100%"
+ :withFooter="false"
:visible.sync="visible"
:confirm-working="isWorking"
@confirm="confirm"
>
- <div class="desc" v-loading="loading">
- <div class="desc_label">
- <div class="desc_label_left">
- <span class="desc_label_left_title">
- 鎶ユ璇︽儏
- </span>
- <span class="desc_label_left_time" :style="contrast(model.createDate, model.baoxianEndTime) ? 'color: rgba(249, 86, 1, 0.996)' : 'color: black'">
- 鎶ユ鏃ユ湡锛歿{ model.createDate }}
- </span>
- <span class="desc_label_left_code">
- 鎶ユ鍙凤細{{ model.reportNum || '-' }}
- </span>
- <span class="desc_label_left_code">
- 鐘舵�侊細
- <span :class="'settle-status'+model.status" v-if="model.status==0 || model.status==2|| model.status==3">澶勭悊涓� </span>
- <span :class="'settle-status'+model.status" v-if="model.status==1">宸叉挙妗� </span>
- <span :class="'settle-status'+model.status" v-if="model.status==4">宸茬粨妗� </span>
- </span>
- </div>
- <div class="desc_label_right">
- <template v-if="userInfo.type === 0">
- <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('娣诲姞鎶ユ鍙�',model,remarkLogList,1)">娣诲姞鎶ユ鍙�</el-button>
- <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('鐞嗚禂澶勭悊',model,remarkLogList,2)">鐞嗚禂澶勭悊</el-button>
- <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('缁撴鎻愪氦',model,remarkLogList,4)">缁撴鎻愪氦</el-button>
- <el-button type="danger" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('鎾ら攢鐢宠',model,remarkLogList,3)">鎾ら攢鐢宠</el-button>
- </template>
- <template v-else>
- <el-button type="primary" @click="edit" v-if="model.status === 0 || model.status === 2 || model.status === 3">淇敼淇℃伅</el-button>
- <el-button type="primary" @click="$refs.supplementaryExplanation.open('琛ュ厖璇存槑', model.id)" v-if="model.status === 0 || model.status === 2 || model.status === 3">琛ュ厖璇存槑</el-button>
- </template>
+ <div class="box" v-if="info">
+ <div class="box_status">
+ <div class="box_status_row" v-for="(item, index) in info.parentStatusVOList" :key="index">
+ <div v-if="info.parentStatusVOList.length - 1 !== index" :class="item.optDate ? 'box_status_row_xian statusColor1' : 'box_status_row_xian'"></div>
+ <div :class="item.optDate ? 'box_status_row_icon statusColor1' : info.parentStatusVOList[index - 1].optDate ? 'box_status_row_icon statusColor2 statusColor3' : 'box_status_row_icon'"></div>
+ <div class="box_status_row_info">
+ <div class="title">{{item.parentTitle}}</div>
+ <div class="info" v-if="item.childTitle">{{item.childTitle}}</div>
+ <div class="info" v-if="item.optDate">{{item.optDate}}</div>
+ </div>
</div>
</div>
- <div class="desc_list">
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鍑洪櫓浜哄鍚嶏細
- </div>
- <div class="desc_list_item_val">
- {{model.memberName}}
+ <div class="box_desc">
+ <div class="box_desc_head">
+ <div class="box_desc_title">
+ <i class="el-icon-success"></i>
+ <span class="box_desc_title_val">鐞嗙畻瀹屾垚</span>
</div>
</div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鍑洪櫓浜鸿韩浠借瘉鍙凤細
- </div>
- <div class="desc_list_item_val">
- {{ model.memberIdcardNo }}
- </div>
+ <div class="box_desc_ls">
+ <span>鐞嗙畻璧斾粯閲戦鍚堣锛�</span>
+ <span>楼{{info.claimAccount + info.otherAccount}}</span>
</div>
- <div class="desc_list_item">
- <div class="desc_list_item_label" >
- 浜嬫晠鍙戠敓鏃堕棿锛�
- </div>
- <div class="desc_list_item_val" :style="contrast24(model.baoxianStartTime, model.happenTime) ? 'color: rgba(249, 86, 1, 0.996)' : 'color: black'">
- {{ model.happenTime }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鎵�灞炰繚鍗曞彿锛�
- </div>
- <div class="desc_list_item_val" style="cursor: pointer; color: rgba(39, 157, 255, 0.968627450980392);" @click="$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: model.insuranceApplyId })">
- {{ model.applyCode || '-' }}
- <el-button v-if="model.baoxiandanFile && model.baoxiandanFile.fileurlFull" type="primary" style="margin-left: 10px;" @click.stop="openBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 淇濋櫓鐢熸晥璧锋湡锛�
- </div>
- <div class="desc_list_item_val">
- {{ model.baoxianStartTime }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 淇濋櫓鐢熸晥姝㈡湡锛�
- </div>
- <div class="desc_list_item_val">
- {{ model.baoxianEndTime }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 娲鹃仯鍗曚綅锛�
- </div>
- <div class="desc_list_item_val">
- {{ model.duName }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鎵�灞炲伐绉嶏細
- </div>
- <div class="desc_list_item_val">
- {{ model.worktypeName }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 灏辫瘖鍖荤枟鏈烘瀯锛�
- </div>
- <div class="desc_list_item_val">
- {{ model.hospital }}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 浜嬫晠绫诲瀷锛�
- </div>
- <div class="desc_list_item_val" v-if="model.type ===1">涓婁笅鐝�斾腑鍙椾激</div>
- <div class="desc_list_item_val" v-else-if="model.type ===2">闈炲伐浣滄椂闂村彈浼�</div>
- <div class="desc_list_item_val" v-else-if="model.type ===3">鎰忓鍙椾激</div>
- <div class="desc_list_item_val" v-else>宸ヤ綔鏈熼棿鍙椾激</div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鏄惁浣忛櫌锛�
- </div>
- <div class="desc_list_item_val">
- <div class="desc_list_item_val" v-if="model.inHospital === 0">鏄�</div>
- <div class="desc_list_item_val" v-else>鍚�</div>
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鏄惁鏈夊尰鐤椾繚闄╋細
- </div>
- <div class="desc_list_item_val">{{ model.medicalInsurance ===0?"鏄�":"鍚�" }}</div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鍑洪櫓鍦板尯锛�
- </div>
- <div class="desc_list_item_val">
- {{model.areaInfo}}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鎶ユ浜哄鍚嶏細
- </div>
- <div class="desc_list_item_val">
- {{model.informantName}}
- </div>
- </div>
- <div class="desc_list_item">
- <div class="desc_list_item_label"> 鎶ユ浜鸿仈绯绘柟寮忥細 </div>
- <div class="desc_list_item_val"> {{model.informantPhone}} </div>
- </div>
- <div class="desc_list_item" style="width: 100%;">
- <div class="desc_list_item_label"> 琚繚闄╀汉锛� </div>
- <div class="desc_list_item_val">{{model.companyName}}</div>
- </div>
- <div class="desc_list_item" style="width: 100%;">
- <div class="desc_list_item_label"> 浜嬫晠鎻忚堪锛� </div>
- <div class="desc_list_item_val">{{model.content}}</div>
- </div>
- <div class="desc_list_item" style="width: 100%;">
- <div class="desc_list_item_label">
- 鎶ユ瑙嗛锛�
- </div>
- <div class="desc_list_item_videos" v-if="model.reportFileList && model.reportFileList.length > 0">
- <div class="desc_list_item_imgs_video" v-for="(item, index) in model.reportFileList" :key="index">
- <img :src="item.fileurlFull" v-if="item.type === 0" />
- <video controls :src="item.fileurlFull" v-if="item.type === 1"></video>
+ <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.accountContent).filter(row => row.type === 0)" :key="index">
+ <span>{{item.name}}</span>
+ <span>{{item.fee}}</span>
+ <span>{{item.describe}}</span>
</div>
</div>
- <div v-else class="desc_list_item_videos">-</div>
</div>
</div>
- <div class="desc_xian"></div>
- <div class="desc_label">
- <div class="desc_label_left">
- <span class="desc_label_left_title">
- 鐞嗚禂璧勬枡
- </span>
- <span v-if="model.finishDate!=null" class="desc_label_left_time" style="color: black">
- 璧勬枡瀹屾垚鏃ユ湡锛歿{model.finishDate}}
- </span>
+ <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_zt" v-if="info.statusName">{{info.statusName}}</div>
+ <div class="box_desc_title_tips" v-if="info.isRisk === 1">
+ <i class="el-icon-warning"></i>
+ <span>椋庨櫓妗堜欢</span>
+ </div>
+ <el-select v-model="info.caseType" @change="setCaseType" style="width: 100px;" placeholder="妗堜欢绫诲瀷" v-if="[9,10,11].includes(info.status)">
+ <el-option label="鍖荤枟" :value="1"></el-option>
+ <el-option label="浼ゆ畫" :value="2"></el-option>
+ <el-option label="姝讳骸" :value="3"></el-option>
+ </el-select>
+ </div>
+ <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,11].includes(info.status)">鎾ら攢鎶ユ</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,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="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="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,14].includes(info.status)"></el-button>
+ </div>
</div>
- <div class="desc_label_right">
- <template v-if="userInfo.type === 0">
- <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('澶囨敞鏍囩',model,remarkLogList,5)">澶囨敞鏍囩</el-button>
- <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="submit(0)">璧勬枡纭</el-button>
- </template>
- <el-button type="primary" @click="submit(1)">璧勬枡涓嬭浇</el-button>
+ <div class="box_desc_list">
+ <div class="box_desc_list_row">
+ 鎶ユ鏃堕棿锛歿{info.createDate}}
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ鍙凤細{{info.reportNum}}
+ </div>
+ <div class="box_desc_list_row">
+ 鎵�灞炰繚鍗曪細{{info.applyCode}}
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ浜猴細{{info.informantName}}
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ浜鸿仈绯绘柟寮忥細{{info.informantPhone}}
+ </div>
+ <div class="box_desc_list_zw"></div>
</div>
</div>
- <div class="desc_data">
- <div class="desc_data_label">1. 鍛樺伐鍏崇郴璇佹槑璧勬枡</div>
- <div class="desc_data_list">
- <template v-if="model.relationFileList && model.relationFileList.length > 0">
- <div class="desc_data_list_item" v-for="(item, index) in model.relationFileList" :key="index">
- <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
- <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
- <img :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
- <video controls :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_info">
- <span>{{ item.name }}</span>
- <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
- <span>{{ item.createDate }}</span>
- </div>
- </div>
- </template>
- <template v-if="(model.relationFileList==null|| model.relationFileList.length==0) && (model.status ==1 || model.status ==4)">
- <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
- </template>
- <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 2)" />
-<!-- <div class="desc_data_list_item">-->
-<!-- <UploadFileCommon :uploadData="{ folder: 'settle' }" />-->
-<!-- <div class="desc_data_list_item_upload">-->
-<!-- <el-button type="primary">涓婁紶</el-button>-->
-<!-- <el-button>鍙栨秷</el-button>-->
+ <div class="box_fx" v-if="info.isRisk === 1">
+ <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>
+ </div>
+ <div class="box_desc">
+ <div class="box_desc_head">
+ <div class="box_desc_title">
+ <span class="box_desc_title_val">鍑洪櫓浜轰俊鎭�</span>
+ </div>
+<!-- <div class="box_desc_btns">-->
+<!-- <div class="box_desc_btns_operate">-->
+<!-- <i class="el-icon-arrow-down"></i>-->
+<!-- <span>鏀惰捣</span>-->
<!-- </div>-->
<!-- </div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ <div class="box_desc_list">
+ <div class="box_desc_list_row">
+ 鍑洪櫓浜哄鍚嶏細{{info.memberName}}
+ </div>
+ <div class="box_desc_list_row">
+ 鍑洪櫓浜鸿韩浠借瘉鍙凤細{{info.memberIdcard}}
+ </div>
+ <div style="width: 33%; 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_f">
+ <div class="box_desc_fa">
+ <div class="box_desc_fa_title">{{info.solutionName}}</div>
+ <div class="box_desc_fa_row">淇濆崟鍙凤細{{info.applyCode}}</div>
+ <div class="box_desc_fa_row">淇濋殰鏈熼檺锛歿{info.baoxianStartTime}}锝瀧{info.baoxianEndTime}}</div>
+ <div class="box_desc_fa_row">鎶曚繚鍗曚綅锛歿{info.companyName}}</div>
+ <div class="box_desc_fa_row">娲鹃仯鍗曚綅锛歿{info.duName}}</div>
+ <div class="box_desc_fa_row">鎵�灞炲伐绉嶏細{{info.worktypeName}}</div>
+ </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">
+ 鍑洪櫓鏃堕棿锛歿{info.happenTime}}
+ </div>
+ <div class="box_desc_list_row">
+ 灏辫瘖鍖荤枟鏈烘瀯锛歿{info.hospital}}
+ </div>
+ <div class="box_desc_list_row">
+ 鍑洪櫓鍦板尯锛歿{info.areaInfo}}
+ </div>
+ <div class="box_desc_list_row" style="width: 100%;">
+ 鍑洪櫓缁忚繃锛歿{info.content}}
+ </div>
+ <div class="box_desc_list_row" style="width: 100%;">
+ 浜嬫晠绫诲瀷锛歿{returnType(info.type)}}
+ </div>
+ <div class="box_desc_list_row">
+ 鏄惁鏈夊尰鐤椾繚闄╋細{{returnName(info.medicalInsurance)}}
+ </div>
+ <div class="box_desc_list_row">
+ 灏辫瘖绫诲瀷锛歿{returnInHospital(info.inHospital)}}
+ </div>
+ <div class="box_desc_list_zw"></div>
+ <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>
+ </div>
+ </div>
</div>
</div>
- <div class="desc_data">
- <div class="desc_data_label">2. 鍖荤枟璧勬枡</div>
- <div class="desc_data_cate">
- <el-tabs v-model="activeName" @tab-click="handleClick">
- <el-tab-pane label="闂ㄨ瘖" name="first"></el-tab-pane>
- <el-tab-pane label="浣忛櫌璧勬枡" name="second"></el-tab-pane>
- <el-tab-pane label="浼ゆ畫" name="third"></el-tab-pane>
- </el-tabs>
- </div>
- <div class="desc_data_list" v-if="activeName === 'first'">
- <template v-if="model.outpatientFileList && model.outpatientFileList">
- <div class="desc_data_list_item" v-for="(item, index) in model.outpatientFileList" :key="index">
- <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
- <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
- <img :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
- <video controls :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_info">
- <span>{{ item.name }}</span>
- <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
- <span>{{ item.createDate }}</span>
- </div>
+ <div class="box_desc">
+ <div class="box_desc_head">
+ <div class="box_desc_title">
+ <span class="box_desc_title_val">鐞嗚禂鏉愭枡</span>
</div>
- </template>
- <template v-if="(model.outpatientFileList==null|| model.outpatientFileList.length==0) && (model.status ==2 || model.status ==4)">
- <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
- </template>
- <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 3)" />
-<!-- <div class="desc_data_list_item">-->
-<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
-<!-- <i class="el-icon-plus"></i>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item_upload">-->
-<!-- <el-button type="primary">涓婁紶</el-button>-->
-<!-- <el-button>鍙栨秷</el-button>-->
+<!-- <div class="box_desc_btns">-->
+<!-- <div class="box_desc_btns_operate">-->
+<!-- <i class="el-icon-arrow-down"></i>-->
+<!-- <span>鏀惰捣</span>-->
<!-- </div>-->
<!-- </div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
</div>
- <div class="desc_data_list" v-else-if="activeName === 'second'">
- <template v-if="model.hospitalFileList && model.hospitalFileList">
- <div class="desc_data_list_item" v-for="(item, index) in model.hospitalFileList" :key="index">
- <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
- <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
- <img :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
- <video controls :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_info">
- <span>{{ item.name }}</span>
- <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
- <span>{{ item.createDate }}</span>
- </div>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <span>鍛樺伐鍏崇郴璇佹槑鏉愭枡</span>
</div>
- </template>
- <template v-if="(model.hospitalFileList==null|| model.hospitalFileList.length==0) && (model.status ==2 || model.status ==4)">
- <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
- </template>
- <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 4)" />
-<!-- <div class="desc_data_list_item">-->
-<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
-<!-- <i class="el-icon-plus"></i>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item_upload">-->
-<!-- <el-button type="primary">涓婁紶</el-button>-->
-<!-- <el-button>鍙栨秷</el-button>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
- </div>
- <div class="desc_data_list" v-else-if="activeName === 'third'">
- <template v-if="model.disabilityFileList && model.disabilityFileList">
- <div class="desc_data_list_item" v-for="(item, index) in model.disabilityFileList" :key="index">
- <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
- <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
- <img :src="item.fileurlFull" />
+ <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>
- <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
- <video controls :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_info">
- <span>{{ item.name }}</span>
- <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
- <span>{{ item.createDate }}</span>
- </div>
</div>
- </template>
- <template v-if="(model.disabilityFileList==null|| model.disabilityFileList.length==0) && (model.status ==2 || model.status ==4)">
- <span style=" height: 40px;width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
- </template>
- <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 5)" />
-<!-- <div class="desc_data_list_item">-->
-<!-- <UploadFileCommon :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" />-->
-<!--<!– <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
-<!-- <i class="el-icon-plus"></i>-->
-<!-- </div>–>-->
-<!-- <div class="desc_data_list_item_upload">-->
-<!-- <el-button type="primary">涓婁紶</el-button>-->
-<!-- <el-button>鍙栨秷</el-button>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
</div>
- </div>
- <div class="desc_data">
- <div class="desc_data_label">3. 璧斾粯缁撴璧勬枡</div>
- <div class="desc_data_list">
- <template v-if="model.compensationFileList && model.compensationFileList">
- <div class="desc_data_list_item" v-for="(item, index) in model.compensationFileList" :key="index">
- <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
- <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
- <img :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
- <video controls :src="item.fileurlFull" />
- </div>
- <div class="desc_data_list_item_info">
- <span>{{ item.name }}</span>
- <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
- <span>{{ item.createDate }}</span>
- </div>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <span>闂ㄨ瘖</span>
</div>
- </template>
- <template v-if="(model.compensationFileList==null|| model.compensationFileList.length==0) && (model.status ==2 || model.status ==4)">
- <span style=" height: 40px;width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
- </template>
- <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 6)" />
-<!-- <div class="desc_data_list_item">-->
-<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
-<!-- <i class="el-icon-plus"></i>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item_upload">-->
-<!-- <el-button type="primary">涓婁紶</el-button>-->
-<!-- <el-button>鍙栨秷</el-button>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- <div class="desc_data_list_item1"></div>-->
-<!-- <div class="desc_data_list_item1"></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>
+ </div>
</div>
- </div>
- <div class="desc_label">
- <div class="desc_label_left">
- <span class="desc_label_left_title">
- 妗堜欢杩涘害
- </span>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <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>
+ </div>
</div>
- </div>
- <div class="desc_times">
- <el-timeline :reverse="reverse">
- <el-timeline-item
- v-for="(activity, index) in activeLogList"
- :key="index"
- :timestamp="activity.timestamp">
- <div style="display: flex; flex-direction: column;" v-if="activity.objType==3">
- <span style="font-size: 16px; font-weight: bold; color: #0d5ada;">
- {{activity.title}}
- <span style="font-size: 16px; font-weight: bold; color: #0d5ada; margin-left: 10px;" >
- <span v-if=" model.ylClaimAccount && model.ylClaimAccount>0">鍖荤枟鐞嗚禂{{ model.ylClaimAccount }}鍏冿紱</span>
- <span v-if=" model.wgClaimAccount && model.wgClaimAccount>0">璇伐鐞嗚禂{{ model.wgClaimAccount }}鍏冿紱</span>
- <span v-if=" model.scClaimAccount && model.scClaimAccount>0">浼ゆ畫鐞嗚禂{{ model.scClaimAccount }}鍏冿紱</span>
- <span v-if=" model.swClaimAccount && model.swClaimAccount>0">姝讳骸鐞嗚禂{{ model.swClaimAccount }}鍏冿紱</span>
- 鐞嗚禂鎬婚锛歿{ model.claimAccount }}鍏�
- </span>
- </span>
- <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
- {{activity.content}}
- </span>
- <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
- 鎿嶄綔鍛�-{{activity.creatorName}}锛坽{(activity.creatorType == 1||activity.creatorType == 2)? activity.companyName: "骞冲彴绔�"}}锛墈{activity.createDate}}
- </span>
- </div>
- <div style="display: flex; flex-direction: column;" v-else>
- <span style="font-size: 16px; font-weight: 400; color: black;">
- {{activity.title}}
- <span style="font-size: 16px; font-weight: 400; color: black; margin-left: 10px;" >
- {{activity.content}}
- </span>
- </span>
- <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
- 鎿嶄綔鍛�-{{activity.creatorName}}锛坽{(activity.creatorType == 1||activity.creatorType == 2)? activity.companyName: "骞冲彴绔�"}}锛墈{activity.createDate}}
- </span>
- </div>
- </el-timeline-item>
- </el-timeline>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <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>
+ </div>
+ </div>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <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>
+ </div>
+ </div>
+ <div class="box_desc_cailiao">
+ <div class="box_desc_cailiao_title">
+ <div class="box_desc_cailiao_title_x"></div>
+ <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>
+ </div>
+ </div>
</div>
</div>
- <template v-slot:footer>
- <el-button @click="visible=false">杩斿洖</el-button>
- </template>
- <OperaSettleClaimsCheckWindow ref="operaInsuranceApplyCheckWindow" @success="callback" />
- <!-- 鍦ㄧ嚎鎶ユ -->
- <onlineReporting ref="onlineReporting" @success="callback" />
- <!-- 琛ュ厖璇存槑 -->
- <supplementaryExplanation ref="supplementaryExplanation" @success="callback" />
- <!-- 鎶曚繚璇︽儏 -->
- <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="callback" />
+ <!-- 閫�鍥� -->
+ <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" />
+ <!-- 娣诲姞鏉愭枡 -->
+ <AdditionMaterial_ba ref="additionMaterial_ba" @success="getDetail" />
+ <!-- 鐞嗙畻 -->
+ <adjustment ref="adjustment" @success="getDetail" />
</GlobalWindow>
</template>
<script>
-
-import UploadFileCommon from '@/components/common/UploadFileCommon'
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
-import OperaSettleClaimsCheckWindow from '@/components/business/OperaSettleClaimsCheckWindow'
-import onlineReporting from '@/components/enterprise/onlineReporting'
-import supplementaryExplanation from '@/components/enterprise/supplementaryExplanation'
-import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
-import upload from '@/components/common/upload'
-import { confirmFile, findById, exportFiles, claimsUploadFile, delFile } from '@/api/business/settleClaims'
+import { findById, returnSettle } from '@/api/business/settleClaims'
+import {
+ register,
+ addReportNum,
+ addRemark,
+ saveSupplementDescribe,
+ updCaseType } from '@/api/business/settleRisk'
+import RiskCaseReminder from '@/components/business/riskCaseReminder'
+import CaseProgress from '@/components/business/caseProgress'
+import Acceptance from '@/components/business/acceptance'
+import AdditionMaterial_ba from '@/components/business/additionMaterial_ba'
+import adjustment from '@/components/business/adjustment'
import { mapState } from 'vuex'
+
export default {
name: 'OperaSettleClaimsWindow',
extends: BaseOpera,
- components: { GlobalWindow, OperaSettleClaimsCheckWindow, OperaInsuranceApplyDetails, UploadFileCommon, onlineReporting, supplementaryExplanation, upload },
+ components: { GlobalWindow, RiskCaseReminder, CaseProgress, Acceptance, AdditionMaterial_ba, adjustment },
data () {
return {
- loading: false,
- doneFileDate: null,
- remarkLogList: [],
- activeLogList:[],
- list: [],
- model: {},
- activeName: 'first',
- reverse: false
+ show: false,
+ info: null,
+ id: null
}
},
computed: {
@@ -472,403 +319,549 @@
})
},
methods: {
- open (title, target) {
- this.model = {}
- this.model = target
- this.title = title
- this.visible = true
- this.doneFileDate = null
- this.remarkLogList = []
- this.activeLogList = []
- this.getDetail()
- },
- // 鍒ゆ柇涓や釜鏃堕棿涔嬮棿鐩稿樊鏄惁
- contrast24 (time1, time2) {
- console.log(time1)
- console.log(time2)
- if (time1 && time2) {
- const a = new Date(time1)
- const b = new Date(time2)
- const timeDiff = Math.abs(a.getTime() - b.getTime())
- console.log(Math.ceil(timeDiff / (3600 * 1000)))
- return Math.ceil(timeDiff / (3600 * 1000)) <= 24
- } else {
- return false
- }
- },
- contrast (time1, time2) {
- if (time1 && time2) {
- const a = new Date(time1).getTime()
- const b = new Date(time2).getTime()
- return a > b
- } else {
- return false
- }
- },
- edit () {
- const obj = JSON.parse(JSON.stringify(this.model))
- obj.areaId = obj.areaId.split(',').map(item => Number(item))
- this.$refs.onlineReporting.open('淇敼淇℃伅', obj)
- },
- openBaoxiandan () {
- window.open(this.model.baoxiandanFile.fileurlFull)
- },
- delFile (id) {
- this.$dialog.messageConfirm('纭鍒犻櫎璇ラ檮浠跺悧锛屼竴鏃﹀垹闄ゆ棤娉曟挙鍥烇紵')
- .then(() => {
- delFile(this.model.id, id).then(response => {
- this.getDetail()
- }).catch(err => {
- this.$tip.apiFailed(err)
- })
- })
- },
- getDetail () {
- findById(this.model.id)
- .then(res => {
- this.model = res
- this.remarkLogList = []
- this.activeLogList =[]
- var logList = this.model.settleClaimsLogList
- if (logList) {
- logList.forEach(item => {
- if (item.objType == 2) {
- this.doneFileDate = item.createDate
- }
- if (item.objType == 7) {
- this.remarkLogList.push(item)
- } else {
- this.activeLogList.push(item)
- }
+ open (title, id) {
+ this.title = title
+ this.id = id
+ 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(() => {
+
+ });
+ },
+ 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(() => {
+
+ });
+ },
+ 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
+ })
+ },
+ // 鎾ら攢
+ revoke(id) {
+ this.$confirm('鎾ら攢鍚庯紝妗堜欢鐩存帴缁撴潫锛屾棤娉曠户缁繘琛岀悊璧旀搷浣滐紒', '鏄惁鎾ら攢鎶ユ锛�', {
+ confirmButtonText: '纭畾鎾ら攢',
+ cancelButtonText: '鎴戝啀鎯虫兂',
+ type: 'warning'
+ }).then(() => {
+ returnSettle({ id: this.info.id })
+ .then(res => {
+ this.getDetail()
+ })
+ }).catch(() => {
+
+ });
+ },
+ returnInHospital(type) {
+ switch (type) {
+ case 0:
+ return '浣忛櫌'
+ case 1:
+ return '闂ㄨ瘖'
}
- }).catch(err => {
- })
- },
- handleClick (tab) {
- this.activeName = tab.name
- },
- callback () {
- this.getDetail()
- this.$emit('success')
- },
- claimsUploadFile (e, objType) {
- claimsUploadFile({
- id: this.model.id,
- objType,
- fileUrl: e.imgaddr,
- fileName: e.originname,
- fileType: e.type
- }).then(response => {
- this.getDetail()
- }).catch(err => {
- this.$tip.apiFailed(err)
- }).finally(() => {
- this.loading = false
- })
- },
- submit (type) {
- var that = this
- if (type == 0) {
- this.$dialog.messageConfirm('鐞嗚禂鏉愭枡鏀堕泦瀹屾垚锛岃鍙婃椂鎻愪氦淇濋櫓鍏徃锛�')
- .then(() => {
- // this.isWorking = true
- confirmFile({ id: that.model.id })
- .then(response => {
- that.getDetail()
- }).catch(err => {
- this.$tip.apiFailed(err)
- })
- })
- } else if (type == 1) {
- // 璧勬枡涓嬭浇
- this.$dialog.exportConfirm('纭杩涜璧勬枡涓嬭浇鍚楋紵')
- .then(() => {
- this.isWorking = true
- exportFiles({ id: that.model.id })
- .then(response => {
- this.download(response)
- }).catch(err => {
- console.log(err)
- this.$message.error('涓嬭浇璧勬枡澶辫触锛岃纭璧勬枡鏁版嵁涓嶄负绌�')
- }).finally(() => {
- this.isWorking = false
- })
- })
- .catch(() => {
- })
+ },
+ 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 '鎰忓鍙椾激'
+ }
}
- }
}
}
</script>
-<style>
- .v-modal {
- z-index: 2000 !important;
- }
-</style>
+
<style lang="scss" scoped>
- .form {
+ .box {
width: 100%;
- display: flex;
- align-items: center;
- flex-direction: column;
- .form_span {
+ .box_status {
width: 100%;
+ padding: 30px 0;
+ box-sizing: border-box;
display: flex;
align-items: start;
- flex-direction: column;
- margin-bottom: 20px;
- span {
- font-size: 14px;
- &:nth-child(1) {
- color: black;
- margin-bottom: 5px;
- }
- &:nth-child(2) {
- color: #8c939d;
- }
- }
- }
- .form_item {
- width: 100%;
- display: flex;
- align-items: start;
- margin-bottom: 20px;
- &:last-child {
- margin: 0 !important;
- }
- .form_item_label {
- flex-shrink: 0;
- color: black;
- font-size: 14px;
- span {
- color: red;
- font-size: 14px;
- }
- }
- .form_item_val {
- flex: 1;
- /*height: 40px;*/
- margin-left: 20px;
- textarea {
- width: 100%;
- height: 70px;
- border: 1px solid #cbcbcb;
- padding: 10px;
- outline: none;
- box-sizing: border-box;
- }
- input {
- width: 100%;
- height: 100%;
- outline: none;
- border-radius: 5px;
- border: 1px solid #cbcbcb;
- padding: 0 20px;
- box-sizing: border-box;
- }
- }
- }
- }
- .desc {
- width: 100%;
- display: flex;
- align-items: center;
- flex-direction: column;
- .desc_label {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .desc_label_left {
- flex: 1;
+ justify-content: center;
+ margin-bottom: 30px;
+ .box_status_row {
+ width: 200px;
display: flex;
+ flex-direction: column;
align-items: center;
- .desc_label_left_title {
- font-size: 20px;
- font-weight: bold;
- color: black;
+ justify-content: center;
+ position: relative;
+ .box_status_row_xian {
+ position: absolute;
+ right: -55px;
+ top: 5px;
+ width: calc(100% - 80px);
+ height: 1px;
+ background-color: #BEBEBE;
}
- .desc_label_left_time {
- font-size: 14px;
- color: black;
- /*color: rgba(249, 86, 1, 0.996);*/
- margin-left: 10px;
+ .statusColor1 {
+ background-color: #165DFF !important;
}
- .desc_label_left_code {
- font-size: 15px;
- color: black;
- margin-left: 30px;
+ .statusColor2 {
+ border: 1px solid #0052D9 !important;
}
- }
- .desc_label_right {
- flex-shrink: 0;
- }
- }
- .desc_list {
- width: 100%;
- margin-top: 20px;
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- .desc_list_item {
- width: 33.3%;
- display: flex;
- align-items: center;
- margin-bottom: 10px;
- .desc_list_item_label {
- width: 130px;
- flex-shrink: 0;
- font-size: 15px;
- color: black;
+ .statusColor3 {
+ span {
+ color: #ffffff !important;
+ }
}
- .desc_list_item_val {
- flex: 1;
- font-size: 15px;
- color: black;
- }
- .desc_list_item_videos {
- flex: 1;
+ .box_status_row_icon {
+ width: 8px;
+ height: 8px;
+ border: 1px solid #C5C5C5;
+ border-radius: 50%;
display: flex;
align-items: center;
- flex-wrap: wrap;
- .desc_list_item_imgs_video {
- width: 120px;
- height: 120px;
- background: black;
- margin-right: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- video {
- width: 100%;
- height: 100%;
- }
- img {
- width: 100%;
- }
+ justify-content: center;
+ span {
+ color: rgba(78,89,105,1);
+ font-size: 14px;
+ }
+ i {
+ color: #165DFF;
+ }
+ }
+ .box_status_row_info {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+ margin-top: 10px;
+ .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: 10px;
}
}
}
}
- .desc_xian {
+ .box_desc {
width: 100%;
- height: 1px;
- margin: 10px 0;
- background: #ececec;
- }
- .desc_data {
- width: 100%;
- display: flex;
- flex-direction: column;
- margin-top: 20px;
- .desc_data_label {
- font-size: 16px;
- color: black;
- font-weight: 600;
- margin-bottom: 20px;
- }
- .desc_data_cate {
+ margin-bottom: 15px;
+ .box_desc_cailiao {
width: 100%;
- margin: 0 0 10px 0;
+ 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%;
+ }
+ }
+ }
}
- .desc_data_list {
+ .box_desc_ls {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin-bottom: 15px;
+ span {
+ &:nth-child(1) {
+ color: rgba(0,0,0,1);
+ font-size: 16px;
+ }
+ &:nth-child(2) {
+ color: rgba(255,162,63,1);
+ font-size: 16px;
+ }
+ }
+ }
+ .box_desc_lslist {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ margin-bottom: 40px;
+ .box_desc_lslist_title {
+ color: rgba(0,0,0,1);
+ font-size: 16px;
+ margin-bottom: 15px;
+ }
+ .box_desc_lslist_l {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ padding-left: 50px;
+ box-sizing: border-box;
+ .box_desc_lslist_l_row {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin-bottom: 13px;
+ &:last-child {
+ margin: 0 !important;
+ }
+ 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: 0 30px;
+ }
+ &:nth-child(3) {
+ color: rgba(108,108,108,1);
+ font-size: 14px;
+ }
+ }
+ }
+ }
+ }
+ .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;
+ .el-icon-success {
+ font-size: 20px;
+ color: #34C758;
+ margin-right: 10px;
+ }
+ .box_desc_title_val {
+ color: rgba(16,16,16,1);
+ font-size: 18px;
+ margin-right: 20px;
+ }
+ .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);
+ margin-right: 20px;
+ .el-icon-warning {
+ color: #FF4D4F;
+ margin-right: 5px;
+ }
+ span {
+ color: #FF4D4F;
+ font-size: 12px;
+ }
+ }
+ }
+ .box_desc_btns {
+ display: flex;
+ align-items: center;
+ .box_desc_btns_operate {
+ display: flex;
+ align-items: center;
+ margin-left: 10px;
+ cursor: pointer;
+ i {
+ color: #515151;
+ }
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ margin-left: 4px;
+ }
+ }
+ }
+ }
+ .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;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+ .box_desc_list_img_files {
+ flex-shrink: 0;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .box_desc_list_img_files_row {
+ width: 94px;
+ height: 94px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ margin-right: 25px;
+ &:last-child {
+ margin: 0;
+ }
+ background-color: #E5E5E5;
+ img {
+ width: 100%;
+ }
+ }
+ }
+ }
+ }
+ .box_desc_f {
width: 100%;
display: flex;
align-items: center;
flex-wrap: wrap;
- .desc_data_list_item1 {
- width: 24.5%;
- }
- .desc_data_list_item {
- width: 24.5%;
- padding: 10px;
+ margin-bottom: 30px;
+ justify-content: space-between;
+ .box_desc_fa {
+ width: 32%;
+ padding: 22px 25px;
box-sizing: border-box;
- border: 1px solid #e2e2e2;
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: relative;
- margin-bottom: 10px;
- margin-right: 20px;
- &:last-child {
- margin-right: 0 !important;
+ border-radius: 4px;
+ background-color: rgba(239,239,239,1);
+ .box_desc_fa_title {
+ color: rgba(16,16,16,1);
+ font-size: 18px;
+ font-weight: bold;
+ text-decoration: underline;
+ margin-bottom: 10px;
}
- .desc_data_list_item_dele {
- position: absolute;
- top: 10px;
- right: 10px;
+ .box_desc_fa_row {
+ color: rgba(16,16,16,1);
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: 80px;
- height: 80px;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- margin-right: 10px;
- .el-icon-plus {
- font-size: 26px;
- color: #ffffff;
- }
- img {
- width: 100%;
- }
- video {
- width: 100%;
- }
- }
- .desc_data_list_item_info {
- flex: 1;
- height: 80px;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- word-break: break-all;
- span {
- &:nth-child(1) {
- width: 160px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 14px;
- color: black;
- padding-right: 30px;
- box-sizing: border-box;
- }
- &:nth-child(2) {
- width: 100%;
- word-break: break-all;
- font-size: 14px;
- color: #888888;
- }
- &:nth-child(3) {
- width: 100%;
- word-break: break-all;
- font-size: 14px;
- color: #888888;
- }
+ margin-bottom: 10px;
+ &:last-child {
+ margin: 0;
}
}
}
}
}
- .desc_times {
+ .box_fx {
width: 100%;
- margin-top: 20px;
+ height: 49px;
+ display: flex;
+ padding: 0 17px;
+ margin-bottom: 30px;
+ box-sizing: border-box;
+ align-items: center;
+ justify-content: space-between;
+ background-color: rgba(254,226,225,1);
+ .box_fx_left {
+ display: flex;
+ align-items: center;
+ i {
+ color: #FF4D4F;
+ font-size: 18px;
+ }
+ .box_fx_left_a {
+ color: rgba(255,77,79,1);
+ font-size: 14px;
+ margin: 0 10px;
+ }
+ .box_fx_left_b {
+ color: rgba(255,77,79,1);
+ font-size: 14px;
+ text-decoration: underline;
+ cursor: pointer;
+ }
+ }
+ .el-icon-close {
+ color: #101010;
+ cursor: pointer;
+ font-size: 18px;
+ }
}
}
</style>
diff --git a/company/src/components/business/OperaSettleClaimsWindow_copy.vue b/company/src/components/business/OperaSettleClaimsWindow_copy.vue
new file mode 100644
index 0000000..e35dfb2
--- /dev/null
+++ b/company/src/components/business/OperaSettleClaimsWindow_copy.vue
@@ -0,0 +1,874 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="desc" v-loading="loading">
+ <div class="desc_label">
+ <div class="desc_label_left">
+ <span class="desc_label_left_title">
+ 鎶ユ璇︽儏
+ </span>
+ <span class="desc_label_left_time" :style="contrast(model.createDate, model.baoxianEndTime) ? 'color: rgba(249, 86, 1, 0.996)' : 'color: black'">
+ 鎶ユ鏃ユ湡锛歿{ model.createDate }}
+ </span>
+ <span class="desc_label_left_code">
+ 鎶ユ鍙凤細{{ model.reportNum || '-' }}
+ </span>
+ <span class="desc_label_left_code">
+ 鐘舵�侊細
+ <span :class="'settle-status'+model.status" v-if="model.status==0 || model.status==2|| model.status==3">澶勭悊涓� </span>
+ <span :class="'settle-status'+model.status" v-if="model.status==1">宸叉挙妗� </span>
+ <span :class="'settle-status'+model.status" v-if="model.status==4">宸茬粨妗� </span>
+ </span>
+ </div>
+ <div class="desc_label_right">
+ <template v-if="userInfo.type === 0">
+ <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('娣诲姞鎶ユ鍙�',model,remarkLogList,1)">娣诲姞鎶ユ鍙�</el-button>
+ <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('鐞嗚禂澶勭悊',model,remarkLogList,2)">鐞嗚禂澶勭悊</el-button>
+ <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('缁撴鎻愪氦',model,remarkLogList,4)">缁撴鎻愪氦</el-button>
+ <el-button type="danger" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('鎾ら攢鐢宠',model,remarkLogList,3)">鎾ら攢鐢宠</el-button>
+ </template>
+ <template v-else>
+ <el-button type="primary" @click="edit" v-if="model.status === 0 || model.status === 2 || model.status === 3">淇敼淇℃伅</el-button>
+ <el-button type="primary" @click="$refs.supplementaryExplanation.open('琛ュ厖璇存槑', model.id)" v-if="model.status === 0 || model.status === 2 || model.status === 3">琛ュ厖璇存槑</el-button>
+ </template>
+ </div>
+ </div>
+ <div class="desc_list">
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鍑洪櫓浜哄鍚嶏細
+ </div>
+ <div class="desc_list_item_val">
+ {{model.memberName}}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鍑洪櫓浜鸿韩浠借瘉鍙凤細
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.memberIdcardNo }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label" >
+ 浜嬫晠鍙戠敓鏃堕棿锛�
+ </div>
+ <div class="desc_list_item_val" :style="contrast24(model.baoxianStartTime, model.happenTime) ? 'color: rgba(249, 86, 1, 0.996)' : 'color: black'">
+ {{ model.happenTime }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鎵�灞炰繚鍗曞彿锛�
+ </div>
+ <div class="desc_list_item_val" style="cursor: pointer; color: rgba(39, 157, 255, 0.968627450980392);" @click="$refs.OperaInsuranceApplyDetails.open('鎶曚繚璇︽儏', { id: model.insuranceApplyId })">
+ {{ model.applyCode || '-' }}
+ <el-button v-if="model.baoxiandanFile && model.baoxiandanFile.fileurlFull" type="primary" style="margin-left: 10px;" @click.stop="openBaoxiandan">鏌ョ湅淇濋櫓鍗�</el-button>
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 淇濋櫓鐢熸晥璧锋湡锛�
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.baoxianStartTime }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 淇濋櫓鐢熸晥姝㈡湡锛�
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.baoxianEndTime }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 娲鹃仯鍗曚綅锛�
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.duName }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鎵�灞炲伐绉嶏細
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.worktypeName }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 灏辫瘖鍖荤枟鏈烘瀯锛�
+ </div>
+ <div class="desc_list_item_val">
+ {{ model.hospital }}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 浜嬫晠绫诲瀷锛�
+ </div>
+ <div class="desc_list_item_val" v-if="model.type ===1">涓婁笅鐝�斾腑鍙椾激</div>
+ <div class="desc_list_item_val" v-else-if="model.type ===2">闈炲伐浣滄椂闂村彈浼�</div>
+ <div class="desc_list_item_val" v-else-if="model.type ===3">鎰忓鍙椾激</div>
+ <div class="desc_list_item_val" v-else>宸ヤ綔鏈熼棿鍙椾激</div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鏄惁浣忛櫌锛�
+ </div>
+ <div class="desc_list_item_val">
+ <div class="desc_list_item_val" v-if="model.inHospital === 0">鏄�</div>
+ <div class="desc_list_item_val" v-else>鍚�</div>
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鏄惁鏈夊尰鐤椾繚闄╋細
+ </div>
+ <div class="desc_list_item_val">{{ model.medicalInsurance ===0?"鏄�":"鍚�" }}</div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鍑洪櫓鍦板尯锛�
+ </div>
+ <div class="desc_list_item_val">
+ {{model.areaInfo}}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label">
+ 鎶ユ浜哄鍚嶏細
+ </div>
+ <div class="desc_list_item_val">
+ {{model.informantName}}
+ </div>
+ </div>
+ <div class="desc_list_item">
+ <div class="desc_list_item_label"> 鎶ユ浜鸿仈绯绘柟寮忥細 </div>
+ <div class="desc_list_item_val"> {{model.informantPhone}} </div>
+ </div>
+ <div class="desc_list_item" style="width: 100%;">
+ <div class="desc_list_item_label"> 琚繚闄╀汉锛� </div>
+ <div class="desc_list_item_val">{{model.companyName}}</div>
+ </div>
+ <div class="desc_list_item" style="width: 100%;">
+ <div class="desc_list_item_label"> 浜嬫晠鎻忚堪锛� </div>
+ <div class="desc_list_item_val">{{model.content}}</div>
+ </div>
+ <div class="desc_list_item" style="width: 100%;">
+ <div class="desc_list_item_label">
+ 鎶ユ瑙嗛锛�
+ </div>
+ <div class="desc_list_item_videos" v-if="model.reportFileList && model.reportFileList.length > 0">
+ <div class="desc_list_item_imgs_video" v-for="(item, index) in model.reportFileList" :key="index">
+ <img :src="item.fileurlFull" v-if="item.type === 0" />
+ <video controls :src="item.fileurlFull" v-if="item.type === 1"></video>
+ </div>
+ </div>
+ <div v-else class="desc_list_item_videos">-</div>
+ </div>
+ </div>
+ <div class="desc_xian"></div>
+ <div class="desc_label">
+ <div class="desc_label_left">
+ <span class="desc_label_left_title">
+ 鐞嗚禂璧勬枡
+ </span>
+ <span v-if="model.finishDate!=null" class="desc_label_left_time" style="color: black">
+ 璧勬枡瀹屾垚鏃ユ湡锛歿{model.finishDate}}
+ </span>
+ </div>
+ <div class="desc_label_right">
+ <template v-if="userInfo.type === 0">
+ <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="$refs.operaInsuranceApplyCheckWindow.open('澶囨敞鏍囩',model,remarkLogList,5)">澶囨敞鏍囩</el-button>
+ <el-button type="primary" v-if="model.status !=1 && model.status !=4" @click="submit(0)">璧勬枡纭</el-button>
+ </template>
+ <el-button type="primary" @click="submit(1)">璧勬枡涓嬭浇</el-button>
+ </div>
+ </div>
+ <div class="desc_data">
+ <div class="desc_data_label">1. 鍛樺伐鍏崇郴璇佹槑璧勬枡</div>
+ <div class="desc_data_list">
+ <template v-if="model.relationFileList && model.relationFileList.length > 0">
+ <div class="desc_data_list_item" v-for="(item, index) in model.relationFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
+ <img :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
+ <video controls :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_info">
+ <span>{{ item.name }}</span>
+ <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
+ <span>{{ item.createDate }}</span>
+ </div>
+ </div>
+ </template>
+ <template v-if="(model.relationFileList==null|| model.relationFileList.length==0) && (model.status ==1 || model.status ==4)">
+ <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
+ </template>
+ <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 2)" />
+<!-- <div class="desc_data_list_item">-->
+<!-- <UploadFileCommon :uploadData="{ folder: 'settle' }" />-->
+<!-- <div class="desc_data_list_item_upload">-->
+<!-- <el-button type="primary">涓婁紶</el-button>-->
+<!-- <el-button>鍙栨秷</el-button>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ </div>
+ <div class="desc_data">
+ <div class="desc_data_label">2. 鍖荤枟璧勬枡</div>
+ <div class="desc_data_cate">
+ <el-tabs v-model="activeName" @tab-click="handleClick">
+ <el-tab-pane label="闂ㄨ瘖" name="first"></el-tab-pane>
+ <el-tab-pane label="浣忛櫌璧勬枡" name="second"></el-tab-pane>
+ <el-tab-pane label="浼ゆ畫" name="third"></el-tab-pane>
+ </el-tabs>
+ </div>
+ <div class="desc_data_list" v-if="activeName === 'first'">
+ <template v-if="model.outpatientFileList && model.outpatientFileList">
+ <div class="desc_data_list_item" v-for="(item, index) in model.outpatientFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
+ <img :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
+ <video controls :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_info">
+ <span>{{ item.name }}</span>
+ <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
+ <span>{{ item.createDate }}</span>
+ </div>
+ </div>
+ </template>
+ <template v-if="(model.outpatientFileList==null|| model.outpatientFileList.length==0) && (model.status ==2 || model.status ==4)">
+ <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
+ </template>
+ <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 3)" />
+<!-- <div class="desc_data_list_item">-->
+<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
+<!-- <i class="el-icon-plus"></i>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item_upload">-->
+<!-- <el-button type="primary">涓婁紶</el-button>-->
+<!-- <el-button>鍙栨秷</el-button>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ <div class="desc_data_list" v-else-if="activeName === 'second'">
+ <template v-if="model.hospitalFileList && model.hospitalFileList">
+ <div class="desc_data_list_item" v-for="(item, index) in model.hospitalFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
+ <img :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
+ <video controls :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_info">
+ <span>{{ item.name }}</span>
+ <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
+ <span>{{ item.createDate }}</span>
+ </div>
+ </div>
+ </template>
+ <template v-if="(model.hospitalFileList==null|| model.hospitalFileList.length==0) && (model.status ==2 || model.status ==4)">
+ <span style="height: 40px; width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
+ </template>
+ <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 4)" />
+<!-- <div class="desc_data_list_item">-->
+<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
+<!-- <i class="el-icon-plus"></i>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item_upload">-->
+<!-- <el-button type="primary">涓婁紶</el-button>-->
+<!-- <el-button>鍙栨秷</el-button>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ <div class="desc_data_list" v-else-if="activeName === 'third'">
+ <template v-if="model.disabilityFileList && model.disabilityFileList">
+ <div class="desc_data_list_item" v-for="(item, index) in model.disabilityFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
+ <img :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
+ <video controls :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_info">
+ <span>{{ item.name }}</span>
+ <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
+ <span>{{ item.createDate }}</span>
+ </div>
+ </div>
+ </template>
+ <template v-if="(model.disabilityFileList==null|| model.disabilityFileList.length==0) && (model.status ==2 || model.status ==4)">
+ <span style=" height: 40px;width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
+ </template>
+ <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 5)" />
+<!-- <div class="desc_data_list_item">-->
+<!-- <UploadFileCommon :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList1" @uploadSuccess="baoxianFileUploaded" />-->
+<!--<!– <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
+<!-- <i class="el-icon-plus"></i>-->
+<!-- </div>–>-->
+<!-- <div class="desc_data_list_item_upload">-->
+<!-- <el-button type="primary">涓婁紶</el-button>-->
+<!-- <el-button>鍙栨秷</el-button>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ </div>
+ <div class="desc_data">
+ <div class="desc_data_label">3. 璧斾粯缁撴璧勬枡</div>
+ <div class="desc_data_list">
+ <template v-if="model.compensationFileList && model.compensationFileList">
+ <div class="desc_data_list_item" v-for="(item, index) in model.compensationFileList" :key="index">
+ <div class="desc_data_list_item_dele" @click="delFile(item.id)">鍒犻櫎</div>
+ <div class="desc_data_list_item_img" v-if="item.type == 0 && item.fileurlFull != null">
+ <img :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_img" v-if="item.type == 1 && item.fileurlFull != null">
+ <video controls :src="item.fileurlFull" />
+ </div>
+ <div class="desc_data_list_item_info">
+ <span>{{ item.name }}</span>
+ <span>鎿嶄綔鍛�-{{ item.creatorName }}</span>
+ <span>{{ item.createDate }}</span>
+ </div>
+ </div>
+ </template>
+ <template v-if="(model.compensationFileList==null|| model.compensationFileList.length==0) && (model.status ==2 || model.status ==4)">
+ <span style=" height: 40px;width:100%;text-align:center;color: #8c939d;font-size: 12px">鏆傛棤鐩稿叧鏉愭枡</span>
+ </template>
+ <upload v-if="model.status !=1 && model.status !=4" width="100px" height="100px" :list="[]" accept=".png,.jpg,.jpeg,.mp4,.word,.xlsx,.xls,.pdf,.excel" folder="settle" @loading="loading = true" @success="claimsUploadFile($event, 6)" />
+<!-- <div class="desc_data_list_item">-->
+<!-- <div class="desc_data_list_item_img" style="cursor: pointer; background: #8c939d;">-->
+<!-- <i class="el-icon-plus"></i>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item_upload">-->
+<!-- <el-button type="primary">涓婁紶</el-button>-->
+<!-- <el-button>鍙栨秷</el-button>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+<!-- <div class="desc_data_list_item1"></div>-->
+ </div>
+ </div>
+ <div class="desc_label">
+ <div class="desc_label_left">
+ <span class="desc_label_left_title">
+ 妗堜欢杩涘害
+ </span>
+ </div>
+ </div>
+ <div class="desc_times">
+ <el-timeline :reverse="reverse">
+ <el-timeline-item
+ v-for="(activity, index) in activeLogList"
+ :key="index"
+ :timestamp="activity.timestamp">
+ <div style="display: flex; flex-direction: column;" v-if="activity.objType==3">
+ <span style="font-size: 16px; font-weight: bold; color: #0d5ada;">
+ {{activity.title}}
+ <span style="font-size: 16px; font-weight: bold; color: #0d5ada; margin-left: 10px;" >
+ <span v-if=" model.ylClaimAccount && model.ylClaimAccount>0">鍖荤枟鐞嗚禂{{ model.ylClaimAccount }}鍏冿紱</span>
+ <span v-if=" model.wgClaimAccount && model.wgClaimAccount>0">璇伐鐞嗚禂{{ model.wgClaimAccount }}鍏冿紱</span>
+ <span v-if=" model.scClaimAccount && model.scClaimAccount>0">浼ゆ畫鐞嗚禂{{ model.scClaimAccount }}鍏冿紱</span>
+ <span v-if=" model.swClaimAccount && model.swClaimAccount>0">姝讳骸鐞嗚禂{{ model.swClaimAccount }}鍏冿紱</span>
+ 鐞嗚禂鎬婚锛歿{ model.claimAccount }}鍏�
+ </span>
+ </span>
+ <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
+ {{activity.content}}
+ </span>
+ <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
+ 鎿嶄綔鍛�-{{activity.creatorName}}锛坽{(activity.creatorType == 1||activity.creatorType == 2)? activity.companyName: "骞冲彴绔�"}}锛墈{activity.createDate}}
+ </span>
+ </div>
+ <div style="display: flex; flex-direction: column;" v-else>
+ <span style="font-size: 16px; font-weight: 400; color: black;">
+ {{activity.title}}
+ <span style="font-size: 16px; font-weight: 400; color: black; margin-left: 10px;" >
+ {{activity.content}}
+ </span>
+ </span>
+ <span style="margin-top: 5px; font-size: 12px; font-weight: 400; color: #999999;">
+ 鎿嶄綔鍛�-{{activity.creatorName}}锛坽{(activity.creatorType == 1||activity.creatorType == 2)? activity.companyName: "骞冲彴绔�"}}锛墈{activity.createDate}}
+ </span>
+ </div>
+ </el-timeline-item>
+ </el-timeline>
+ </div>
+ </div>
+ <template v-slot:footer>
+ <el-button @click="visible=false">杩斿洖</el-button>
+ </template>
+ <OperaSettleClaimsCheckWindow ref="operaInsuranceApplyCheckWindow" @success="callback" />
+ <!-- 鍦ㄧ嚎鎶ユ -->
+ <onlineReporting ref="onlineReporting" @success="callback" />
+ <!-- 琛ュ厖璇存槑 -->
+ <supplementaryExplanation ref="supplementaryExplanation" @success="callback" />
+ <!-- 鎶曚繚璇︽儏 -->
+ <OperaInsuranceApplyDetails ref="OperaInsuranceApplyDetails" @success="callback" />
+ </GlobalWindow>
+</template>
+
+<script>
+
+import UploadFileCommon from '@/components/common/UploadFileCommon'
+import BaseOpera from '@/components/base/BaseOpera'
+import GlobalWindow from '@/components/common/GlobalWindow'
+import OperaSettleClaimsCheckWindow from '@/components/business/OperaSettleClaimsCheckWindow'
+import onlineReporting from '@/components/enterprise/onlineReporting'
+import supplementaryExplanation from '@/components/enterprise/supplementaryExplanation'
+import OperaInsuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
+import upload from '@/components/common/upload'
+import { confirmFile, findById, exportFiles, claimsUploadFile, delFile } from '@/api/business/settleClaims'
+import { mapState } from 'vuex'
+export default {
+ name: 'OperaSettleClaimsWindow',
+ extends: BaseOpera,
+ components: { GlobalWindow, OperaSettleClaimsCheckWindow, OperaInsuranceApplyDetails, UploadFileCommon, onlineReporting, supplementaryExplanation, upload },
+ data () {
+ return {
+ loading: false,
+ doneFileDate: null,
+ remarkLogList: [],
+ activeLogList:[],
+ list: [],
+ model: {},
+ activeName: 'first',
+ reverse: false
+ }
+ },
+ computed: {
+ ...mapState(['userInfo'])
+ },
+ created () {
+ this.config({
+ api: '/business/settleClaims',
+ 'field.id': 'id'
+ })
+ },
+ methods: {
+ open (title, target) {
+ this.model = {}
+ this.model = target
+ this.title = title
+ this.visible = true
+ this.doneFileDate = null
+ this.remarkLogList = []
+ this.activeLogList = []
+ this.getDetail()
+ },
+ // 鍒ゆ柇涓や釜鏃堕棿涔嬮棿鐩稿樊鏄惁
+ contrast24 (time1, time2) {
+ console.log(time1)
+ console.log(time2)
+ if (time1 && time2) {
+ const a = new Date(time1)
+ const b = new Date(time2)
+ const timeDiff = Math.abs(a.getTime() - b.getTime())
+ console.log(Math.ceil(timeDiff / (3600 * 1000)))
+ return Math.ceil(timeDiff / (3600 * 1000)) <= 24
+ } else {
+ return false
+ }
+ },
+ contrast (time1, time2) {
+ if (time1 && time2) {
+ const a = new Date(time1).getTime()
+ const b = new Date(time2).getTime()
+ return a > b
+ } else {
+ return false
+ }
+ },
+ edit () {
+ const obj = JSON.parse(JSON.stringify(this.model))
+ obj.areaId = obj.areaId.split(',').map(item => Number(item))
+ this.$refs.onlineReporting.open('淇敼淇℃伅', obj)
+ },
+ openBaoxiandan () {
+ window.open(this.model.baoxiandanFile.fileurlFull)
+ },
+ delFile (id) {
+ this.$dialog.messageConfirm('纭鍒犻櫎璇ラ檮浠跺悧锛屼竴鏃﹀垹闄ゆ棤娉曟挙鍥烇紵')
+ .then(() => {
+ delFile(this.model.id, id).then(response => {
+ this.getDetail()
+ }).catch(err => {
+ this.$tip.apiFailed(err)
+ })
+ })
+ },
+ getDetail () {
+ findById(this.model.id)
+ .then(res => {
+ this.model = res
+ this.remarkLogList = []
+ this.activeLogList =[]
+ var logList = this.model.settleClaimsLogList
+ if (logList) {
+ logList.forEach(item => {
+ if (item.objType == 2) {
+ this.doneFileDate = item.createDate
+ }
+ if (item.objType == 7) {
+ this.remarkLogList.push(item)
+ } else {
+ this.activeLogList.push(item)
+ }
+ })
+ }
+ }).catch(err => {
+ })
+ },
+ handleClick (tab) {
+ this.activeName = tab.name
+ },
+ callback () {
+ this.getDetail()
+ this.$emit('success')
+ },
+ claimsUploadFile (e, objType) {
+ claimsUploadFile({
+ id: this.model.id,
+ objType,
+ fileUrl: e.imgaddr,
+ fileName: e.originname,
+ fileType: e.type
+ }).then(response => {
+ this.getDetail()
+ }).catch(err => {
+ this.$tip.apiFailed(err)
+ }).finally(() => {
+ this.loading = false
+ })
+ },
+ submit (type) {
+ var that = this
+ if (type == 0) {
+ this.$dialog.messageConfirm('鐞嗚禂鏉愭枡鏀堕泦瀹屾垚锛岃鍙婃椂鎻愪氦淇濋櫓鍏徃锛�')
+ .then(() => {
+ // this.isWorking = true
+ confirmFile({ id: that.model.id })
+ .then(response => {
+ that.getDetail()
+ }).catch(err => {
+ this.$tip.apiFailed(err)
+ })
+ })
+ } else if (type == 1) {
+ // 璧勬枡涓嬭浇
+ this.$dialog.exportConfirm('纭杩涜璧勬枡涓嬭浇鍚楋紵')
+ .then(() => {
+ this.isWorking = true
+ exportFiles({ id: that.model.id })
+ .then(response => {
+ this.download(response)
+ }).catch(err => {
+ console.log(err)
+ this.$message.error('涓嬭浇璧勬枡澶辫触锛岃纭璧勬枡鏁版嵁涓嶄负绌�')
+ }).finally(() => {
+ this.isWorking = false
+ })
+ })
+ .catch(() => {
+ })
+ }
+ }
+ }
+}
+</script>
+<style>
+ .v-modal {
+ z-index: 2000 !important;
+ }
+</style>
+<style lang="scss" scoped>
+ .form {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ .form_span {
+ width: 100%;
+ display: flex;
+ align-items: start;
+ flex-direction: column;
+ margin-bottom: 20px;
+ span {
+ font-size: 14px;
+ &:nth-child(1) {
+ color: black;
+ margin-bottom: 5px;
+ }
+ &:nth-child(2) {
+ color: #8c939d;
+ }
+ }
+ }
+ .form_item {
+ width: 100%;
+ display: flex;
+ align-items: start;
+ margin-bottom: 20px;
+ &:last-child {
+ margin: 0 !important;
+ }
+ .form_item_label {
+ flex-shrink: 0;
+ color: black;
+ font-size: 14px;
+ span {
+ color: red;
+ font-size: 14px;
+ }
+ }
+ .form_item_val {
+ flex: 1;
+ /*height: 40px;*/
+ margin-left: 20px;
+ textarea {
+ width: 100%;
+ height: 70px;
+ border: 1px solid #cbcbcb;
+ padding: 10px;
+ outline: none;
+ box-sizing: border-box;
+ }
+ input {
+ width: 100%;
+ height: 100%;
+ outline: none;
+ border-radius: 5px;
+ border: 1px solid #cbcbcb;
+ padding: 0 20px;
+ box-sizing: border-box;
+ }
+ }
+ }
+ }
+ .desc {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ .desc_label {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .desc_label_left {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ .desc_label_left_title {
+ font-size: 20px;
+ font-weight: bold;
+ color: black;
+ }
+ .desc_label_left_time {
+ font-size: 14px;
+ color: black;
+ /*color: rgba(249, 86, 1, 0.996);*/
+ margin-left: 10px;
+ }
+ .desc_label_left_code {
+ font-size: 15px;
+ color: black;
+ margin-left: 30px;
+ }
+ }
+ .desc_label_right {
+ flex-shrink: 0;
+ }
+ }
+ .desc_list {
+ width: 100%;
+ margin-top: 20px;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .desc_list_item {
+ width: 33.3%;
+ display: flex;
+ align-items: center;
+ margin-bottom: 10px;
+ .desc_list_item_label {
+ width: 130px;
+ flex-shrink: 0;
+ font-size: 15px;
+ color: black;
+ }
+ .desc_list_item_val {
+ flex: 1;
+ font-size: 15px;
+ color: black;
+ }
+ .desc_list_item_videos {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .desc_list_item_imgs_video {
+ width: 120px;
+ height: 120px;
+ background: black;
+ margin-right: 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ video {
+ width: 100%;
+ height: 100%;
+ }
+ img {
+ width: 100%;
+ }
+ }
+ }
+ }
+ }
+ .desc_xian {
+ width: 100%;
+ height: 1px;
+ margin: 10px 0;
+ background: #ececec;
+ }
+ .desc_data {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ margin-top: 20px;
+ .desc_data_label {
+ font-size: 16px;
+ color: black;
+ font-weight: 600;
+ margin-bottom: 20px;
+ }
+ .desc_data_cate {
+ width: 100%;
+ margin: 0 0 10px 0;
+ }
+ .desc_data_list {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .desc_data_list_item1 {
+ width: 24.5%;
+ }
+ .desc_data_list_item {
+ width: 24.5%;
+ padding: 10px;
+ box-sizing: border-box;
+ border: 1px solid #e2e2e2;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ position: relative;
+ margin-bottom: 10px;
+ margin-right: 20px;
+ &:last-child {
+ margin-right: 0 !important;
+ }
+ .desc_data_list_item_dele {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ 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: 80px;
+ height: 80px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ margin-right: 10px;
+ .el-icon-plus {
+ font-size: 26px;
+ color: #ffffff;
+ }
+ img {
+ width: 100%;
+ }
+ video {
+ width: 100%;
+ }
+ }
+ .desc_data_list_item_info {
+ flex: 1;
+ height: 80px;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ word-break: break-all;
+ span {
+ &:nth-child(1) {
+ width: 160px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ font-size: 14px;
+ color: black;
+ padding-right: 30px;
+ box-sizing: border-box;
+ }
+ &:nth-child(2) {
+ width: 100%;
+ word-break: break-all;
+ font-size: 14px;
+ color: #888888;
+ }
+ &:nth-child(3) {
+ width: 100%;
+ word-break: break-all;
+ font-size: 14px;
+ color: #888888;
+ }
+ }
+ }
+ }
+ }
+ }
+ .desc_times {
+ width: 100%;
+ margin-top: 20px;
+ }
+ }
+</style>
diff --git a/company/src/components/business/OperaSolutionsBaseWindow.vue b/company/src/components/business/OperaSolutionsBaseWindow.vue
index b305086..2862f64 100644
--- a/company/src/components/business/OperaSolutionsBaseWindow.vue
+++ b/company/src/components/business/OperaSolutionsBaseWindow.vue
@@ -126,6 +126,40 @@
</u-table-column>
</u-table>
</div>
+ <el-form-item label="椋庨櫓璁剧疆" prop="risk">
+ <div class="tx">
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>寤惰繜鎶ユ鎻愰啋</span>
+ <el-switch :active-value="1" :inactive-value="0" v-model="form.riskDelayStatus"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛氬綋鎶ユ鏃堕棿瓒呰繃妗堝彂鏃堕棿</span>
+ <el-input-number style="margin: 0 15px;" :disabled="form.riskDelayStatus === 0" v-model="form.riskDelayTime" :min="1"></el-input-number>
+ <el-select v-model="form.riskDelayUnit" :disabled="form.riskDelayStatus === 0" style="width: 100px; margin-right: 15px;" placeholder="璇烽�夋嫨">
+ <el-option label="鍒嗛挓" :value="0"></el-option>
+ <el-option label="灏忔椂" :value="1"></el-option>
+ <el-option label="澶�" :value="2"></el-option>
+ </el-select>
+ <span>鏃讹紝杩涜鎻愰啋銆�</span>
+ </div>
+ </div>
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>鍏佽瀵规柊鍛樺伐宸叉姇淇濇湭鐢熸晥淇濋櫓杩涜淇濋殰</span>
+ <el-switch :active-value="1" :inactive-value="0" v-model="form.riskNewUserStatus"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛氬厑璁稿嚭闄╂椂闂村湪淇濆崟鐢熸晥鍓�</span>
+ <el-input-number style="margin: 0 15px;" v-model="form.riskNewUserTime" :min="1"></el-input-number>
+ <el-select v-model="form.riskNewUserUnit" style="width: 100px; margin-right: 15px;" placeholder="璇烽�夋嫨">
+ <el-option label="灏忔椂" :value="1"></el-option>
+ <el-option label="澶�" :value="2"></el-option>
+ </el-select>
+ </div>
+ </div>
+ </div>
+ </el-form-item>
<el-form-item label="鐗瑰埆绾﹀畾" prop="specialAgreement">
<RichEditor :richData="form.specialAgreement" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor" :readonly="false"/>
</el-form-item>
@@ -171,6 +205,19 @@
}
callback()
}
+ var riskRule = (rule, value, callback) => {
+ if (this.form.riskDelayStatus === '1') {
+ if (!this.form.riskDelayTime || !this.form.riskDelayUnit) {
+ return callback(new Error('璇峰畬鍠勫唴瀹�'))
+ }
+ }
+ if (this.form.riskNewUserStatus === '1') {
+ if (!this.form.riskNewUserTime || !this.form.riskNewUserUnit) {
+ return callback(new Error('璇峰畬鍠勫唴瀹�'))
+ }
+ }
+ callback()
+ }
return {
// 琛ㄥ崟鏁版嵁
form: {
@@ -192,8 +239,17 @@
delOnlyReplace: 0,
canAdd: 0,
correctWarnTime: '',
- worktypeIdList: []
+ worktypeIdList: [],
+
+ riskDelayStatus: 0,
+ riskDelayTime: 1,
+ riskDelayUnit: 0,
+ riskNewUserStatus: 0,
+ riskNewUserTime: 1,
+ riskNewUserUnit: 1
},
+ value: '',
+ options: [],
worktypeId: [],
// 楠岃瘉瑙勫垯
rules: {
@@ -209,6 +265,9 @@
delValidDays: [
{ required: true, validator: numRule }
],
+ risk: [
+ { required: true, validator: riskRule }
+ ],
insuranceId: [
{ required: true, message: '璇烽�夋嫨淇濋櫓鍏徃' }
],
@@ -455,3 +514,40 @@
}
}
</script>
+
+<style lang="scss" scoped>
+ .tx {
+ width: 100%;
+ background-color: #ffffff;
+ display: flex;
+ flex-direction: column;
+ .tx_item {
+ width: 50%;
+ padding: 20px 20px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ border: 1px solid #ececec;
+ margin-bottom: 20px;
+ .tx_item_head {
+ display: flex;
+ align-items: center;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 16px;
+ font-weight: bold;
+ margin-right: 15px;
+ }
+ }
+ .tx_item_content {
+ display: flex;
+ align-items: start;
+ margin-top: 10px;
+ span {
+ flex-shrink: 0;
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/acceptance.vue b/company/src/components/business/acceptance.vue
new file mode 100644
index 0000000..dac1c75
--- /dev/null
+++ b/company/src/components/business/acceptance.vue
@@ -0,0 +1,129 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="500px"
+ text="鍚屾剰鍙楃悊"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <el-form :model="form" ref="form" :rules="form.status === 0 ? rules : rules1" label-position="top">
+ <el-form-item label="" prop="status">
+ <el-radio-group v-model="form.status" @change="changeStatus">
+ <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="describe">
+ <el-input
+ type="textarea"
+ :rows="5"
+ placeholder="璇疯緭鍏ヨ鏄�"
+ v-model="form.describe" />
+ </el-form-item>
+ <el-form-item label="闂绫诲瀷" prop="problem" v-if="[2,3].includes(form.status)">
+ <el-checkbox-group v-model="form.problem" @change="changeProblem">
+ <el-checkbox :label="item" v-for="(item, index) in problemList" :key="index"></el-checkbox>
+ </el-checkbox-group>
+ </el-form-item>
+ </el-form>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import { acceptance, getDiscussProblemType } from '@/api/business/settleRisk'
+ export default {
+ name: 'acceptance',
+ extends: BaseOpera,
+ components: { GlobalWindow },
+ data () {
+ return {
+ form: {
+ id: null,
+ status: 0,
+ describe: '',
+ syProblemOpts: '',
+ problem: []
+ },
+ problemList: [],
+ rules: {
+ problem: [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ]
+ },
+ rules1: {
+ problem: [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ],
+ describe: [
+ { required: true, message: '涓嶈兘涓虹┖', trigger: 'blur' }
+ ]
+ }
+ }
+ },
+ methods: {
+ open(title, id) {
+ this.title = title
+ this.form.id = id
+ getDiscussProblemType()
+ .then(res => {
+ console.log(res)
+ this.problemList = res
+ })
+ this.visible = true
+ },
+ changeStatus() {
+ this.$nextTick(() => {
+ this.$refs.form.clearValidate();
+ })
+ },
+ changeProblem(e) {
+ if (!e || e.length === 0) {
+ this.form.syProblemOpts = ''
+ } else {
+ this.form.syProblemOpts = e.join(',')
+ }
+ },
+ confirm() {
+ this.$refs.form.validate((valid) => {
+ if (!valid) {
+ return
+ }
+ this.isWorking = true
+ acceptance(this.form)
+ .then(() => {
+ this.visible = false
+ this.$tip.apiSuccess('鍙楃悊鎴愬姛')
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ })
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .a {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+ .b {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin: 10px 0;
+ }
+ .c {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+</style>
diff --git a/company/src/components/business/additionMaterial_ba.vue b/company/src/components/business/additionMaterial_ba.vue
new file mode 100644
index 0000000..b7107ee
--- /dev/null
+++ b/company/src/components/business/additionMaterial_ba.vue
@@ -0,0 +1,177 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="50%"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="box">
+ <el-form :model="form" :rules="rules" ref="form">
+ <el-form-item label="鏉愭枡" prop="supplementFileList">
+ <div class="box_item_list_row_l">
+ <div class="desc_data_list_item" v-for="(item, index) in form.supplementFileList" :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>
+ </el-form-item>
+ </el-form>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import upload from '@/components/common/upload'
+ import { saveSupplementFile } from '@/api/business/settleRisk'
+ export default {
+ name: 'additionMaterial_ba',
+ extends: BaseOpera,
+ components: { GlobalWindow, upload },
+ data () {
+ return {
+ form: {
+ id: null,
+ supplementFileList: []
+ },
+ rules: {
+ supplementFileList: [
+ { required: true, message: '鑷冲皯涓婁紶涓�涓潗鏂�', trigger: 'blur' }
+ ]
+ }
+ }
+ },
+ methods: {
+ open (title, id) {
+ this.title = title
+ this.form.id = id
+ this.form.supplementFileList = []
+ this.visible = true
+ },
+ delFile (index) {
+ this.form.supplementFileList.splice(index, 1)
+ },
+ claimsUploadFile(file) {
+ file.fileurl = file.imgaddr
+ file.name = file.originname
+ file.fileurlFull = file.url
+ this.form.supplementFileList.push(file)
+ },
+ confirm() {
+ this.$refs.form.validate((valid) => {
+ if (!valid) return
+ this.isWorking = true
+ saveSupplementFile(this.form)
+ .then(() => {
+ this.visible = false
+ this.$tip.apiSuccess('娣诲姞鎴愬姛')
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ })
+ }
+ }
+ }
+</script>
+
+<style scoped lang="scss">
+ .box {
+ width: 100%;
+ .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;
+ }
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/adjustment.vue b/company/src/components/business/adjustment.vue
new file mode 100644
index 0000000..3a87412
--- /dev/null
+++ b/company/src/components/business/adjustment.vue
@@ -0,0 +1,306 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :text="`${type === 1 ? '瀹屾垚鐞嗙畻' : '瀹屾垚鏍歌禂'}`"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="box">
+ <el-form :model="form" ref="ruleForm" label-width="150px" class="demo-ruleForm">
+ <div class="box_item">
+ <div class="box_item_desc">涓昏璧斾粯椤�</div>
+ <div class="box_item_list">
+ <div class="box_item_list_row" style="width: 100%;" v-for="(item, index) in list1" :key="index">
+ <el-form-item :label="item.name">
+ <div style="display: flex; flex-direction: column;">
+ <el-input v-model="item.fee" @input="changeFee" type="number" placeholder="璇疯緭鍏ラ噾棰�"></el-input>
+ <el-input v-model="item.describe" placeholder="璇疯緭鍏ヨ垂鐢ㄨ鏄�"></el-input>
+ </div>
+ </el-form-item>
+ </div>
+ </div>
+ <div class="box_item_desc">鍏朵粬璧斾粯椤�</div>
+ <div class="box_item_list">
+ <div class="box_item_list_row" style="width: 50%;" v-for="(item, index) in list2" :key="index">
+ <el-form-item :label="item.name">
+ <div style="display: flex; flex-direction: column;">
+ <el-input v-model="item.fee" @input="changeFee" type="number" placeholder="璇疯緭鍏ラ噾棰�"></el-input>
+ <el-input v-model="item.describe" placeholder="璇疯緭鍏ヨ垂鐢ㄨ鏄�"></el-input>
+ </div>
+ </el-form-item>
+ </div>
+ </div>
+ <div class="price">
+ <span>璧斾粯閲戦鍚堣</span>
+ <span>楼{{totalPrice}}</span>
+ </div>
+ </div>
+ </el-form>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import { compensation, getCompensation, nuclearCompensation } from '@/api/business/settleRisk'
+ export default {
+ name: 'acceptance',
+ extends: BaseOpera,
+ components: { GlobalWindow },
+ data () {
+ return {
+ form: {
+ id: null
+ },
+ type: '',
+ list1: [],
+ list2: [],
+ totalPrice: 0
+ }
+ },
+ methods: {
+ open (title, id, type) {
+ this.type = type
+ this.title = title
+ this.form.id = id
+ getCompensation({ type, id: this.form.id })
+ .then(res => {
+ res.forEach(item => {
+ if (!item.fee) {
+ item.fee = 0
+ }
+ })
+ this.list1 = res.filter(item => item.type === 0)
+ this.list2 = res.filter(item => item.type === 1)
+ this.changeFee()
+ this.visible = true
+ })
+ },
+ changeFee() {
+ let arr = [...this.list1, ...this.list2]
+ let price = 0
+ arr.forEach(item => {
+ if (item.fee) {
+ price += Number(item.fee)
+ }
+ })
+ this.totalPrice = price
+ },
+ confirm() {
+ let arr = [...this.list1, ...this.list2]
+ for (let i = 0; i < arr.length; i++) {
+ if (!arr[i].fee && arr[i].fee !== 0) {
+ return this.$message.warning(`璇峰厛瀹屽杽${arr[i].name}閲戦`)
+ }
+ }
+ this.isWorking = true
+ let compensationJson = JSON.stringify(arr)
+ if (this.type === 1) {
+ compensation({ id: this.form.id, compensationJson })
+ .then(() => {
+ this.visible = false
+ this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ } else if (this.type === 2) {
+ nuclearCompensation({ id: this.form.id, compensationJson })
+ .then(() => {
+ this.visible = false
+ this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
+ this.$emit('success')
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ }
+
+ }
+ }
+ }
+</script>
+
+<style scoped lang="scss">
+ .box {
+ width: 100%;
+ .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_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;
+ }
+ }
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/caseProgress.vue b/company/src/components/business/caseProgress.vue
new file mode 100644
index 0000000..62e8ff3
--- /dev/null
+++ b/company/src/components/business/caseProgress.vue
@@ -0,0 +1,57 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="50%"
+ :withFooter="false"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ >
+ <el-timeline reverse>
+ <el-timeline-item v-for="(item, index) in list" :key="index" :hide-timestamp="true">
+ <div style="display: flex; flex-direction: column;">
+ <span class="a">{{item.title}}</span>
+ <span class="b">{{item.creatorName}} {{item.companyName || '骞冲彴鐞嗚禂鍛�'}} {{item.createDate }}</span>
+ <span class="c">璇存槑锛歿{item.content}}</span>
+ </div>
+ </el-timeline-item>
+ </el-timeline>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ export default {
+ name: 'caseProgress',
+ extends: BaseOpera,
+ components: { GlobalWindow },
+ data () {
+ return {
+ list: []
+ }
+ },
+ methods: {
+ open(title, target) {
+ this.title = title
+ this.list = target
+ this.visible = true
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .a {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+ .b {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin: 10px 0;
+ }
+ .c {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+</style>
diff --git a/company/src/components/business/riskCaseReminder.vue b/company/src/components/business/riskCaseReminder.vue
new file mode 100644
index 0000000..235254e
--- /dev/null
+++ b/company/src/components/business/riskCaseReminder.vue
@@ -0,0 +1,92 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="500px"
+ :withFooter="false"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="box">
+ <div class="box_row" v-for="(item, index) in list" :key="index">
+ <div class="box_row_icon">
+ <i class="el-icon-warning"></i>
+ </div>
+ <div class="box_row_content">
+ <div class="box_row_content_title">{{item.title}}</div>
+ <div class="box_row_content_desc">{{item.info}}</div>
+ </div>
+ </div>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+
+ export default {
+ name: 'riskCaseReminder',
+ extends: BaseOpera,
+ components: { GlobalWindow },
+ data () {
+ return {
+ list: []
+ }
+ },
+ methods: {
+ async open(title, target) {
+ this.title = title
+ this.list = target
+ this.visible = true
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .box {
+ width: 100%;
+ .box_row {
+ width: 100%;
+ padding: 15px;
+ box-sizing: border-box;
+ background-color: #ececec;
+ border-radius: 10px;
+ display: flex;
+ align-items: center;
+ background-color: rgba(239,239,239,1);
+ margin-bottom: 15px;
+ &:last-child {
+ margin: 0 !important;
+ }
+ .box_row_icon {
+ flex-shrink: 0;
+ width: 34px;
+ height: 34px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 17px;
+ background-color: rgba(251,115,115,0.29);
+ .el-icon-warning {
+ color: #FB7373;
+ font-size: 19px;
+ }
+ }
+ .box_row_content {
+ flex: 1;
+ .box_row_content_title {
+ color: rgba(16,16,16,1);
+ font-size: 16px;
+ }
+ .box_row_content_desc {
+ color: rgba(154,154,154,1);
+ font-size: 12px;
+ margin-top: 9px;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/setCompany.vue b/company/src/components/business/setCompany.vue
new file mode 100644
index 0000000..f4c690d
--- /dev/null
+++ b/company/src/components/business/setCompany.vue
@@ -0,0 +1,227 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <el-collapse v-model="activeNames">
+ <el-collapse-item title="妯℃澘鍙婃潗鏂欐竻鍗曚笂浼�" name="1">
+ <div class="item">
+ <div class="item_upload">
+ <div class="item_upload_info1">涓婁紶鐩栫珷鏂囦欢妯$増</div>
+ <div class="item_upload_info2">
+ <i class="el-icon-info"></i>
+ <span>澶氭枃浠惰鎵撳寘涓婁紶</span>
+ </div>
+ <div class="item_upload_upload">
+ <el-upload
+ class="upload-demo"
+ :action="uploadImgUrl"
+ :on-remove="handleRemove1"
+ :on-success="handleFileSuccess1"
+ :on-error="uploadError1"
+ :limit="1"
+ :on-exceed="handleExceed"
+ :file-list="form.lpStampTempFileCopy">
+ <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
+ </el-upload>
+ </div>
+ </div>
+ <div class="item_upload">
+ <div class="item_upload_info1">涓婁紶鐞嗚禂鏉愭枡涓�瑙堣〃</div>
+ <div class="item_upload_info2">
+ <i class="el-icon-info"></i>
+ <span>寤鸿涓婁紶PDF鏍煎紡鐨勬枃浠�</span>
+ </div>
+ <div class="item_upload_upload">
+ <el-upload
+ class="upload-demo"
+ :action="uploadImgUrl"
+ :on-remove="handleRemove"
+ :on-success="handleFileSuccess"
+ :on-error="uploadError"
+ :limit="1"
+ :on-exceed="handleExceed"
+ :file-list="form.lpFileCopy">
+ <el-button size="small" type="primary">鐐瑰嚮涓婁紶</el-button>
+ </el-upload>
+ </div>
+ </div>
+ </div>
+ </el-collapse-item>
+ <el-collapse-item title="鍛樺伐鍏崇郴璇佹槑" name="2">
+ <div class="title">鏂囦欢涓婁紶璇存槑</div>
+ <RichEditor :richData="form.lpYggxFileInfo" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor1" :readonly="false"/>
+ </el-collapse-item>
+ <el-collapse-item title="闂ㄨ瘖" name="3">
+ <div class="title">鏂囦欢涓婁紶璇存槑</div>
+ <RichEditor :richData="form.lpMzFileInfo" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor2" :readonly="false"/>
+ </el-collapse-item>
+ <el-collapse-item title="浣忛櫌" name="4">
+ <div class="title">鏂囦欢涓婁紶璇存槑</div>
+ <RichEditor :richData="form.lpZyFileInfo" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor3" :readonly="false"/>
+ </el-collapse-item>
+ <el-collapse-item title="浼ゆ畫" name="5">
+ <div class="title">鏂囦欢涓婁紶璇存槑</div>
+ <RichEditor :richData="form.lpScFileInfo" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor4" :readonly="false"/>
+ </el-collapse-item>
+ <el-collapse-item title="鍏朵粬" name="6">
+ <div class="title">鏂囦欢涓婁紶璇存槑</div>
+ <RichEditor :richData="form.lpOtherFileInfo" :styleEditor="'border: 1px solid #ccc;display: inline-block;'" @getWangedditor="getWangedditor5" :readonly="false"/>
+ </el-collapse-item>
+ </el-collapse>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import RichEditor from '@/components/common/RichEditor'
+ import { saveLpInfo, getById } from '@/api/business/insurance'
+ export default {
+ name: 'setCompany',
+ extends: BaseOpera,
+ components: { GlobalWindow, RichEditor },
+ data () {
+ return {
+ uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload?folder=INSURANCE',
+ activeNames: ['1', '2', '3', '4', '5', '6'],
+ specialAgreement: '',
+ form: {
+ id: null,
+ lpStampTempFile: null,
+ lpStampTempFileCopy: [],
+ lpFile: null,
+ lpFileCopy: [],
+ lpYggxFileInfo: '',
+ lpMzFileInfo: '',
+ lpZyFileInfo: '',
+ lpScFileInfo: '',
+ lpOtherFileInfo: ''
+ }
+ }
+ },
+ created () {
+ this.config({
+ api: '/business/knowledge',
+ 'field.id': 'id'
+ })
+ },
+ methods: {
+ confirm () {
+ this.isWorking = true
+ saveLpInfo(this.form)
+ .then(res => {
+ this.isWorking = false
+ this.$emit('success')
+ this.$message.success('淇濆瓨鎴愬姛')
+ this.visible = false
+ })
+ },
+ open (title, id) {
+ this.title = title
+
+ getById(id)
+ .then(res => {
+ this.visible = true
+ this.$nextTick(() => {
+ setTimeout(() => {
+ for (const key in this.form) {
+ this.form[key] = res[key]
+ }
+ if (this.form.lpStampTempFile) {
+ this.form.lpStampTempFileCopy = [this.form.lpStampTempFile]
+ }
+ if (this.form.lpFile) {
+ this.form.lpFileCopy = [this.form.lpFile]
+ }
+ }, 1000)
+ })
+ })
+ },
+ getWangedditor1(val) {
+ this.form.lpYggxFileInfo = val
+ },
+ getWangedditor2(val) {
+ this.form.lpMzFileInfo = val
+ },
+ getWangedditor3(val) {
+ this.form.lpZyFileInfo = val
+ },
+ getWangedditor4(val) {
+ this.form.lpScFileInfo = val
+ },
+ getWangedditor5(val) {
+ this.form.lpOtherFileInfo = val
+ },
+ handleFileSuccess(e) {
+ e.data.name = e.data.originname
+ e.data.fileurl = e.data.imgaddr
+ this.form.lpFile = e.data
+ this.form.lpFileCopy = [e.data]
+ },
+ uploadError(e) {
+ this.$message.error('涓婁紶澶辫触')
+ },
+ handleRemove() {
+ this.form.lpFile = null
+ this.form.lpFileCopy = []
+ },
+ handleFileSuccess1(e) {
+ e.data.name = e.data.originname
+ e.data.fileurl = e.data.imgaddr
+ this.form.lpStampTempFile = e.data
+ this.form.lpStampTempFileCopy = [e.data]
+ },
+ uploadError1(e) {
+ this.$message.error('涓婁紶澶辫触')
+ },
+ handleRemove1() {
+ this.form.lpStampTempFile = null
+ this.form.lpStampTempFileCopy = []
+ },
+ handleExceed() {
+ this.$message.warning('鍙兘涓婁紶涓�涓枃浠讹紒')
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .title {
+ width: 100%;
+ color: #9A9A9A;
+ font-size: 14px;
+ }
+ .item {
+ width: 100%;
+ display: flex;
+ align-items: start;
+ .item_upload {
+ width: 300px;
+ display: flex;
+ flex-direction: column;
+ .item_upload_info1 {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ margin-bottom: 7px;
+ }
+ .item_upload_info2 {
+ display: flex;
+ align-items: center;
+ margin-bottom: 16px;
+ i {
+ color: #9A9A9A;
+ font-size: 18px;
+ }
+ span {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin-left: 5px;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/business/tagLibrary.vue b/company/src/components/business/tagLibrary.vue
new file mode 100644
index 0000000..bd6a15c
--- /dev/null
+++ b/company/src/components/business/tagLibrary.vue
@@ -0,0 +1,126 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="50%"
+ :visible.sync="visible"
+ :confirm-working="isWorking"
+ @confirm="confirm"
+ >
+ <div class="box">
+ <div class="box-info">
+ <i class="el-icon-info"></i>
+ <span>鏈�澶氬彲娣诲姞50涓爣绛�</span>
+ </div>
+ <div class="box-serch">
+ <el-input v-model="value" placeholder="璇疯緭鍏ヨ杈撳叆鏂版爣绛�"></el-input>
+ <el-button type="primary" style="margin-left: 15px;" @click="add">娣诲姞</el-button>
+ </div>
+ <div class="box-list">
+ <div class="box-list-item" v-for="(item, index) in list" :key="index">
+ <span>{{item.name}}</span>
+ <i class="el-icon-circle-close" @click="dele(item.id)"></i>
+ </div>
+ </div>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import BaseOpera from '@/components/base/BaseOpera'
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import { createLabels, list, labelsDeleteById } from '@/api/business/knowledge'
+ export default {
+ name: 'tagLibrary',
+ extends: BaseOpera,
+ components: { GlobalWindow },
+ data () {
+ return {
+ value: '',
+ list: []
+ }
+ },
+ created () {
+ this.config({
+ api: '/business/knowledge',
+ 'field.id': 'id'
+ })
+ },
+ methods: {
+ async open(title, target) {
+ this.title = title
+ await this.getData()
+ this.visible = true
+ },
+ async getData() {
+ this.list = await list()
+ },
+ // 娣诲姞鏍囩
+ async add() {
+ if (!this.value) return this.$message.warning('璇峰厛杈撳叆鍐呭')
+ let res = await createLabels({ name: this.value })
+ await this.getData()
+ this.$emit('refresh')
+ this.value = ''
+ this.$message.success('娣诲姞鎴愬姛')
+ },
+ // 鍒犻櫎
+ async dele(id) {
+ let res = await labelsDeleteById(id)
+ await this.getData()
+ this.$emit('refresh')
+ this.$message.success('鍒犻櫎鎴愬姛')
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .box {
+ width: 100%;
+ .box-info {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin-bottom: 15px;
+ span {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin-left: 6px;
+ }
+ }
+ .box-serch {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 20px;
+ }
+ .box-list {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ .box-list-item {
+ padding: 5px 10px;
+ box-sizing: border-box;
+ border-radius: 20px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ background-color: rgba(239,239,239,1);
+ cursor: pointer;
+ margin-right: 15px;
+ margin-bottom: 15px;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 16px;
+ margin-right: 10px;
+ }
+ i {
+ font-size: 20px;
+ color: red;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/components/common/GlobalWindow.vue b/company/src/components/common/GlobalWindow.vue
index 298b468..0952112 100644
--- a/company/src/components/common/GlobalWindow.vue
+++ b/company/src/components/common/GlobalWindow.vue
@@ -21,7 +21,7 @@
<div v-if="withFooter" class="window__footer">
<slot name="footer">
<el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button>
- <el-button @click="close">杩斿洖</el-button>
+ <el-button @click="close">{{goText}}</el-button>
</slot>
</div>
</el-drawer>
@@ -45,6 +45,10 @@
type: String,
default: '纭畾'
},
+ goText: {
+ type: String,
+ default: '杩斿洖'
+ },
// 纭鎸夐挳loading鐘舵��
confirmWorking: {
type: Boolean,
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>
diff --git a/company/src/components/enterprise/onlineReportingCopy.vue b/company/src/components/enterprise/onlineReportingCopy.vue
new file mode 100644
index 0000000..2697a21
--- /dev/null
+++ b/company/src/components/enterprise/onlineReportingCopy.vue
@@ -0,0 +1,398 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ width="100%"
+ :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>
+ </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" />
+ </GlobalWindow>
+</template>
+
+<script>
+ 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 { findListByDTO } from '@/api/business/member'
+ import { findList } from '@/api/business/applyChange'
+ import { findTreeList } from '@/api/system/common'
+ import { create, updateById } from '@/api/business/settleClaims'
+ export default {
+ name: 'onlineReporting',
+ extends: BaseOpera,
+ components: { GlobalWindow, upload, selectSolutions },
+ data () {
+ return {
+ form: {
+ id: null,
+ insuranceApplyId: '',
+ memberId: '',
+ solutionId: '',
+ solutionName: '',
+ duId: '',
+ duName: '',
+ worktypeId: '',
+ worktypeName: '',
+ happenTime: '',
+ hospital: '',
+ areaId: '',
+ areaInfo: '',
+ type: 0,
+ inHospital: 0,
+ medicalInsurance: 0,
+ content: '',
+ informantName: '',
+ informantPhone: '',
+ list: [],
+ reportFileList: []
+ },
+ rules: {
+ memberId: [
+ { required: true, message: '璇烽�夋嫨鍑洪櫓浜�' }
+ ],
+ solutionId: [
+ { required: true, message: '璇烽�夋嫨淇濋櫓鏂规' }
+ ],
+ duId: [
+ { required: true, message: '璇烽�夋嫨娲鹃仯鍗曚綅' }
+ ],
+ worktypeId: [
+ { required: true, message: '璇烽�夋嫨鎵�灞炲伐绉�' }
+ ],
+ happenTime: [
+ { required: true, message: '璇烽�夋嫨浜嬫晠鍙戠敓鏃堕棿' }
+ ],
+ type: [
+ { required: true, message: '璇烽�夋嫨浜嬫晠绫诲瀷' }
+ ],
+ inHospital: [
+ { required: true, message: '璇烽�夋嫨鏄惁浣忛櫌' }
+ ],
+ medicalInsurance: [
+ { required: true, message: '璇烽�夋嫨鏄惁鏈夊尰鐤椾繚闄�' }
+ ],
+ content: [
+ { required: true, message: '璇疯緭鍏ヤ簨鏁呮弿杩�' }
+ ],
+ informantName: [
+ { required: true, message: '璇疯緭鍏ユ姤妗堜汉濮撳悕' }
+ ],
+ informantPhone: [
+ { required: true, message: '璇疯緭鍏ユ姤妗堜汉鑱旂郴鏂瑰紡' }
+ ]
+ },
+ centerDialogVisible: false,
+ user: [],
+ options: [],
+ area: []
+ }
+ },
+ created () {
+ this.config({
+ api: '/business/settleClaims',
+ 'field.id': 'id'
+ })
+ },
+ methods: {
+ open (title, target) {
+ this.title = title
+ this.visible = true
+ this.form.list = []
+ this.form.reportFileList = []
+ this.getUser()
+ this.getArea()
+ // 鏂板缓
+ if (target == null) {
+ this.$nextTick(() => {
+ this.$refs.form.resetFields()
+ this.form[this.configData['field.id']] = null
+ setTimeout(() => {
+ this.centerDialogVisible = true
+ }, 300)
+ })
+ 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鑻ヤ笉涓虹┖鏁扮粍锛屽垯缁х画 閫掑綊璋冪敤 鏈柟娉�
+ }
+ }
+ 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
+ }
+ this.$refs.selectSolutions.open('閫夋嫨淇濋櫓鏂规', this.form.memberId)
+ },
+ getUser() {
+ findListByDTO({})
+ .then(res => {
+ 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
+ }
+ }
+ }
+ }
+ },
+ handleChange(value) {
+ let info = ''
+ value.forEach(item => {
+ info += this.getTreeName(this.area, item)
+ })
+ this.form.areaInfo = info
+ },
+ getData(data) {
+ this.form.list.push(data)
+ this.form.reportFileList.push({
+ fileurl: data.imgaddr,
+ name: data.originname,
+ type: data.type
+ })
+ },
+ deleFile(index) {
+ this.form.reportFileList.splice(index, 1)
+ this.form.list.splice(index, 1)
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .fuwenben {
+ width: 100%;
+ height: 400px;
+ font-size: 16px;
+ color: black;
+ overflow-y: scroll;
+ word-break: break-all;
+ overflow-wrap: break-word;
+ }
+</style>
diff --git a/company/src/views/business/caseEntry.vue b/company/src/views/business/caseEntry.vue
new file mode 100644
index 0000000..1490a7c
--- /dev/null
+++ b/company/src/views/business/caseEntry.vue
@@ -0,0 +1,186 @@
+<template>
+ <TableLayout :permissions="['business:company:query']">
+ <!-- 鎼滅储琛ㄥ崟 -->
+ <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
+ <el-form-item label="妗堜欢鍙�" prop="reportNum">
+ <el-input v-model="searchForm.reportNum" placeholder="璇疯緭鍏ユ浠跺彿" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="鎶曚繚鍗曚綅" prop="companyName">
+ <el-input v-model="searchForm.companyName" placeholder="璇疯緭鍏ユ姇淇濆崟浣�" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="鎶ユ浜�" prop="informantName">
+ <el-input v-model="searchForm.informantName" placeholder="璇疯緭鍏ユ姤妗堜汉" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="鎶ユ鏃堕棿" prop="createDateStr">
+ <el-date-picker
+ v-model="searchForm.createDateStr"
+ type="date"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd">
+ </el-date-picker>
+ </el-form-item>
+ <el-form-item label="鍑洪櫓鏃堕棿" prop="createDate">
+ <el-date-picker
+ v-model="searchForm.createDate"
+ type="datetime"
+ placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd hh:mm:ss"
+ value-format="yyyy-MM-dd hh:mm:ss">
+ </el-date-picker>
+ </el-form-item>
+ <el-form-item label="鍑洪櫓浜�" prop="extData.memberName">
+ <el-input v-model="searchForm.extData.memberName" placeholder="璇疯緭鍏ュ嚭闄╀汉" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="淇濋櫓鏂规" prop="solutionName">
+ <el-input v-model="searchForm.solutionName" placeholder="璇疯緭鍏ヤ繚闄╂柟妗�" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="淇濆崟鍙�" prop="extData.bxCode">
+ <el-input v-model="searchForm.extData.bxCode" placeholder="璇疯緭鍏ヤ繚鍗曞彿" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="灏辫瘖绫诲瀷" prop="inHospital">
+ <el-select v-model="searchForm.inHospital" placeholder="璇烽�夋嫨">
+ <el-option label="闂ㄨ瘖" :value="1"></el-option>
+ <el-option label="浣忛櫌" :value="0"></el-option>
+ </el-select>
+ </el-form-item>
+ <el-form-item label="妗堜欢鐘舵��" prop="status">
+ <el-select v-model="searchForm.status" placeholder="璇烽�夋嫨">
+ <el-option label="寰呯珛妗�" :value="2"></el-option>
+ <el-option label="宸查��鍥�" :value="4"></el-option>
+ <el-option label="寰呭彈鐞�" :value="5"></el-option>
+ <el-option label="宸叉嫆缁�" :value="6"></el-option>
+ <el-option label="寰呯悊绠�" :value="9"></el-option>
+ <el-option label="寰呮牳璧�" :value="10"></el-option>
+ <el-option label="寰呯粨妗�" :value="12"></el-option>
+ <el-option label="宸茬粨妗�" :value="13"></el-option>
+ <el-option label="宸叉挙妗�" :value="14"></el-option>
+ </el-select>
+ </el-form-item>
+ <section>
+ <el-button type="primary" @click="search">鎼滅储</el-button>
+ <el-button @click="reset">閲嶇疆</el-button>
+ </section>
+ </el-form>
+ <!-- 琛ㄦ牸鍜屽垎椤� -->
+ <template v-slot:table-wrap>
+ <ul class="toolbar">
+ <li><el-button type="primary" @click="$refs.opearaCaseEntryWindow.open('妗堜欢褰曞叆')">妗堜欢褰曞叆</el-button></li>
+ <li><el-button type="primary" @click="expr">瀵煎嚭</el-button></li>
+ </ul>
+ <el-table
+ v-loading="isWorking.search"
+ :data="tableData.list"
+ stripe
+ >
+ <el-table-column prop="reportNum" label="妗堜欢鍙�" min-width="150px" align="center"></el-table-column>
+ <el-table-column prop="companyName" label="鎶曚繚鍗曚綅" min-width="150px" align="center"></el-table-column>
+ <el-table-column prop="informantName" label="鎶ユ浜�" min-width="150px" align="center"></el-table-column>
+ <el-table-column prop="createDateStr" label="鎶ユ鏃堕棿" min-width="100px" align="center"></el-table-column>
+ <el-table-column prop="createDate" label="鍑洪櫓鏃堕棿" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="memberName" label="鍑洪櫓浜�" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="memberIdcard" label="韬唤璇佸彿" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="solutionName" label="淇濋櫓鏂规" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="code" label="淇濆崟鍙�" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="baoxianStartTime" label="淇濋櫓鐢熸晥璧锋湡" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="baoxianEndTime" label="淇濋櫓鐢熸晥姝㈡湡" min-width="120px" align="center"></el-table-column>
+ <el-table-column label="灏辫瘖绫诲瀷" min-width="120px" align="center">
+ <template slot-scope="{row}">
+ <span v-if="row.inHospital === 1">闂ㄨ瘖</span>
+ <span v-if="row.inHospital === 0">浣忛櫌</span>
+ </template>
+ </el-table-column>
+ <el-table-column prop="pcAccount" label="璧斾粯閲戦" min-width="120px" align="center"></el-table-column>
+ <el-table-column prop="statusName" label="妗堜欢鐘舵��" min-width="120px" align="center"></el-table-column>
+ <el-table-column
+ v-if="containPermissions(['business:company:update', 'business:company:delete'])"
+ label="鎿嶄綔"
+ min-width="120"
+ align="center"
+ fixed="right"
+ >
+ <template slot-scope="{row}">
+ <el-button type="text">璇︽儏</el-button>
+ <el-button type="text" @click="$refs.opearaCaseEntryWindow.open('妗堜欢褰曞叆', row.id)">缂栬緫</el-button>
+ <el-button type="text" @click="deleRow(row.id)">鍒犻櫎</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
+ <pagination
+ @size-change="handleSizeChange"
+ @current-change="handlePageChange"
+ :pagination="tableData.pagination"
+ >
+ </pagination>
+ </template>
+ <!-- 鏂板缓 -->
+ <OpearaCaseEntryWindow ref="opearaCaseEntryWindow" @success="handlePageChange" />
+ </TableLayout>
+</template>
+
+<script>
+ import BaseTable from '@/components/base/BaseTable'
+ import TableLayout from '@/layouts/TableLayout'
+ import Pagination from '@/components/common/Pagination'
+ import OpearaCaseEntryWindow from '@/components/business/OpearaCaseEntryWindow'
+ import { exportFiles } from '@/api/business/settleClaimsMovement'
+ import { dele } from '@/api/business/settleClaims'
+ export default {
+ name: 'caseEntry',
+ extends: BaseTable,
+ components: { TableLayout, Pagination, OpearaCaseEntryWindow },
+ data () {
+ return {
+ // 鎼滅储
+ searchForm: {
+ origin: 1,
+ reportNum: '',
+ companyName: '',
+ informantName: '',
+ createDateStr: '',
+ createDate: '',
+ inHospital: '',
+ status: '',
+ solutionName: '',
+ extData: {
+ bxCode: '',
+ memberName: '',
+ }
+ }
+ }
+ },
+ created () {
+ this.config({
+ module: '鐞嗚禂鐢宠琛�',
+ api: '/business/settleClaimsMovement',
+ 'field.id': 'id',
+ 'field.main': 'id'
+ })
+ this.search()
+ },
+ methods: {
+ expr() {
+ exportFiles({
+ capacity: 60000,
+ page: 1,
+ model: this.searchForm
+ }).then(res => {
+ this.download(res)
+ })
+ },
+ deleRow(id) {
+ this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning'
+ }).then(async() => {
+ await dele(id)
+ this.search()
+ this.$message.success('鍒犻櫎鎴愬姛')
+ }).catch(() => {
+
+ });
+ }
+ }
+ }
+</script>
diff --git a/company/src/views/business/dataBoard.vue b/company/src/views/business/dataBoard.vue
new file mode 100644
index 0000000..352342f
--- /dev/null
+++ b/company/src/views/business/dataBoard.vue
@@ -0,0 +1,493 @@
+<template>
+ <div class="box">
+ <div class="box_shua">
+ <el-button icon="el-icon-refresh" type="primary">鍒锋柊鏁版嵁</el-button>
+ </div>
+ <div class="box_head">
+ <div class="box_head_info">
+ <i class="el-icon-info"></i>
+ <span>灞曠ず褰撳墠绯荤粺鍚堣鎬绘暟锛屾瘡澶╂洿鏂版暟鎹�</span>
+ </div>
+ <div class="box_head_list">
+ <div class="box_head_list_item">
+ <div class="box_head_list_item_top">
+ <span>淇濋櫓鍏徃鏁�</span>
+ <span>鏈湀 +3</span>
+ </div>
+ <div class="box_head_list_item_bottom">32</div>
+ </div>
+ <div class="box_head_list_item">
+ <div class="box_head_list_item_top">
+ <span>淇濆崟鏁�</span>
+ <span>鏈湀 +12</span>
+ </div>
+ <div class="box_head_list_item_bottom">88</div>
+ </div>
+ <div class="box_head_list_item">
+ <div class="box_head_list_item_top">
+ <span>鍦ㄤ繚浜烘暟</span>
+ <span>鏈湀 +300</span>
+ </div>
+ <div class="box_head_list_item_bottom">2,000</div>
+ </div>
+ <div class="box_head_list_item">
+ <div class="box_head_list_item_top">
+ <span>宸叉敹璐圭敤鍚堣</span>
+ <span>鏈湀 +813,789.00</span>
+ </div>
+ <div class="box_head_list_item_bottom">楼6,345,654.00</div>
+ </div>
+ </div>
+ </div>
+ <div class="box_chart">
+ <div class="box_chart_item">
+ <div class="box_chart_item_info">
+ <span>鎬荤悊璧旈噾棰�</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_chart_item_price">楼2,345,654.00</div>
+ <div class="box_chart_item_tu" id="tu1"></div>
+ </div>
+ <div class="box_chart_item">
+ <div class="box_chart_item_info">
+ <span>鎬荤悊璧旀浠舵暟</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_chart_item_price">1,234</div>
+ <div class="box_chart_item_tu" id="tu2"></div>
+ </div>
+ <div class="box_chart_item">
+ <div class="box_chart_item_info">
+ <span>骞冲潎鐞嗚禂澶勭悊鏃堕暱</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_chart_item_price">10.5澶�</div>
+ <div class="box_chart_item_tu" id="tu3"></div>
+ </div>
+ </div>
+ <div class="box_shuju">
+ <div class="box_shuju_item">
+ <div class="box_shuju_item_top">
+ <span>鍙楃悊鐜�</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_shuju_item_bottom">95.3%</div>
+ </div>
+ <div class="box_shuju_item">
+ <div class="box_shuju_item_top">
+ <span>鎷掕禂鐜�</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_shuju_item_bottom">12.8%</div>
+ </div>
+ <div class="box_shuju_item">
+ <div class="box_shuju_item_top">
+ <span>缁撴鐜�</span>
+ <i class="el-icon-info"></i>
+ </div>
+ <div class="box_shuju_item_bottom">88.9%</div>
+ </div>
+ </div>
+ <div class="box_content">
+ <div class="box_content_left">
+ <div class="box_content_left_title">椋庨櫓妗堜欢鐩戞帶</div>
+ <div class="box_content_left_list">
+ <div class="box_content_left_list_item" :style="{ backgroundColor: item.backgroundColor }" v-for="(item, index) in list" :key="index">
+ <div class="box_content_left_list_item_top">
+ <span>{{item.title}}</span>
+ <span :style="{ color: item.color }">{{item.num}}</span>
+ </div>
+ <div class="box_content_left_list_item_bottom">
+ <span>杈冧笂鏈�</span>
+ <div class="box_content_left_list_item_bottom_lv">
+ 8.3%
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="box_content_right">
+ <div class="box_content_right_title">椋庨櫓妗堜欢鐩戞帶</div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+ import * as echarts from 'echarts'
+ export default {
+ name: "dataBoard",
+ data() {
+ return {
+ list: [
+ {
+ title: '澶氭鍑洪櫓',
+ num: 0,
+ color: '#EF4444',
+ backgroundColor: '#FEF2F2'
+ },
+ {
+ title: '閲嶅鎶ユ',
+ num: 0,
+ color: '#EA580C',
+ backgroundColor: '#FFF7ED'
+ },
+ {
+ title: '绱㈣禂杩囧',
+ num: 0,
+ color: '#CA8A04',
+ backgroundColor: '#FEFCE8'
+ },
+ {
+ title: '澶氭鍑洪櫓',
+ num: 0,
+ color: '#2563EB',
+ backgroundColor: '#EFF6FF'
+ },
+ {
+ title: '鏂板憳宸ュ嚭闄�',
+ num: 0,
+ color: '#9333EA',
+ backgroundColor: '#FAF5FF'
+ },
+ {
+ title: '寤惰繜鎶ユ',
+ num: 0,
+ color: '#4F46E5',
+ backgroundColor: '#EEF2FF'
+ }
+ ]
+ }
+ },
+ created() {
+ this.$nextTick(() => {
+ this.setChart1()
+ this.setChart2()
+ this.setChart3()
+ })
+ },
+ methods: {
+ setChart1() {
+ const chartDom = document.getElementById('tu1')
+ const myChart = echarts.init(chartDom)
+ let option
+ option = {
+ grid: {
+ left: '3%',
+ right: '3%',
+ top: '10%',
+ bottom: '0%',
+ containLabel: true
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+ },
+ yAxis: {
+ type: 'value'
+ },
+ series: [
+ {
+ data: [2, 7, 3, 12, 16, 9, 6],
+ type: 'line',
+ areaStyle: {},
+ smooth: true
+ }
+ ]
+ }
+
+ option && myChart.setOption(option)
+ },
+ setChart2() {
+ const chartDom = document.getElementById('tu2')
+ const myChart = echarts.init(chartDom)
+ let option
+ option = {
+ grid: {
+ left: '3%',
+ right: '3%',
+ top: '10%',
+ bottom: '0%',
+ containLabel: true
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+ },
+ yAxis: {
+ type: 'value'
+ },
+ series: [
+ {
+ data: [2, 7, 3, 12, 16, 9, 6],
+ type: 'line',
+ areaStyle: {},
+ smooth: true
+ }
+ ]
+ }
+
+ option && myChart.setOption(option)
+ },
+ setChart3() {
+ const chartDom = document.getElementById('tu3')
+ const myChart = echarts.init(chartDom)
+ let option
+ option = {
+ grid: {
+ left: '3%',
+ right: '3%',
+ top: '10%',
+ bottom: '0%',
+ containLabel: true
+ },
+ xAxis: {
+ type: 'category',
+ boundaryGap: false,
+ data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+ },
+ yAxis: {
+ type: 'value'
+ },
+ series: [
+ {
+ data: [2, 7, 3, 12, 16, 9, 6],
+ type: 'line',
+ areaStyle: {},
+ smooth: true
+ }
+ ]
+ }
+
+ option && myChart.setOption(option)
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .box {
+ width: 100%;
+ padding: 0 10px;
+ box-sizing: border-box;
+ .box_shua {
+ width: 100%;
+ display: flex;
+ justify-content: end;
+ margin-bottom: 10px;
+ }
+ .box_head {
+ width: 100%;
+ padding: 0 15px 15px 15px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ border-radius: 20px;
+ display: flex;
+ flex-direction: column;
+ box-shadow: 0 2px 6px 0 rgba(206,206,206,0.21);
+ .box_head_info {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin: 8px 0;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ margin-left: 5px;
+ }
+ }
+ .box_head_list {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .box_head_list_item {
+ width: 24%;
+ height: 100px;
+ padding: 15px;
+ box-sizing: border-box;
+ background-color: rgba(239,246,255,1);
+ border-radius: 20px;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ .box_head_list_item_top {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ span {
+ &:nth-child(1) {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ }
+ &:nth-child(2) {
+ color: rgba(255,58,48,1);
+ font-size: 14px;
+ }
+ }
+ }
+ .box_head_list_item_bottom {
+ color: rgba(16,16,16,1);
+ font-size: 22px;
+ font-weight: bold;
+ }
+ }
+ }
+ }
+ .box_chart {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-top: 15px;
+ .box_chart_item {
+ width: 32.5%;
+ height: 225px;
+ padding: 15px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ border-radius: 20px;
+ box-shadow: 0 2px 6px 0 rgba(206,206,206,0.21);
+ .box_chart_item_info {
+ display: flex;
+ align-items: center;
+ span {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin-right: 5px;
+ }
+ }
+ .box_chart_item_price {
+ color: rgba(16,16,16,1);
+ font-size: 22px;
+ margin-top: 4px;
+ font-weight: bold;
+ }
+ .box_chart_item_tu {
+ width: 100%;
+ height: 130px;
+ }
+ }
+ }
+ .box_shuju {
+ width: 32.5%;
+ height: 93px;
+ border-radius: 20px;
+ margin-top: 15px;
+ margin-bottom: 15px;
+ padding: 15px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ box-shadow: 0 2px 6px 0 rgba(206,206,206,0.21);
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .box_shuju_item {
+ width: 33%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: center;
+ .box_shuju_item_top {
+ display: flex;
+ align-items: center;
+ span {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin-right: 4px;
+ }
+ }
+ .box_shuju_item_bottom {
+ color: rgba(16,16,16,1);
+ font-size: 22px;
+ font-weight: bold;
+ }
+ }
+ }
+ .box_content {
+ width: 100%;
+ height: 270px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .box_content_left {
+ width: 66%;
+ height: 100%;
+ background-color: #fff;
+ padding: 15px;
+ box-sizing: border-box;
+ .box_content_left_title {
+ font-weight: bold;
+ font-size: 16px;
+ color: #101010;
+ margin-bottom: 15px;
+ }
+ .box_content_left_list {
+ width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ .box_content_left_list_item {
+ width: 32%;
+ height: 94px;
+ padding: 16px 20px;
+ box-sizing: border-box;
+ border-radius: 15px;
+ background-color: #FEF2F2;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ margin-bottom: 15px;
+ .box_content_left_list_item_top {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ span {
+ &:nth-child(1) {
+ color: rgba(75,85,99,1);
+ font-size: 18px;
+ }
+ &:nth-child(2) {
+ color: rgba(239,68,68,1);
+ font-size: 16px;
+ }
+ }
+ }
+ .box_content_left_list_item_bottom {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ margin-right: 6px;
+ }
+ .box_content_left_list_item_bottom_lv {
+ color: rgba(239,68,68,1);
+ font-size: 14px;
+ }
+ }
+ }
+ }
+ }
+ .box_content_right {
+ width: 33%;
+ height: 100%;
+ padding: 15px;
+ box-sizing: border-box;
+ background-color: #fff;
+ .box_content_right_title {
+ font-weight: bold;
+ font-size: 16px;
+ color: #101010;
+ margin-bottom: 15px;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/views/business/insurance.vue b/company/src/views/business/insurance.vue
index 8861143..7cc5c55 100644
--- a/company/src/views/business/insurance.vue
+++ b/company/src/views/business/insurance.vue
@@ -40,6 +40,12 @@
<el-table-column prop="englishName" label="鑻辨枃鍚嶇О" min-width="100px"></el-table-column>
<el-table-column prop="linkName" label="鑱旂郴浜�" min-width="100px"></el-table-column>
<el-table-column prop="linkPhone" label="鑱旂郴鐢佃瘽" min-width="100px"></el-table-column>
+ <el-table-column label="鏄惁缁存姢" min-width="100px">
+ <template slot-scope="{row}">
+ <span v-if="row.lpFileStatus === 1">宸茬淮鎶�</span>
+ <span v-else>鏈淮鎶�</span>
+ </template>
+ </el-table-column>
<el-table-column label="鍚敤鐘舵��" min-width="100px">
<template slot-scope="{row}">
<el-switch
@@ -55,12 +61,13 @@
<el-table-column
v-if="containPermissions(['business:insurance:update', 'business:insurance:delete'])"
label="鎿嶄綔"
- min-width="120"
+ min-width="150"
fixed="right"
>
<template slot-scope="{row}">
<el-button type="text" @click="$refs.OperaInsuranceDescWindow.open('淇濋櫓鍏徃璇︽儏', row)" icon="el-icon-edit" v-permissions="['business:insurance:update']">鏌ョ湅璇︽儏</el-button>
<el-button type="text" @click="$refs.operaInsuranceWindow.open('淇敼淇濋櫓鍏徃', row)" icon="el-icon-edit" v-permissions="['business:insurance:update']">淇敼</el-button>
+ <el-button type="text" @click="$refs.setCompany.open('鐞嗚禂鏉愭枡閰嶇疆', row.id)" icon="el-icon-edit">璁剧疆</el-button>
</template>
</el-table-column>
</el-table>
@@ -75,6 +82,8 @@
<OperaInsuranceWindow ref="operaInsuranceWindow" @success="handlePageChange"/>
<!-- 璇︽儏 -->
<OperaInsuranceDescWindow ref="OperaInsuranceDescWindow" @success="handlePageChange"/>
+ <!-- 璁剧疆 -->
+ <SetCompany ref="setCompany" @success="handlePageChange"/>
</TableLayout>
</template>
@@ -84,11 +93,12 @@
import Pagination from '@/components/common/Pagination'
import OperaInsuranceWindow from '@/components/business/OperaInsuranceWindow'
import OperaInsuranceDescWindow from '@/components/business/OperaInsuranceDescWindow'
+ import SetCompany from '@/components/business/setCompany'
import { updateStatus } from '@/api/business/insurance'
export default {
name: 'Insurance',
extends: BaseTable,
- components: { TableLayout, Pagination, OperaInsuranceWindow, OperaInsuranceDescWindow },
+ components: { TableLayout, Pagination, OperaInsuranceWindow, OperaInsuranceDescWindow, SetCompany },
data () {
return {
// 鎼滅储
diff --git a/company/src/views/business/knowledge.vue b/company/src/views/business/knowledge.vue
new file mode 100644
index 0000000..1d8ab69
--- /dev/null
+++ b/company/src/views/business/knowledge.vue
@@ -0,0 +1,189 @@
+<template>
+ <TableLayout :permissions="['business:knowledge:query']">
+ <!-- 鎼滅储琛ㄥ崟 -->
+ <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
+ <el-form-item label="鏍囬/鍐呭" prop="title">
+ <el-input v-model="searchForm.title" placeholder="璇疯緭鍏ユ爣棰樺唴瀹�" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="鐪佷唤缂栫爜" prop="provinceId">
+ <el-input v-model="searchForm.provinceId" placeholder="璇疯緭鍏ョ渷浠界紪鐮�" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <el-form-item label="鍩庡競缂栫爜" prop="cityId">
+ <el-input v-model="searchForm.cityId" placeholder="璇疯緭鍏ュ煄甯傜紪鐮�" @keypress.enter.native="search"></el-input>
+ </el-form-item>
+ <section>
+ <el-button type="primary" @click="search">鎼滅储</el-button>
+<!-- <el-button type="primary" :loading="isWorking.export" v-permissions="['business:knowledge:exportExcel']" @click="exportExcel">瀵煎嚭</el-button>-->
+ <el-button @click="reset">閲嶇疆</el-button>
+ </section>
+ </el-form>
+ <!-- 琛ㄦ牸鍜屽垎椤� -->
+ <template v-slot:table-wrap>
+ <ul class="toolbar" v-permissions="['business:knowledge:create', 'business:knowledge:delete']">
+ <li><el-button type="primary" @click="$refs.operaKnowledgeWindow.open('鏂板缓')" icon="el-icon-plus" v-permissions="['business:knowledge:create']">鏂板缓</el-button></li>
+<!-- <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:knowledge:delete']">鍒犻櫎</el-button></li>-->
+ </ul>
+ <div class="list" v-loading="isWorking.search" v-if="tableData.list.length > 0">
+ <div class="list-item" v-for="(item, index) in tableData.list" :key="index">
+ <div class="list-item-title">
+ <span>{{item.title}}</span>
+ <i class="el-icon-arrow-right"></i>
+ </div>
+ <div class="list-item-cates" v-if="item.labelNames">
+ <div class="list-item-cates-row" v-for="(label, index) in item.labelNames.split(',')" :key="index">鏀跨瓥娉曡labels</div>
+ <div class="list-item-cates-row">{{label}}</div>
+ </div>
+ <div class="list-item-footer">
+ <div class="left">
+ <div class="list-item-footer-row">閫傜敤鍦板尯锛歿{item.cityName ? item.cityName : item.provinceName}}</div>
+ <div class="list-item-footer-row">閫傜敤骞翠唤锛歿{item.yearInfo}}</div>
+ </div>
+ <div class="right">
+ <el-button type="text" size="medium" style="margin-right: 15px; color: red;" @click="dele(item.id)">鍒犻櫎</el-button>
+ <el-button type="text" size="medium" @click="$refs.operaKnowledgeWindow.open('缂栬緫', item)">淇敼</el-button>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="wu" v-else v-loading="isWorking.search">
+ 鏆傛棤鏁版嵁
+ </div>
+ <pagination
+ @size-change="handleSizeChange"
+ @current-change="handlePageChange"
+ :pagination="tableData.pagination"
+ >
+ </pagination>
+ </template>
+ <!-- 鏂板缓/淇敼 -->
+ <OperaKnowledgeWindow ref="operaKnowledgeWindow" @success="handlePageChange"/>
+ </TableLayout>
+</template>
+
+<script>
+ import BaseTable from '@/components/base/BaseTable'
+ import TableLayout from '@/layouts/TableLayout'
+ import Pagination from '@/components/common/Pagination'
+ import OperaKnowledgeWindow from '@/components/business/OperaKnowledgeWindow'
+ import { deleteById } from '@/api/business/knowledge'
+ export default {
+ name: 'Knowledge',
+ extends: BaseTable,
+ components: { TableLayout, Pagination, OperaKnowledgeWindow },
+ data () {
+ return {
+ // 鎼滅储
+ searchForm: {
+ provinceId: '',
+ cityId: '',
+ title: ''
+ }
+ }
+ },
+ created () {
+ this.config({
+ module: '鐭ヨ瘑搴撲俊鎭〃',
+ api: '/business/knowledge',
+ 'field.id': 'id',
+ 'field.main': 'id'
+ })
+ this.search()
+ },
+ methods: {
+ dele(id) {
+ this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning'
+ }).then(async () => {
+ let res = await deleteById(id)
+ this.search()
+ this.$message.success('鍒犻櫎鎴愬姛')
+ }).catch(() => {
+
+ });
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .wu {
+ width: 100%;
+ height: 200px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #222222;
+ font-size: 18px;
+ font-weight: bold;
+ }
+ .list {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ .list-item {
+ width: 100%;
+ padding: 20px;
+ border-radius: 10px;
+ box-sizing: border-box;
+ border: 1px solid #ececec;
+ margin-bottom: 15px;
+ cursor: pointer;
+ &:last-child {
+ margin: 0;
+ }
+ .list-item-title {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ span {
+ flex: 1;
+ color: rgba(54,98,227,1);
+ font-size: 18px;
+ }
+ i {
+ flex-shrink: 0;
+ margin-left: 30px;
+ font-size: 22px;
+ color: rgba(54,98,227,1);
+ }
+ }
+ .list-item-cates {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin: 10px 0;
+ .list-item-cates-row {
+ padding: 3px 8px;
+ box-sizing: border-box;
+ border-radius: 4px;
+ background-color: rgba(190,190,190,1);
+ color: rgba(255,255,255,1);
+ font-size: 12px;
+ margin-left: 15px;
+ &:first-child {
+ margin: 0 !important;
+ }
+ }
+ }
+ .list-item-footer {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .left {
+ display: flex;
+ align-items: center;
+ .list-item-footer-row {
+ color: rgba(154,154,154,1);
+ font-size: 14px;
+ margin-right: 50px;
+ }
+ }
+
+ }
+ }
+ }
+</style>
diff --git a/company/src/views/business/riskReminder.vue b/company/src/views/business/riskReminder.vue
new file mode 100644
index 0000000..6e26dc5
--- /dev/null
+++ b/company/src/views/business/riskReminder.vue
@@ -0,0 +1,168 @@
+<template>
+ <div class="tx">
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>澶氭鍑洪櫓鎻愰啋</span>
+ <el-switch active-value="1" inactive-value="0" v-model="form.riskTimesOpen"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛氬悓涓�浜轰竴骞村唴鎶ユ</span>
+ <el-input-number style="margin: 0 15px;" v-model="form.riskTimesReportTimes" :min="0"></el-input-number>
+ <span>娆″強浠ヤ笂锛岃繘琛屾彁閱掋��</span>
+ </div>
+ </div>
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>鐤戜技閲嶅鎶ユ鎻愰啋</span>
+ <el-switch active-value="1" inactive-value="0" v-model="form.riskRepeatReportOpen"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛�</span>
+ <el-input-number style="margin: 0 15px;" v-model="form.riskRepeatReportTime" :min="0"></el-input-number>
+ <el-select v-model="form.riskRepeatReportTimeUnit" style="width: 100px; margin-right: 15px;" placeholder="璇烽�夋嫨">
+ <el-option label="灏忔椂" value="1"></el-option>
+ <el-option label="澶�" value="2"></el-option>
+ </el-select>
+ <span>鍐咃紝鎻愪氦鍚屼竴鍑洪櫓浜烘浠�2娆″強浠ヤ笂锛岃繘琛屾彁閱掋��</span>
+ </div>
+ </div>
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>绱㈣禂娆℃暟杩囧鎻愰啋</span>
+ <el-switch active-value="1" inactive-value="0" v-model="form.riskClaimTimesOpen"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛氬悓涓�涓繚鍗�1骞村唴绱㈣禂娆℃暟瓒呰繃</span>
+ <el-input-number style="margin: 0 15px;" v-model="form.riskClaimTimes" :min="0"></el-input-number>
+ <span>娆★紝杩涜鎻愰啋銆�</span>
+ </div>
+ </div>
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>鏂板憳宸ュ嚭闄╂彁閱�</span>
+ <el-switch active-value="1" inactive-value="0" v-model="form.riskNewMemberOpen"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛氫繚鍗曠敓鏁堢殑</span>
+ <el-input-number style="margin: 0 15px;" v-model="form.riskNewMemberTime" :min="0"></el-input-number>
+ <el-select v-model="form.riskNewMemberTimeUnit" style="width: 100px; margin-right: 15px;" placeholder="璇烽�夋嫨">
+ <el-option label="灏忔椂" value="1"></el-option>
+ <el-option label="澶�" value="2"></el-option>
+ </el-select>
+ <span>鍐呭嚭闄╋紝杩涜鎻愰啋銆�</span>
+ </div>
+ </div>
+ <div class="tx_item">
+ <div class="tx_item_head">
+ <span>鏁忔劅璇嶈缃�</span>
+ <el-switch active-value="1" inactive-value="0" v-model="form.riskSensitiveWordsOpen"></el-switch>
+ </div>
+ <div class="tx_item_content">
+ <span>瑙勫垯璁剧疆锛�</span>
+ <el-input
+ type="textarea"
+ :rows="5"
+ placeholder="姣忎釜鏁忔劅璇嶈鐢ㄢ��;鈥濆垎闅旓紝濡傞鎶�;楂樼┖;澶滈棿;浜ら�氫簨鏁�;鎼繍绛夊叾浠栧瓧绗�"
+ v-model="form.riskSensitiveWords">
+ </el-input>
+ </div>
+ </div>
+ <div class="tx_footer">
+ <el-button type="primary" :disabled="loading" v-loading="loading" @click="submit">淇濆瓨</el-button>
+ </div>
+ </div>
+</template>
+
+<script>
+ import { updRiskConfig, getRiskConfig } from '@/api/business/settleRisk'
+ export default {
+ name: "riskReminder",
+ data() {
+ return {
+ form: {
+ riskClaimTimes: '0',
+ riskClaimTimesOpen: '0',
+ riskNewMemberOpen: '0',
+ riskNewMemberTime: '0',
+ riskNewMemberTimeUnit: '0',
+ riskRepeatReportOpen: '0',
+ riskRepeatReportTime: '0',
+ riskRepeatReportTimeUnit: '0',
+ riskSensitiveWords: '0',
+ riskSensitiveWordsOpen: '0',
+ riskTimesOpen: '0',
+ riskTimesReportTimes: '0'
+ },
+ loading: false
+ }
+ },
+ created() {
+ this.getRiskConfigs()
+ },
+ methods: {
+ async getRiskConfigs() {
+ let res = await getRiskConfig()
+ for (const key in this.form) {
+ this.form[key] = res[key]
+ }
+ },
+ submit() {
+ this.loading = true
+ updRiskConfig(this.form)
+ .then(res => {
+ this.getRiskConfigs()
+ this.$message.success('淇濆瓨鎴愬姛')
+ })
+ .finally(() => {
+ this.loading = false
+ })
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .tx {
+ width: 100%;
+ padding: 20px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ .tx_footer {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ .tx_item {
+ width: 49%;
+ padding: 30px 20px;
+ box-sizing: border-box;
+ background-color: #ffffff;
+ border: 1px solid #ececec;
+ margin-bottom: 20px;
+ .tx_item_head {
+ display: flex;
+ align-items: center;
+ span {
+ color: rgba(16,16,16,1);
+ font-size: 16px;
+ font-weight: bold;
+ margin-right: 15px;
+ }
+ }
+ .tx_item_content {
+ display: flex;
+ align-items: start;
+ margin-top: 30px;
+ span {
+ flex-shrink: 0;
+ color: rgba(16,16,16,1);
+ font-size: 14px;
+ }
+ }
+ }
+ }
+</style>
diff --git a/company/src/views/business/settleClaims.vue b/company/src/views/business/settleClaims.vue
index 6cd0f86..33c119d 100644
--- a/company/src/views/business/settleClaims.vue
+++ b/company/src/views/business/settleClaims.vue
@@ -58,13 +58,7 @@
<span>{{scope.$index + 1}}</span>
</template>
</el-table-column>
- <el-table-column prop="status" label="妗堜欢鐘舵��" min-width="100px">
- <template slot-scope="{row}">
- <span :class="'settle-status' + row.status" v-if="row.status === 0 || row.status === 2 || row.status === 3">澶勭悊涓�</span>
- <span :class="'settle-status' + row.status" v-if="row.status === 1">宸叉挙妗�</span>
- <span :class="'settle-status' + row.status" v-if="row.status === 4">宸茬粨妗�</span>
- </template>
- </el-table-column>
+ <el-table-column prop="statusName" label="妗堜欢鐘舵��" min-width="100px"></el-table-column>
<el-table-column prop="reportNum" label="鎶ユ鍙�" min-width="100px"></el-table-column>
<el-table-column prop="companyName" label="鎶ユ浼佷笟" min-width="100px"></el-table-column>
<el-table-column prop="memberName" label="鍑洪櫓浜�" min-width="100px"></el-table-column>
@@ -77,11 +71,29 @@
<el-table-column
v-if="containPermissions(['business:settleclaims:update', 'business:settleclaims:delete'])"
label="鎿嶄綔"
- min-width="120"
+ min-width="200"
fixed="right"
>
<template slot-scope="{row}">
- <el-button type="text" @click="$refs.operaSettleClaimsWindow.open('鎶ユ璇︽儏', row)" v-permissions="['business:settleclaims:update']">鏌ョ湅璇︽儏</el-button>
+ <el-button
+ type="text"
+ @click="$refs.operaSettleClaimsWindow.open('鎶ユ璇︽儏', row.id)"
+ v-if="row.status !== 0">
+ 鏌ョ湅璇︽儏
+ </el-button>
+ <el-button
+ type="text"
+ @click="$refs.onlineReporting.open('缂栬緫鎶ユ', row.id)"
+ v-if="[0,1,2,4,5,7].includes(row.status) && userInfo.type === 1">
+ 缂栬緫
+ </el-button>
+ <el-button
+ type="text"
+ @click="revoke(row.id)"
+ v-if="[1,2,3,4,5,9,7,10,11].includes(row.status) && userInfo.type === 1">
+ 鎾ら攢
+ </el-button>
+ <el-button type="text" @click="deleRow(row.id)" v-if="row.status === 0">鍒犻櫎</el-button>
</template>
</el-table-column>
</el-table>
@@ -106,7 +118,9 @@
import OperaSettleClaimsWindow from '@/components/business/OperaSettleClaimsWindow'
import onlineReporting from '@/components/enterprise/onlineReporting'
import { all as solutionAll } from '@/api/business/solutions'
+import { returnSettle } from '@/api/business/settleRisk'
import { pageAll as companyAll } from '@/api/business/company'
+import { dele } from '@/api/business/settleClaims'
import { mapState } from 'vuex'
export default {
name: 'SettleClaims',
@@ -142,9 +156,21 @@
this.loadSelectList()
},
methods: {
- // handlePageChange() {
- // this.search()
- // },
+ // 鎾ら攢
+ revoke(id) {
+ this.$confirm('鎾ら攢鍚庯紝妗堜欢鐩存帴缁撴潫锛屾棤娉曠户缁繘琛岀悊璧旀搷浣滐紒', '鏄惁鎾ら攢鎶ユ锛�', {
+ confirmButtonText: '纭畾鎾ら攢',
+ cancelButtonText: '鎴戝啀鎯虫兂',
+ type: 'warning'
+ }).then(() => {
+ returnSettle({ id })
+ .then(res => {
+ this.search()
+ })
+ }).catch(() => {
+
+ });
+ },
loadSelectList () {
solutionAll({ dataType: 0 }).then(res => {
this.solutionList = res
@@ -154,7 +180,22 @@
this.companyList = res
}).catch(err => {
})
- }
+ },
+ deleRow(id) {
+ this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
+ confirmButtonText: '纭畾',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning'
+ }).then(() => {
+ dele(id)
+ .then(res => {
+ this.$message.success('鍒犻櫎鎴愬姛')
+ this.search()
+ })
+ }).catch(() => {
+
+ });
+ }
}
}
--
Gitblit v1.9.3