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
f043c708
Commit
f043c708
authored
Nov 06, 2024
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加psn查询
parent
4dcd8d24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
index.vue
src/pages/index/index.vue
+12
-8
No files found.
src/pages/index/index.vue
View file @
f043c708
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</view>
</view>
</wd-form>
</wd-form>
<wd-
toast
/
><wd-button
@
click=
"showToast"
>
toast
</wd-button>
<wd-
message-box></wd-message-box
><wd-button
@
click=
"showToast"
>
toast
</wd-button>
</view>
</view>
<view
class=
"container notform"
v-else
>
<view
class=
"container notform"
v-else
>
<
template
v-for=
"item in results"
v-if=
"results.length>0"
>
<
template
v-for=
"item in results"
v-if=
"results.length>0"
>
...
@@ -50,9 +50,9 @@
...
@@ -50,9 +50,9 @@
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
type
{
FormRules
}
from
'wot-design-uni/components/wd-form/types'
;
import
type
{
FormRules
}
from
'wot-design-uni/components/wd-form/types'
;
import
{
use
Toast
}
from
'wot-design-uni'
import
{
use
Message
}
from
'wot-design-uni'
;
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
const
toast
=
useToast
();
const
message
=
useMessage
();
const
form
=
ref
()
const
form
=
ref
()
const
formFlag
=
ref
(
true
)
const
formFlag
=
ref
(
true
)
//表单提交 序列号字符串
//表单提交 序列号字符串
...
@@ -65,9 +65,9 @@
...
@@ -65,9 +65,9 @@
return
"居民缴费进度查询"
+
str
;
return
"居民缴费进度查询"
+
str
;
})
})
const
model
=
reactive
({
const
model
=
reactive
({
certno
:
0
,
certno
:
null
,
accrymBegn
:
1600000001745
,
accrymBegn
:
null
,
accrymEnd
:
1700000001745
accrymEnd
:
null
})
})
const
psnNo
=
ref
(
0
)
const
psnNo
=
ref
(
0
)
const
completeIDNumber
=
ref
(
0
)
const
completeIDNumber
=
ref
(
0
)
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
submitstr
=
JSON
.
stringify
(
normalobj
)
submitstr
=
JSON
.
stringify
(
normalobj
)
}
}
const
showToast
=
()
=>
{
const
showToast
=
()
=>
{
toast
.
show
(
'提示信息
'
)
message
.
alert
(
'操作成功
'
)
}
}
const
goToDetail
=
(
info
)
=>
{
const
goToDetail
=
(
info
)
=>
{
...
@@ -145,7 +145,11 @@
...
@@ -145,7 +145,11 @@
psnNo
.
value
=
res
.
data
?.
biz_data
?.
body
?.
data
[
0
]?.
psnNo
psnNo
.
value
=
res
.
data
?.
biz_data
?.
body
?.
data
[
0
]?.
psnNo
console
.
log
(
"goto if"
)
console
.
log
(
"goto if"
)
}
else
{
}
else
{
setTimeout
(()
=>
{
toast
.
warning
(
res
.
data
?.
biz_data
?.
body
?.
message
)},
10000
)
setTimeout
(()
=>
{
message
.
alert
(
res
.
data
?.
biz_data
?.
body
?.
message
)
model
.
certno
=
null
;
model
.
accrymBegn
=
null
;
model
.
accrymEnd
=
null
;
},
200
)
console
.
log
(
"goto else"
)
console
.
log
(
"goto else"
)
}
}
...
...
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