Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
web-monitor
Project
Project
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
Administrator
web-monitor
Commits
fc87c5a6
Commit
fc87c5a6
authored
3 weeks ago
by
dupengyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
漏缆任务轮询corn弹窗 及打印
parent
39022485
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
571 additions
and
189 deletions
+571
-189
index.vue
src/views/alarm/cableTime/index.vue
+154
-110
index.vue
src/views/alarm/statistics/index.vue
+1
-1
index.vue
src/views/jobgroup/jobinfo/index.vue
+414
-76
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/alarm/cableTime/index.vue
View file @
fc87c5a6
...
...
@@ -16,18 +16,31 @@
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
type=
"primary"
@
click=
"isQuery = !isQuery"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"exportList"
>
导出
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-refresh-right"
v-print=
"printoption"
>
打印
</el-button
>
</div>
</div>
<div
v-show=
"isQuery"
>
<search
ref=
"reset"
@
search=
"search"
/>
</div>
<div
id=
"print"
>
<div
class=
"table"
>
<el-table
:data=
"tableData"
style=
"width: 100%"
:cell-class-name=
"cellClassFn"
:header-cell-style=
"
{ background: '#EAF1FE', color: '#666666' }"
>
<el-table-column
type=
"index"
label=
"序列号"
width=
"100"
align=
"center"
/>
<el-table-column
type=
"index"
label=
"序列号"
width=
"100"
align=
"center"
/>
<el-table-column
prop=
"siteName"
label=
"基站名称"
...
...
@@ -140,6 +153,8 @@
</
template
>
</el-table-column>
</el-table>
</div>
</div>
<el-dialog
title=
"告警详情"
:visible
.
sync=
"centerDialogVisible"
...
...
@@ -220,6 +235,17 @@ export default {
components
:
{
search
},
data
()
{
return
{
printoption
:
{
id
:
"print"
,
popTitle
:
" "
,
// 打印配置页上方的标题
extraHead
:
""
,
// 最上方的头部文字,附加在head标签上的额外标签,使用逗号分割
preview
:
false
,
// 是否启动预览模式,默认是false
//previewTitle: '预览的标题', // 打印预览的标题
//previewPrintBtnLabel: '预览结束,开始打印', // 打印预览的标题下方的按钮文本,点击可进入打印
zIndex
:
20002
,
// 预览窗口的z-index,默认是20002,最好比默认值更高
standard
:
""
,
extraCss
:
"./index.css"
,
},
alarmType
,
confirmStatus
:
0
,
dialogInfo
:
[],
...
...
@@ -474,4 +500,22 @@ export default {
}
}
}
#print
{
.table
{
// width: 100%;
::v-deep
.el-table
{
height
:
100%
;
}
::v-deep
table
{
table-layout
:
auto
;
}
::v-deep
.el-table__header-wrapper
.el-table__header
{
width
:
100%
!
important
;
background
:
#f89850
!
important
;
}
::v-deep
.el-table__body-wrapper
.el-table__body
{
width
:
100%
!
important
;
}
}
}
</
style
>
This diff is collapsed.
Click to expand it.
src/views/alarm/statistics/index.vue
View file @
fc87c5a6
...
...
@@ -208,7 +208,7 @@ export default {
//previewPrintBtnLabel: '预览结束,开始打印', // 打印预览的标题下方的按钮文本,点击可进入打印
zIndex
:
20002
,
// 预览窗口的z-index,默认是20002,最好比默认值更高
standard
:
""
,
extraCss
:
"./index.css"
,
//
extraCss: "./index.css",
},
form
:
{},
params
:
{
...
...
This diff is collapsed.
Click to expand it.
src/views/jobgroup/jobinfo/index.vue
View file @
fc87c5a6
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
fc87c5a6
...
...
@@ -9,8 +9,8 @@ function resolve(dir) {
const
name
=
defaultSettings
.
title
||
'漏缆故障定位监测系统'
// page title
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8890
// dev port
// const href = 'http://101.126.159.207'
//
const href = 'http://127.0.0.1'
const
href
=
'http://192.168.0.114
'
const
href
=
'http://127.0.0.1'
// const href = 'http://192.168.0.165
'
const
rewriteDefaultConfig
=
{
changeOrigin
:
true
,
...
...
This diff is collapsed.
Click to expand it.
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