Commit 8b0c20b7 by 前端

Merge branch 'v3.14.0' into 'master'

合并0804版本:V3.14.0

See merge request !36
2 parents b26159a8 6304d75e
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
"js-message": "1.0.7" "js-message": "1.0.7"
} }
}, },
"@amap/amap-jsapi-loader": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@amap/amap-jsapi-loader/-/amap-jsapi-loader-1.0.1.tgz",
"integrity": "sha512-nPyLKt7Ow/ThHLkSvn2etQlUzqxmTVgK7bIgwdBRTg2HK5668oN7xVxkaiRe3YZEzGzfV2XgH5Jmu2T73ljejw=="
},
"@ampproject/remapping": { "@ampproject/remapping": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",
...@@ -1873,51 +1878,6 @@ ...@@ -1873,51 +1878,6 @@
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true "dev": true
}, },
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"ssri": { "ssri": {
"version": "8.0.1", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
...@@ -1926,28 +1886,6 @@ ...@@ -1926,28 +1886,6 @@
"requires": { "requires": {
"minipass": "^3.1.1" "minipass": "^3.1.1"
} }
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
} }
} }
}, },
...@@ -6470,14 +6408,16 @@ ...@@ -6470,14 +6408,16 @@
} }
}, },
"glsx-components": { "glsx-components": {
"version": "1.5.2", "version": "1.5.7",
"resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.2.tgz", "resolved": "https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.7.tgz",
"integrity": "sha512-5/LaPu0B1uT7Kzl6oyIqyFT/NXIz2w7HNstiRtHaUQN1waSrPPPtzRRwywJg6CSSL+p994NaqPRnX696NAYzKg==", "integrity": "sha512-WEWt1Ev7uf8VgILrEr15ZHxOreqWEVEY2WRP5EmZKzYKTVF/7dQU/oI84+Xo4vSmlz7ltblaATyrwm1U1LDnHg==",
"requires": { "requires": {
"@amap/amap-jsapi-loader": "^1.0.1",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
"glsx-common": "^1.4.9", "glsx-common": "^1.4.9",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-amap": "^0.5.10",
"vuedraggable": "^2.24.3" "vuedraggable": "^2.24.3"
}, },
"dependencies": { "dependencies": {
...@@ -13060,6 +13000,21 @@ ...@@ -13060,6 +13000,21 @@
"integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==", "integrity": "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==",
"dev": true "dev": true
}, },
"uppercamelcase": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/uppercamelcase/-/uppercamelcase-1.1.0.tgz",
"integrity": "sha512-C7YEMvhgrvTEKEEVqA7LXNID/1TvvIwYZqNIKLquS6y/MGSkRQAav9LnTTILlC1RqUM8eTVBOe1U/fnB652PRA==",
"requires": {
"camelcase": "^1.2.1"
},
"dependencies": {
"camelcase": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
"integrity": "sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g=="
}
}
},
"uri-js": { "uri-js": {
"version": "4.4.1", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
...@@ -13243,6 +13198,14 @@ ...@@ -13243,6 +13198,14 @@
"csstype": "^3.1.0" "csstype": "^3.1.0"
} }
}, },
"vue-amap": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/vue-amap/-/vue-amap-0.5.10.tgz",
"integrity": "sha512-9ViNCev1vx32+zZ5RvF/TmUZNbwL9QrdA2/OnD2GlXMfQBkJy7D08Vb7379t6guqnopDPtWJ8K6gg72h9+4GUg==",
"requires": {
"uppercamelcase": "^1.1.0"
}
},
"vue-cli-plugin-element": { "vue-cli-plugin-element": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/vue-cli-plugin-element/-/vue-cli-plugin-element-1.0.1.tgz", "resolved": "https://registry.npmjs.org/vue-cli-plugin-element/-/vue-cli-plugin-element-1.0.1.tgz",
...@@ -13323,6 +13286,75 @@ ...@@ -13323,6 +13286,75 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-quill-editor": { "vue-quill-editor": {
"version": "3.0.6", "version": "3.0.6",
"resolved": "https://registry.npmjs.org/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz", "resolved": "https://registry.npmjs.org/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz",
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^2.1.0", "glsx-common": "^2.1.0",
"glsx-components": "^1.5.2", "glsx-components": "^1.5.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
...@@ -346,6 +346,17 @@ const getMerchantApi = params => { ...@@ -346,6 +346,17 @@ const getMerchantApi = params => {
sign: true sign: true
}) })
} }
// 获取默认商户的下级商户
const getMerchantSubList=params=>{
params.method = 'scrm.api.equity.common.default.merchant.subList'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
//广汇续保定损审核接口 //广汇续保定损审核接口
const renewalAudit = params => { const renewalAudit = params => {
params.method = 'scrm.api.equity.service.claims.renewal.audit' params.method = 'scrm.api.equity.service.claims.renewal.audit'
...@@ -356,5 +367,35 @@ const renewalAudit = params => { ...@@ -356,5 +367,35 @@ const renewalAudit = params => {
sign: true sign: true
}) })
} }
//分页查询理赔跟进人列表
const getFollowPersonList = params => {
params.method = 'scrm.api.equity.service.follow.person.page'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
//删除跟进人记录
const delFollowPerson = params => {
params.method = 'scrm.api.equity.service.follow.person.delete'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
export default { renewalAudit, getMerchantApi, getMidMerchantApi, getBigMerchantApi, saveSign, saveClaimsCG, saveCG, cancelClaims, checkClaimsOrderApi, checkOrderApi, getOrderOherInfo, uploadImgApi, getGHCountApi, getGHPhoneImageApi, getGHattachmentApi, getGHClaimsDetailApi, getGHhistoryListApi, checkGHClaimsListApi, exportGHClaimsListApi, getGHClaimFollowsListApi, addGHClaimFollowsListApi, getGHClaimsListApi, getclaimsList, getclaimsCount, resubmitOrder, commitClaimsOrder, getClaimsDetail, exportClaimsData, checkContractNo, getDetailByWOCode, getBankList, getCityList, getAccountInfo } // 新增理赔跟进人记录
const addFollowPerson = params => {
params.method = 'scrm.api.equity.service.follow.person.insert'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
export default { renewalAudit, getMerchantApi, getMidMerchantApi, getBigMerchantApi, saveSign, saveClaimsCG, saveCG, cancelClaims, checkClaimsOrderApi, checkOrderApi, getOrderOherInfo, uploadImgApi, getGHCountApi, getGHPhoneImageApi, getGHattachmentApi, getGHClaimsDetailApi, getGHhistoryListApi, checkGHClaimsListApi, exportGHClaimsListApi, getGHClaimFollowsListApi, addGHClaimFollowsListApi, getGHClaimsListApi, getclaimsList, getclaimsCount, resubmitOrder, commitClaimsOrder, getClaimsDetail, exportClaimsData, checkContractNo, getDetailByWOCode, getBankList, getCityList, getAccountInfo ,getFollowPersonList,delFollowPerson,addFollowPerson,getMerchantSubList}
...@@ -21,7 +21,8 @@ export const fetchConfig = function (common) { ...@@ -21,7 +21,8 @@ export const fetchConfig = function (common) {
// Object.assign(request, { timeout }) // Object.assign(request, { timeout })
// return Promise.resolve(cfg) // return Promise.resolve(cfg)
// } // }
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get(' https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config') // return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get(' https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=services')
//return window.fetch('https://', {}).then(res => res.json()) //return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' }) // request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// return common.utils.getConfig(params) // return common.utils.getConfig(params)
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<!-- 案件补充说明 --> <!-- 案件补充说明 -->
<div> <div>
<explanation :isDisabled="isDisabled" :supplementList="repotData.supplementList1"></explanation> <explanation :isDisabled="isDisabled" :supplementList="repotData.supplementList1" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
<!-- 其他信息 --> <!-- 其他信息 -->
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</div> </div>
</div> </div>
<div> <div>
<explanation :supplementList="repotData.supplementList2"></explanation> <explanation :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -2,25 +2,73 @@ ...@@ -2,25 +2,73 @@
<div> <div>
<Card title="案件补充说明"> <Card title="案件补充说明">
<div class="explanation"> <div class="explanation">
<div class="explanation-list" v-for="(item, idx) in supplementList" :key="idx"> <div class="explanation-item" v-for="(item, idx) in supplementListTemp" :key="idx">
<div class="explanation-list">
<label class="label" for="">{{ `说明${idx + 1}:` }}</label> <label class="label" for="">{{ `说明${idx + 1}:` }}</label>
<el-input :disabled="isCheck || isDisabled" :placeholder="`请输入说明${idx + 1}`" v-model="item.content" maxlength="200" type="textarea" :rows="3"></el-input> <el-input :disabled="isCheck || isDisabled || item.operation == 1" :placeholder="`请输入说明${idx + 1}`" v-model="item.content" maxlength="200" type="textarea" :rows="3"></el-input>
<i class="el-icon-delete del" v-if="!isCheck&&supplementList.length > 1" @click="handleDel(idx)"></i> <i class="el-icon-delete del" v-if="!isCheck && supplementListTemp.length > 1&&item.operation!=1" @click="handleDel(idx)"></i>
<div class="follow-list" @click="showFollow">跟进记录</div>
</div> </div>
<div class="operator">
<div>操作人:{{ item.operationUser ? item.operationUser : '--' }}</div>
<div>操作时间:{{ item.operationTime ? item.operationTime : '--' }}</div>
</div> </div>
<div v-if="!isCheck &&!isDisabled" class="add-explanation" @click="addExplanation"> </div>
</div>
<div v-if="!isCheck && !isDisabled" class="add-explanation" @click="addExplanation">
<i class="el-icon-circle-plus-outline"></i> <i class="el-icon-circle-plus-outline"></i>
<span>新增说明</span> <span>新增说明</span>
</div> </div>
</Card> </Card>
<!-- 跟进记录 -->
<GLDialog :title="followDialogTitle" mode="mid" :close-on-press-escape="false" :close-on-click-modal="false" :visible.sync="followDialog" bef :okText="followOkText" @onOk="toAddFollw" @onCancel="closeFollow">
<template v-if="!followEditStatus">
<div class="wrap_time_line">
<templatece v-if="!followResult">
<el-timeline reverse="true">
<el-timeline-item :class="[{ spec: !index }]" v-for="(item, index) in followListData" :key="index" :timestamp="item.createdDate">
{{ item.content }}
</el-timeline-item>
</el-timeline>
</templatece>
<template v-else>
<div style="margin-top: 60px; text-align: center">暂无跟进记录</div>
</template>
</div>
</template>
<template v-if="followEditStatus">
<div class="wrap_time_line">
<div class="col">
<div class="label">
<span style="color: #eb4e4e">*</span>
<span>具体描述:</span>
</div>
<div class="fill">
<el-input maxlength="200" style="width: 432px" type="textarea" :rows="3" placeholder="请输入" v-model="followContent"></el-input>
</div>
</div>
</div>
</template>
</GLDialog>
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import Card from './card.vue' import Card from './card.vue'
import * as dayjs from 'dayjs'
export default { export default {
name: 'explanation', name: 'explanation',
data() { data() {
return {} return {
followDialog: false,
followListData: [],
followDialogTitle: '跟进记录',
followOkText: '新增',
followEditStatus: false,
followContent: '',
followResult: false,
curentFollowInfo:'',
supplementListTemp:[{ content: '' }]
}
}, },
components: { components: {
Card Card
...@@ -34,29 +82,105 @@ export default { ...@@ -34,29 +82,105 @@ export default {
}, },
isCheck:Boolean, isCheck:Boolean,
isDisabled:Boolean, isDisabled:Boolean,
operatorName:String,
id:Number
},
mounted() {
},
watch:{
supplementList(val){
this.supplementListTemp = val
val.forEach(item=>{
item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss')
})
}
}, },
mounted() {},
methods: { methods: {
showFollow() {
this.followDialog = true
this.curentFollowInfo = {
id:this.id,
operatorName:this.operatorName
}
this.followListData = []
this.getFollowList(this.curentFollowInfo)
},
closeFollow() {
if (this.followEditStatus) {
// 切换
this.followDialogTitle = '跟进记录'
this.followEditStatus = false
this.followOkText = '新增'
} else {
// 关闭弹窗
this.followDialog = false
this.curentFollowInfo = null
this.followOkText = '新增'
}
},
toAddFollw() {
if (!this.followEditStatus) {
// 切换新增
this.followDialogTitle = '新增记录'
this.followOkText = '提交'
this.followEditStatus = true
} else {
// 切换查看
this.followDialogTitle = '跟进记录'
this.followOkText = '新增'
this.followEditStatus = false
this.createFollow()
}
},
createFollow() {
let para = {
claimsId: this.curentFollowInfo.id,
content: this.followContent,
createdBy: this.curentFollowInfo.operatorName
}
this.$apis.claims.addGHClaimFollowsListApi(para).then(res => {
this.followDialogTitle = '跟进记录'
this.followOkText = '新增'
this.followEditStatus = false
this.getFollowList(this.curentFollowInfo)
this.$message({
message: '新增成功',
type: 'success'
})
})
},
getFollowList(row) {
this.$apis.claims.getGHClaimFollowsListApi({ claimsId: row.id }).then(res => {
res.forEach(el => {
el.createdDate = dayjs(el.createdDate).format('YYYY-MM-DD HH:mm:ss')
})
this.followListData = res || []
this.followResult = res.length ? false : true
})
},
handleDel(idx) { handleDel(idx) {
this.$delete(this.supplementList, idx) this.$delete(this.supplementListTemp, idx)
}, },
addExplanation() { addExplanation() {
const idx = this.supplementList.length const idx = this.supplementListTemp.length
const newObj = { claimsId: this.supplementList[idx - 1].claimsId, content: '' } const newObj = { claimsId: this.supplementListTemp[idx - 1].claimsId, content: '' }
this.$set(this.supplementList, idx, newObj) this.$set(this.supplementListTemp, idx, newObj)
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.explanation { .explanation {
.explanation-list { .explanation-item {
display: flex;
// align-items: center;
margin-bottom: 20px; margin-bottom: 20px;
&:last-child { &:last-child {
margin-bottom: 10px; margin-bottom: 10px;
} }
}
.explanation-list {
position: relative;
display: flex;
/deep/ .el-textarea { /deep/ .el-textarea {
width: 580px; width: 580px;
} }
...@@ -80,7 +204,7 @@ export default { ...@@ -80,7 +204,7 @@ export default {
} }
.add-explanation { .add-explanation {
color: #5850FF; color: #5850ff;
display: flex; display: flex;
align-items: center; align-items: center;
margin-left: 154px; margin-left: 154px;
...@@ -93,4 +217,22 @@ export default { ...@@ -93,4 +217,22 @@ export default {
font-size: 12px; font-size: 12px;
} }
} }
.operator {
font-size: 12px;
color: #666666;
display: flex;
justify-content: space-between;
margin-left: 154px;
width: 580px;
margin-top: 4px;
margin-bottom: 20px;
}
.follow-list {
font-size: 14px;
color: #5850ff;
bottom: 0;
position: absolute;
left: 742px;
cursor: pointer;
}
</style> </style>
<template>
<GLDialog :destroy-on-close="isdestroy" :close-on-click-modal="false" title="跟进人配置" mode="mid" :visible.sync="isFollowSync" :before-close="handleCancel">
<GLTable :hasPage="false" :hasNum="true" :tableData="followListData" :tableParams="followTableParams">
<div slot="followName" slot-scope="scope">
<el-form v-if="scope.scope.followName == ''">
<el-form-item style="margin-bottom: 0px">
<el-input v-model="followName" placeholder="请输入" maxlength="5"></el-input>
</el-form-item>
</el-form>
<span v-else>{{ scope.scope.followName }}</span>
</div>
<div class="table-btns" slot="table-btns" slot-scope="scope">
<el-button type="text" size="small" @click="handleDelete(scope.scope, scope.index)">删除</el-button>
</div>
</GLTable>
<div class="add-wrap" @click="addLine">
<i class="el-icon-circle-plus-outline add-icon"></i>
添加
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel">取消</el-button>
<el-button type="primary" size="small" @click="handleSave">确定</el-button>
</span>
</GLDialog>
</template>
<script>
export default {
data() {
return {
isdestroy: true,
followListData: [],
followName: '',
followTableParams: {
listName: 'list',
tableOption: false,
tableColumns: [
{
label: '跟进人',
prop: 'followName',
addHtml: 'followName'
},
{
label: '操作',
prop: '',
width: 80,
fixed: 'right',
addHtml: 'table-btns'
}
]
}
}
},
props: {
isFollowSync: {
type: Boolean,
default: false
}
},
created() {
this.getFollowPersonList()
},
methods: {
getFollowPersonList() {
this.$apis.claims
.getFollowPersonList({
pageSize: 10000,
pageNum: 1
})
.then(res => {
this.followListData = res.list
})
},
addLine() {
if (this.followListData.length > 0 && this.followListData[this.followListData.length - 1].followName == '') {
return
}
this.followName = ''
this.followListData.push({ followName: '' })
},
handleSave() {
if (this.followListData[this.followListData.length - 1].followName == '' && this.followName == '') {
this.$message({
type: 'error',
message: '请输入跟进人'
})
return
}
if (this.followName) {
this.$apis.claims.addFollowPerson({ followName: this.followName }).then(res => {
this.$message({
type: 'success',
message: '添加成功!'
})
})
}
this.$emit('handleClose')
},
handleCancel() {
// this.isFollowSync = false
this.$emit('handleClose')
},
handleCalculate() {},
//删除
handleDelete(data, index) {
if (data.id) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
if (data.id) {
this.$apis.claims.delFollowPerson({ id: data.id }).then(res => {})
this.followListData.splice(index, 1)
}
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
})
})
} else {
this.followListData.splice(index, 1)
}
}
}
}
</script>
<style scoped lang="scss">
.add-wrap {
display: flex;
align-items: center;
font-size: 12px;
color: #5850ff;
margin-top: 10px;
cursor: pointer;
.add-icon {
margin-right: 6px;
font-size: 20px;
color: #5850ff;
}
}
</style>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="">{{ img.secondClassifyName }}</div> <div class="">{{ img.secondClassifyName }}</div>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> <img v-else :src="cameraUrl" style="width: 40px; height: 40px" />
<!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> --> <!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
<div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc"> <div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<div class="">{{ img.secondClassifyName }}</div> <div class="">{{ img.secondClassifyName }}</div>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> <img v-else :src="cameraUrl" style="width: 40px; height: 40px" />
<!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> --> <!-- <div v-if="img.attachmentList.length&&img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
<div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc"> <div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<span>图片{{ i + 1 }}</span> <span>图片{{ i + 1 }}</span>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentFile]" v-if="img.attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentFile" :fit="fit"></el-image>
<img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> <img v-else :src="cameraUrl" style="width: 40px; height: 40px" />
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> --> <!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
<div v-if="img.auditStatus == 0" class="errMsg flex_cc"> <div v-if="img.auditStatus == 0" class="errMsg flex_cc">
...@@ -161,7 +161,9 @@ export default { ...@@ -161,7 +161,9 @@ export default {
} }
], ],
currentServicesIndex: 0, currentServicesIndex: 0,
otherUploadIndex: null otherUploadIndex: null,
srcList:[]
} }
}, },
components: { components: {
...@@ -176,7 +178,20 @@ export default { ...@@ -176,7 +178,20 @@ export default {
isClaims: Boolean isClaims: Boolean
}, },
mounted() {}, mounted() {},
watch:{
insuranceAttachmentConfigs(val){
this.getImgList(val[0])
}
},
methods: { methods: {
getImgList(data){
this.srcList=[]
data.secondClassifyList.forEach(item=>{
item.attachmentList.forEach(img=>{
this.srcList.push(img.attachmentFile)
})
})
},
toMutiCheck() { toMutiCheck() {
this.insuranceAttachmentConfigs.forEach((item, index) => { this.insuranceAttachmentConfigs.forEach((item, index) => {
item.secondClassifyList.forEach(child => { item.secondClassifyList.forEach(child => {
...@@ -192,6 +207,7 @@ export default { ...@@ -192,6 +207,7 @@ export default {
changeTabs(e) { changeTabs(e) {
this.activeName = e.index.toString() this.activeName = e.index.toString()
this.currentIndx = e.index this.currentIndx = e.index
this.getImgList(this.insuranceAttachmentConfigs[this.currentIndx])
}, },
handleReview() { handleReview() {
this.$refs.fastReviewDialog.initDialog() this.$refs.fastReviewDialog.initDialog()
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<div class="">{{ img.secondClassifyName }}</div> <div class="">{{ img.secondClassifyName }}</div>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image> <el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> --> <!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> <div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<span>{{ img.secondClassifyName }}</span> <span>{{ img.secondClassifyName }}</span>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image> <el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> --> <!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> <div v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div>
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
</div> </div>
<!-- 案件补充说明 --> <!-- 案件补充说明 -->
<div> <div>
<explanation :isCheck="true" :supplementList="repotData.supplementList2"></explanation> <explanation :isCheck="true" :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane class="bg" label="定损信息" name="first"> <el-tab-pane class="bg" label="定损信息" name="first">
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
<div class="">{{ img.secondClassifyName }}</div> <div class="">{{ img.secondClassifyName }}</div>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image> <el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> --> <!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<!-- <div v-if="img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> --> <!-- <div v-if="img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
<span>{{ img.secondClassifyName }}</span> <span>{{ img.secondClassifyName }}</span>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.attachmentList.length && img.attachmentList[0].auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentList[0].attachmentFile]" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentList.length && img.attachmentList[0].attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentList[0].attachmentFile" :fit="fit"></el-image>
<el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image> <el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> --> <!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<!-- <div v-if="img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> --> <!-- <div v-if="img.attachmentList[0].auditStatus == 0" class="errMsg flex_cc">{{ img.attachmentList[0].reasonForFailure }}</div> -->
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
<span>图片{{ i + 1 }}</span> <span>图片{{ i + 1 }}</span>
</div> </div>
<div class="img_pannel flex_cc" :class="[{ errBorder: img.auditStatus == 0 }]"> <div class="img_pannel flex_cc" :class="[{ errBorder: img.auditStatus == 0 }]">
<el-image :preview-src-list="[img.attachmentFile]" v-if="img.attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentFile" :fit="fit"></el-image> <el-image :preview-src-list="srcList" v-if="img.attachmentFile" style="width: 216px; height: 135px; border-radius: 4px" :src="img.attachmentFile" :fit="fit"></el-image>
<el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image> <el-image v-else style="width: 216px; height: 135px; border-radius: 4px" :preview-src-list="[img.exampleUrl]" :src="img.exampleUrl" :fit="fit"></el-image>
<!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> --> <!-- <img v-else :src="cameraUrl" style="width: 40px; height: 40px" /> -->
<!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> --> <!-- <div v-if="img.auditStatus == 0" class="errMsg flex_cc">{{ img.reasonForFailure }}</div> -->
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
</div> </div>
<!-- 案件补充说明 --> <!-- 案件补充说明 -->
<div> <div>
<explanation :isCheck="true" :supplementList="repotData.supplementList1"></explanation> <explanation :isCheck="true" :supplementList="repotData.supplementList1" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
<!-- 其他信息 --> <!-- 其他信息 -->
...@@ -321,7 +321,8 @@ export default { ...@@ -321,7 +321,8 @@ export default {
activeName: '0', activeName: '0',
activeNameClaims: '0', activeNameClaims: '0',
currentServicesIndex: 0, currentServicesIndex: 0,
activeNameTabs: 'first' activeNameTabs: 'first',
srcList:[]
} }
}, },
props: { props: {
...@@ -334,7 +335,22 @@ export default { ...@@ -334,7 +335,22 @@ export default {
otherInfoData: Object, otherInfoData: Object,
lossTypeList:Array lossTypeList:Array
}, },
mounted() {}, mounted() {
},
watch:{
images(val){
this.getImgList(val[0])
},
activeNameTabs(val){
if(val=='first'){
this.getImgList(this.images[0])
}else{
this.getImgList(this.images2[0])
}
}
},
methods: { methods: {
selectServices(index) { selectServices(index) {
this.currentServicesIndex = index this.currentServicesIndex = index
...@@ -342,10 +358,22 @@ export default { ...@@ -342,10 +358,22 @@ export default {
changeTabs(e) { changeTabs(e) {
this.activeName = e.index.toString() this.activeName = e.index.toString()
this.currentIndx = e.index this.currentIndx = e.index
this.getImgList(this.images[this.currentIndx])
}, },
changeTabss(e) { changeTabss(e) {
this.activeNameClaims = e.index.toString() this.activeNameClaims = e.index.toString()
this.currentIndxClaims = e.index this.currentIndxClaims = e.index
this.getImgList(this.images2[this.currentIndxClaims])
},
getImgList(data){
this.srcList=[]
data.secondClassifyList.forEach(item=>{
item.attachmentList.forEach(img=>{
this.srcList.push(img.attachmentFile)
})
})
} }
} }
} }
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<div class="table_top_line flex_scb"> <div class="table_top_line flex_scb">
<span>核赔订单列表</span> <span>核赔订单列表</span>
<div class="table_top_btn flex_sc"> <div class="table_top_btn flex_sc">
<GLButton size="small" fn="跟进人配置" type="primary" @click="handleConfig">跟进人配置</GLButton>
<GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton> <GLButton size="small" fn="订单详情" icon="el-icon-plus" type="primary" @click="handleEdit(1)">新增核赔</GLButton>
<el-button plain size="small" @click="exportList">导出</el-button> <el-button plain size="small" @click="exportList">导出</el-button>
</div> </div>
...@@ -97,9 +98,12 @@ ...@@ -97,9 +98,12 @@
</div> </div>
</div> </div>
</GLDialog> </GLDialog>
<!-- 跟进人配置 -->
<follow-pop ref="followRef" @handleClose="handleClose" :isFollowSync="isFollowSync" v-if="isFollowSync"></follow-pop>
</div> </div>
</template> </template>
<script> <script>
import followPop from './components/followPop'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
//服务状态:0-待提交国任 1-待支付 2-校验不通过 3-支付成功 4-支付失败 //服务状态:0-待提交国任 1-待支付 2-校验不通过 3-支付成功 4-支付失败
const statusList = [ const statusList = [
...@@ -143,18 +147,18 @@ const statusList = [ ...@@ -143,18 +147,18 @@ const statusList = [
confId: 8, confId: 8,
confName: '定损通过' confName: '定损通过'
}, },
{ // {
confId: 9, // confId: 9,
confName: '待主管审核' // confName: '待主管审核'
}, // },
{ // {
confId: 10, // confId: 10,
confName: '主管审核不通过' // confName: '主管审核不通过'
}, // },
{ // {
confId: 11, // confId: 11,
confName: '待客户签字授权' // confName: '待客户签字授权'
}, // },
{ {
confId: 12, confId: 12,
confName: '待核赔' confName: '待核赔'
...@@ -168,10 +172,30 @@ const statusList = [ ...@@ -168,10 +172,30 @@ const statusList = [
confName: '核赔通过' confName: '核赔通过'
} }
] ]
const describeList = [
{
confId: '',
confName: '全部'
},
{
confId: '拒赔',
confName: '拒赔'
},
{
confId: '资料不清晰',
confName: '资料不清晰'
}
]
const followList = [
{
confId: '',
confName: '全部'
}
]
const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过'] const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过']
const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74'] const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74']
// 操作对应状态 // 操作对应状态
const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3] // 查看 const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3, 4] // 查看
const FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付 const FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付
const CHECK = [6, 12] // 审核 const CHECK = [6, 12] // 审核
const RE_SUMBIT = [2] //重新提交 const RE_SUMBIT = [2] //重新提交
...@@ -182,6 +206,7 @@ export default { ...@@ -182,6 +206,7 @@ export default {
name: 'index', name: 'index',
data() { data() {
return { return {
isFollowSync: false,
signImage: '', signImage: '',
showUpload: false, showUpload: false,
tableStatus, tableStatus,
...@@ -345,6 +370,15 @@ export default { ...@@ -345,6 +370,15 @@ export default {
optionLabel: 'confName' optionLabel: 'confName'
}, },
{ {
label: '状态描述',
name: 'statusDesc',
type: 'select',
isClear: true,
optionList: describeList,
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '门店提交时间', label: '门店提交时间',
name: 'shopDate', name: 'shopDate',
type: 'datePicker', type: 'datePicker',
...@@ -357,7 +391,7 @@ export default { ...@@ -357,7 +391,7 @@ export default {
type: 'select', type: 'select',
isClear: true, isClear: true,
optionList: [], optionList: [],
optionId: 'provinceMerchantId', optionId: 'merchantNo',
optionLabel: 'merchantName', optionLabel: 'merchantName',
changeAttr: val => { changeAttr: val => {
this.getmidMerchantList(val) this.getmidMerchantList(val)
...@@ -369,7 +403,7 @@ export default { ...@@ -369,7 +403,7 @@ export default {
type: 'select', type: 'select',
isClear: true, isClear: true,
optionList: [], optionList: [],
optionId: 'cityMerchantId', optionId: 'merchantNo',
optionLabel: 'merchantName', optionLabel: 'merchantName',
changeAttr: val => { changeAttr: val => {
this.getdMerchantList(val) this.getdMerchantList(val)
...@@ -381,7 +415,7 @@ export default { ...@@ -381,7 +415,7 @@ export default {
type: 'select', type: 'select',
isClear: true, isClear: true,
optionList: [], optionList: [],
optionId: 'merchantId', optionId: 'merchantNo',
optionLabel: 'merchantName' optionLabel: 'merchantName'
}, },
{ {
...@@ -390,6 +424,15 @@ export default { ...@@ -390,6 +424,15 @@ export default {
type: 'datePicker', type: 'datePicker',
pickerOptions: 'beforeRangePickerOptions', pickerOptions: 'beforeRangePickerOptions',
isClear: true isClear: true
},
{
label: '跟进人',
name: 'followPersonId',
type: 'select',
isClear: true,
optionList: followList,
optionId: 'id',
optionLabel: 'followName'
} }
], ],
tableParams: { tableParams: {
...@@ -508,6 +551,15 @@ export default { ...@@ -508,6 +551,15 @@ export default {
return cellValue.paymentAmount || '-' return cellValue.paymentAmount || '-'
} }
}, },
{
label: '跟进人',
prop: 'followName',
width: 100,
formatter: cellValue => {
return cellValue.followName || '-'
}
},
{ {
label: '操作人', label: '操作人',
prop: 'operatorName', prop: 'operatorName',
...@@ -598,29 +650,49 @@ export default { ...@@ -598,29 +650,49 @@ export default {
colors colors
} }
}, },
components: {
followPop
},
created() { created() {
this.getClaimsCount() this.getClaimsCount()
this.getMerchantData() this.getMerchantData()
this.getFollowPersonList()
}, },
mounted() {}, mounted() {},
methods: { methods: {
getFollowPersonList() {
this.$apis.claims
.getFollowPersonList({
pageSize: 10000,
pageNum: 1
})
.then(res => {
this.searchFormData[8].optionList = [{ followName: '全部', id: '' }].concat(res.list) || []
})
},
//跟进人配置
handleConfig() {
this.isFollowSync = true
},
handleClose() {
this.isFollowSync = false
},
// 获取当前登录人的商户层级 // 获取当前登录人的商户层级
getMerchantData() { getMerchantData() {
this.$apis.claims.getBigMerchantApi({}).then(res => { this.$apis.claims.getMerchantSubList({}).then(res => {
this.searchFormData[3].optionList = res || [] this.searchFormData[4].optionList = res || []
}) })
}, },
getmidMerchantList(provinceMerchantId) { getmidMerchantList(provinceMerchantId) {
this.$apis.claims.getMidMerchantApi({ provinceMerchantId }).then(res => { this.$apis.claims.getMerchantSubList({ accountLevel: 3, merchantId: provinceMerchantId }).then(res => {
this.searchFormData[4].optionList = res || [] this.searchFormData[5].optionList = res || []
this.searchFormData[4].isHide = false this.searchFormData[5].isHide = false
}) })
}, },
getdMerchantList(cityMerchantId) { getdMerchantList(cityMerchantId) {
this.$apis.claims.getMerchantApi({ cityMerchantId }).then(res => { this.$apis.claims.getMerchantSubList({ accountLevel: 4, merchantId: cityMerchantId }).then(res => {
this.searchFormData[5].optionList = res || [] this.searchFormData[6].optionList = res || []
this.searchFormData[5].isHide = false this.searchFormData[6].isHide = false
}) })
}, },
showFollow(row) { showFollow(row) {
......
...@@ -200,7 +200,8 @@ export default { ...@@ -200,7 +200,8 @@ export default {
attachments1: res.attachments1, attachments1: res.attachments1,
attachments2: res.attachments2, attachments2: res.attachments2,
attachments3: res.attachments3, attachments3: res.attachments3,
claimsAttachmentConfigs2: res.claimsAttachmentConfigs2 claimsAttachmentConfigs2: res.claimsAttachmentConfigs2,
updatedBy:res.updatedBy
} }
// 图片list // 图片list
...@@ -573,11 +574,13 @@ export default { ...@@ -573,11 +574,13 @@ export default {
let claimsId = `supplementList2[${index}].claimsId` let claimsId = `supplementList2[${index}].claimsId`
let content = `supplementList2[${index}].content` let content = `supplementList2[${index}].content`
let suppType = `supplementList2[${index}].suppType` let suppType = `supplementList2[${index}].suppType`
let operation = `supplementList2[${index}].operation`
let temp = { let temp = {
[idx]: item.id, [idx]: item.id,
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType [suppType]: item.suppType,
[operation]:1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
...@@ -587,11 +590,13 @@ export default { ...@@ -587,11 +590,13 @@ export default {
let claimsId = `supplementList1[${index}].claimsId` let claimsId = `supplementList1[${index}].claimsId`
let content = `supplementList1[${index}].content` let content = `supplementList1[${index}].content`
let suppType = `supplementList1[${index}].suppType` let suppType = `supplementList1[${index}].suppType`
let operation = `supplementList1[${index}].operation`
let temp = { let temp = {
[idx]: item.id, [idx]: item.id,
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType [suppType]: item.suppType,
[operation]:1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
<el-row slot> <el-row slot>
<el-form :model="searchForm" ref="relate" :inline="true" label-width="90px" class="configDialog"> <el-form :model="searchForm" ref="relate" :inline="true" label-width="90px" class="configDialog">
<el-form-item> <el-form-item>
<el-input placeholder="请输入内容" v-model="searchForm.selectInput" class="input-with-select" size="small"> <el-input placeholder="请输入内容" v-model="searchForm.selectInput" class="input-with-select" size="small">
<el-select v-model="searchForm.select" slot="prepend" placeholder="请选择"> <el-select v-model="searchForm.select" slot="prepend" placeholder="请选择">
<el-option label="商户名称" value="1"></el-option> <el-option label="商户名称" value="1"></el-option>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!