Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
4f041403
Commit
4f041403
authored
Jun 01, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询%%问题
parent
370598f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
device-manager-ui/admin/src/components/SearchForm.vue
device-manager-ui/admin/src/components/SearchForm.vue
+6
-1
No files found.
device-manager-ui/admin/src/components/SearchForm.vue
View file @
4f041403
...
...
@@ -193,10 +193,12 @@ export default {
},
watch
:
{
$route
(
route
)
{
console
.
log
(
222
)
this
.
initForm
(
route
.
query
);
},
},
async
created
()
{
console
.
log
(
"
1111
"
)
this
.
initForm
(
this
.
$route
.
query
);
},
methods
:
{
...
...
@@ -252,7 +254,8 @@ export default {
}
});
this
.
form
=
Object
.
assign
({},
this
.
form
,
newFormData
);
this
.
form
=
Object
.
assign
({},
this
.
form
,
data
);
// this.form = Object.assign({}, this.form, data);
// console.log("after form",this.form)
},
cleanForm
()
{
this
.
clean
();
...
...
@@ -273,6 +276,8 @@ export default {
onSubmit
()
{
let
{
path
,
query
}
=
this
.
$route
;
let
data
=
this
.
decode
(
this
.
form
);
console
.
log
(
"
data:
"
,
data
)
console
.
log
(
"
form
"
,
this
.
form
)
//delete this.form["deviceStatusList"]
this
.
$router
.
push
({
path
:
path
,
...
...
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