Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
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
李苏
lxyl-vue
Commits
d7186fe4
Commit
d7186fe4
authored
Apr 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库位看板调整
parent
f5507dc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
dialog.vue
src/views/ccgl/dpkb/22kwkb/dialog.vue
+2
-6
index.vue
src/views/ccgl/dpkb/22kwkb/index.vue
+6
-5
No files found.
src/views/ccgl/dpkb/22kwkb/dialog.vue
View file @
d7186fe4
<
template
>
<DefaultDialog
:appendToBody=
'false'
:app=
'app'
>
<div
slot=
"form"
class=
"min_full"
style=
"height: 60vh;"
>
<div
id=
'infoCar'
ref=
"infoCar
"
class=
"infoCar"
>
<div
ref=
"infoBox
"
class=
"infoCar"
>
</div>
<svgComponent
st
ref=
"svgComponent"
/>
...
...
@@ -32,7 +32,7 @@
},
mounted
()
{
this
.
$nextTick
(()
=>
{
var
infoBox
=
this
.
$refs
.
info
Car
;
var
infoBox
=
this
.
$refs
.
info
Box
;
console
.
log
(
this
.
$refs
.
svgComponent
)
$
(
this
.
$refs
.
svgComponent
.
$el
).
find
(
"[TAGID]"
).
attr
(
"fill"
,
'red'
).
each
((
index
,
element
)
=>
{
element
.
addEventListener
(
'mouseover'
,
function
(
event
)
{
...
...
@@ -56,10 +56,6 @@
// 隐藏信息框
infoBox
.
style
.
display
=
'none'
;
});
element
.
addEventListener
(
'click'
,
(
event
)
=>
{
// 隐藏信息框
this
.
showDialog
=
true
});
});
})
},
...
...
src/views/ccgl/dpkb/22kwkb/index.vue
View file @
d7186fe4
<
template
>
<div
id
=
'lxylkwkb01'
class=
"min_full dbAllBody "
>
<div
ref
=
'lxylkwkb01'
class=
"min_full dbAllBody "
>
<Dialog
:svgComponent=
'svgComponent'
:app=
'this'
v-if=
"showDialog"
/>
<!-- 绝对定位展示框-->
<div
id=
'infoCar'
class=
"infoCar"
>
<div
ref=
"infoBox"
class=
"infoCar"
>
</div>
<!-- 日期内容-->
<span
class=
'kbtime'
>
{{
newTime
}}
</span>
...
...
@@ -681,11 +681,11 @@
this
.
getzbt
()
$
(
'#lxylkwkb01'
).
dblclick
(()
=>
{
fullScreen
(
document
.
getElementById
(
'lxylkwkb01'
)
);
$
(
this
.
$refs
.
lxylkwkb01
).
dblclick
(()
=>
{
fullScreen
(
this
.
$refs
.
lxylkwkb01
);
})
/* 改变触摸事件*/
var
infoBox
=
document
.
getElementById
(
'infoCar'
);
var
infoBox
=
this
.
$refs
.
infoBox
$
(
this
.
$refs
.
svg
).
find
(
"[TAGID]"
).
attr
(
"fill"
,
'red'
).
each
((
index
,
element
)
=>
{
element
.
addEventListener
(
'mouseover'
,
function
(
event
)
{
...
...
@@ -716,6 +716,7 @@
if
(
hjsvg
[
$
(
element
).
attr
(
'HJ'
)]){
this
.
svgComponent
=
hjsvg
[
$
(
element
).
attr
(
'HJ'
)]
// 隐藏信息框
// this.DialogTitle= $(element).attr('TAGID')+'货架详情'
this
.
showDialog
=
true
}
else
{
this
.
$warning
(
'暂未配置货架点位'
)
...
...
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