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
39d14d43
Commit
39d14d43
authored
Feb 09, 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_zwpt
parents
a8a74266
69da340d
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
215 additions
and
52 deletions
+215
-52
.env.development
+2
-0
.env.production
+2
-0
src/views/tjbb/tjbb.js
+10
-9
src/views/tjbb/tjbb.vue
+108
-5
src/views/xtfkgl/AjXtljfkView.vue
+66
-26
src/views/xtfkgl/RyXtljfkView.vue
+20
-5
src/views/xtfkgl/XtfkglMain.vue
+7
-7
No files found.
.env.development
View file @
39d14d43
VUE_APP_AUTO_WRITE = dev
VUE_APP_AUTO_WRITE = dev
VUE_APP_BB_IP = http://192.168.128.101:8075/
\ No newline at end of file
.env.production
View file @
39d14d43
VUE_APP_AUTO_WRITE = pro
VUE_APP_AUTO_WRITE = pro
VUE_APP_BB_IP = http://192.168.128.101:8075/
\ No newline at end of file
src/views/tjbb/tjbb.js
View file @
39d14d43
...
@@ -23,6 +23,7 @@ const cjxxmb = [
...
@@ -23,6 +23,7 @@ const cjxxmb = [
{
{
label
:
"采集方式:"
,
label
:
"采集方式:"
,
type
:
"select"
,
type
:
"select"
,
id
:
"code"
,
selectList
:
[
selectList
:
[
{
{
name
:
"捺印指纹"
,
name
:
"捺印指纹"
,
...
@@ -33,21 +34,21 @@ const cjxxmb = [
...
@@ -33,21 +34,21 @@ const cjxxmb = [
value
:
"2"
,
value
:
"2"
,
},
},
],
],
id
:
"code"
,
}
}
]
]
const
ajxxmb
=
[
const
ajxxmb
=
[
{
{
label
:
"提取时间:"
,
label
:
"提取时间:"
,
type
:
"dateValue"
,
type
:
"dateValue"
,
fomat
:
"yyyy-MM"
,
fomat
:
"yyyy-MM
-DD
"
,
id
:
"tqsj"
,
id
:
"tqsj"
,
placeholder
:
"选择日期"
,
placeholder
:
"选择日期"
,
},
},
{
{
label
:
"入库时间:"
,
label
:
"入库时间:"
,
type
:
"dateValue"
,
type
:
"dateValue"
,
fomat
:
"yyyy-MM"
,
fomat
:
"yyyy-MM
-DD
"
,
id
:
"rksj"
,
id
:
"rksj"
,
placeholder
:
"选择日期"
,
placeholder
:
"选择日期"
,
},
},
...
@@ -57,12 +58,12 @@ const ajxxmb = [
...
@@ -57,12 +58,12 @@ const ajxxmb = [
id
:
"unitcode"
,
id
:
"unitcode"
,
placeholder
:
"选择日期"
,
placeholder
:
"选择日期"
,
},
},
{
//
{
label
:
"采集方式:"
,
//
label: "采集方式:",
type
:
"input"
,
//
type: "input",
id
:
"cjfs"
,
//
id: "cjfs",
placeholder
:
"请输入采集方式"
,
//
placeholder: "请输入采集方式",
},
//
},
{
{
label
:
"案事件编号:"
,
label
:
"案事件编号:"
,
type
:
"input"
,
type
:
"input"
,
...
...
src/views/tjbb/tjbb.vue
View file @
39d14d43
...
@@ -88,8 +88,11 @@
...
@@ -88,8 +88,11 @@
<div
class=
"label"
>
<div
class=
"label"
>
<span>
采集信息统计模版
</span>
<span>
采集信息统计模版
</span>
</div>
</div>
<div
class=
"btnBox"
>
<div
<div>
可视化切换
</div>
class=
"btnBox"
v-if=
"tpl==1"
>
<div
@
click=
'ksh'
>
可视化切换
</div>
<div>
打印
</div>
<div>
打印
</div>
<div>
导出
</div>
<div>
导出
</div>
</div>
</div>
...
@@ -117,6 +120,7 @@ export default {
...
@@ -117,6 +120,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
status
:
1
,
// 可视化切换 1或2
props
:
{
props
:
{
value
:
"code"
,
value
:
"code"
,
label
:
"key"
,
label
:
"key"
,
...
@@ -125,7 +129,7 @@ export default {
...
@@ -125,7 +129,7 @@ export default {
emitPath
:
false
,
emitPath
:
false
,
},
},
queryParams
:
{
queryParams
:
{
sj
:
""
,
sj
:
''
,
unitcode
:
""
,
unitcode
:
""
,
type
:
[],
type
:
[],
},
},
...
@@ -148,7 +152,7 @@ export default {
...
@@ -148,7 +152,7 @@ export default {
formTemplate
:
cjxxmb
,
formTemplate
:
cjxxmb
,
tpl
:
"1"
,
tpl
:
"1"
,
fr_cpt_url
:
fr_cpt_url
:
"http://192.168.128.106:8075/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report"
,
`
${
process
.
env
.
VUE_APP_BB_IP
}
/webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=1&unitcode=%27540000000000%27&sj=%272022-01%27#/report`
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -162,13 +166,112 @@ export default {
...
@@ -162,13 +166,112 @@ export default {
this
.
formTemplate
=
cjxxmb
;
this
.
formTemplate
=
cjxxmb
;
}
else
if
(
val
==
2
)
{
}
else
if
(
val
==
2
)
{
this
.
formTemplate
=
ajxxmb
;
this
.
formTemplate
=
ajxxmb
;
this
.
queryParams
=
{
tqsj
:
""
,
rksj
:
""
,
unitcode
:
''
,
// cjfs: '',
asjbh
:
''
,
kybh
:
''
,
}
}
else
if
(
val
==
3
)
{
}
else
if
(
val
==
3
)
{
this
.
formTemplate
=
dsbzmb
;
this
.
formTemplate
=
dsbzmb
;
this
.
queryParams
=
{
qzsj
:
""
,
cxlx
:
""
,
ytmh
:
''
,
mbtmh
:
''
,
rddw
:
''
,
}
}
}
console
.
log
(
val
);
console
.
log
(
val
);
this
.
handleQuery
()
console
.
log
(
this
.
queryParams
,
'queryParamsqueryParamsqueryParams'
)
},
},
handleQuery
()
{
handleQuery
()
{
console
.
log
(
this
.
params
,
this
.
checked
);
if
(
this
.
tpl
==
1
)
{
// 采集信息统计模板
let
url1
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
webroot/decision/view/report?viewlet=count%252Fcj.cpt&status=
${
this
.
status
}
`
if
(
this
.
queryParams
.
unitcode
)
{
url1
+=
`&unitcode=%27
${
this
.
queryParams
.
unitcode
}
%27`
}
else
{
url1
+=
`&unitcode=%27540000000000%27`
// this.queryParams.unitcode = 540000000000
}
if
(
this
.
queryParams
.
sj
)
{
url1
+=
`&sj=%27
${
this
.
queryParams
.
sj
}
%27`
}
else
{
var
now
=
new
Date
();
var
year
=
now
.
getFullYear
();
//得到年份
var
month
=
now
.
getMonth
();
//得到月份
var
defaultDate
=
`
${
year
}
-
${
month
}
`
;
url1
+=
`&sj=%27
${
defaultDate
}
%27`
this
.
queryParams
.
sj
=
defaultDate
}
url1
+=
`#/report`
this
.
fr_cpt_url
=
url1
;
}
else
if
(
this
.
tpl
==
2
)
{
// 案件信息统计模板
let
url2
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
webroot/decision/view/report?viewlet=aj.cpt`
console
.
log
(
this
.
queryParams
,
'this.queryParamsthis.queryParamsthis.queryParams'
)
if
(
this
.
queryParams
.
asjbh
)
{
url2
+=
`&asjbh=%27
${
this
.
queryParams
.
asjbh
}
%27`
}
if
(
this
.
queryParams
.
tqsj
)
{
url2
+=
`&tqkssj=%27
${
this
.
queryParams
.
tqsj
[
0
]}
%27&tqjssj=%27
${
this
.
queryParams
.
tqsj
[
1
]}
%27`
}
if
(
this
.
queryParams
.
rksj
)
{
url2
+=
`&rkkssj=%27
${
this
.
queryParams
.
rksj
[
0
]}
%27&rkjssj=%27
${
this
.
queryParams
.
rksj
[
1
]}
%27`
}
if
(
this
.
queryParams
.
unitcode
)
{
url2
+=
`&unitcode=%27
${
this
.
queryParams
.
unitcode
}
%27`
}
if
(
this
.
queryParams
.
kybh
)
{
url2
+=
`&xckybh=%27
${
this
.
queryParams
.
kybh
}
%27`
}
this
.
fr_cpt_url
=
url2
;
}
else
if
(
this
.
tpl
==
3
)
{
// 城市比中明细复核统计
let
url3
=
`
${
process
.
env
.
VUE_APP_BB_IP
}
webroot/decision/view/report?viewlet=lt.cpt&`
// http://localhost:8075/webroot/decision/view/report?viewlet=lt.cpt&srcbarcode=%27%27&destbarcode=%27%27#/report&op=read
if
(
this
.
queryParams
.
cxlx
)
{
url3
+=
`&querytype=%27
${
this
.
queryParams
.
cxlx
}
%27`
}
if
(
this
.
queryParams
.
rddw
)
{
url3
+=
`&unitcode=%27
${
this
.
queryParams
.
rddw
}
%27`
}
if
(
this
.
queryParams
.
qzsj
)
{
url3
+=
`&startTime=%27
${
this
.
queryParams
.
qzsj
[
0
]}
%27&endTime=%27
${
this
.
queryParams
.
qzsj
[
1
]}
%27`
}
if
(
this
.
queryParams
.
ytmh
)
{
url3
+=
`&srcbarcode=%27
${
this
.
queryParams
.
ytmh
}
%27`
}
if
(
this
.
queryParams
.
mbtmh
)
{
url3
+=
`&destbarcode=%27
${
this
.
queryParams
.
mbtmh
}
%27`
}
url3
+=
`#/report&op=read`
this
.
fr_cpt_url
=
url3
;
}
console
.
log
(
this
.
queryParams
,
'this.queryParams'
)
console
.
log
(
this
.
fr_cpt_url
,
' this.fr_cpt_url'
)
},
ksh
()
{
this
.
status
==
1
?
this
.
status
=
2
:
this
.
status
=
1
this
.
handleQuery
()
},
},
},
},
computed
:
{
computed
:
{
...
...
src/views/xtfkgl/AjXtljfkView.vue
View file @
39d14d43
...
@@ -48,7 +48,8 @@
...
@@ -48,7 +48,8 @@
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"
<span
style=
"margin-left: 5px"
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
>
...
</span>
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
@
mouseout
.
stop=
"showMoreYhView(scope.$index,true)"
>
...
</span>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
@
mouseleave=
"hideMoreYhView()"
>
@
mouseleave=
"hideMoreYhView()"
>
...
@@ -218,6 +219,7 @@ export default {
...
@@ -218,6 +219,7 @@ export default {
document
.
addEventListener
(
'click'
,
function
(
e
)
{
document
.
addEventListener
(
'click'
,
function
(
e
)
{
_that
.
hideMoreYhView
()
_that
.
hideMoreYhView
()
})
})
this
.
getList
()
},
},
methods
:
{
methods
:
{
moveChildView
()
{
moveChildView
()
{
...
@@ -227,13 +229,28 @@ export default {
...
@@ -227,13 +229,28 @@ export default {
this
.
isInChildView
=
false
this
.
isInChildView
=
false
this
.
hideMoreYhView
()
this
.
hideMoreYhView
()
},
},
showMoreYhView
(
index
)
{
showMoreYhView
(
index
,
openTimeOut
=
false
)
{
var
_that
=
this
this
.
isInParentView
=
true
this
.
isInParentView
=
true
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
this
.
tableDate
[
this
.
curMoreYhViewIndex
].
disabled
=
false
this
.
tableDate
[
this
.
curMoreYhViewIndex
].
disabled
=
false
}
}
this
.
tableDate
[
index
].
disabled
=
true
this
.
tableDate
[
index
].
disabled
=
true
this
.
curMoreYhViewIndex
=
index
this
.
curMoreYhViewIndex
=
index
if
(
openTimeOut
)
{
this
.
isInParentView
=
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
)
}
},
},
hideMoreYhView
(
isDelay
=
true
)
{
hideMoreYhView
(
isDelay
=
true
)
{
let
_that
=
this
let
_that
=
this
...
@@ -367,12 +384,13 @@ export default {
...
@@ -367,12 +384,13 @@ export default {
.el-table__row
>
td
{
.el-table__row
>
td
{
border
:
none
;
border
:
none
;
}
}
//
去除
table
表格最底部边框
//
去除
table
表格最底部边框
.el-table
::before
{
.el-table
::before
{
height
:
0px
;
height
:
0px
;
}
}
/
deep
/
.el-table
.el-table__header-wrapper
tr
th
{
/
deep
/
.el-table
.el-table__header-wrapper
tr
th
{
background-color
:
#ecf1f7
!important
;
background-color
:
#ecf1f7
!important
;
font-size
:
14px
!important
;
font-size
:
14px
!important
;
font-family
:
HarmonyOS_Sans_SC_Medium
!important
;
font-family
:
HarmonyOS_Sans_SC_Medium
!important
;
...
@@ -380,42 +398,49 @@ export default {
...
@@ -380,42 +398,49 @@ export default {
height
:
48px
!important
;
height
:
48px
!important
;
padding
:
0
!important
;
padding
:
0
!important
;
}
}
/
deep
/
.el-table
.el-table__body
tr
.current-row
>
td
{
/
deep
/
.el-table
.el-table__body
tr
.current-row
>
td
{
background-color
:
#f2f7fe
!important
;
background-color
:
#f2f7fe
!important
;
}
}
/
deep
/
.el-table
.el-table__body
tr
:hover
>
td
{
/
deep
/
.el-table
.el-table__body
tr
:hover
>
td
{
background-color
:
#f2f7fe
!important
;
background-color
:
#f2f7fe
!important
;
}
}
/
deep
/
.el-table__row
{
/
deep
/
.el-table__row
{
height
:
48px
!important
;
height
:
48px
!important
;
}
}
/
deep
/
.el-table__row--level-1
{
/
deep
/
.el-table__row--level-1
{
.el-table__cell
{
.el-table__cell
{
background-color
:
#f5f6f7
!important
;
background-color
:
#f5f6f7
!important
;
}
}
}
}
/
deep
/
.el-table
th
>
.cell
{
/
deep
/
.el-table
th
>
.cell
{
font-family
:
HarmonyOS_Sans_SC_Medium
;
font-family
:
HarmonyOS_Sans_SC_Medium
;
}
}
/
deep
/
.el-table
.el-table__cell
{
/
deep
/
.el-table
.el-table__cell
{
padding
:
0
!important
;
padding
:
0
!important
;
}
}
/
deep
/
.el-table__body
{
/
deep
/
.el-table__body
{
width
:
100%
!important
;
width
:
100%
!important
;
}
}
//
el-table
左侧固定
样式统一
//
el-table
左侧固定
样式统一
/
deep
/
.el-table__fixed
{
/
deep
/
.el-table__fixed
{
height
:
100%
!important
;
height
:
100%
!important
;
&::before
{
&::before
{
height
:
0
;
height
:
0
;
}
}
}
}
/
deep
/
.el-table__fixed-header-wrapper
{
/
deep
/
.el-table__fixed-header-wrapper
{
height
:
48px
!important
;
height
:
48px
!important
;
.el-table__header
{
.el-table__header
{
width
:
100%
!important
;
width
:
100%
!important
;
height
:
48px
!important
;
height
:
48px
!important
;
...
@@ -426,31 +451,37 @@ export default {
...
@@ -426,31 +451,37 @@ export default {
height
:
3rem
!important
;
height
:
3rem
!important
;
padding
:
0
!important
;
padding
:
0
!important
;
}
}
thead
{
thead
{
font-size
:
0.875rem
!important
;
font-size
:
0.875rem
!important
;
font-family
:
HarmonyOS_Sans_SC_Medium
!important
;
font-family
:
HarmonyOS_Sans_SC_Medium
!important
;
color
:
#282f3c
!important
;
color
:
#282f3c
!important
;
.cell
{
.cell
{
font-weight
:
normal
!important
;
font-weight
:
normal
!important
;
}
}
}
}
th
{
th
{
border
:
none
!important
;
border
:
none
!important
;
background-color
:
#ecf1f7
!important
;
background-color
:
#ecf1f7
!important
;
}
}
}
}
/
deep
/
.hover-row
{
/
deep
/
.hover-row
{
.el-table__cell
{
.el-table__cell
{
background-color
:
#f2f7fe
!important
;
background-color
:
#f2f7fe
!important
;
}
}
}
}
/
deep
/
.el-table__fixed-right
{
/
deep
/
.el-table__fixed-right
{
height
:
100%
!important
;
height
:
100%
!important
;
&::before
{
&::before
{
height
:
0
;
height
:
0
;
}
}
}
}
//
批量操作
//
批量操作
.el-tag
{
.el-tag
{
color
:
#055fe7
!important
;
color
:
#055fe7
!important
;
...
@@ -464,14 +495,17 @@ export default {
...
@@ -464,14 +495,17 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
/
deep
/
.el-link--inner
{
/
deep
/
.el-link--inner
{
color
:
rgb
(
5
,
95
,
231
);
color
:
rgb
(
5
,
95
,
231
);
}
}
.icon-tanhao1
{
.icon-tanhao1
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
//
表格高度
--
展示下面的
border
//
表格高度
--
展示下面的
border
.split-line
{
.split-line
{
height
:
650px
;
height
:
650px
;
...
@@ -479,12 +513,14 @@ export default {
...
@@ -479,12 +513,14 @@ export default {
}
}
//
复选框
//
复选框
/
deep
/
.el-checkbox__inner
{
/
deep
/
.el-checkbox__inner
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
/
deep
/
.el-checkbox__input
{
/
deep
/
.el-checkbox__input
{
line-height
:
16px
;
line-height
:
16px
;
}
}
.search
{
.search
{
/deep/
.el-input__inner
{
/deep/
.el-input__inner
{
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -492,40 +528,44 @@ export default {
...
@@ -492,40 +528,44 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
none
;
border
:
none
;
}
}
//
输入框选中样式
//
输入框选中样式
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input__inner
:focus
{
/
deep
/
.el-input__inner
:focus
{
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
border-color
:
none
;
border-color
:
none
;
color
:
#055fe7
;
color
:
#055fe7
;
}
}
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input__inner
:hover
{
/
deep
/
.el-input__inner
:hover
{
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
border-color
:
none
;
border-color
:
none
;
}
}
//
:focus-within
能非常方便处理获取焦点状态。当元素本身或其后代元素获得焦点时,
:focus-within
伪类的元素就会有效著作权归作者所有。
//
:focus-within
能非常方便处理获取焦点状态。当元素本身或其后代元素获得焦点时,
:focus-within
伪类的元素就会有效著作权归作者所有。
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input__inner
:focus-within
{
/
deep
/
.el-input__inner
:focus-within
{
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
border-color
:
none
;
border-color
:
none
;
color
:
#055fe7
;
color
:
#055fe7
;
.el-range-input
{
.el-range-input
{
color
:
#055fe7
;
color
:
#055fe7
;
}
}
}
}
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input.is-active
.el-input__inner
,
/
deep
/
.el-input__inner
:hover
{
/
deep
/
.el-input__inner
:hover
{
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
box-shadow
:
0px
6px
10px
2px
rgba
(
0
,
21
,
51
,
0.08
);
border-color
:
none
;
border-color
:
none
;
}
}
}
}
/
deep
/
.el-input__inner
:hover
{
/
deep
/
.el-input__inner
:hover
{
cursor
:
text
;
cursor
:
text
;
}
}
@import
"scss/xtfkgl_main"
;
@import
"scss/xtfkgl_main"
;
</
style
>
</
style
>
src/views/xtfkgl/RyXtljfkView.vue
View file @
39d14d43
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
</div>
</div>
</div>
</div>
<el-tooltip
<el-tooltip
:ref=
"'ryTooltipP'+scope.row.logicId"
:ref=
"'ryTooltipP'+scope.row.logicId"
class=
"item"
class=
"item"
...
@@ -50,7 +49,8 @@
...
@@ -50,7 +49,8 @@
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"
<span
style=
"margin-left: 5px"
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
>
...
</span>
@
mouseenter
.
stop=
"showMoreYhView(scope.$index)"
@
mouseout
.
stop=
"showMoreYhView(scope.$index,true)"
>
...
</span>
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
<div
slot=
"content"
class=
"tooTipBtn"
@
mouseover=
"showMoreYhView(scope.$index)"
@
mouseleave=
"hideMoreYhView()"
>
@
mouseleave=
"hideMoreYhView()"
>
...
@@ -215,13 +215,14 @@ export default {
...
@@ -215,13 +215,14 @@ export default {
this
.
width6
=
(
this
.
width6
*
w2
)
/
w1
this
.
width6
=
(
this
.
width6
*
w2
)
/
w1
// this.initTestData()
// this.initTestData()
this
.
getList
()
//
this.getList()
},
},
mounted
()
{
mounted
()
{
let
_that
=
this
let
_that
=
this
document
.
addEventListener
(
'click'
,
function
(
e
)
{
document
.
addEventListener
(
'click'
,
function
(
e
)
{
_that
.
hideMoreYhView
(
false
)
_that
.
hideMoreYhView
(
false
)
})
})
this
.
getList
()
},
},
methods
:
{
methods
:
{
moveChildView
()
{
moveChildView
()
{
...
@@ -231,7 +232,8 @@ export default {
...
@@ -231,7 +232,8 @@ export default {
this
.
isInChildView
=
false
this
.
isInChildView
=
false
this
.
hideMoreYhView
()
this
.
hideMoreYhView
()
},
},
showMoreYhView
(
index
)
{
showMoreYhView
(
index
,
openTimeOut
=
false
)
{
var
_that
=
this
this
.
isInParentView
=
true
this
.
isInParentView
=
true
// logger.info('tooltipParentEnter', 'tooltipParentEnter-' + index)
// logger.info('tooltipParentEnter', 'tooltipParentEnter-' + index)
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
if
(
this
.
curMoreYhViewIndex
!==
index
&&
this
.
curMoreYhViewIndex
>=
0
)
{
...
@@ -239,7 +241,20 @@ export default {
...
@@ -239,7 +241,20 @@ export default {
}
}
this
.
tableDate
[
index
].
disabled
=
true
this
.
tableDate
[
index
].
disabled
=
true
this
.
curMoreYhViewIndex
=
index
this
.
curMoreYhViewIndex
=
index
// logger.info('showMoreYhView-tableDate', this.tableDate)
if
(
openTimeOut
)
{
this
.
isInParentView
=
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
)
}
},
},
hideMoreYhView
(
isDelay
=
true
)
{
hideMoreYhView
(
isDelay
=
true
)
{
let
_that
=
this
let
_that
=
this
...
...
src/views/xtfkgl/XtfkglMain.vue
View file @
39d14d43
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
<!-- 人员逻辑库 -->
<!-- 人员逻辑库 -->
<ry-xtljfk-view
<ry-xtljfk-view
ref=
"ryXtfk"
ref=
"ryXtfk"
v-
show
=
"isPerson"
v-
if
=
"isPerson"
@
openBj=
"openBj"
@
openBj=
"openBj"
@
openGzl=
"openGzl"
@
openGzl=
"openGzl"
@
openSjgl=
"openSjgl"
/>
@
openSjgl=
"openSjgl"
/>
<!-- 案件逻辑库 -->
<!-- 案件逻辑库 -->
<aj-xtljfk-view
<aj-xtljfk-view
ref=
"ajXtfk"
ref=
"ajXtfk"
v-
show
=
"!isPerson"
v-
if
=
"!isPerson"
@
openBj=
"openBj"
@
openBj=
"openBj"
@
openGzl=
"openGzl"
@
openGzl=
"openGzl"
@
openSjgl=
"openSjgl"
/>
@
openSjgl=
"openSjgl"
/>
...
@@ -85,11 +85,11 @@ export default {
...
@@ -85,11 +85,11 @@ export default {
methods
:
{
methods
:
{
toggleView
(
state
)
{
// true: 显示人员逻辑分库 false :显示案件逻辑分库
toggleView
(
state
)
{
// true: 显示人员逻辑分库 false :显示案件逻辑分库
this
.
isPerson
=
state
this
.
isPerson
=
state
if
(
this
.
isPerson
)
{
//
if (this.isPerson) {
this
.
$refs
.
ryXtfk
.
loadData
()
//
this.$refs.ryXtfk.loadData()
}
else
{
//
} else {
this
.
$refs
.
ajXtfk
.
loadData
()
//
this.$refs.ajXtfk.loadData()
}
//
}
},
},
addFk
()
{
// 新增分库
addFk
()
{
// 新增分库
this
.
isAddFk
=
true
this
.
isAddFk
=
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