Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
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
pseer
gxpt_web
Commits
80a5695d
Commit
80a5695d
authored
Nov 08, 2023
by
14796
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择分组
parent
f63b9396
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.vue
src/views/system/device/index.vue
+2
-2
selectStore.vue
src/views/system/device/selectStore.vue
+3
-1
No files found.
src/views/system/device/index.vue
View file @
80a5695d
...
@@ -355,8 +355,8 @@ export default {
...
@@ -355,8 +355,8 @@ export default {
this
.
queryParams
.
pageNum
=
1
;
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
();
this
.
getList
();
},
},
selectGroup
(
name
){
selectGroup
(
deviceGroup
){
this
.
form
.
group
=
name
;
this
.
form
.
group
=
deviceGroup
;
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
...
...
src/views/system/device/selectStore.vue
View file @
80a5695d
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
<dict-tag
:options=
"dict.type.store_type"
:value=
"scope.row.storeType"
/>
<dict-tag
:options=
"dict.type.store_type"
:value=
"scope.row.storeType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"设备分组"
align=
"center"
prop=
"deviceGroup"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"manager"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"manager"
/>
<el-table-column
label=
"联系人电话"
align=
"center"
prop=
"phone"
/>
<el-table-column
label=
"联系人电话"
align=
"center"
prop=
"phone"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
...
@@ -117,7 +118,8 @@ export default {
...
@@ -117,7 +118,8 @@ export default {
this
.
handleQuery
();
this
.
handleQuery
();
},
},
handleCurrentChange
(
val
){
handleCurrentChange
(
val
){
this
.
$emit
(
'select'
,
val
.
name
);
console
.
log
(
val
);
this
.
$emit
(
'select'
,
val
.
deviceGroup
);
this
.
visible
=
false
;
this
.
visible
=
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