Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
a0a18d40
Commit
a0a18d40
authored
Jan 16, 2022
by
李姝悦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_zwpt' of
http://39.99.224.27:9022/changchao/founder_vue
into dev
parents
7680cc03
aab9cbb9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
91 deletions
+122
-91
src/views/xtfkgl/AjXtljfkView.vue
+58
-42
src/views/xtfkgl/RyXtljfkView.vue
+60
-45
vue.config.js
+4
-4
No files found.
src/views/xtfkgl/AjXtljfkView.vue
View file @
a0a18d40
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
</div>
</div>
<el-tooltip
<el-tooltip
:ref=
"'ajTooltipP'+scope.row.logicId"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
placement=
"right"
placement=
"right"
...
@@ -46,26 +47,26 @@
...
@@ -46,26 +47,26 @@
v-model=
"scope.row.disabled"
v-model=
"scope.row.disabled"
v-if=
"scope.row.groups && scope.row.groups.length > 4"
>
v-if=
"scope.row.groups && scope.row.groups.length > 4"
>
<span
style=
"margin-left: 5px"
@
mouseover=
"groupItemFocus(scope.$index)"
>
...
</span>
<span
style=
"margin-left: 5px"
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
>
...
</span>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseleave=
"groupItemNoFocus()"
>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
@
mouseleave=
"hideMoreYhView()"
>
<div
v-for=
"(item,index) in scope.row.groups"
>
<div
v-for=
"(item,index) in scope.row.groups"
>
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<el-tooltip
<el-tooltip
:ref=
"'ajTooltipC'+item.id"
class=
"two-tooltip"
class=
"two-tooltip"
effect=
"dark"
effect=
"dark"
placement=
"right"
placement=
"right"
:manual=
"true"
style=
"transform: translateX(8px);"
>
v-model=
"item.disabled"
style=
"transform: translateX(10px);"
>
<div
:class=
"
{divtext:item.type === 1}"
<div
:class=
"
{divtext:item.type === 1}"
style="padding-right: 10px"
style="padding-right: 8px">
@mouseover="twItemFocus(scope.$index,index)">
{{
item
.
name
}}
{{
item
.
name
}}
</div>
</div>
<div
slot=
"content"
class=
"tooTipBtn"
<div
ref=
"kkk"
slot=
"content"
class=
"tooTipBtn"
@
mouseover
=
"twItemFocus(scope.$index,index
)"
@
mouseover
.
stop=
"moveChildView(
)"
@
mouseleave
=
"twoItemNoFocus(scope.$index,index
)"
>
@
mouseleave
.
stop=
"outChildView(
)"
>
<div
<div
v-for=
"it in item.user"
v-for=
"it in item.user"
:title=
"it.name"
:title=
"it.name"
...
@@ -192,8 +193,9 @@ export default {
...
@@ -192,8 +193,9 @@ export default {
pageSize
:
13
,
// 每页的数据条数
pageSize
:
13
,
// 每页的数据条数
total
:
0
,
// 数据总条数
total
:
0
,
// 数据总条数
totalPage
:
0
,
// 总共页数
totalPage
:
0
,
// 总共页数
curOneGradeIndex
:
-
1
,
curMoreYhViewIndex
:
-
1
,
curTwoGradeIndex
:
-
1
,
isInParentView
:
false
,
isInChildView
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -211,42 +213,56 @@ export default {
...
@@ -211,42 +213,56 @@ export default {
// this.initTestData()
// this.initTestData()
// this.getList()
// this.getList()
},
},
mounted
()
{
let
_that
=
this
document
.
addEventListener
(
'click'
,
function
(
e
)
{
_that
.
hideMoreYhView
()
})
},
methods
:
{
methods
:
{
twoItemNoFocus
(
gindex
,
cindex
)
{
moveChildView
()
{
this
.
tableDate
[
gindex
].
groups
[
cindex
].
disabled
=
false
this
.
isInChildView
=
true
this
.
tableDate
[
gindex
].
disabled
=
false
this
.
curOneGradeIndex
=
-
1
},
},
twItemFocus
(
gindex
,
cindex
)
{
outChildView
()
{
if
(
cindex
>=
0
&&
gindex
>=
0
)
{
this
.
isInChildView
=
false
if
(
this
.
curTwoGradeIndex
!==
cindex
&&
this
.
curTwoGradeIndex
>=
0
)
{
this
.
hideMoreYhView
()
this
.
tableDate
[
gindex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
}
this
.
tableDate
[
gindex
].
groups
[
cindex
].
disabled
=
true
this
.
tableDate
[
gindex
].
disabled
=
true
this
.
curOneGradeIndex
=
gindex
this
.
curTwoGradeIndex
=
cindex
}
},
},
groupItemNoFocus
()
{
showMoreYhView
(
index
)
{
if
(
this
.
curOneGradeIndex
>=
0
)
{
this
.
isInParentView
=
true
this
.
tableDate
[
this
.
curOneGradeIndex
].
disabled
=
false
logger
.
info
(
'tooltipParentEnter'
,
'tooltipParentEnter-'
+
index
)
}
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
if
(
this
.
curOneGradeIndex
>=
0
&&
this
.
curTwoGradeIndex
>=
0
)
{
this
.
tableDate
[
this
.
curMoreYhViewIndex
].
disabled
=
false
this
.
tableDate
[
this
.
curOneGradeIndex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
}
}
this
.
curOneGradeIndex
=
-
1
this
.
tableDate
[
index
].
disabled
=
true
this
.
cur
TwoGradeIndex
=
-
1
this
.
cur
MoreYhViewIndex
=
index
},
},
groupItemFocus
(
index
)
{
hideMoreYhView
(
isDelay
=
true
)
{
if
(
this
.
curOneGradeIndex
!==
index
&&
this
.
curOneGradeIndex
>=
0
)
{
let
_that
=
this
this
.
tableDate
[
this
.
curOneGradeIndex
].
disabled
=
false
}
logger
.
info
(
'hideMoreYhView-visible'
,
this
.
$refs
.
kkk
)
if
(
this
.
curOneGradeIndex
>=
0
&&
this
.
curTwoGradeIndex
>=
0
)
{
logger
.
info
(
'tooltipParentOut'
,
'tooltipParentOut'
)
this
.
tableDate
[
this
.
curOneGradeIndex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
if
(
isDelay
)
{
_that
.
isInParentView
=
false
setTimeout
(
function
()
{
if
(
_that
.
isInChildView
||
_that
.
isInParentView
)
{
return
}
if
(
_that
.
curMoreYhViewIndex
>=
0
)
{
_that
.
tableDate
[
_that
.
curMoreYhViewIndex
].
disabled
=
false
}
_that
.
curMoreYhViewIndex
=
-
1
_that
.
isInParentView
=
false
_that
.
isInChildView
=
false
},
200
)
}
else
{
if
(
_that
.
curMoreYhViewIndex
>=
0
)
{
_that
.
tableDate
[
_that
.
curMoreYhViewIndex
].
disabled
=
false
}
_that
.
curMoreYhViewIndex
=
-
1
_that
.
isInParentView
=
false
_that
.
isInChildView
=
false
}
}
this
.
tableDate
[
index
].
disabled
=
true
this
.
curOneGradeIndex
=
index
},
},
getRowKeys
(
row
)
{
getRowKeys
(
row
)
{
return
row
.
logicId
return
row
.
logicId
...
...
src/views/xtfkgl/RyXtljfkView.vue
View file @
a0a18d40
...
@@ -38,35 +38,37 @@
...
@@ -38,35 +38,37 @@
</div>
</div>
</div>
</div>
<el-tooltip
<el-tooltip
:ref=
"'ryTooltipP'+scope.row.logicId"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
placement=
"right"
placement=
"right"
:manual=
"true"
:manual=
"true"
:open-delay=
"300"
v-model=
"scope.row.disabled"
v-model=
"scope.row.disabled"
:open-delay=
"300"
v-if=
"scope.row.groups && scope.row.groups.length > 4"
>
v-if=
"scope.row.groups && scope.row.groups.length > 4"
>
<span
style=
"margin-left: 5px"
@
mouseover=
"groupItemFocus(scope.$index)"
>
...
</span>
<span
style=
"margin-left: 5px"
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
>
...
</span>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseleave=
"groupItemNoFocus()"
>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
@
mouseleave=
"hideMoreYhView()"
>
<div
v-for=
"(item,index) in scope.row.groups"
>
<div
v-for=
"(item,index) in scope.row.groups"
>
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<el-tooltip
<el-tooltip
:ref=
"'ryTooltipC'+item.id"
class=
"two-tooltip"
class=
"two-tooltip"
effect=
"dark"
effect=
"dark"
placement=
"right"
placement=
"right"
:manual=
"true"
style=
"transform: translateX(8px);"
>
v-model=
"item.disabled"
style=
"transform: translateX(10px);"
>
<div
:class=
"
{divtext:item.type === 1}"
<div
:class=
"
{divtext:item.type === 1}"
style="padding-right: 10px"
style="padding-right: 8px;">
@mouseover="twItemFocus(scope.$index,index)">
{{
item
.
name
}}
{{
item
.
name
}}
</div>
</div>
<div
slot=
"content"
class=
"tooTipBtn"
<div
ref=
"kkk"
slot=
"content"
class=
"tooTipBtn"
@
mouseover
=
"twItemFocus(scope.$index,index
)"
@
mouseover
.
stop=
"moveChildView(
)"
@
mouseleave
=
"twoItemNoFocus(scope.$index,index
)"
>
@
mouseleave
.
stop=
"outChildView(
)"
>
<div
<div
v-for=
"it in item.user"
v-for=
"it in item.user"
:title=
"it.name"
:title=
"it.name"
...
@@ -83,7 +85,6 @@
...
@@ -83,7 +85,6 @@
</div>
</div>
</el-tooltip>
</el-tooltip>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -157,7 +158,7 @@
...
@@ -157,7 +158,7 @@
</el-table>
</el-table>
</div>
</div>
<!-- <div class="line-botttom"></div>-->
<!-- <div class="line-botttom"></div>-->
<!-- 分页-->
<!-- 分页-->
<div
class=
"footer"
>
<div
class=
"footer"
>
<span
class=
"count"
>
共
{{ total }}
条记录 第{{ currPage }}/{{totalPage}}页
</span>
<span
class=
"count"
>
共
{{ total }}
条记录 第{{ currPage }}/{{totalPage}}页
</span>
...
@@ -197,8 +198,9 @@ export default {
...
@@ -197,8 +198,9 @@ export default {
pageSize
:
13
,
// 每页的数据条数
pageSize
:
13
,
// 每页的数据条数
total
:
0
,
// 数据总条数
total
:
0
,
// 数据总条数
totalPage
:
0
,
// 总共页数
totalPage
:
0
,
// 总共页数
curOneGradeIndex
:
-
1
,
curMoreYhViewIndex
:
-
1
,
curTwoGradeIndex
:
-
1
,
isInParentView
:
false
,
isInChildView
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -215,42 +217,55 @@ export default {
...
@@ -215,42 +217,55 @@ export default {
// this.initTestData()
// this.initTestData()
this
.
getList
()
this
.
getList
()
},
},
mounted
()
{
let
_that
=
this
document
.
addEventListener
(
'click'
,
function
(
e
)
{
_that
.
hideMoreYhView
(
false
)
})
},
methods
:
{
methods
:
{
twoItemNoFocus
(
gindex
,
cindex
)
{
moveChildView
()
{
this
.
tableDate
[
gindex
].
groups
[
cindex
].
disabled
=
false
this
.
isInChildView
=
true
this
.
tableDate
[
gindex
].
disabled
=
false
this
.
curOneGradeIndex
=
-
1
},
},
twItemFocus
(
gindex
,
cindex
)
{
outChildView
()
{
if
(
cindex
>=
0
&&
gindex
>=
0
)
{
this
.
isInChildView
=
false
if
(
this
.
curTwoGradeIndex
!==
cindex
&&
this
.
curTwoGradeIndex
>=
0
)
{
this
.
hideMoreYhView
()
this
.
tableDate
[
gindex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
}
this
.
tableDate
[
gindex
].
groups
[
cindex
].
disabled
=
true
this
.
tableDate
[
gindex
].
disabled
=
true
this
.
curOneGradeIndex
=
gindex
this
.
curTwoGradeIndex
=
cindex
}
},
},
groupItemNoFocus
()
{
showMoreYhView
(
index
)
{
if
(
this
.
curOneGradeIndex
>=
0
)
{
this
.
isInParentView
=
true
this
.
tableDate
[
this
.
curOneGradeIndex
].
disabled
=
false
logger
.
info
(
'tooltipParentEnter'
,
'tooltipParentEnter-'
+
index
)
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
this
.
tableDate
[
this
.
curMoreYhViewIndex
].
disabled
=
false
}
}
if
(
this
.
curOneGradeIndex
>=
0
&&
this
.
curTwoGradeIndex
>=
0
)
{
this
.
tableDate
[
index
].
disabled
=
true
this
.
tableDate
[
this
.
curOneGradeIndex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
this
.
curMoreYhViewIndex
=
index
}
logger
.
info
(
'showMoreYhView-tableDate'
,
this
.
tableDate
)
this
.
curOneGradeIndex
=
-
1
this
.
curTwoGradeIndex
=
-
1
},
},
groupItemFocus
(
index
)
{
hideMoreYhView
(
isDelay
=
true
)
{
if
(
this
.
curOneGradeIndex
!==
index
&&
this
.
curOneGradeIndex
>=
0
)
{
let
_that
=
this
this
.
tableDate
[
this
.
curOneGradeIndex
].
disabled
=
false
logger
.
info
(
'tooltipParentOut'
,
'tooltipParentOut'
)
}
if
(
isDelay
)
{
if
(
this
.
curOneGradeIndex
>=
0
&&
this
.
curTwoGradeIndex
>=
0
)
{
this
.
isInParentView
=
false
this
.
tableDate
[
this
.
curOneGradeIndex
].
groups
[
this
.
curTwoGradeIndex
].
disabled
=
false
setTimeout
(
function
()
{
if
(
_that
.
isInChildView
||
_that
.
isInParentView
)
{
return
}
if
(
_that
.
curMoreYhViewIndex
>=
0
)
{
_that
.
tableDate
[
_that
.
curMoreYhViewIndex
].
disabled
=
false
}
this
.
curMoreYhViewIndex
=
-
1
_that
.
isInParentView
=
false
_that
.
isInChildView
=
false
},
200
)
}
else
{
if
(
this
.
curMoreYhViewIndex
>=
0
)
{
this
.
tableDate
[
this
.
curMoreYhViewIndex
].
disabled
=
false
}
this
.
curMoreYhViewIndex
=
-
1
this
.
isInParentView
=
false
this
.
isInChildView
=
false
}
}
this
.
tableDate
[
index
].
disabled
=
true
this
.
curOneGradeIndex
=
index
},
},
getRowKeys
(
row
)
{
getRowKeys
(
row
)
{
return
row
.
logicId
return
row
.
logicId
...
...
vue.config.js
View file @
a0a18d40
...
@@ -113,12 +113,12 @@ module.exports = {
...
@@ -113,12 +113,12 @@ module.exports = {
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.116:8099", // 湖南-王
target
:
"http://192.168.128.117:8099"
,
// 湖南-张呈光
//
target: "http://192.168.128.117:8099", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target: "http://www.meetfood.cn:2390", // 湖南-线上
//
target: "http://zwpt.xzclub.top:9333/",
target
:
"http://zwpt.xzclub.top:9333/"
,
// target: "http://192.168.128.119:8099", // 江
// target: "http://192.168.128.119:8099", // 江
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
@@ -129,9 +129,9 @@ module.exports = {
...
@@ -129,9 +129,9 @@ module.exports = {
"/security"
:
{
"/security"
:
{
// target: "http://192.168.128.106:8765", // 湖南-王
// target: "http://192.168.128.106:8765", // 湖南-王
target
:
"http://192.168.128.117:8765/"
,
// 张 认定
//
target: "http://192.168.128.117:8765/", // 张 认定
// target: "http://www.meetfood.cn:2390", // 湖南-王
// target: "http://www.meetfood.cn:2390", // 湖南-王
//
target: "http://zwpt.xzclub.top:9333/",
target
:
"http://zwpt.xzclub.top:9333/"
,
// target: "http://192.168.128.109:8765",
// target: "http://192.168.128.109:8765",
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
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