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
0ece7525
Commit
0ece7525
authored
Feb 05, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加批量激活设备
parent
16e69799
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
device-manager-ui/admin/.env.yibin
device-manager-ui/admin/.env.yibin
+1
-1
device-manager-ui/admin/src/components/SearchForm.vue
device-manager-ui/admin/src/components/SearchForm.vue
+1
-2
device-manager-ui/admin/src/components/Table.vue
device-manager-ui/admin/src/components/Table.vue
+4
-5
device-manager-ui/admin/src/views/device/list.vue
device-manager-ui/admin/src/views/device/list.vue
+3
-3
No files found.
device-manager-ui/admin/.env.yibin
View file @
0ece7525
...
...
@@ -12,4 +12,4 @@ VUE_APP_PORTAL_URL = /portal_home
# 站点请求地址
VUE_APP_SITETREE_URL =
http://10.12.185.213:11078
/base/site/siteTree
VUE_APP_SITETREE_URL =
/basics_api
/base/site/siteTree
device-manager-ui/admin/src/components/SearchForm.vue
View file @
0ece7525
...
...
@@ -272,8 +272,7 @@ export default {
},
onSubmit
()
{
let
{
path
,
query
}
=
this
.
$route
;
let
temp
=
Object
.
assign
({},
this
.
form
);
let
data
=
this
.
decode
(
temp
);
let
data
=
this
.
decode
(
this
.
form
);
this
.
$router
.
push
({
path
:
path
,
query
:
Object
.
assign
({},
query
,
data
),
...
...
device-manager-ui/admin/src/components/Table.vue
View file @
0ece7525
...
...
@@ -66,12 +66,11 @@
</slot>
<slot
name=
"table-head-left2"
></slot>
</el-row>
<el-row>
<slot
name=
"table-head-row2-left"
></slot>
</el-row>
</div>
</div>
<el-row>
<slot
name=
"table-head-row2-left"
></slot>
</el-row>
<div
class=
"table-head-right"
>
<div
class=
"extend flex flex-pack-justify"
>
...
...
@@ -377,4 +376,4 @@ export default {
}
}
}
</
style
>
\ No newline at end of file
</
style
>
device-manager-ui/admin/src/views/device/list.vue
View file @
0ece7525
...
...
@@ -366,7 +366,7 @@ export default {
},
batchRestartApp
(
row
)
{
this
.
$post
(
"
/device/
r
estartApp
"
,
{
this
.
$post
(
"
/device/
batchR
estartApp
"
,
{
idList
:
this
.
selection
,
})
.
then
((
res
)
=>
{
...
...
@@ -381,7 +381,7 @@ export default {
},
restartApp
(
row
)
{
this
.
$post
(
"
/device/
r
estartApp
"
,
{
this
.
$post
(
"
/device/
batchR
estartApp
"
,
{
idList
:
[
row
.
id
],
})
.
then
((
res
)
=>
{
...
...
@@ -625,7 +625,7 @@ export default {
<
el
-
button
type
=
"
text
"
size
=
"
mini
"
onClick
=
{()
=>
this
.
restart
(
row
.
id
)}
onClick
=
{()
=>
this
.
restart
App
(
row
)}
>
重启
<
/el-button
>
...
...
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