Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
zhouqian
vue-gjjs
Commits
08aa5da6
Commit
08aa5da6
authored
Jan 12, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.110:11080/fukai/vue-gjjs
parents
360936ad
b663b629
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
133 additions
and
101 deletions
+133
-101
IStreamTable.vue
src/components/IStreamTable.vue
+18
-14
Selp.vue
src/views/Business/Bopsel/Selp.vue
+3
-3
BusNavbar.vue
src/views/Business/Infbdd/BusNavbar.vue
+4
-2
BusNavbar.vue
src/views/Business/Infdid/BusNavbar.vue
+6
-2
Menu.vue
src/views/Business/Sptsel/Menu.vue
+2
-8
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+2
-2
CustomerAnalyse.vue
src/views/Home/cells/CustomerAnalyse.vue
+64
-51
NoticeAnnouncement.vue
src/views/Home/cells/NoticeAnnouncement.vue
+8
-2
QuickSearch.vue
src/views/Home/cells/QuickSearch.vue
+6
-7
QuickVisit.vue
src/views/Home/cells/QuickVisit.vue
+5
-7
index.vue
src/views/Home/index.vue
+15
-3
No files found.
src/components/IStreamTable.vue
View file @
08aa5da6
<
template
>
<div
class=
"eContainer-table-block"
>
<div
style=
"text-align: left"
v-if=
"showButtonFlg"
class=
"buttonDiv"
>
<c-button
icon=
"el-icon-s-tools"
@
click=
"clounmSetting"
style=
""
></c-button
></div>
<el-table
ref=
"table"
:data=
"
...
...
@@ -33,23 +40,14 @@
</
template
>
</el-table-column>
<slot></slot>
<el-table-column
fixed=
"right"
width=
"48px"
v-if=
"showButtonFlg"
class-name=
"buttonColumn"
>
<
template
slot=
"header"
>
<c-col
style=
"text-align: left"
><c-button
icon=
"el-icon-s-tools"
@
click=
"clounmSetting"
style=
"padding:0 7px"
></c-button
></c-col>
</
template
>
</el-table-column>
</el-table>
<el-dialog
class=
"showColumnDialog"
:visible
.
sync=
"setColumnFlg"
:title=
"'自定义列属性'"
appenD-to-body
v-if=
"showButtonFlg"
>
<el-form-item
label-width=
"0"
>
<el-checkbox-group
v-model=
"columnGroup"
@
change=
"handleColumnChange"
>
...
...
@@ -364,8 +362,13 @@ export default {
.eContainer-table-block
.el-table
.cell
{
white-space
:
pre-wrap
;
}
.el-table.buttonColumn
th
>
.cell
{
padding-left
:
0
;
padding-right
:
0
;
.buttonDiv
{
text-align
:
left
;
display
:
inline-block
;
margin
:
0
;
position
:
absolute
;
z-index
:
999
;
right
:
5px
;
padding-top
:
3px
;
}
</
style
>
\ No newline at end of file
src/views/Business/Bopsel/Selp.vue
View file @
08aa5da6
...
...
@@ -192,10 +192,10 @@
</
template
>
</c-list-search>
<c-row
style=
"margin-top:
20px; padding: 0 10px 0
10px"
>
<c-row
style=
"margin-top: 10px"
>
<c-col>
<c-button
size=
"small"
type=
"primary"
>
导出Excel
</c-button>
<c-button
size=
"small"
type=
"primary"
>
应急导出
</c-button>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left:0"
>
导出Excel
</c-button>
<c-button
size=
"small"
type=
"primary"
style=
"margin-left:0"
>
应急导出
</c-button>
</c-col>
</c-row>
...
...
src/views/Business/Infbdd/BusNavbar.vue
View file @
08aa5da6
...
...
@@ -34,9 +34,10 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub3"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
=
SUCCESS
){
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
...
...
@@ -66,6 +67,7 @@ export default {
mounted
(){
this
.
$nextTick
(
function
(){
this
.
$on
(
'childmethods'
,
async
function
(){
this
.
navcode
=
[]
//请求按钮数据
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this
.
model
.
bddgrp
.
rec
.
ownref
=
this
.
ownref
...
...
src/views/Business/Infdid/BusNavbar.vue
View file @
08aa5da6
...
...
@@ -34,9 +34,10 @@ export default {
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub1"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
=
SUCCESS
){
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
...
...
@@ -66,9 +67,11 @@ export default {
mounted
(){
this
.
$nextTick
(
function
(){
this
.
$on
(
'childmethods'
,
async
function
(){
this
.
navcode
=
[]
//请求按钮数据
this
.
model
.
didgrp
.
rec
.
ownref
=
this
.
ownref
console
.
log
(
"ownref:"
+
this
.
ownref
);
let
rtnmsg
=
await
this
.
executeRule
(
"didgrp.rec.ownref"
);
//didgrp_rec_ownref
if
(
rtnmsg
.
respCode
=
SUCCESS
){
//重置数组
...
...
@@ -95,6 +98,7 @@ export default {
}
}
}
...
...
src/views/Business/Sptsel/Menu.vue
View file @
08aa5da6
...
...
@@ -301,14 +301,8 @@
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"165px"
class-name=
"lastColumn"
>
<
template
slot=
"header"
>
<c-col
style=
"text-align: left"
><span>
操作
</span></c-col
>
<!--
<c-col
style=
"text-align: right"
><c-button
icon=
"el-icon-s-tools"
@
click=
"clounmSetting"
></c-button
></c-col>
-->
><span>
操作
</span>
</c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"onDetails(scope.$index,scope.row)"
...
...
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
08aa5da6
...
...
@@ -306,7 +306,7 @@
</c-col>
-->
<c-col
:span=
"24"
style=
"height:24px;margin-top:30px"
>
<el-form-item
label=
"
Signatures
"
class=
"messageLabel"
>
<el-form-item
label=
"
经办/复核
"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"23"
style=
"height:0px;"
>
...
...
@@ -346,7 +346,7 @@
<!-- -------------------workflow------------------- -->
<c-col
:span=
"24"
style=
"height:24px;margin-top:30px"
>
<el-form-item
label=
"
Workflow
"
class=
"messageLabel"
>
<el-form-item
label=
"
工作流服务
"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"23"
style=
"height:0px;"
>
...
...
src/views/Home/cells/CustomerAnalyse.vue
View file @
08aa5da6
...
...
@@ -24,64 +24,77 @@ export default {
name
:
"CustomerAnalyse"
,
components
:
{
CellHeaderVue
},
data
()
{
return
{};
return
{
echartInstance
:
null
,
};
},
mounted
()
{
const
echartInstance
=
echarts
.
init
(
document
.
getElementById
(
"chart"
));
const
option
=
{
title
:
{
// text: "Test Demo",
},
tooltip
:
{
trigger
:
"axis"
,
axisPointer
:
{
type
:
"shadow"
,
this
.
echartInstance
=
echarts
.
init
(
document
.
getElementById
(
"chart"
));
this
.
loadCharts
()
this
.
loadChartsBind
=
this
.
loadCharts
.
bind
(
this
)
window
.
addEventListener
(
'resize'
,
this
.
loadChartsBind
)
},
methods
:
{
loadCharts
()
{
this
.
echartInstance
.
clear
()
const
option
=
{
title
:
{
// text: "Test Demo",
},
},
legend
:
{
bottom
:
"2%"
,
},
grid
:
{
left
:
"1%"
,
right
:
"6%"
,
top
:
"1%"
,
containLabel
:
true
,
},
xAxis
:
{
type
:
"value"
,
boundaryGap
:
[
0
,
0.01
],
},
yAxis
:
{
type
:
"category"
,
data
:
[
"海康威视"
,
"春晖指控"
,
"苏奥传感"
,
"东方财富"
,
"隆基股份"
,
"贵州茅台"
,
],
},
series
:
[
{
name
:
"业务量(万美元)"
,
type
:
"bar"
,
data
:
[
18203
,
23489
,
29034
,
104970
,
131744
,
230230
],
tooltip
:
{
trigger
:
"axis"
,
axisPointer
:
{
type
:
"shadow"
,
},
},
{
name
:
"融资量(万美元)"
,
type
:
"bar"
,
data
:
[
19325
,
23438
,
31000
,
121594
,
134141
,
381807
],
legend
:
{
bottom
:
"2%"
,
},
{
name
:
"费用收益(千美元)"
,
type
:
"bar"
,
data
:
[
49325
,
53438
,
11000
,
221594
,
43241
,
455807
],
grid
:
{
left
:
"1%"
,
right
:
"6%"
,
top
:
"1%"
,
containLabel
:
true
,
},
],
};
echartInstance
.
setOption
(
option
);
xAxis
:
{
type
:
"value"
,
boundaryGap
:
[
0
,
0.01
],
},
yAxis
:
{
type
:
"category"
,
data
:
[
"海康威视"
,
"春晖指控"
,
"苏奥传感"
,
"东方财富"
,
"隆基股份"
,
"贵州茅台"
,
],
},
series
:
[
{
name
:
"业务量(万美元)"
,
type
:
"bar"
,
data
:
[
18203
,
23489
,
29034
,
104970
,
131744
,
230230
],
},
{
name
:
"融资量(万美元)"
,
type
:
"bar"
,
data
:
[
19325
,
23438
,
31000
,
121594
,
134141
,
381807
],
},
{
name
:
"费用收益(千美元)"
,
type
:
"bar"
,
data
:
[
49325
,
53438
,
11000
,
221594
,
43241
,
455807
],
},
],
};
this
.
echartInstance
.
setOption
(
option
);
},
},
destroyed
()
{
window
.
removeEventListener
(
'resize'
,
this
.
loadChartsBind
)
}
};
</
script
>
...
...
src/views/Home/cells/NoticeAnnouncement.vue
View file @
08aa5da6
...
...
@@ -4,7 +4,8 @@
<span
class=
"el-icon-refresh"
title=
"刷新"
></span>
<span
class=
"el-icon-more"
title=
"操作"
></span>
</CellHeaderVue>
<c-content
:height=
"cellScrollHeight"
>
<el-scrollbar
:style=
"
{ height: scrollbarHeight + 'px' }">
<div
class=
"cell-content"
>
<div
class=
"notice-item"
v-for=
"(item, idx) in noticeList"
:key=
"idx"
>
<div
class=
"notice-title"
:class=
"
{ active: idx === 0 }">
...
...
@@ -17,7 +18,7 @@
</div>
</div>
</div>
</
c-content
>
</
el-scrollbar
>
</div>
</
template
>
...
...
@@ -33,6 +34,11 @@ export default {
required
:
true
,
},
},
computed
:
{
scrollbarHeight
()
{
return
window
.
document
.
body
.
clientHeight
-
this
.
cellScrollHeight
;
},
},
data
()
{
return
{
noticeList
:
[
...
...
src/views/Home/cells/QuickSearch.vue
View file @
08aa5da6
<
template
>
<div
class=
"home-cell"
id=
"quickSearch"
>
<CellHeaderVue
title=
"快速查询"
>
</CellHeaderVue>
<c-content
:height=
"cellScrollHeight"
>
<el-scrollbar
:style=
"
{ height: scrollbarHeight + 'px' }">
<div
class=
"cell-content"
>
<div
class=
"content-wrapper"
v-for=
"(item, index) in options"
:key=
"index"
:style=
"
{ height:
wrapperHeight
+ 'px' }"
:style=
"
{ height:
Math.floor(scrollbarHeight * 0.3)
+ 'px' }"
>
<div
class=
"search-item-wrapper"
>
<div
class=
"search-item"
>
...
...
@@ -18,7 +19,7 @@
</div>
</div>
</div>
</
c-content
>
</
el-scrollbar
>
</div>
</
template
>
...
...
@@ -35,10 +36,8 @@ export default {
},
},
computed
:
{
wrapperHeight
()
{
return
Math
.
floor
(
(
window
.
document
.
body
.
clientHeight
-
this
.
cellScrollHeight
)
*
0.3
);
scrollbarHeight
()
{
return
window
.
document
.
body
.
clientHeight
-
this
.
cellScrollHeight
;
},
},
data
()
{
...
...
src/views/Home/cells/QuickVisit.vue
View file @
08aa5da6
...
...
@@ -2,13 +2,13 @@
<div
class=
"home-cell"
id=
"quickVisit"
>
<CellHeaderVue
title=
"快速访问"
>
</CellHeaderVue>
<
c-content
:height=
"cellScrollHeight
"
>
<
el-scrollbar
:style=
"
{ height: scrollbarHeight + 'px' }
">
<div
class=
"cell-content"
>
<div
class=
"content-wrapper"
v-for=
"(item, index) in quickVisitItem"
:key=
"index"
:style=
"
{ height:
wrapperHeight
+ 'px' }"
:style=
"
{ height:
Math.floor(scrollbarHeight * 0.3)
+ 'px' }"
>
<div
class=
"visit-item-wrapper"
>
<div
class=
"visit-item"
>
...
...
@@ -19,7 +19,7 @@
</div>
</div>
</div>
</
c-content
>
</
el-scrollbar
>
</div>
</
template
>
...
...
@@ -36,10 +36,8 @@ export default {
},
},
computed
:
{
wrapperHeight
()
{
return
Math
.
floor
(
(
window
.
document
.
body
.
clientHeight
-
this
.
cellScrollHeight
)
*
0.3
);
scrollbarHeight
()
{
return
window
.
document
.
body
.
clientHeight
-
this
.
cellScrollHeight
;
},
},
data
()
{
...
...
src/views/Home/index.vue
View file @
08aa5da6
...
...
@@ -28,15 +28,23 @@ export default {
QuickSearchVue
,
},
created
()
{
this
.
c
ellScrollHeight
=
window
.
document
.
body
.
clientHeight
-
(
window
.
document
.
body
.
clientHeight
-
110
-
52
*
2
-
10
)
/
2
;
this
.
c
alcCellScrollHeight
();
this
.
calcCellScrollHeightBind
=
this
.
calcCellScrollHeight
.
bind
(
this
)
window
.
addEventListener
(
"resize"
,
this
.
calcCellScrollHeightBind
)
},
data
()
{
return
{
cellScrollHeight
:
null
,
};
},
methods
:
{
calcCellScrollHeight
()
{
this
.
cellScrollHeight
=
window
.
document
.
body
.
clientHeight
-
(
window
.
document
.
body
.
clientHeight
-
110
-
52
*
2
-
10
)
/
2
;
}
},
destroyed
()
{
window
.
removeEventListener
(
"resize"
,
this
.
calcCellScrollHeightBind
)
}
};
</
script
>
...
...
@@ -62,4 +70,8 @@ export default {
height
:
calc
(
100%
-
52px
);
overflow
:
auto
;
}
.home-cell
>>>
.el-scrollbar__wrap
{
overflow-y
:
scroll
;
overflow-x
:
auto
;
}
</
style
>
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