Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dc016849
authored
Jun 01, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.0' of
http://192.168.3.233:8090/saas/scrm-micro-presale
into v3.11.0
2 parents
6e86040d
959f348f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
301 additions
and
111 deletions
package-lock.json
package.json
src/setup/qiankun.js
src/views/GH/Renew/components/CaseDesc/caseDesc.vue
src/views/GH/Renew/components/ClaimsNote/index.vue
src/views/GH/Renew/detail.vue
src/views/GH/Renew/renew.vue
src/views/claims/components/material.vue
package-lock.json
View file @
dc01684
...
@@ -1873,6 +1873,51 @@
...
@@ -1873,6 +1873,51 @@
"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"
,
...
@@ -1881,6 +1926,28 @@
...
@@ -1881,6 +1926,28 @@
"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"
}
}
}
}
}
},
},
...
@@ -8738,6 +8805,12 @@
...
@@ -8738,6 +8805,12 @@
"integrity"
:
"sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ=="
,
"integrity"
:
"sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ=="
,
"dev"
:
true
"dev"
:
true
},
},
"number-precision"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
,
"integrity"
:
"sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
,
"dev"
:
true
},
"oauth-sign"
:
{
"oauth-sign"
:
{
"version"
:
"0.9.0"
,
"version"
:
"0.9.0"
,
"resolved"
:
"https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz"
,
...
@@ -13250,75 +13323,6 @@
...
@@ -13250,75 +13323,6 @@
}
}
}
}
},
},
"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"
,
...
...
package.json
View file @
dc01684
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
"glsx-common"
:
"^2.1.0"
,
"glsx-common"
:
"^2.1.0"
,
"glsx-components"
:
"^1.5.2"
,
"glsx-components"
:
"^1.5.2"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"number-precision"
:
"^1.6.0"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
"vuex"
:
"^3.1.2"
...
@@ -33,6 +32,7 @@
...
@@ -33,6 +32,7 @@
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"node-sass"
:
"^4.14.1"
,
"node-sass"
:
"^4.14.1"
,
"number-precision"
:
"^1.6.0"
,
"prettier"
:
"^1.19.1"
,
"prettier"
:
"^1.19.1"
,
"sass-loader"
:
"^8.0.0"
,
"sass-loader"
:
"^8.0.0"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
...
...
src/setup/qiankun.js
View file @
dc01684
...
@@ -11,9 +11,10 @@ let router = null
...
@@ -11,9 +11,10 @@ let router = null
let
instance
=
null
let
instance
=
null
Vue
.
use
(
GLTable
).
use
(
GLCombiForm
).
use
(
GLTableButton
).
use
(
GLDialog
)
Vue
.
use
(
GLTable
).
use
(
GLCombiForm
).
use
(
GLTableButton
).
use
(
GLDialog
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
cons
t
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
(
common
)
le
t
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
(
common
)
// request.baseURL = 'https://scrm.dev.glsx.com.cn'
// request.baseURL = 'https://scrm.dev.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.dev.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.dev.glsx.com.cn'
// globalState.session.token = 'scrm-base-6358b874-c112-4753-ac00-ec0cce769751-rop'
// request.baseURL = 'http://192.168.1.53:7226'
// request.baseURL = 'http://192.168.1.53:7226'
// request_brand.baseURL = 'http://192.168.1.53:7226'
// request_brand.baseURL = 'http://192.168.1.53:7226'
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
...
...
src/views/GH/Renew/components/CaseDesc/caseDesc.vue
View file @
dc01684
...
@@ -3,16 +3,18 @@
...
@@ -3,16 +3,18 @@
<div
class=
"caseDesc-components"
>
<div
class=
"caseDesc-components"
>
<div
class=
"title"
>
案件补充说明
</div>
<div
class=
"title"
>
案件补充说明
</div>
<div
class=
"list-wrap"
>
<div
class=
"list-wrap"
>
<div
class=
"cell"
>
<template
v-for=
"(item,index) in supplementList"
>
<div
:key=
"index"
class=
"cell"
>
<div
class=
"widget"
>
<div
class=
"widget"
>
<div
class=
"label"
>
案件说明:
</div>
<div
class=
"label"
>
案件说明:
</div>
<div
class=
"content"
>
哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒哒
</div>
<div
class=
"content"
>
{{
item
.
content
}}
</div>
</div>
</div>
<div
class=
"widget"
>
<div
class=
"widget"
>
<div
class=
"label"
>
提交时间:
</div>
<div
class=
"label"
>
提交时间:
</div>
<div
class=
"content"
>
2023-05-16 15:12:30
</div>
<div
class=
"content"
>
{{
item
.
createdDate
}}
</div>
</div>
</div>
</div>
</div>
</
template
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -21,7 +23,9 @@
...
@@ -21,7 +23,9 @@
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
export
default
{
name
:
'caseDesc'
,
name
:
'caseDesc'
,
props
:
{},
props
:
{
supplementList
:
Array
},
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{}
return
{}
...
@@ -53,6 +57,7 @@ export default {
...
@@ -53,6 +57,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-bottom
:
16px
;
.widget
{
.widget
{
display
:
flex
;
display
:
flex
;
.label
{
.label
{
...
...
src/views/GH/Renew/components/ClaimsNote/index.vue
View file @
dc01684
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-28 09:34:05
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-30 21:17:21
* @FilePath: \scrm-micro-presale\src\views\GH\Renew\components\ClaimsNote\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<
template
>
<div>
<div>
<div
class=
"caseDesc-components"
>
<div
class=
"caseDesc-components"
>
<div
class=
"title"
>
定损记录
</div>
<div
class=
"title"
>
定损记录
</div>
<div
class=
"list-wrap"
>
<div
class=
"list-wrap"
>
<el-timeline>
<el-timeline>
<el-timeline-item
v-for=
"(activity, index) in
activities"
:key=
"index"
:color=
"activity.color"
:timestamp=
"activity.timestamp
"
>
<el-timeline-item
v-for=
"(activity, index) in
recordList"
:key=
"index"
:color=
"activity.color"
:timestamp=
"activity.createdDate
"
>
<div
class=
"inline"
>
<div
class=
"inline"
>
<div
class=
"content"
>
{{
activity
.
content
}}
</div>
<div
class=
"content"
>
{{
activity
.
content
}}
</div>
<div
v-if=
"activity.
extra"
class=
"tip"
>
{{
activity
.
extra
}}
</div>
<div
v-if=
"activity.
operation"
class=
"tip"
>
{{
activity
.
operation
}}
</div>
</div>
</div>
</el-timeline-item>
</el-timeline-item>
</el-timeline>
</el-timeline>
...
@@ -19,7 +27,9 @@
...
@@ -19,7 +27,9 @@
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
export
default
{
name
:
'claimsNote'
,
name
:
'claimsNote'
,
props
:
{},
props
:
{
recordList
:
Array
},
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -77,7 +87,7 @@ export default {
...
@@ -77,7 +87,7 @@ export default {
.content
{
.content
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#1
D
2129
;
color
:
#1
d
2129
;
}
}
.tip
{
.tip
{
display
:
inline
;
display
:
inline
;
...
...
src/views/GH/Renew/detail.vue
View file @
dc01684
...
@@ -3,24 +3,30 @@
...
@@ -3,24 +3,30 @@
<div>
<div>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<report
@
toSearchOrderDetail=
"toSearchOrderDetail"
ref=
"reportRef"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:editForm
.
sync=
"editForm"
></report>
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<repair
ref=
"repairRef"
@
changeObjectType=
"changeObjectType"
:isGH=
"routeInfo.isGH"
:pageType=
"pageType"
:serviceItemsList
.
sync=
"serviceItemsList"
:totalPrice
.
sync=
"totalPrice"
:accountForm
.
sync=
"accountForm"
></repair>
<material
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<material
:isXB=
"true"
ref=
"materialRef"
:pageType=
"pageType"
:materialForm
.
sync=
"materialForm"
></material>
<caseDesc></caseDesc>
<!-- 案件说明 -->
<claimsNote></claimsNote>
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<!-- 定损记录 -->
<claimsNote
:recordList=
"recordList"
></claimsNote>
<div
class=
"page-btm-btn"
v-if=
"pageType == 0"
>
<div
class=
"page-btm-btn"
v-if=
"pageType == 0"
>
<el-button
type=
"primary"
@
click=
"confirmSubmit(1)"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"confirmSubmit(1)"
>
提交
</el-button>
<el-button
type=
"primary"
plain
@
click=
"confirmSubmit(2)"
>
草稿
</el-button>
<el-button
type=
"primary"
plain
@
click=
"confirmSubmit(2)"
>
草稿
</el-button>
</div>
</div>
<div
class=
"page-btm-btn"
v-if=
"orderStatus == 15"
>
<div
class=
"page-btm-btn"
v-if=
"orderStatus == 15"
>
<el-button
@
click=
"toShowSP"
type=
"primary"
>
定损通过
</el-button>
<el-button
@
click=
"toShowSP"
type=
"primary"
>
通过
</el-button>
<el-button
@
click=
"toShowSPNoPass"
type=
"primary"
plain
>
定损不通过
</el-button>
<el-button
@
click=
"toShowSPNoPass"
type=
"primary"
plain
>
不通过
</el-button>
</div>
<div
class=
"page-btm-btn"
v-if=
"orderStatus == 0"
>
<el-button
@
click=
"toSubmitGuoRen"
type=
"primary"
>
提交
</el-button>
</div>
</div>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"定损通过"
mode=
"mid"
:visible
.
sync=
"showPassedDialog"
@
onOk=
"comfirmPass"
@
onCancel=
"canclePass"
>
<GLDialog
class=
"gl-form-page gl-form-min"
title=
"定损通过"
mode=
"mid"
:visible
.
sync=
"showPassedDialog"
@
onOk=
"comfirmPass"
@
onCancel=
"canclePass"
>
<div
class=
"passed-wrap"
>
<div
class=
"passed-wrap"
>
<div
class=
"set-price"
>
<div
v-for=
"(item, index) in serviceItemsList"
:key=
"index"
class=
"set-price"
>
<li>
<li>
<label
for=
""
>
批准金额/元:
</label>
<label
for=
""
>
批准金额/元:
</label>
<el-input
size=
"small"
maxlength=
"10"
placeholder=
"请输入定损批准金额"
v-model=
"approveAmounts
"
></el-input>
<el-input
size=
"small"
@
input=
"validPrice($event, index)"
maxlength=
"10"
placeholder=
"请输入定损批准金额"
v-model=
"approveAmountsInput[index]
"
></el-input>
</li>
</li>
<div
class=
"tips"
>
门店申请金额:
{{
item
.
applyAmount
||
0
}}
元
</div>
</div>
</div>
</div>
</div>
</GLDialog>
</GLDialog>
...
@@ -92,13 +98,13 @@ export default {
...
@@ -92,13 +98,13 @@ export default {
showPassedDialog
:
false
,
showPassedDialog
:
false
,
showNoPassDialog
:
false
,
showNoPassDialog
:
false
,
noPassObj
:
{
noPassObj
:
{
reason
:
''
,
reason
ForFailureCode
:
''
,
desc
:
''
reasonForFailure
:
''
},
},
noPassForm
:
[
noPassForm
:
[
{
{
label
:
'原因'
,
label
:
'原因'
,
name
:
'reason'
,
name
:
'reason
ForFailureCode
'
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
optionList
:
[
optionList
:
[
...
@@ -116,14 +122,20 @@ export default {
...
@@ -116,14 +122,20 @@ export default {
},
},
{
{
label
:
'具体描述:'
,
label
:
'具体描述:'
,
name
:
'
desc
'
,
name
:
'
reasonForFailure
'
,
type
:
'input'
,
type
:
'input'
,
inputType
:
'textarea'
,
inputType
:
'textarea'
,
rows
:
3
,
rows
:
3
,
isClear
:
true
,
isClear
:
true
,
maxlength
:
200
maxlength
:
200
}
}
]
],
supplementList
:
[],
recordList
:
[],
approveAmountsInput
:
{
0
:
''
,
1
:
''
}
}
}
},
},
created
()
{
created
()
{
...
@@ -134,15 +146,14 @@ export default {
...
@@ -134,15 +146,14 @@ export default {
this
.
routeInfo
=
urlQuery
this
.
routeInfo
=
urlQuery
this
.
handleFormInfo
(
urlQuery
.
contractNo
,
urlQuery
.
isGH
)
this
.
handleFormInfo
(
urlQuery
.
contractNo
,
urlQuery
.
isGH
)
this
.
orderStatus
=
urlQuery
.
status
this
.
orderStatus
=
urlQuery
.
status
// if(!this.isGH){
// }
if
(
this
.
routeInfo
.
orderId
)
{
if
(
this
.
routeInfo
.
orderId
)
{
this
.
getDetailById
()
this
.
getDetailById
()
}
}
},
},
computed
:
{
computed
:
{
totalPrice
()
{
totalPrice
()
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
return
prev
+
+
(
cur
.
approveAmount
*
100
).
toFixed
(
0
)
return
prev
+
+
(
cur
.
approveAmount
*
100
).
toFixed
(
0
)
},
0
)
},
0
)
return
total
/
100
return
total
/
100
...
@@ -167,6 +178,7 @@ export default {
...
@@ -167,6 +178,7 @@ export default {
//详情
//详情
getDetailById
()
{
getDetailById
()
{
this
.
$apis
.
claims
.
getClaimsDetail
({
id
:
this
.
routeInfo
.
orderId
,
needDetail
:
true
}).
then
(
res
=>
{
this
.
$apis
.
claims
.
getClaimsDetail
({
id
:
this
.
routeInfo
.
orderId
,
needDetail
:
true
}).
then
(
res
=>
{
this
.
detailInfo
=
res
// 以下是report数据
// 以下是report数据
for
(
let
key
in
this
.
editForm
)
{
for
(
let
key
in
this
.
editForm
)
{
this
.
editForm
[
key
]
=
res
[
key
]
this
.
editForm
[
key
]
=
res
[
key
]
...
@@ -187,9 +199,9 @@ export default {
...
@@ -187,9 +199,9 @@ export default {
this
.
serviceItemsList
=
serviceItemsList
||
[]
this
.
serviceItemsList
=
serviceItemsList
||
[]
// 以下是文件数据
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
res
.
files
.
forEach
(
item
=>
{
let
obj
=
{
url
:
item
.
fileUrl
,
fileType
:
item
.
fileType
,
name
:
item
.
fileName
,
progress
:
100
}
let
obj
=
{
url
:
item
.
fileUrl
,
fileType
:
item
.
fileType
,
name
:
item
.
fileName
,
progress
:
100
,
mark
:
item
.
mark
,
fileCode
:
item
.
fileCode
}
if
(
item
.
fileCode
==
'1'
)
{
if
(
item
.
fileCode
==
'1'
)
{
if
(
item
.
fileName
.
indexOf
(
'&front&_'
)
===
0
)
{
if
(
this
.
materialForm
.
idCard
.
length
===
0
)
{
this
.
materialForm
.
idCard
.
push
(
obj
)
this
.
materialForm
.
idCard
.
push
(
obj
)
}
else
{
}
else
{
this
.
materialForm
.
idCardBack
.
push
(
obj
)
this
.
materialForm
.
idCardBack
.
push
(
obj
)
...
@@ -200,6 +212,21 @@ export default {
...
@@ -200,6 +212,21 @@ export default {
this
.
materialForm
.
otherInfo
.
push
(
obj
)
this
.
materialForm
.
otherInfo
.
push
(
obj
)
}
}
})
})
// 案件说明
res
.
supplementList
.
forEach
(
el
=>
{
el
.
createdDate
=
util
.
dateFormat
(
el
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
})
this
.
supplementList
=
res
.
supplementList
||
[]
// 定损记录
const
obj_o
=
[
''
,
''
,
''
,
'提交至待定损'
,
'定损通过'
,
'定损不通过'
,
'上传发票'
]
const
recordList
=
res
.
recordList
||
[]
recordList
.
forEach
(
item
=>
{
item
.
createdDate
=
util
.
dateFormat
(
item
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
item
.
operation
=
obj_o
[
item
.
operation
]
})
this
.
recordList
=
recordList
})
})
},
},
// 新增的时候,输入合同号,带出信息
// 新增的时候,输入合同号,带出信息
...
@@ -355,6 +382,9 @@ export default {
...
@@ -355,6 +382,9 @@ export default {
},
},
// 打开审批窗口
// 打开审批窗口
toShowSP
()
{
toShowSP
()
{
this
.
serviceItemsList
.
forEach
((
el
,
index
)
=>
{
this
.
approveAmountsInput
[
index
]
=
el
.
approveAmount
})
this
.
showPassedDialog
=
true
this
.
showPassedDialog
=
true
},
},
toShowSPNoPass
()
{
toShowSPNoPass
()
{
...
@@ -362,22 +392,86 @@ export default {
...
@@ -362,22 +392,86 @@ export default {
},
},
// 定损审核通过
// 定损审核通过
comfirmPass
()
{
comfirmPass
()
{
console
.
log
(
this
.
accountForm
,
this
.
saveObj
)
const
sc
=
[
'SC0019'
,
'SC0023'
],
const
sc
=
[
'SC0002'
,
'SC0003'
,
'SC0005'
,
'SC0006'
,
'SC0007'
,
'SC0008'
,
'SC0011'
],
sc_obg
=
{}
sc_obg
=
{}
for
(
let
i
=
0
;
i
<
sc
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
serviceItemsList
.
length
;
i
++
)
{
sc_obg
[
sc
[
i
]]
=
this
.
approveAmounts
sc_obg
[
this
.
serviceItemsList
[
i
].
serviceItemCode
]
=
this
.
approveAmountsInput
[
i
]
}
}
this
.
$apis
.
claims
.
renewalAudit
({
...
this
.
editForm
,
operation
:
4
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
approveAmounts
:
JSON
.
stringify
(
sc_obg
)
}).
then
(
res
=>
{})
this
.
renewalAudit
({
approveAmounts
:
JSON
.
stringify
(
sc_obg
)
},
4
)
this
.
canclePass
()
},
renewalAudit
(
params
,
operation
)
{
this
.
$apis
.
claims
.
renewalAudit
({
...
this
.
editForm
,
operation
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
...
params
}).
then
(
res
=>
{
if
(
res
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
})
this
.
toBackList
()
}
})
},
},
canclePass
()
{
canclePass
()
{
this
.
showPassedDialog
=
false
this
.
showPassedDialog
=
false
},
},
//定损不通过
//定损不通过
comfirmNoPass
()
{},
comfirmNoPass
()
{
this
.
renewalAudit
({
...
this
.
noPassObj
},
5
)
this
.
cancleNoPass
()
},
cancleNoPass
()
{
cancleNoPass
()
{
this
.
showNoPassDialog
=
false
this
.
showNoPassDialog
=
false
},
// 返回上一页
toBackList
()
{
this
.
$router
.
push
({
path
:
'/GH/Renew/renew'
})
},
toSubmitGuoRen
()
{
let
approveAmounts
=
{}
this
.
serviceItemsList
.
forEach
(
el
=>
{
Object
.
assign
(
approveAmounts
,
{
[
el
.
serviceItemCode
]:
el
.
applyAmount
})
})
let
files
=
[]
for
(
let
i
in
this
.
materialForm
)
{
this
.
materialForm
[
i
].
forEach
(
el
=>
{
let
_temp
=
{
fileType
:
el
.
fileType
,
mark
:
el
.
mark
,
fileUrl
:
el
.
url
,
fileCode
:
el
.
fileCode
,
fileName
:
el
.
name
}
files
.
push
(
_temp
)
})
}
this
.
renewGR
({
approveAmounts
:
JSON
.
stringify
(
approveAmounts
),
fileList
:
files
},
1
)
},
renewGR
(
params
,
operation
)
{
this
.
$apis
.
claims
.
commitClaimsOrder
({
...
this
.
editForm
,
operation
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
...
params
}).
then
(
res
=>
{
if
(
res
)
{
this
.
$message
({
message
:
'提交成功'
,
type
:
'success'
})
this
.
toBackList
()
}
})
},
validPrice
(
e
,
id
)
{
let
checkPlan
=
''
+
this
.
approveAmountsInput
[
id
]
checkPlan
=
checkPlan
.
replace
(
/
[^\d
.
]
/g
,
''
)
.
replace
(
/
\.{2,}
/g
,
'.'
)
.
replace
(
/^
\.
/g
,
''
)
.
replace
(
'.'
,
'$#$'
)
.
replace
(
/
\.
/g
,
''
)
.
replace
(
'$#$'
,
'.'
)
if
(
checkPlan
.
indexOf
(
'.'
)
<
0
&&
checkPlan
!==
''
)
{
checkPlan
=
parseFloat
(
checkPlan
)
+
''
}
else
if
(
checkPlan
.
indexOf
(
'.'
)
>=
0
)
{
checkPlan
=
checkPlan
.
replace
(
/^
()
*
(\d
+
)\.(\d\d)
.*$/
,
'$1$2.$3'
)
// 只能输入两个小数
}
console
.
log
(
checkPlan
)
this
.
$set
(
this
.
serviceItemsList
[
id
],
'approveAmount'
,
checkPlan
)
}
}
}
}
}
}
...
@@ -419,5 +513,11 @@ export default {
...
@@ -419,5 +513,11 @@ export default {
margin-right
:
60px
;
margin-right
:
60px
;
}
}
}
}
.tips
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#999999
;
margin-left
:
154px
;
}
}
}
</
style
>
</
style
>
src/views/GH/Renew/renew.vue
View file @
dc01684
...
@@ -56,15 +56,19 @@ const statusList = [
...
@@ -56,15 +56,19 @@ const statusList = [
confName
:
'支付失败'
confName
:
'支付失败'
},
},
{
{
confId
:
6
,
confId
:
14
,
confName
:
'草稿'
},
{
confId
:
15
,
confName
:
'待定损'
confName
:
'待定损'
},
},
{
{
confId
:
7
,
confId
:
16
,
confName
:
'定损不通过'
confName
:
'定损不通过'
},
},
{
{
confId
:
8
,
confId
:
17
,
confName
:
'定损通过'
confName
:
'定损通过'
}
}
]
]
...
@@ -80,7 +84,7 @@ export default {
...
@@ -80,7 +84,7 @@ export default {
return
'去处理'
return
'去处理'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
15
].
includes
(
row
.
scope
.
status
)
return
[
15
,
14
,
0
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -96,7 +100,7 @@ export default {
...
@@ -96,7 +100,7 @@ export default {
return
'查看'
return
'查看'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
3
,
4
,
7
,
8
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
17
,
2
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -130,7 +134,8 @@ export default {
...
@@ -130,7 +134,8 @@ export default {
searchForm
:
{
searchForm
:
{
searchText
:
''
,
searchText
:
''
,
status
:
''
,
status
:
''
,
commitDate
:
''
commitDate
:
''
,
equitySource
:
1
},
},
searchParams
:
{},
searchParams
:
{},
searchFormData
:
[
searchFormData
:
[
...
@@ -188,6 +193,14 @@ export default {
...
@@ -188,6 +193,14 @@ export default {
}
}
},
},
{
{
label
:
'车牌号'
,
prop
:
'vehicleLicensePlate'
,
width
:
160
,
formatter
:
cellValue
=>
{
return
cellValue
.
vehicleLicensePlate
||
'-'
}
},
{
label
:
'合同号'
,
label
:
'合同号'
,
prop
:
'contractNo'
,
prop
:
'contractNo'
,
width
:
200
,
width
:
200
,
...
@@ -351,7 +364,7 @@ export default {
...
@@ -351,7 +364,7 @@ export default {
this
.
$refs
.
equityRef
.
refreshTable
()
this
.
$refs
.
equityRef
.
refreshTable
()
},
},
exportList
()
{
exportList
()
{
const
parmas
=
{
...
this
.
getParams
()
}
const
parmas
=
{
...
this
.
getParams
()
,
equitySource
:
1
}
this
.
$apis
.
claims
.
exportClaimsData
(
parmas
).
then
(
data
=>
{
this
.
$apis
.
claims
.
exportClaimsData
(
parmas
).
then
(
data
=>
{
var
a
=
document
.
createElement
(
'a'
)
var
a
=
document
.
createElement
(
'a'
)
a
.
setAttribute
(
'id'
,
'exportToExport'
)
a
.
setAttribute
(
'id'
,
'exportToExport'
)
...
...
src/views/claims/components/material.vue
View file @
dc01684
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
<span
class=
"file_tip"
>
支持扩展名:.doc .docx .pdf .jpg .png .jpeg。图片类型大小不能超过9M,其他类型文件大小不能超过30M。
</span>
<span
class=
"file_tip"
>
支持扩展名:.doc .docx .pdf .jpg .png .jpeg。图片类型大小不能超过9M,其他类型文件大小不能超过30M。
</span>
<template>
<template>
<div
class=
"bar_outer"
v-for=
"(imgItem, imgId) in materialForm[item.name]"
:key=
"imgId"
>
<div
class=
"bar_outer"
v-for=
"(imgItem, imgId) in materialForm[item.name]"
:key=
"imgId"
>
<template
v-if=
"!imgItem.mark"
>
<el-progress
<el-progress
color=
"#F5F7FA"
color=
"#F5F7FA"
text-inside
text-inside
...
@@ -34,6 +35,32 @@
...
@@ -34,6 +35,32 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
</el-tooltip>
</el-tooltip>
</
template
>
</div>
</template>
</div>
<!-- 续保图 -->
<div
slot=
"tip"
v-if=
"item.name == 'otherInfo' && isXB"
class=
"file-box xuBao"
>
<
template
>
<div
class=
"bar_outer"
v-for=
"(imgItem, imgId) in materialForm[item.name]"
:key=
"imgId"
>
<template
v-if=
"imgItem.mark"
>
<el-progress
color=
"#F5F7FA"
text-inside
:format=
"
() =>
{
return markMapItem[imgItem.mark]
}
"
:percentage="imgItem.progress"
>
</el-progress>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top"
>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
</el-tooltip>
</
template
>
</div>
</div>
</template>
</template>
</div>
</div>
...
@@ -63,6 +90,7 @@ export default {
...
@@ -63,6 +90,7 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
},
},
isXB
:
Boolean
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -100,7 +128,15 @@ export default {
...
@@ -100,7 +128,15 @@ export default {
listType
:
'fileList'
,
listType
:
'fileList'
,
limit
:
20
limit
:
20
}
}
]
],
markMapItem
:
{
drivingLicense
:
'驾驶证'
,
accident
:
'事故责任认定书或相关凭证'
,
vin
:
'车架号VIN照片'
,
carAndPeople
:
'45°车头角度全车照片及人车合照'
,
vehicleDamage
:
'车辆受损细节照片'
,
InsuranceLossStatement
:
'保险定损单'
}
}
}
},
},
methods
:
{
methods
:
{
...
@@ -394,6 +430,19 @@ export default {
...
@@ -394,6 +430,19 @@ export default {
position
:
absolute
;
position
:
absolute
;
}
}
}
}
.imgTip
{
font-weight
:
400
;
font-size
:
14px
;
color
:
#333333
;
}
.wrapper
{
display
:
inline-block
;
}
.xbImg
{
display
:
inline-block
;
width
:
104px
;
height
:
104px
;
}
}
}
.require
{
.require
{
width
:
118px
;
width
:
118px
;
...
@@ -410,6 +459,14 @@ export default {
...
@@ -410,6 +459,14 @@ export default {
color
:
#f56c6c
;
color
:
#f56c6c
;
margin-right
:
4px
;
margin-right
:
4px
;
}
}
.xuBao
{
margin-top
:
22px
;
width
:
522px
;
height
:
242px
;
}
}
.material-item
:last-child
{
display
:
flex
;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment