Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjCode
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
gjjCode
Commits
0577dcac
Commit
0577dcac
authored
Jan 03, 2025
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b4db0663
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
189 deletions
+41
-189
index.vue
src/pages/index/index.vue
+41
-189
No files found.
src/pages/index/index.vue
View file @
0577dcac
...
...
@@ -135,7 +135,10 @@
}
from
'@/store'
;
import
{
personInfo
,
payList
,
loadInfo
,
mapInfo
personInfo
,
payList
,
loadInfo
,
mapInfo
}
from
'../../api/request'
const
infoStore
=
infoPinia
()
...
...
@@ -214,198 +217,47 @@
success
(
info
)
{
//公积金个人信息
infoStore
.
spidno
=
info
.
data
.
uIdCardNo
;
personInfo
({
spidno
:
infoStore
.
spidno
,
trantime
:
getCurrentTimestamp
()
}).
then
(
res
=>
{
spidno
:
infoStore
.
spidno
,
trantime
:
getCurrentTimestamp
()
}).
then
(
res
=>
{
const
info
=
JSON
.
parse
(
res
.
data
)
infoStore
.
person
=
info
.
body
.
detail
;
//公积金缴费明细
payList
({
"eatda"
:
"string"
,
"iseqno"
:
"string"
,
"jzh"
:
"string"
,
"sdata"
:
"string"
,
"spcode"
:
spcode
.
value
,
"transcode"
:
"string"
}).
then
(
res
=>
{
const
data
=
JSON
.
parse
(
res
.
data
);
infoStore
.
listInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
})
//贷款信息
loadInfo
(
{
"spidno"
:
spidno
.
value
,
"spcode"
:
spcode
.
value
,
"iseqno"
:
"string"
}
).
then
(
res
=>
{
const
data
=
JSON
.
parse
(
res
.
data
);
infoStore
.
loanInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
})
//公积金地图
mapInfo
({
pageSize
:
50
,
pageIndex
:
1
}).
then
(
res
=>
{
let
data
=
JSON
.
parse
(
res
.
data
)
infoStore
.
mapList
=
data
.
data
;
})
//公积金缴费明细
payList
({
"eatda"
:
"string"
,
"iseqno"
:
"string"
,
"jzh"
:
"string"
,
"sdata"
:
"string"
,
"spcode"
:
spcode
.
value
,
"transcode"
:
"string"
}).
then
(
res
=>
{
const
data
=
JSON
.
parse
(
res
.
data
);
infoStore
.
listInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
})
//贷款信息
loadInfo
({
"spidno"
:
spidno
.
value
,
"spcode"
:
spcode
.
value
,
"iseqno"
:
"string"
}).
then
(
res
=>
{
const
data
=
JSON
.
parse
(
res
.
data
);
infoStore
.
loanInfo
=
data
.
data
.
records
[
0
].
list
.
acc_info
})
}})
// xh.getUserProfile({
// goLogin: true,
// range: ['ACCOUNT', 'MOBILE', 'CITIZEN'],
// success(info) {
// //公积金个人信息
// infoStore.spidno = info.data.uIdCardNo;
// personInfo({
// spidno: infoStore.spidno,
// trantime: getCurrentTimestamp()
// }).then(res => {
// const info = JSON.parse(res.data)
// infoStore.person = info.body.detail;
// //公积金缴费明细
// payList({
// "eatda": "string",
// "iseqno": "string",
// "jzh": "string",
// "sdata": "string",
// "spcode": spcode.value,
// "transcode": "string"
// }).then(res => {
// const data = JSON.parse(res.data);
// infoStore.listInfo = data.data.records[0].list.acc_info
// })
// //贷款信息
// loadInfo(
// {
// "spidno": spidno.value,
// "spcode": spcode.value,
// "iseqno": "string"
// }
// ).then(res=>{
// const data = JSON.parse(res.data);
// infoStore.loanInfo = data.data.records[0].list.acc_info
// })
// //公积金地图
// mapInfo({pageSize: 50,
// pageIndex: 1}).then(res=>{
// let data = JSON.parse(res.data)
// infoStore.mapList = data.data;
// })
// })})
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjgrxx',
// data: {
// spidno: infoStore.spidno,
// trantime: getCurrentTimestamp()
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "GET",
// success: function(res) {
// const info = JSON.parse(res.data.data)
// infoStore.person = info.body.detail;
// //公积金缴费明细
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx',
// data: {
// "eatda": "string",
// "iseqno": "string",
// "jzh": "string",
// "sdata": "string",
// "spcode": spcode.value,
// "transcode": "string"
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "POST",
// success: function(res) {
// const data = JSON.parse(res.data.data)
// infoStore.listInfo = data.data.records[0].list.acc_info
// }
// })
// payList({
// "eatda": "string",
// "iseqno": "string",
// "jzh": "string",
// "sdata": "string",
// "spcode": spcode.value,
// "transcode": "string"
// }).then(res => {
// const data = JSON.parse(res.data);
// infoStore.listInfo = data.data.records[0].list.acc_info
// })
//公积金贷款信息
// loadInfo(
// {
// "spidno": spidno.value,
// "spcode": spcode.value,
// "iseqno": "string"
// }
// ).then(res=>{
// const data = JSON.parse(res.data);
// infoStore.loanInfo = data.data.records[0].list.acc_info
// })
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjdkxx',
// data: {
// "spidno": spidno.value,
// "spcode": spcode.value,
// "iseqno": "string"
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "GET",
// success: function(res) {
// const data = JSON.parse(res.data.data)
// infoStore.loanInfo = data.data.records[0].list.acc_info
// },
// });
//公积金地图
// mapInfo({pageSize: 50,
// pageIndex: 1}).then(res=>{
// let data = JSON.parse(res.data)
// infoStore.mapList = data.data;
// })
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzx',
// data: {
// pageSize: 50,
// pageIndex: 1
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "GET",
// success: function(res) {
// let data = JSON.parse(res.data.data)
// infoStore.mapList = data.data;
// },
// });
// },
// });
// },
// });
//公积金地图
mapInfo
({
pageSize
:
50
,
pageIndex
:
1
}).
then
(
res
=>
{
let
data
=
JSON
.
parse
(
res
.
data
)
infoStore
.
mapList
=
data
.
data
;
})
})
}
})
const
xing
=
computed
(()
=>
{
if
(
pInfo
.
value
)
{
...
...
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