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 5e86f367
authored
Jun 01, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交续保
1 parent
8ce302ac
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
224 additions
and
101 deletions
package-lock.json
package.json
src/setup/qiankun.js
src/views/GH/Renew/detail.vue
src/views/GH/Renew/renew.vue
src/views/claims/components/material.vue
package-lock.json
View file @
5e86f36
...
@@ -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"
}
}
}
}
}
},
},
...
@@ -8741,7 +8808,8 @@
...
@@ -8741,7 +8808,8 @@
"number-precision"
:
{
"number-precision"
:
{
"version"
:
"1.6.0"
,
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz"
,
"integrity"
:
"sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
"integrity"
:
"sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
,
"dev"
:
true
},
},
"oauth-sign"
:
{
"oauth-sign"
:
{
"version"
:
"0.9.0"
,
"version"
:
"0.9.0"
,
...
@@ -13255,75 +13323,6 @@
...
@@ -13255,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 @
5e86f36
...
@@ -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 @
5e86f36
...
@@ -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/detail.vue
View file @
5e86f36
...
@@ -3,8 +3,10 @@
...
@@ -3,8 +3,10 @@
<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
:supplementList=
"supplementList"
></caseDesc>
<caseDesc
:supplementList=
"supplementList"
></caseDesc>
<!-- 定损记录 -->
<claimsNote
:recordList=
"recordList"
></claimsNote>
<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>
...
@@ -14,12 +16,15 @@
...
@@ -14,12 +16,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>
<div
class=
"page-btm-btn"
v-if=
"orderStatus == 0"
>
<el-button
@
click=
"toSubmitGuoRen"
type=
"primary"
>
提交
</el-button>
</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
v-for=
"(item, index) in serviceItemsList"
:key=
"index"
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=
"approveAmountsInput[index]"
></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
class=
"tips"
>
门店申请金额:
{{
item
.
applyAmount
||
0
}}
元
</div>
</div>
</div>
...
@@ -141,15 +146,14 @@ export default {
...
@@ -141,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
...
@@ -174,6 +178,7 @@ export default {
...
@@ -174,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
]
...
@@ -194,7 +199,7 @@ export default {
...
@@ -194,7 +199,7 @@ 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
(
this
.
materialForm
.
idCard
.
length
===
0
)
{
if
(
this
.
materialForm
.
idCard
.
length
===
0
)
{
this
.
materialForm
.
idCard
.
push
(
obj
)
this
.
materialForm
.
idCard
.
push
(
obj
)
...
@@ -207,14 +212,18 @@ export default {
...
@@ -207,14 +212,18 @@ export default {
this
.
materialForm
.
otherInfo
.
push
(
obj
)
this
.
materialForm
.
otherInfo
.
push
(
obj
)
}
}
})
})
// 案件说明
res
.
supplementList
.
forEach
(
el
=>
{
res
.
supplementList
.
forEach
(
el
=>
{
el
.
createdDate
=
util
.
dateFormat
(
el
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
el
.
createdDate
=
util
.
dateFormat
(
el
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
})
})
this
.
supplementList
=
res
.
supplementList
||
[]
this
.
supplementList
=
res
.
supplementList
||
[]
// 定损记录
const
obj_o
=
[
''
,
''
,
''
,
'提交至待定损'
,
'定损通过'
,
'定损不通过'
,
'上传发票'
]
const
obj_o
=
[
''
,
''
,
''
,
'提交至待定损'
,
'定损通过'
,
'定损不通过'
,
'上传发票'
]
const
recordList
=
res
.
recordList
||
[]
const
recordList
=
res
.
recordList
||
[]
recordList
.
forEach
(
item
=>
{
recordList
.
forEach
(
item
=>
{
item
.
createdDate
=
util
.
dateFormat
(
item
.
createdDate
,
'YYYY-MM-DD HH:mm:ss'
)
item
.
operation
=
obj_o
[
item
.
operation
]
item
.
operation
=
obj_o
[
item
.
operation
]
})
})
this
.
recordList
=
recordList
this
.
recordList
=
recordList
...
@@ -373,6 +382,9 @@ export default {
...
@@ -373,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
()
{
...
@@ -380,7 +392,6 @@ export default {
...
@@ -380,7 +392,6 @@ export default {
},
},
// 定损审核通过
// 定损审核通过
comfirmPass
()
{
comfirmPass
()
{
console
.
log
(
this
.
approveAmountsInput
)
const
sc
=
[
'SC0019'
,
'SC0023'
],
const
sc
=
[
'SC0019'
,
'SC0023'
],
sc_obg
=
{}
sc_obg
=
{}
for
(
let
i
=
0
;
i
<
this
.
serviceItemsList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
serviceItemsList
.
length
;
i
++
)
{
...
@@ -390,7 +401,13 @@ export default {
...
@@ -390,7 +401,13 @@ export default {
},
},
renewalAudit
(
params
,
operation
)
{
renewalAudit
(
params
,
operation
)
{
this
.
$apis
.
claims
.
renewalAudit
({
...
this
.
editForm
,
operation
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
...
params
}).
then
(
res
=>
{
this
.
$apis
.
claims
.
renewalAudit
({
...
this
.
editForm
,
operation
,
id
:
this
.
routeInfo
.
orderId
,
...
this
.
accountForm
,
...
params
}).
then
(
res
=>
{
if
(
res
)
this
.
toBackList
()
if
(
res
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
})
this
.
toBackList
()
}
})
})
},
},
canclePass
()
{
canclePass
()
{
...
@@ -407,6 +424,54 @@ export default {
...
@@ -407,6 +424,54 @@ export default {
// 返回上一页
// 返回上一页
toBackList
()
{
toBackList
()
{
this
.
$router
.
push
({
path
:
'/GH/Renew/renew'
})
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
,
url
:
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
)
}
}
}
}
}
}
...
...
src/views/GH/Renew/renew.vue
View file @
5e86f36
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
return
'去处理'
return
'去处理'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
0
,
15
,
14
].
includes
(
row
.
scope
.
status
)
return
[
15
,
14
,
0
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
return
'查看'
return
'查看'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
[
1
,
3
,
4
,
1
6
,
17
].
includes
(
row
.
scope
.
status
)
return
[
1
,
3
,
4
,
1
7
,
2
].
includes
(
row
.
scope
.
status
)
},
},
attrs
:
{
attrs
:
{
type
:
'text'
,
type
:
'text'
,
...
@@ -134,7 +134,8 @@ export default {
...
@@ -134,7 +134,8 @@ export default {
searchForm
:
{
searchForm
:
{
searchText
:
''
,
searchText
:
''
,
status
:
''
,
status
:
''
,
commitDate
:
''
commitDate
:
''
,
equitySource
:
1
},
},
searchParams
:
{},
searchParams
:
{},
searchFormData
:
[
searchFormData
:
[
...
@@ -363,7 +364,7 @@ export default {
...
@@ -363,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 @
5e86f36
...
@@ -18,22 +18,49 @@
...
@@ -18,22 +18,49 @@
<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"
>
<el-progress
<template
v-if=
"!imgItem.mark"
>
color=
"#F5F7FA"
<el-progress
text-inside
color=
"#F5F7FA"
:format=
"
text-inside
() =>
{
:format=
"
return imgItem.name
() =>
{
}
return imgItem.name
"
}
:percentage="imgItem.progress"
"
>
</el-progress>
:percentage="imgItem.progress"
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top"
>
>
</el-progress>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top"
>
</el-tooltip>
<img
v-if=
"imgItem.progress == 100"
class=
"download"
:src=
"download"
alt=
""
@
click=
"downloadFile(imgItem)"
/>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
</el-tooltip>
<i
v-if=
"imgItem.progress == 100 && pageType != 2"
@
click=
"handleRemove(imgItem.url, item.name)"
class=
"el-icon-delete del_img"
></i>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
</el-tooltip>
<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>
</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