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
52713f81
Commit
52713f81
authored
Apr 26, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改站点请求地址
parent
f30d6b62
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
13 deletions
+22
-13
device-manager-ui/admin/src/assets/mixins/table.js
device-manager-ui/admin/src/assets/mixins/table.js
+8
-11
device-manager-ui/admin/src/components/DataTable.vue
device-manager-ui/admin/src/components/DataTable.vue
+13
-2
device-manager-ui/admin/src/views/device/list.vue
device-manager-ui/admin/src/views/device/list.vue
+1
-0
No files found.
device-manager-ui/admin/src/assets/mixins/table.js
View file @
52713f81
...
@@ -23,9 +23,6 @@ export default {
...
@@ -23,9 +23,6 @@ export default {
clearTimeout
(
this
.
loadingTimer
);
clearTimeout
(
this
.
loadingTimer
);
},
},
methods
:
{
methods
:
{
test
()
{
console
.
log
(
"
test
"
)
},
// 开启、关闭
// 开启、关闭
changePath
(
path
)
{
changePath
(
path
)
{
this
.
pageInfo
.
list
=
path
+
"
/list
"
;
this
.
pageInfo
.
list
=
path
+
"
/list
"
;
...
...
device-manager-ui/admin/src/components/DataTable.vue
View file @
52713f81
<
template
>
<
template
>
<el-table
<el-table
size=
'small'
size=
'small'
:ref=
"tableName"
:data=
"tableData"
:data=
"tableData"
:row-key=
"handleRowKeyMethod"
:row-key=
"handleRowKeyMethod"
:span-method=
"handleSpanMethod"
:span-method=
"handleSpanMethod"
...
@@ -69,6 +70,11 @@ export default {
...
@@ -69,6 +70,11 @@ export default {
required
:
false
,
required
:
false
,
default
:
()
=>
{}
default
:
()
=>
{}
},
},
toggleRowSelection
:
{
type
:
Function
,
required
:
false
,
default
:
()
=>
{}
},
handleSelectionChange
:
{
handleSelectionChange
:
{
type
:
Function
,
type
:
Function
,
required
:
false
,
required
:
false
,
...
@@ -103,6 +109,11 @@ export default {
...
@@ -103,6 +109,11 @@ export default {
type
:
Array
,
type
:
Array
,
required
:
false
,
required
:
false
,
default
:
()
=>
[],
default
:
()
=>
[],
},
tableName
:
{
type
:
String
,
required
:
false
,
default
:
"
table
"
,
}
}
},
},
computed
:
{
computed
:
{
...
...
device-manager-ui/admin/src/views/device/list.vue
View file @
52713f81
...
@@ -460,6 +460,7 @@ export default {
...
@@ -460,6 +460,7 @@ export default {
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
$message
.
success
(
"
批量更新大厅设备成功!
"
);
this
.
$message
.
success
(
"
批量更新大厅设备成功!
"
);
this
.
hallDialog
.
open
=
false
;
this
.
hallDialog
.
open
=
false
;
this
.
$refs
.
table
.
clearSelection
();
this
.
selection
=
[]
this
.
selection
=
[]
this
.
getData
();
this
.
getData
();
}
}
...
...
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