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 725cddf8
authored
Sep 23, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交理赔代码
1 parent
b1763f9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
17 deletions
src/setup/qiankun.js
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/setup/qiankun.js
View file @
725cddf
...
...
@@ -25,8 +25,8 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue
.
prototype
.
$defaultStartDate
=
'2021-07-01'
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_brand
=
new
common
.
Http
({
response
,
request
:
request_brand
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-
ed690cff-685f-43db-9670-912cac0af9a6
-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-
ed690cff-685f-43db-9670-912cac0af9a6
-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-
358c21aa-b86b-4ff1-8348-a81fb8cc8a44
-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-
358c21aa-b86b-4ff1-8348-a81fb8cc8a44
-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: '781f08c5-c443-46fd-80e1-f98d94673a73' } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
...
...
src/views/claims/ghIndex.vue
View file @
725cddf
...
...
@@ -262,7 +262,7 @@ export default {
}
},
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
return
'查看'
},
...
...
@@ -278,7 +278,7 @@ export default {
}
},
{
type
:
'
GLB
utton'
,
type
:
'
el-b
utton'
,
name
:
row
=>
{
return
'重新提交'
},
...
...
src/views/claims/ghOrder.vue
View file @
725cddf
...
...
@@ -108,11 +108,22 @@ export default {
},
noPassForm
:
[
{
label
:
'原因
:
'
,
label
:
'原因'
,
name
:
'reason'
,
type
:
'input'
,
maxlength
:
11
,
isClear
:
true
type
:
'select'
,
isClear
:
true
,
optionList
:
[
{
confId
:
1
,
confName
:
'拒赔'
},
{
confId
:
2
,
confName
:
'资料不清晰'
}
],
optionId
:
'confId'
,
optionLabel
:
'confName'
},
{
label
:
'具体描述:'
,
...
...
@@ -120,7 +131,8 @@ export default {
type
:
'input'
,
inputType
:
'textarea'
,
rows
:
3
,
isClear
:
true
isClear
:
true
,
maxLenght
:
50
}
],
testServiceList
:
[],
...
...
@@ -379,7 +391,7 @@ export default {
return
target
}
},
hepeiPass
()
{
hepeiPass
(
isNopass
)
{
let
obj
=
this
.
handlerServices
()
let
exobj
=
this
.
handlerExplain
()
let
para
=
{
...
...
@@ -393,11 +405,19 @@ export default {
reasonForFailure
:
''
,
writeOffCode
:
this
.
repotData
.
writeOffCode
}
if
(
isNopass
)
{
para
.
auditStatus
=
0
para
.
reasonForFailureCode
=
this
.
noPassObj
.
reason
para
.
reasonForFailure
=
this
.
noPassObj
.
desc
}
this
.
$apis
.
claims
.
checkClaimsOrderApi
(
para
).
then
(
res
=>
{
this
.
$message
({
message
:
'审核成功'
,
type
:
'success'
})
if
(
res
)
{
this
.
$message
({
message
:
'审核成功'
,
type
:
'success'
})
this
.
$router
.
push
({
path
:
'/claims/ghIndex'
})
}
})
},
comfirmPass
()
{
...
...
@@ -421,10 +441,14 @@ export default {
this
.
showNoPassDialog
=
true
},
comfirmNoPass
()
{
console
.
log
(
this
.
noPassObj
)
if
(
this
.
orderMsg
.
status
==
12
)
{
this
.
hepeiPass
(
true
)
return
}
let
para
=
this
.
handleParams
()
para
.
auditStatus
=
0
para
.
reasonForFailure
=
this
.
noPassObj
.
reason
+
this
.
noPassObj
.
desc
para
.
reasonForFailureCode
=
this
.
noPassObj
.
reason
para
.
reasonForFailure
=
this
.
noPassObj
.
desc
this
.
$apis
.
claims
.
checkOrderApi
(
para
).
then
(
res
=>
{
if
(
res
)
{
this
.
$message
({
...
...
@@ -434,7 +458,6 @@ export default {
this
.
$router
.
push
({
path
:
'/claims/ghIndex'
})
}
})
// this.cancleNoPass()
},
cancleNoPass
()
{
this
.
showNoPassDialog
=
false
...
...
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