Commit c5ee25e8 by zhangquan

理赔开发

1 parent ff561c31
......@@ -359,121 +359,12 @@
// .equity-wrap table td {
// min-width: 50px;
// }
.page-btm-btn{
.page-btm-btn {
display: flex;
justify-content: center;
margin-top: 16px;
}
.gl-form-page {
.ml12 {
margin-left: 12px;
}
.mr12 {
margin-right: 12px;
}
.mr24 {
margin-right: 24px;
}
.mb10 {
margin-bottom: 10px;
}
.mb12 {
margin-bottom: 12px;
}
.mb20 {
margin-bottom: 20px;
}
.w136 {
width: 136px !important;
}
.w154 {
width: 154px !important;
}
.w284 {
width: 284px !important;
}
.w432 {
width: 432px !important;
}
.w580 {
width: 580px !important;
}
.w728 {
width: 728px !important;
}
.el-form {
padding-left: 20px;
.el-form-item {
&:last-child {
margin-bottom: 0;
}
margin-bottom: 20px;
}
.el-form-item__label {
padding: 0;
width: 154px;
}
.el-button--medium {
padding: 10px 20px;
font-size: 14px;
border-radius: 4px;
}
.el-input {
width: 432px;
}
.el-input-number{
width: 136px;
.el-input {
width:100%;
}
.el-input-number__decrease{
background-color: #fff;
}
.el-input-number__increase{
background-color: #fff;
}
}
.el-textarea {
width: 580px !important;
}
.el-select {
width: 432px;
margin-right: 12px;
.el-input {
width: 432px;
}
.el-input--small .el-input__inner {
height: 32px;
line-height: 32px;
}
}
.el-date-editor {
width: 432px;
}
.welcome-box {
width: 580px;
}
}
&.gl-form-min {
.el-form {
.el-input {
width: 284px;
}
.el-textarea {
width: 432px !important;
}
.el-select {
width: 284px;
.el-input {
width: 284px;
}
}
.el-date-editor {
width: 284px;
}
.welcome-box {
width: 432px;
}
}
}
.el-message.msgHierarchy {
z-index: 5000 !important;
}
<!-- 搜索 -->
<template>
<div class="glsx-combi-form">
<el-form :ref="formRef" :inline="isinline" :model="formObj" :rules="formRules" size="small" class="glsx-combi-form-block">
<el-form :ref="formRef" :inline="isInline" :model="formObj" :rules="formRules" size="small" class="glsx-combi-form-block">
<template v-for="(item, index) in formData">
<el-form-item v-if="!item.isHide" :key="index" :id="item.name" :labelWidth="isEdit ? '144px' : labelWidth" :class="{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span v-if="!item.isHide && item.tips" class="tips-block" slot="label">
......@@ -15,6 +15,7 @@
<span class="combi-form-label" :style="{ width: item.labelWidth ? item.labelWidth + labelPaddingRight + 'px' : '', 'padding-right': isEdit ? '12px' : labelPaddingRight + 'px' }">{{ item.label }}</span>
</span>
<slot v-if="item.addHtml" :name="item.addHtml" :scope="item"></slot>
<span :style="{ width: item.selectWidth || defaultWidth, display: 'inline-block' }" v-else-if="item.type === 'showTxt'">{{ formObj[item.name] }}</span>
<div v-else-if="item.type === 'input'">
<el-input @change="item.inputChange" :placeholder="item.placeholder || '请输入' + item.label" v-model.trim="formObj[item.name]" :disabled="item.isDisabled" :maxlength="item.maxlength" :clearable="item.isClear || false" :type="item.inputType || 'text'" :rows="item.rows || 3" :style="{ width: item.width || defaultWidth }" :show-word-limit="item.showLimit || false" :show-password="item.showPass || false" @keydown.native="e => handleInputDown(e, item)">
<span v-if="item.prepend" slot="prepend">{{ item.prepend }}</span>
......@@ -133,9 +134,9 @@ export default {
},
props: {
isinline:{
type:Boolean,
default:true
isInline: {
type: Boolean,
default: true
},
regionData: {
type: Array,
......
<template>
<div :style="{ 'margin-top': +marginTop + 'px' }" class="box">
<div v-if="title" class="header" :style="{ cursor: openBtn ? 'pointer' : 'unset' }" @click.stop="showBody()">
<i v-if="openBtn" class="el-icon-caret-right" :class="{ trans: open }"></i>
{{ title }}
<div style="float:right">
<slot name="right"></slot>
</div>
</div>
<div v-if="!openBtn || open" class="main-wrap">
<slot></slot>
</div>
</div>
</template>
<script type="text/ecmascript-6">
export default {
name: 'card',
data() {
return {
open: false
}
},
props: {
title: {
type: String,
default: ''
},
openBtn: {
type: Boolean,
default: false
},
marginTop:{
tyep: Number|String,
default: 16
}
},
mounted() {},
methods:{
showBody(){
if(!this.openBtn) return
this.open = !this.open
}
}
}
</script>
<style lang="scss" scoped>
.box {
background-color: #fff;
.header {
height: 58px;
background-color: #fff;
line-height: 58px;
padding: 0 20px;
box-sizing: border-box;
font-family: inherit;
font-size: 16px;
color: #333333;
font-weight: 600;
}
.main-wrap {
border-top: 1px solid #e5e5e5;
padding: 20px;
height: 100%;
}
}
.header .trans {
transform: rotate(90deg);
}
.header .el-icon-caret-right {
transition: transform 0.3s ease 0s;
}
</style>
<template>
<div>
<Card title="案件补充说明">
<div class="explanation">
<div class="explanation-list" v-for="(item, idx) in explanationForm" :key="idx">
<label class="label" for="">{{ `说明${idx + 1}:` }}</label>
<el-input :placeholder="`请输入说明${idx + 1}`" v-model="item.content" type="textarea" :rows="3"></el-input>
<i class="el-icon-delete del" v-if="explanationForm.length > 1" @click="handleDel(idx)"></i>
</div>
</div>
<div class="add-explanation" @click="addExplanation">
<i class="el-icon-circle-plus-outline"></i>
<span>新增说明</span>
</div>
</Card>
</div>
</template>
<script type="text/ecmascript-6">
import Card from './card.vue'
export default {
name: 'explanation',
data() {
return {
explanationForm:[
{
name: 'explanation1',
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true,
suffixSlot: 'suffixSlot'
}
]
}
},
components: {
Card
},
props: {
obj:{
type: Object,
default:function() {
return {explanation1:''}
}
}
},
mounted() {},
methods:{
handleDel(idx){
this.$delete(this.explanationForm, idx)
},
addExplanation(){
const idx= this.explanationForm.length
const key = `explanation${idx+1}`
const obj = {
name: key,
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true,
suffixSlot:'suffixSlot'
}
this.$set(this.explanationForm,idx,obj)
this.$set(this.obj,key,'')
},
}
}
</script>
<style lang="scss" scoped>
.explanation {
.explanation-list {
display: flex;
// align-items: center;
margin-bottom: 20px;
&:last-child {
margin-bottom: 10px;
}
/deep/ .el-textarea {
width: 580px;
}
.label {
width: 154px;
font-size: 14px;
font-weight: 400;
line-height: 32px;
color: #333;
text-align: right;
flex-shrink: 0;
}
}
.del {
color: #c6c6c6;
font-size: 16px;
margin-left: 10px;
cursor: pointer;
margin-top: 28px;
}
}
.add-explanation {
color: #5850ff;
display: flex;
align-items: center;
margin-left: 154px;
cursor: pointer;
.el-icon-circle-plus-outline {
font-size: 20px;
margin-right: 6px;
}
span {
font-size: 12px;
}
}
</style>
<template>
<GLDialog class="gl-form-page gl-form-min" title="快速审核" mode="mid" v-if="visibility" :visible.sync="visibility">
<div class="review-container">
<div class="filter-wrap">
<div class="filter-btn">
<span>筛选</span>
<i class="gl-icon-filter filter-icon" @click="showFilter = !showFilter"></i>
<div v-if="showFilter" class="tree-wrap">
<div class="filter-tree">
<el-tree :data="data" show-checkbox node-key="id" :default-expanded-keys="[2, 3]" :default-checked-keys="[5]" :props="defaultProps"></el-tree>
</div>
<div class="filter-all">
<el-checkbox v-model="checked">全选</el-checkbox>
<span class="reset">
<el-button type="primary" size="small">确定</el-button>
<el-button size="small">重置</el-button>
</span>
</div>
</div>
</div>
<div class="pic-list">
<div class="pic-item" v-for="(item, index) in imgList" :key="index">
<div @click="changeCurImg(index)" :class="['pic', { passed: item.status == 1 }]">
<img :src="item.url" alt="" />
<i v-if="item.status == 1" class="el-icon-success success"></i>
</div>
<span class="title">{{ item.name }}</span>
</div>
</div>
</div>
<div class="preview-wrap">
<span>{{ curImg.name }}</span>
<div class="preview-oper">
<div class="preview-pic">
<img :src="curImg.url" alt="" />
<div class="mask">
<i class="gl-icon-eye"></i>
<i class="gl-icon-a-testcaselibrary1"></i>
</div>
</div>
<div class="pass-btn">
<el-button type="text" @click="changeLeaf('pre')">上一张</el-button>
<el-button type="text" @click="pass(1)">通过</el-button>
<el-button type="text" @click="pass(2)">不通过</el-button>
<el-button type="text" @click="changeLeaf('next')">下一张</el-button>
</div>
</div>
</div>
</div>
</GLDialog>
</template>
<script type="text/ecmascript-6">
export default {
name: 'fastReview',
data() {
return {
checked: true,
showFilter:false,
curImg:{
},
imgList:[
{
url: 'http://qcimg01.glsx.com.cn:7060/group1/M00/02/30/wKgD3mMigU6AQWekAAAxdFwhNU8306.png',
name:'基础资料:身份证',
status: 1
},
{
url: 'https://img02.glsx.com.cn/weapp/resource/saas/scrm/assets/glsx/logo_menu.png',
name:'111111',
status: 0
},
{
url: 'http://qcimg01.glsx.com.cn:7060/group1/M00/02/30/wKgD3mMigU6AQWekAAAxdFwhNU8306.png',
name:'222222',
status: 0
},
{
url: 'https://img02.glsx.com.cn/weapp/resource/saas/scrm/assets/glsx/logo_menu.png',
name:'333333',
status: 0
}
],
data: [{
id: 1,
label: '资料名称',
children: []
}, {
id: 2,
label: '处理状态',
children: [{
id: 5,
label: '已审核'
}, {
id: 6,
label: '未审核'
}]
}, {
id: 3,
label: '审核状态',
children: [{
id: 7,
label: '二级 3-1'
}, {
id: 8,
label: '二级 3-2'
}]
}],
}
},
props: {
visibility:{
type: Boolean,
default:false
}
},
mounted() {
this.changeCurImg(0)
},
methods:{
changeLeaf(type){
let idx = this.curImg.idx
if((type == 'pre' && this.curImg.idx==0) || (type == 'next' && idx==this.imgList.length-1)){
return this.$message({
message: `${type == 'next' ? '当时是最后一张图片':'当时是第一张图片'}`,
type: 'warning',
customClass: 'msgHierarchy'
});
}
this.curImg =type == 'next' ? this.imgList[idx+1] : this.imgList[idx-1]
this.curImg.idx =type == 'next' ? idx + 1 : idx - 1
},
changeCurImg(index){
this.curImg = this.imgList[index]
this.curImg.idx = index
}
}
}
</script>
<style lang="scss" scoped>
.review-container {
display: flex;
flex-wrap: nowrap;
height: 374px;
color: #1d2129;
.filter-wrap {
width: 184px;
height: 100%;
display: flex;
flex-direction: column;
.filter-btn {
display: flex;
justify-content: space-between;
height: 40px;
background: #ececec;
margin-bottom: 1px;
line-height: 40px;
padding: 0 16px;
font-size: 14px;
position: relative;
.filter-icon {
color: #5850ff;
cursor: pointer;
}
.tree-wrap {
background-color: #fff;
z-index: 2;
position: absolute;
top: 100%;
left: 155px;
width: 260px;
box-shadow: 0px 6px 20px 0px rgba(122, 122, 122, 0.2);
border-radius: 4px;
.filter-tree {
height: 208px;
overflow-y: scroll;
/deep/ .el-tree-node__content > label.el-checkbox {
margin-right: 3px;
}
// 修改三角形的颜色
/deep/ .el-tree-node__expand-icon {
color: #333;
font-size: 13px;
&.is-leaf {
color: transparent;
}
}
}
.filter-all {
height: 48px;
display: flex;
align-items: center;
padding: 0 10px;
justify-content: space-between;
border-top: 1px solid #e5e5e5;
.reset {
.el-button:last-child {
margin-left: 2px;
border: none;
}
}
/deep/ .el-checkbox__label {
padding-left: 8px;
}
}
}
}
.pic-list {
flex: 1;
background: #ececec;
padding: 16px;
overflow-y: auto;
&::-webkit-scrollbar-track {
width: 5px;
}
.pic-item {
text-align: center;
font-size: 14px;
margin-bottom: 12px;
.pic {
width: 100%;
margin-bottom: 8px;
position: relative;
width: 150px;
height: 95px;
cursor: pointer;
img {
width: 100%;
height: 100%;
}
.success {
color: #5850ff;
position: absolute;
right: 8px;
top: 8px;
}
}
.passed {
border: 1px solid #5850ff;
}
}
}
}
.preview-wrap {
flex: 1;
background: #f9f9f9;
padding: 20px;
box-sizing: border-box;
height: 374px;
.preview-oper {
width: 100%;
height: 100%;
margin-top: 8px;
.preview-pic {
height: 270px;
position: relative;
&:hover {
.mask {
display: block;
}
}
img {
width: 100%;
height: 100%;
}
.mask {
display: none;
background: rgba(0, 0, 0, 0.5);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
text-align: center;
line-height: 270px;
i {
color: #c6c6c6;
font-size: 18px;
cursor: pointer;
&:last-child {
margin-left: 12px;
}
}
}
}
.pass-btn {
margin-top: 16px;
display: flex;
height: 20px;
padding: 0 80px;
justify-content: space-around;
}
}
}
}
</style>
<template>
<div class="">
<div class="container">
<input type="file" class="file" id="file" ref="input" @change="upload" accept="image/png, image/jpeg, image/gif, image/jpg" />
<div class="wrap" v-for="(imgItem, imgKey) in list" :key="imgKey">
<span class="title">
<i v-if="imgItem.status == 1" class="el-icon-success success"></i>
<i v-if="imgItem.status == 2" class="el-icon-error error"></i>
<span>{{ imgItem.title }}</span>
<!-- <el-popover v-if="imgItem.tip" placement="top-start" width="200" trigger="hover" :content="imgItem.tip">
<i class="el-icon-question question" slot="reference"></i>
</el-popover> -->
<el-tooltip v-if="imgItem.tip" class="item" effect="dark" :content="imgItem.tip" placement="top">
<i v-if="imgItem.tip" class="el-icon-question question"></i>
</el-tooltip>
</span>
<div :class="['img-box', { 'has-img': imgItem.url, 'error-img': imgItem.status == 2, 'success-img': imgItem.status == 1 }]">
<!-- <img v-if="!imgItem.url" class="back-img" fit="cover" :src="url" alt="" @click="clickImg(imgKey)" /> -->
<img v-if="!imgItem.url" class="add-btn" :src="cameraUrl" alt="" @click="clickImg(imgKey)" />
<img v-else class="need-img" fit="cover" :src="imgItem.url" alt="" />
<div class="mask">
<i class="el-icon-view" @click="handlePreview(imgItem.url)"></i>
<i class="el-icon-delete" @click="handleDel(imgKey)"></i>
</div>
<div class="error-tip" v-if="imgItem.status == 2">
<el-popover placement="top-start" width="200" trigger="hover" :content="imgItem.reason || '--'">
<span slot="reference">{{ imgItem.reason || '--' }}</span>
</el-popover>
</div>
</div>
<slot name="footer" :scope="{ imgItem, imgKey }"></slot>
</div>
</div>
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt="" />
</el-dialog>
</div>
</template>
<script type="text/ecmascript-6">
import cameraUrl from '@/assets/camera.png'
import url from '@/assets/images/idCard.png'
// import glsxCombiForm from '@/components/glsx-combi-form'
export default {
name: 'imgList',
props:{
list:{
type: Object
}
},
data() {
return {
url,
cameraUrl,
dialogImageUrl: '',
dialogVisible: false,
activeName: 'base'
}
},
components: {
// glsxCombiForm
},
mounted() {
},
methods: {
handlePreview(url) {
this.dialogImageUrl = url;
this.dialogVisible = true;
},
handleDel(key){
this.list[key].url = ''
this.list[key].status = ''
},
clickImg(type) {
this.$refs.input.click();
},
upload(e){
const file = e.target.files[0]
const reader = new FileReader()
reader.readAsDataURL(file)
reader.onload = event => {
const imgFile = event.target.result
const arrBase64 = imgFile.split(',')
const base64 = file.name.split('.').pop() + '@' + arrBase64[1]
this.$apis.beforeSale.uploadImgApi({ file: base64, fileType: 'image' }).then(res => {
console.log(res,'resss')
})
}
}
}
}
</script>
<style lang="scss" scoped>
.container {
display: flex;
flex-wrap: wrap;
position: relative;
.file {
opacity: 0;
width: 0;
height: 0;
position: absolute;
}
.wrap {
margin: 0 16px 16px 0;
.title {
font-family: PingFangSC-Regular;
font-size: 14px;
color: #333333;
.success {
color: #2cca74;
margin-right: 5px;
}
.error {
color: #eb4e4e;
margin-right: 5px;
}
.question {
color: #999;
cursor: pointer;
margin-left: 5px;
}
}
.has-img:hover {
.mask {
display: block;
}
}
.error-img {
border: 1px solid #ff5257 !important;
}
.success-img {
border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
.img-box {
margin-top: 8px;
height: 135px;
width: 216px;
border: 1px dashed rgba(0, 0, 0, 0.15);
border-radius: 4px;
position: relative;
background-color: #f5f5f5;
.error-tip {
width: 100%;
background: rgba(255, 82, 87, 0.7);
position: absolute;
top: 90px;
bottom: 0;
border-radius: 0 0 4px 4px;
z-index: 10;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-family: PingFangSC-Regular, PingFang SC;
font-size: 14px;
padding: 5px 10px;
display: -webkit-box;
box-sizing: border-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.need-img,
.mask {
position: absolute;
left: 0;
bottom: 0;
top: 0;
right: 0;
z-index: 2;
}
.mask {
display: none;
background: rgba(0, 0, 0, 0.5);
z-index: 9;
text-align: center;
line-height: 135px;
border-radius: 4px;
i {
color: #c6c6c6;
cursor: pointer;
font-size: 16px;
&:first-child {
margin-right: 12px;
}
}
}
.add-btn {
position: absolute;
width: 60px;
height: 60px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
cursor: pointer;
}
img {
width: 100%;
height: 100%;
border-radius: 4px;
}
}
}
}
</style>
<template>
<Card title="其他信息" class="" openBtn>
<div class="other-info">
<span class="title">店面信息</span>
<div class="info-wrap">
<li>
<label class="label" for="">店面名称:</label>
<span class="content">深圳奥迪专营店</span>
</li>
<li>
<label class="label" for="">店面名称:</label>
<span class="content">深圳奥迪专营店</span>
</li>
<li>
<label class="label" for="">店面名称:</label>
<span class="content">深圳奥迪专营店</span>
</li>
</div>
</div>
</Card>
</template>
<script type="text/ecmascript-6">
import Card from './card.vue'
export default {
name: 'otherInfo',
data() {
return {
open: false
}
},
components:{
Card
},
props: {
title: {
type: String,
default: ''
},
openBtn: {
type: Boolean,
default: false
},
marginTop:{
tyep: Number|String,
default: 16
}
},
mounted() {},
methods:{
}
}
</script>
<style lang="scss" scoped>
.other-info {
list-style: none;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
line-height: 32px;
color: #333333;
.info-wrap {
background: #f9f9f9;
li {
display: inline-block;
line-height: 32px;
padding: 20px 0;
text-align: center;
width: 520px;
.label {
color: #666666;
}
}
}
}
</style>
<template>
<div class="">
<Card title="上传图片">
<div slot="right" class="fast-review" @click.stop="transportPic">快速审核</div>
<el-tabs class="tabs" v-model="activeName">
<el-tab-pane v-for="item in tabs" :key="item.name" :label="item.label" :name="item.name">
<img-list :list="baseImgObj">
<div slot="footer">
<div class="pass-btn">
<el-button type="text" size="small">通过</el-button>
<el-button type="text" size="small">不通过</el-button>
<el-button type="text" size="small">上传</el-button>
</div>
</div>
</img-list>
</el-tab-pane>
</el-tabs>
</Card>
</div>
</template>
<script type="text/ecmascript-6">
import cameraUrl from '@/assets/camera.png'
import write_off from '@/assets/logo.png'
import url from '@/assets/images/idCard.png'
import imgList from './imgList'
import Card from './card.vue'
const tabs = [
{
label: '基础资料',
name: 'base'
},
{
label: '定损细节照片',
name: 'detail'
},
{
label: '现场照片',
name: 'onSite'
},
{
label: '其他资料(非必传)',
name: 'other'
}
]
const baseImgObj ={
front: {
title:'身份证人像面',
url:'https://img02.glsx.com.cn/weapp/resource/saas/scrm/assets/glsx/logo_menu.png',
status: 1
},
end:{
title:'身份证国徽面',
url:'https://img02.glsx.com.cn/weapp/resource/saas/scrm/assets/glsx/logo_menu.png',
status: 2,
reason: '图片不清晰图片不清清晰图片不清晰图片不清晰图片不清晰图片不清晰图片不清晰图片不不清晰图片不清晰图片不清晰图片不清晰图片不清晰图片不清晰图片不清晰图片不清晰'
},
drive: {
title:'驾驶证',
url:'',
status: ''
},
drive2:{
title:'行驶证',
url: '',
tip:'正本及副证年审合格页面,出险时车辆在年审有效期内',
status: ''
},
group: {
title:'人车合照',
url:'',
tip: '须清晰体现车牌、车辆全貌',
status: ''
},
frame: {
title:'前挡车架号',
url:'',
tip: '车架号清晰可见',
status: ''
}
}
export default {
name: 'uploadMaterial',
data() {
return {
url,
cameraUrl,
write_off,
tabs,
baseImgObj,
activeName: 'base'
}
},
components: {
imgList,
Card
},
mounted() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.fast-review {
font-size: 14px;
color: #5850ff;
cursor: pointer;
font-weight: 400;
}
/deep/ .el-tabs {
.el-tabs__nav-wrap::after {
height: 1px;
background-color: #e5e5e5;
}
.el-tabs__item {
height: 45px;
font-size: 16px;
font-weight: 500;
}
.pass-btn {
width: 216px;
display: flex;
padding: 0 20px;
box-sizing: border-box;
justify-content: space-around;
.el-button {
margin: 0;
}
}
}
</style>
<!-- 权益订单 -->
<template>
<div>
<!-- <div class="header_btn_widget flex_sc">
<div class="header_btn_widget flex_sc">
<GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton>
</div> -->
</div>
<div class="header_info_widget">
<span class="el-icon-warning"></span>
请注意:订单列表还有
<span class="count_num">0</span>
单待定损
<span class="count_num">0</span>
单待核赔
<span class="count_num">0</span>
单不通过退回处理,为保障客户权益,请尽快处理哦!
<!-- <span class="count_num">{{ orderCount.toBeCommitCount || 0 }}</span>
<span class="count_num">{{ orderCount.toBeCommitCount || 0 }}</span>
单待提交国任,
<span class="count_num">{{ orderCount.noPassCount || 0 }}</span>
单校验不通过退回处理,为保障客户权益,请尽快处理哦! -->
单校验不通过退回处理,为保障客户权益,请尽快处理哦!
</div>
<div class="search_container">
<GLCombiForm :rowNumber="1" ref="showSearch" :formObj="searchForm" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn()"></GLCombiForm>
</div>
<div class="table_widget">
<div class="table_top_line flex_scb">
<span>核赔订单列表</span>
<div class="table_top_btn flex_sc">
<GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton>
<el-button plain size="small" @click="exportList">导出</el-button>
</div>
</div>
<el-button plain style="float:right;margin-bottom:10px;" size="small" @click="exportList">导出</el-button>
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf">
<div class="table-btns" slot="table-btns" slot-scope="scope">
<!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton>
<GLButton v-if="[1, 3, 4].includes(scope.scope.status)" fn="查看" type="text" @click="handleEdit(2, scope.scope)">查看</GLButton>
<GLButton v-if="[2].includes(scope.scope.status)" fn="重新提交" type="text" @click="handleEdit(3, scope.scope)">重新提交</GLButton> -->
<GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</div>
</GLTable>
......@@ -72,66 +62,6 @@ export default {
return {
orderCount: {},
buttonList: [
{
type: 'el-button',
name: row => {
return '审核'
},
attrs: {
type: 'text'
},
listeners: {
click: row => this.handleEdit(5, row.scope)
}
},
{
type: 'el-button',
name: row => {
return '撤销'
},
attrs: {
type: 'text'
},
listeners: {
click: row => () => {}
}
},
{
type: 'el-button',
name: row => {
return '跟进记录'
},
attrs: {
type: 'text'
},
listeners: {
click: row => () => {}
}
},
{
type: 'el-button',
name: row => {
return '历史赔付'
},
attrs: {
type: 'text'
},
listeners: {
click: row => () => {}
}
},
{
type: 'el-button',
name: row => {
return '上传'
},
attrs: {
type: 'text'
},
listeners: {
click: row => () => {}
}
},
{
type: 'GLButton',
name: row => {
......@@ -188,18 +118,14 @@ export default {
searchForm: {
searchText: '',
status: '',
commitDate: '',
shopDate: '',
city: '',
positions: '',
merchantId: ''
commitDate: ''
},
searchParams: {},
searchFormData: [
{
label: '搜索内容',
name: 'searchText',
type: 'input',
placeholder: '请输入客户名|核销码|合同号|报案号',
isClear: true,
maxlength: 200
// isHide: true
......@@ -214,40 +140,6 @@ export default {
optionLabel: 'confName'
},
{
label: '门店提交时间',
name: 'shopDate',
type: 'datePicker',
pickerOptions: 'beforeRangePickerOptions',
isClear: true
},
{
label: '大区',
name: 'positions',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '片区',
name: 'city',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '门店',
name: 'merchantId',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '提交国任日期',
name: 'commitDate',
type: 'datePicker',
......@@ -343,15 +235,6 @@ export default {
}
},
{
label: '申请金额',
prop: 'applyAmoumt',
width: 100,
align: 'right',
formatter: cellValue => {
return cellValue.applyAmoumt || '-'
}
},
{
label: '批准金额',
prop: 'approvalAmount',
width: 100,
......@@ -380,7 +263,7 @@ export default {
{
label: '操作',
prop: '',
width: 170,
width: 100,
fixed: 'right',
addHtml: 'table-btns'
}
......@@ -388,7 +271,6 @@ export default {
}
}
},
created() {
this.diffHost()
this.getClaimsCount()
......@@ -406,14 +288,14 @@ export default {
diffHost() {
let href = window.location.host
this.showGh = href.indexOf('cgacar') != -1
// if (!this.showGh) this.searchFormData[0].placeholder = '请输入客户名 | 合同号 | 报案号'
if (!this.showGh) this.searchFormData[0].placeholder = '请输入客户名 | 合同号 | 报案号'
},
// 1.新增 2.查看 3.重新提交 4.去处理 5.审核
// 1.新增 2.查看 3.重新提交 4.去处理
handleEdit(editNo, row) {
let urlParam = {
editNo,
// isGH: this.showGh,
isGH: true,
isGH: this.showGh,
// isGH: true,
contractNo: editNo == 1 ? '' : row.contractNo, // 嘀加的用合同号
orderId: editNo == 1 ? '' : row.id
}
......@@ -506,21 +388,14 @@ export default {
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}
.table_top_line {
margin-bottom: 10px;
}
.el-button + .el-button {
margin-left: 8px;
/deep/ .el-form {
.el-form-item {
margin-right: 12px !important;
&:first-child {
.el-input {
width: 312px !important;
}
}
}
}
// /deep/ .el-form {
// .el-form-item {
// margin-right: 12px !important;
// &:first-child {
// .el-input {
// width: 312px !important;
// }
// }
// }
// }
</style>
......@@ -52,8 +52,7 @@ export default {
payeeIDCardNo: '',
payeePhone: '',
handlerName: '',
handlerPhone: '',
reimbursementDesc:'',//出险经过描述
handlerPhone: ''
},
saveObj: {},
materialForm: {
......@@ -207,7 +206,6 @@ export default {
this.$message.error('至少输入一项服务的定损批准金额')
return false
}
let fileTip = false
for (let key in this.materialForm) {
if (this.materialForm[key].length < 1 && !fileTip) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!