Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-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
赵啸非
sample-form-platform
Commits
4c5130ff
Commit
4c5130ff
authored
Jan 17, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化设备列表展示
parent
e428863c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
...manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
+4
-0
sample-form-manager-ui/admin/src/pages/hardware/modal/AddDevice.vue
...m-manager-ui/admin/src/pages/hardware/modal/AddDevice.vue
+3
-3
No files found.
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
View file @
4c5130ff
...
@@ -105,6 +105,8 @@
...
@@ -105,6 +105,8 @@
label
=
"
联系电话
"
label
=
"
联系电话
"
>
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
prop
=
"
belong
"
label
=
"
所属机构
"
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
状态
"
>
<
el
-
table
-
column
align
=
"
center
"
label
=
"
状态
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
tag
<
el
-
tag
...
@@ -247,6 +249,8 @@ export default {
...
@@ -247,6 +249,8 @@ export default {
obj
.
deviceMac
=
`%${this.searchVal
}
%`
;
obj
.
deviceMac
=
`%${this.searchVal
}
%`
;
}
else
if
(
this
.
type
==
3
)
{
}
else
if
(
this
.
type
==
3
)
{
obj
.
ip
=
`%${this.searchVal
}
%`
;
obj
.
ip
=
`%${this.searchVal
}
%`
;
}
else
if
(
this
.
type
==
4
)
{
obj
.
belong
=
`%${this.searchVal
}
%`
;
}
}
let
res
=
await
getDeviceList
(
obj
);
let
res
=
await
getDeviceList
(
obj
);
...
...
sample-form-manager-ui/admin/src/pages/hardware/modal/AddDevice.vue
View file @
4c5130ff
...
@@ -141,9 +141,9 @@
...
@@ -141,9 +141,9 @@
></el-input-number>
</el-form-item
></el-input-number>
</el-form-item
></el-col>
></el-col>
<el-col
:span=
"12"
<el-col
:span=
"12"
><el-form-item
label=
"所属机构"
prop=
"
institution
"
>
><el-form-item
label=
"所属机构"
prop=
"
belong
"
>
<el-input
<el-input
v-model=
"form.
institution
"
v-model=
"form.
belong
"
placeholder=
"请输入所属机构"
placeholder=
"请输入所属机构"
></el-input>
</el-form-item
></el-input>
</el-form-item
></el-col>
></el-col>
...
@@ -220,7 +220,7 @@ export default {
...
@@ -220,7 +220,7 @@ export default {
// enabled: "", // 启用状态 (0.停止,1.启用)
// enabled: "", // 启用状态 (0.停止,1.启用)
deviceInBuilding
:
""
,
// 所在楼宇
deviceInBuilding
:
""
,
// 所在楼宇
deviceInFloor
:
""
,
// 所在楼层
deviceInFloor
:
""
,
// 所在楼层
institution
:
""
,
belong
:
""
,
// 所属机构
resolution
:
""
,
// 分辨率
resolution
:
""
,
// 分辨率
},
},
rules
:
{
rules
:
{
...
...
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