Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yibao
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tanjuanjuan
yibao
Commits
4c05ae13
Commit
4c05ae13
authored
Feb 25, 2025
by
英思-陈欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除调试代码
parent
10bf2f31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
19 deletions
+12
-19
App.vue
src/App.vue
+11
-18
request.ts
src/services/request.ts
+1
-1
No files found.
src/App.vue
View file @
4c05ae13
...
...
@@ -7,11 +7,11 @@
globalData
:
{
user
:
{
psnCertType
:
'01'
,
certno
:
'
211224199502036621'
,
// 身份证号
psnNo
:
'
52000002000000000400011816'
,
// 人员编号
locAdmdvs
:
'
520300'
,
// 身份证号
insuAdmdvs
:
'
520281'
,
// 身份证号
insuTypeCode
:
'
390'
// 险种
certno
:
'
'
,
// 身份证号 211224199502036621
psnNo
:
'
'
,
// 人员编号 52000002000000000400011816
locAdmdvs
:
'
'
,
// 520300
insuAdmdvs
:
'
'
,
// 520281
insuTypeCode
:
'
'
// 险种 390
},
certTypeOptions
:
[],
// 身份证件类型枚举
applyChannelOptions
:
[],
// 申请渠道类型
...
...
@@ -70,24 +70,17 @@
type
:
'sgy'
,
encryptDataMap
:
info
.
data
,
}).
then
((
res
:
any
)
=>
{
console
.
log
(
res
)
xma
.
showModal
({
title
:
'请求成功2'
,
content
:
JSON
.
stringify
(
res
),
//result.data.msg,
showCancel
:
false
,
confirmText
:
'关闭'
})
getApp
().
globalData
!
.
user
.
certno
=
res
.
uIdCardNo
;
Api
.
foo
.
insuranceType
({
psnCertType
:
getApp
().
globalData
!
.
user
.
psnCertType
,
certno
:
getApp
().
globalData
!
.
user
.
certno
,
}).
then
((
res
:
any
)
=>
{
xma
.
showModal
({
title
:
'请求成功3
'
,
content
:
JSON
.
stringify
(
res
),
//result.data.msg,
showCancel
:
false
,
confirmText
:
'关闭'
})
//
xma.showModal({
// title: '请求成功
',
//
content: JSON.stringify(res),//result.data.msg,
//
showCancel: false,
//
confirmText: '关闭'
//
})
getApp
().
globalData
!
.
user
.
psnNo
=
res
.
psnNo
;
getApp
().
globalData
!
.
user
.
insuTypeCode
=
res
.
insutypeCode
;
getApp
().
globalData
!
.
user
.
insuAdmdvs
=
res
.
insuAdmdvs
;
...
...
src/services/request.ts
View file @
4c05ae13
...
...
@@ -54,7 +54,7 @@ class Request {
}
else
{
xma
.
showModal
({
title
:
'请求出错'
,
content
:
JSON
.
stringify
(
result
),
//result.data.msg
,
content
:
result
.
data
?
result
.
data
.
msg
:
result
.
msg
?
result
.
msg
:
JSON
.
stringify
(
result
)
,
showCancel
:
false
,
confirmText
:
'关闭'
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment