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
ac62bbf1
Commit
ac62bbf1
authored
Nov 01, 2024
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
cb82fc2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
index.vue
src/pages/index/index.vue
+5
-0
No files found.
src/pages/index/index.vue
View file @
ac62bbf1
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
<wd-icon
name=
"close"
size=
"22px"
></wd-icon>
<wd-icon
name=
"close"
size=
"22px"
></wd-icon>
</
template
>
</
template
>
</wd-navbar>
</wd-navbar>
{{test}}
{{test1}}
<view
class=
"container"
v-if=
"formFlag"
>
<view
class=
"container"
v-if=
"formFlag"
>
<wd-form
ref=
"form"
:model=
"model"
:rules=
"rules"
>
<wd-form
ref=
"form"
:model=
"model"
:rules=
"rules"
>
<wd-cell-group
border
>
<wd-cell-group
border
>
...
@@ -70,6 +72,7 @@
...
@@ -70,6 +72,7 @@
import
type
{
FormRules
}
from
'wot-design-uni/components/wd-form/types'
;
import
type
{
FormRules
}
from
'wot-design-uni/components/wd-form/types'
;
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
const
test
=
ref
()
const
test
=
ref
()
const
test1
=
ref
()
const
form
=
ref
()
const
form
=
ref
()
const
formFlag
=
ref
(
true
)
const
formFlag
=
ref
(
true
)
let
submitstr
=
""
let
submitstr
=
""
...
@@ -162,6 +165,7 @@
...
@@ -162,6 +165,7 @@
convertToJson
()
convertToJson
()
console
.
log
(
"****"
)
console
.
log
(
"****"
)
console
.
log
(
submitstr
)
console
.
log
(
submitstr
)
test
.
value
=
submitstr
xma
.
request
({
xma
.
request
({
url
:
"back/one-visit/one-visit/web/ybVisit/ybSgySm2"
,
url
:
"back/one-visit/one-visit/web/ybVisit/ybSgySm2"
,
method
:
"POST"
,
method
:
"POST"
,
...
@@ -172,6 +176,7 @@
...
@@ -172,6 +176,7 @@
},
},
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
console
.
log
(
"***"
)
console
.
log
(
"***"
)
test1
.
value
=
res
console
.
log
(
res
.
data
?.
biz_data
?.
body
?.
data
?.
data
)
console
.
log
(
res
.
data
?.
biz_data
?.
body
?.
data
?.
data
)
results
.
value
=
res
.
data
?.
biz_data
?.
body
?.
data
?.
data
||
[]
results
.
value
=
res
.
data
?.
biz_data
?.
body
?.
data
?.
data
||
[]
formFlag
.
value
=
false
formFlag
.
value
=
false
...
...
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