From bdc2636a9d8f80b77123a827bda740354ba884a0 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 22 五月 2025 09:03:14 +0800
Subject: [PATCH] 提交
---
company/src/api/business/insurance.js | 10
company/src/components/business/OpearaCaseEntryWindow.vue | 1249 ++++++++++++++
company/src/components/business/tagLibrary.vue | 126 +
company/src/api/business/settleRisk.js | 20
company/src/components/business/OperaSolutionsBaseWindow.vue | 98 +
company/.env.developmentCom | 2
company/src/views/business/caseEntry.vue | 186 ++
company/src/components/business/setCompany.vue | 227 ++
company/src/api/business/knowledge.js | 60
company/src/components/business/OperaSettleClaimsWindow_copy.vue | 874 ++++++++++
company/src/components/business/OperaSettleClaimsWindow.vue | 1284 +++++--------
company/src/views/business/insurance.vue | 14
company/src/views/business/knowledge.vue | 189 ++
company/src/api/business/settleClaimsMovement.js | 20
company/src/api/business/settleClaims.js | 9
company/src/views/business/dataBoard.vue | 493 +++++
company/src/components/business/OperaKnowledgeWindow.vue | 165 +
company/.env.development | 2
company/src/views/business/riskReminder.vue | 168 +
19 files changed, 4,409 insertions(+), 787 deletions(-)
diff --git a/company/.env.development b/company/.env.development
index cabe354..11559e1 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.140:10030/'
diff --git a/company/.env.developmentCom b/company/.env.developmentCom
index 98cdb4a..30914ab 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.140: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..9e3af44
--- /dev/null
+++ b/company/src/api/business/settleRisk.js
@@ -0,0 +1,20 @@
+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 getRiskConfig () {
+ return request.get('/business/settleRisk/getRiskConfig')
+}
diff --git a/company/src/components/business/OpearaCaseEntryWindow.vue b/company/src/components/business/OpearaCaseEntryWindow.vue
new file mode 100644
index 0000000..b88bd92
--- /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_FILE" @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_FILE" @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_FILE" @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_FILE" @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_FILE" @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_FILE" @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_FILE" @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_FILE',
+ 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..b4b23ff 100644
--- a/company/src/components/business/OperaSettleClaimsWindow.vue
+++ b/company/src/components/business/OperaSettleClaimsWindow.vue
@@ -2,464 +2,293 @@
<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">
+ <div class="box_status">
+ <div class="box_status_row" v-for="(item, index) in statusList" :key="index">
+ <div v-if="statusList.length - 1 !== index" :class="item.date ? 'box_status_row_xian statusColor2' : 'box_status_row_xian'"></div>
+ <div :class="item.date ? 'box_status_row_icon statusColor1' : statusList[index - 1].date ? 'box_status_row_icon statusColor2 statusColor3' : 'box_status_row_icon'">
+ <span v-if="!item.date">{{index + 1}}</span>
+ <i class="el-icon-check" v-else></i>
+ </div>
+ <div class="box_status_row_info">
+ <div class="title">{{item.name}}</div>
+ <div class="info" v-if="item.info">{{item.info}}</div>
+ <div class="info" v-if="item.date">{{item.date}}</div>
+ </div>
</div>
</div>
- <div class="desc_list">
- <div class="desc_list_item">
- <div class="desc_list_item_label">
- 鍑洪櫓浜哄鍚嶏細
+ <div class="box_desc">
+ <div class="box_desc_head">
+ <div class="box_desc_title">
+ <span class="box_desc_title_val">鎶ユ璇︽儏</span>
</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 class="box_desc_btns">
+ <el-button type="danger" @click="show = true">閫�鍥�</el-button>
+ <el-button type="primary">绔嬫</el-button>
+ <el-button icon="el-icon-refresh-left" type="primary" circle></el-button>
+ <div class="box_desc_btns_operate">
+ <i class="el-icon-arrow-down"></i>
+ <span>鏀惰捣</span>
</div>
</div>
- <div v-else class="desc_list_item_videos">-</div>
+ </div>
+ <div class="box_desc_list">
+ <div class="box_desc_list_row">
+ 鎶ユ鏃堕棿锛�2024-09-12 03:50
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ鍙凤細YYBLP-2025010101
+ </div>
+ <div class="box_desc_list_row">
+ 鎵�灞炰繚鍗曪細2984719842130 <el-button type="text">涓嬭浇淇濆崟</el-button>
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ浜猴細灏规檽鍑�
+ </div>
+ <div class="box_desc_list_row">
+ 鎶ユ浜鸿仈绯绘柟寮忥細15556970338
+ </div>
+ <div class="box_desc_list_row">
+ 淇濆徃鎶ユ鍙凤細-
+ </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_fx">
+ <div class="box_fx_left">
+ <i class="el-icon-warning"></i>
+ <span class="box_fx_left_a">娉ㄦ剰锛岃妗堜欢鏈�5鏉¢闄╀俊鎭�</span>
+ <span class="box_fx_left_b">鏌ョ湅璇︽儏</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>
+ <i class="el-icon-close"></i>
</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 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>-->
-<!-- </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 class="box_desc_btns">
+ <div class="box_desc_btns_operate">
+ <i class="el-icon-arrow-down"></i>
+ <span>鏀惰捣</span>
</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 class="box_desc_list">
+ <div class="box_desc_list_row">
+ 鍑洪櫓浜哄鍚嶏細鏉庨潤
</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 class="box_desc_list_row">
+ 鍑洪櫓浜鸿韩浠借瘉鍙凤細340122200603251924
+ </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">宸ヤ激鎰忓闄�-B绫�</div>
+ <div class="box_desc_fa_row">淇濆崟鍙凤細20241225133229</div>
+ <div class="box_desc_fa_row">淇濋殰鏈熼檺锛�2025-01-01锝�2025-12-31</div>
+ <div class="box_desc_fa_row">鎶曚繚鍗曚綅锛歑XX淇℃伅绉戞妧鏈夐檺鍏徃</div>
+ <div class="box_desc_fa_row">娲鹃仯鍗曚綅锛歑XX淇℃伅绉戞妧鏈夐檺鍏徃</div>
+ <div class="box_desc_fa_row">鎵�灞炲伐绉嶏細鐢靛瓙鍣ㄦ鍒堕�犲伐</div>
+ </div>
+ <div class="box_desc_fa">
+ <div class="box_desc_fa_title">宸ヤ激鎰忓闄�-B绫�</div>
+ <div class="box_desc_fa_row">淇濆崟鍙凤細20241225133229</div>
+ <div class="box_desc_fa_row">淇濋殰鏈熼檺锛�2025-01-01锝�2025-12-31</div>
+ <div class="box_desc_fa_row">鎶曚繚鍗曚綅锛歑XX淇℃伅绉戞妧鏈夐檺鍏徃</div>
+ <div class="box_desc_fa_row">娲鹃仯鍗曚綅锛歑XX淇℃伅绉戞妧鏈夐檺鍏徃</div>
+ <div class="box_desc_fa_row">鎵�灞炲伐绉嶏細鐢靛瓙鍣ㄦ鍒堕�犲伐</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">
+ 鍑洪櫓鏃堕棿锛�2024-06-13 07:40:00
+ </div>
+ <div class="box_desc_list_row">
+ 灏辫瘖鍖荤枟鏈烘瀯锛氬悎鑲ョ浜屼汉姘戝尰闄�
+ </div>
+ <div class="box_desc_list_row">
+ 鍑虹幇鍦板尯锛氬畨寰界渷鍚堣偉甯傝偉涓滃幙
+ </div>
+ <div class="box_desc_list_row" style="width: 100%;">
+ 鍑洪櫓缁忚繃锛氫笂鐝椂闂撮獞杞﹁鎾炪�傚ご閮ㄩ伃鍒版挒鍑籆T杩樻病鍑烘潵锛� 鑴氳笣杩樻湁宸﹁竟澶ц吙澶栦晶涓ラ噸鎿︿激銆�
+ </div>
+ <div class="box_desc_list_row">
+ 浜嬫晠绫诲瀷锛氫笂涓嬬彮閫斾腑鍙椾激
+ </div>
+ <div class="box_desc_list_row">
+ 鏄惁浣忛櫌锛氭槸
+ </div>
+ <div class="box_desc_list_row">
+ 鏄惁鏈夊尰鐤椾繚闄╋細鏄�
+ </div>
+ <div class="box_desc_list_row" style="width: 100%;">
+ 灏辫瘖绫诲瀷锛氫綇闄�
+ </div>
+ <div class="box_desc_list_img">
+ <span>浜嬫晠瑙嗛/鐓х墖锛�</span>
+ <div class="box_desc_list_img_files">
+ <div class="box_desc_list_img_files_row">
+ <img src="" alt="" />
+ </div>
+ </div>
+ </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">
+ <div class="box_desc_head">
+ <div class="box_desc_title">
+ <span class="box_desc_title_val">鐞嗚禂鏉愭枡</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_btns">
+ <div class="box_desc_btns_operate">
+ <i class="el-icon-arrow-down"></i>
+ <span>鏀惰捣</span>
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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 3" :key="index">
+ <img src="" alt="" />
+ </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>
</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 },
+ components: { GlobalWindow },
data () {
return {
- loading: false,
- doneFileDate: null,
- remarkLogList: [],
- activeLogList:[],
- list: [],
- model: {},
- activeName: 'first',
- reverse: false
+ show: false,
+ statusList: [
+ {
+ name: '鎶ユ',
+ info: '宸叉姤妗�',
+ date: '2025-03-03 12:31'
+ },
+ {
+ name: '绔嬫',
+ info: '寰呯珛妗�',
+ date: ''
+ },
+ {
+ name: '鍙楃悊',
+ info: '',
+ date: ''
+ },
+ {
+ name: '鐞嗙畻',
+ info: '',
+ date: ''
+ },
+ {
+ name: '鏍歌禂',
+ info: '',
+ date: ''
+ },
+ {
+ name: '缁撴',
+ info: '',
+ date: ''
+ }
+ ]
}
},
computed: {
@@ -472,403 +301,294 @@
})
},
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 {
+ .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;
- align-items: center;
- .desc_label_left_title {
- font-size: 20px;
- font-weight: bold;
- color: black;
+ align-items: start;
+ position: relative;
+ .box_status_row_xian {
+ position: absolute;
+ right: 30px;
+ top: 10px;
+ width: calc(100% - 110px);
+ 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: #E8F4FF !important;
}
- .desc_label_left_code {
- font-size: 15px;
- color: black;
- margin-left: 30px;
+ .statusColor2 {
+ background-color: #165DFF !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: 28px;
+ height: 28px;
+ background-color: rgba(242,243,245,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%;
- }
+ 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;
}
}
}
}
- .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_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_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_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_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/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/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>
--
Gitblit v1.9.3