Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李君
/
carrefour
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 99527382
authored
Oct 22, 2022
by
tianlonglong
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tll
1 parent
6b4a821b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
18 deletions
src/views/Management/DeskManage/index.vue
src/views/queueManagement/channelManagement/Painter.vue
src/views/queueManagement/channelManagement/index.vue
src/views/Management/DeskManage/index.vue
View file @
9952738
...
...
@@ -273,6 +273,7 @@ export default {
this
.
tableData
=
[];
this
.
getDeskList
();
if
(
this
.
ptype
==
1
)
{
console
.
log
(
444
);
this
.
loadGateData
();
}
else
{
this
.
drawFloorMap
();
...
...
@@ -402,6 +403,7 @@ export default {
.
getBoundingClientRect
().
width
;
item
.
cheight
=
(
item
.
cwidth
*
item
.
height
)
/
item
.
width
;
that
.
canvasList
=
canvasList
;
console
.
log
(
that
.
canvasList
);
});
};
}
...
...
src/views/queueManagement/channelManagement/Painter.vue
View file @
9952738
This diff is collapsed.
Click to expand it.
src/views/queueManagement/channelManagement/index.vue
View file @
9952738
...
...
@@ -288,10 +288,17 @@ export default {
areaId
:
this
.
searchForm
.
areaId
,
})
.
then
((
res
)
=>
{
console
.
log
(
res
);
let
data
=
res
.
data
.
data
;
data
.
forEach
((
item
)
=>
{
item
.
name
=
this
.
areaObj
.
name
;
let
sd
=
this
.
tableData
.
filter
(
(
item1
)
=>
item1
.
deviceSerialNum
==
item
.
serialnum
);
if
(
sd
)
{
item
.
name
=
sd
.
map
((
item2
)
=>
item2
.
name
).
join
(
","
);
}
else
{
item
.
name
=
""
;
}
item
.
id
=
item
.
serialnum
;
item
.
picUrl
=
window
.
_vionConfig
.
picUrl
+
...
...
@@ -303,6 +310,7 @@ export default {
(
item
.
coordinate
=
JSON
.
parse
(
item
.
coordinate
));
});
this
.
gateList
=
data
;
console
.
log
(
this
.
gateList
);
this
.
drawJoinMap
();
});
// this.drawFloorMap();
...
...
@@ -461,21 +469,24 @@ export default {
},
delCoord
(
data
)
{
data
.
coordinate
=
""
;
this
.
$api
.
queueManagementApi
.
updateChannel
(
data
).
then
((
res
)
=>
{
let
result
=
res
.
data
;
if
(
result
.
code
==
200
)
{
this
.
$message
({
message
:
result
.
msg
,
type
:
"success"
,
});
this
.
getTableData
();
}
else
{
this
.
$message
({
message
:
result
.
msg
,
type
:
"error"
,
});
}
});
console
.
log
(
data
,
"gggggggg"
);
this
.
$api
.
queueManagementApi
.
updateChannel
({
...
data
,
deviceSerialNum
:
""
})
.
then
((
res
)
=>
{
let
result
=
res
.
data
;
if
(
result
.
code
==
200
)
{
this
.
$message
({
message
:
result
.
msg
,
type
:
"success"
,
});
this
.
getTableData
();
}
else
{
this
.
$message
({
message
:
result
.
msg
,
type
:
"error"
,
});
}
});
},
editCoord
(
group
)
{
let
{
position
,
points
,
__zr
,
cdata
,
desk
}
=
group
;
...
...
@@ -487,7 +498,8 @@ export default {
};
});
desk
.
coordinate
=
JSON
.
stringify
(
coordinate
);
let
params
=
Object
.
assign
({},
desk
);
let
params
=
Object
.
assign
({},
desk
,
{
deviceSerialNum
:
cdata
.
id
});
console
.
log
(
group
,
desk
,
"gggggg"
);
return
this
.
$api
.
queueManagementApi
.
updateChannel
(
params
);
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment