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
84fd9242
Commit
84fd9242
authored
Jan 15, 2025
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
01f0d080
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
+25
-8
request.js
src/api/request.js
+9
-1
account.vue
src/pages/account/account.vue
+4
-1
resign.vue
src/pages/resign/resign.vue
+12
-6
No files found.
src/api/request.js
View file @
84fd9242
...
@@ -37,9 +37,16 @@ export const agreementInfo=(query)=>{
...
@@ -37,9 +37,16 @@ export const agreementInfo=(query)=>{
}
}
export
const
s
ignAgreement
=
(
query
)
=>
{
export
const
ifS
ignAgreement
=
(
query
)
=>
{
return
request
({
return
request
({
url
:
"/gjjsfqdxy"
,
url
:
"/gjjsfqdxy"
,
data
:
query
data
:
query
})
})
}
export
const
tyAgreement
=
(
query
)
=>
{
return
request
({
url
:
"/gjjtqtyxy"
,
data
:
query
})
}
}
\ No newline at end of file
src/pages/account/account.vue
View file @
84fd9242
...
@@ -90,7 +90,10 @@
...
@@ -90,7 +90,10 @@
const
pInfo
=
computed
(()
=>
{
const
pInfo
=
computed
(()
=>
{
return
infoStore
.
person
||
null
return
infoStore
.
person
||
null
})
})
console
.
log
(
"%%%"
)
console
.
log
(
infoStore
.
pInfo
)
console
.
log
(
"%%%"
)
console
.
log
(
infoStore
.
spidno
)
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
*
{
*
{
...
...
src/pages/resign/resign.vue
View file @
84fd9242
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
ref
,
computed
ref
,
computed
}
from
'vue'
}
from
'vue'
import
{
agreementInfo
,
s
ignAgreement
}
from
'../../api/request'
import
{
agreementInfo
,
ifS
ignAgreement
}
from
'../../api/request'
import
{
infoPinia
}
from
'@/store'
import
{
infoPinia
}
from
'@/store'
const
infoStore
=
infoPinia
()
const
infoStore
=
infoPinia
()
const
pCardNo
=
computed
(()
=>
{
const
pCardNo
=
computed
(()
=>
{
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
})
})
}
}
s
ignAgreement
({
ifS
ignAgreement
({
"zjhm"
:
pCardNo
.
value
"zjhm"
:
pCardNo
.
value
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -89,11 +89,17 @@
...
@@ -89,11 +89,17 @@
errFlag
.
value
=
true
;
errFlag
.
value
=
true
;
return
;
return
;
}
}
xma
.
navigateTo
({
url
:
"/pages/account/account"
,
tyAgreement
({
animationType
:
'pop-in'
,
"zjhm"
:
pCardNo
.
value
animationDuration
:
200
}).
then
(
res
=>
{
console
.
log
(
res
)
})
})
// xma.navigateTo({
// url: "/pages/account/account",
// animationType: 'pop-in',
// animationDuration: 200
// })
}
}
const
goBack
=
()
=>
{
const
goBack
=
()
=>
{
xma
.
navigateTo
({
xma
.
navigateTo
({
...
...
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