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
456bbcdc
Commit
456bbcdc
authored
Nov 01, 2024
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
822c67ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
47 deletions
+21
-47
main.ts
src/main.ts
+2
-2
index.vue
src/pages/index/index.vue
+19
-45
No files found.
src/main.ts
View file @
456bbcdc
...
...
@@ -11,4 +11,4 @@ export function createApp() {
}
import
vconsole
from
'vconsole'
;
const
Vconsole
=
new
vconsole
()
Vconsole
.
show
();
\ No newline at end of file
Vconsole
.
hide
();
\ No newline at end of file
src/pages/index/index.vue
View file @
456bbcdc
...
...
@@ -5,8 +5,6 @@
<wd-icon
name=
"close"
size=
"22px"
></wd-icon>
</
template
>
</wd-navbar>
{{test}}
{{test1}}
<view
class=
"container"
v-if=
"formFlag"
>
<wd-form
ref=
"form"
:model=
"model"
:rules=
"rules"
>
<wd-cell-group
border
>
...
...
@@ -27,7 +25,6 @@
</wd-form>
</view>
<view
class=
"container notform"
v-else
>
{{test}}
<
template
v-for=
"item in results"
>
<wd-card
type=
"rectangle"
custom-class=
"insuitem"
>
<template
#
title
>
...
...
@@ -42,29 +39,6 @@
</wd-card>
</template>
</view>
<!--<view class="container" v-else>
<wd-cell-group>
<wd-cell title="单位编号" value="内容" />
<wd-cell title="人员编号" value="内容" />
<wd-cell title="险种类型" value="内容" />
<wd-cell title="人员类别" value="内容" />
<wd-cell title="参保身份" value="内容" />
<wd-cell title="人员身份类别" value="内容" />
<wd-cell title="电子税票号码" value="内容" />
<wd-cell title="费款所属期" value="内容" />
<wd-cell title="对应费款所属期起始" value="内容" />
<wd-cell title="对应费款所属期结束" value="内容" />
<wd-cell title="个人缴纳金额" value="内容" />
<wd-cell title="缴费标志" value="内容">
<view class="custom-text">订购</view>
</wd-cell>
<wd-cell title="缴费类型" value="内容" />
<wd-cell title="缴费时间" value="内容" />
<wd-cell title="财政补助金额" value="内容" />
<wd-cell title="其他缴费金额" value="内容" />
<wd-cell title="缴费总金额" value="内容" />
</wd-cell-group>
</view>-->
</view>
</template>
...
...
@@ -124,27 +98,27 @@
}
onLoad
(()
=>
{
//model.certno = "520202199704155913"
model
.
certno
=
"520102198611011224"
//
xma.xh.getUserProfile({
//
range: ['CITIZEN'],
//
success(info) {
//
xma.request({
//
url: 'https://onemoment.gywb.cn/back/one-visit/one-visit/web/oneVisit/getXinhuaDecrypt',
//
method: 'POST',
//
data: {
//
appid: 'dffb71ae33637ab293036b2c2a419127',
//
systemcode: 'my-centre',
//
type: 'sgy',
//
encryptDataMap: info.data,
//
},
//
success(res) {
//
model.certno = res.data?.uIdCardNo.replace(/^(.{6})(?:\w+)(.{4})$/, '\$1******\$2');// eslint-disable-line
//
},
//
});
//
model.certno = "520102198611011224"
xma
.
xh
.
getUserProfile
({
range
:
[
'CITIZEN'
],
success
(
info
)
{
xma
.
request
({
url
:
'https://onemoment.gywb.cn/back/one-visit/one-visit/web/oneVisit/getXinhuaDecrypt'
,
method
:
'POST'
,
data
:
{
appid
:
'dffb71ae33637ab293036b2c2a419127'
,
systemcode
:
'my-centre'
,
type
:
'sgy'
,
encryptDataMap
:
info
.
data
,
},
success
(
res
)
{
model
.
certno
=
res
.
data
?.
uIdCardNo
.
replace
(
/^
(
.
{6})(?:\w
+
)(
.
{4})
$/
,
'
\
$1******
\
$2'
);
// eslint-disable-line
},
});
//
}
//
});
}
});
})
const
handleClickLeft
=
()
=>
{
console
.
log
(
"left"
)
...
...
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