Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
caffac19
authored
2023-04-13 13:28:53 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:系统监控
1 parent
813788fb
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
72 additions
and
79 deletions
src/views/system/xttz/components/addDialog.vue
src/views/system/xttz/xttzviewdata.js
src/views/xtjk/cwrz/components/viewDialog.vue
src/views/xtjk/cwrz/cwrz.vue
src/views/xtjk/cwrz/cwrzdata.js
src/views/xtjk/czrz/components/viewDialog.vue
src/views/xtjk/czrz/czrz.vue
src/views/xtjk/czrz/czrzdata.js
src/views/system/xttz/components/addDialog.vue
View file @
caffac1
...
...
@@ -277,5 +277,4 @@ export default {
max-height
:
400px
;
min-height
:
160px
;
overflow-y
:
scroll
;
}
</
style
>
}
</
style
>
...
...
src/views/system/xttz/xttzviewdata.js
View file @
caffac1
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:22:36
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
const
sendThis
=
(
_this
)
=>
{
...
...
@@ -70,7 +75,6 @@ class data extends filter {
{
label
:
'操作'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
div
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
查看
<
/el-button
>
...
...
src/views/xtjk/cwrz/components/viewDialog.vue
View file @
caffac1
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:24:49
-->
<
template
>
<div>
<el-row
:gutter=
"8"
>
<el-col
:span=
"16"
>
api接口地址:
<el-input
v-model=
"formData.item.apiUri"
></el-input>
</el-col>
<el-input
v-model=
"formData.apiUri"
class=
"width100"
></el-input>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
传入参数:
<el-input
type=
"textarea"
:rows=
"4"
v-model=
"formData.item
.crcs"
></el-input>
<el-input
type=
"textarea"
:rows=
"4"
v-model=
"formData
.crcs"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
错误内容:
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData.item
.cwnr"
></el-input>
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData
.cwnr"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
错误位置:
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData.item
.cwdmwz"
></el-input>
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData
.cwdmwz"
></el-input>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
};
},
components
:
{
},
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{
}
},
},
created
()
{
created
()
{
console
.
log
(
this
.
formData
);
},
computed
:
{
},
methods
:
{
},
};
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
.margin-top-middle
{
margin-top
:
10px
margin-top
:
10px
}
</
style
>
\ No newline at end of file
...
...
src/views/xtjk/cwrz/cwrz.vue
View file @
caffac1
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:32:28
-->
<
template
>
<div
class=
"from-clues"
>
<!-- 表单部分 -->
...
...
@@ -25,9 +30,9 @@
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:
heightNum=
"300"
:total=
"tableData.total"
@
size-change=
"handleSize
Change"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:heightNum=
"300"
:
total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrent
Change"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
@@ -38,7 +43,7 @@ import { datas, sendThis } from "./cwrzdata"
import
{
getErrorLogList
}
from
"@/api/xtjk.js"
export
default
{
name
:
"cwrz"
,
components
:
{
},
components
:
{},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
...
...
@@ -63,24 +68,20 @@ export default {
};
},
methods
:
{
queryClick
()
{
queryClick
()
{
getErrorLogList
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
this
.
tableData
.
data
.
forEach
((
item
,
index
)
=>
{
this
.
tableData
.
data
.
forEach
((
item
,
index
)
=>
{
item
.
cwdmwz
=
item
.
cwdmwz
.
replace
(
/
\\
n/g
,
'\n'
)
})
}
})
},
viewDetail
(
e
){
this
.
$popup
(
"错误日志"
,
"xtjk/cwrz/components/viewDialog"
,
{
formData
:
{
item
:
e
}
})
viewDetail
(
e
)
{
this
.
$popupDialog
(
"错误日志"
,
"xtjk/cwrz/components/viewDialog"
,
e
,
"50%"
)
}
}
};
...
...
src/views/xtjk/cwrz/cwrzdata.js
View file @
caffac1
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:22:16
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -71,10 +76,8 @@ class data extends filter {
{
label
:
'操作'
,
width
:
'80'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
}
}
]
...
...
src/views/xtjk/czrz/components/viewDialog.vue
View file @
caffac1
<!--
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:31:50
-->
<
template
>
<div>
<el-row
:gutter=
"8"
>
<el-col
:span=
"16"
>
api接口地址:
<el-input
v-model=
"formData.item
.apiUri"
></el-input>
<el-input
v-model=
"formData
.apiUri"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
操作人员:
<el-input
v-model=
"formData.item
.creater"
></el-input>
<el-input
v-model=
"formData
.creater"
></el-input>
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
操作内容:
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData.item
.cznr"
></el-input>
<el-input
type=
"textarea"
:rows=
"10"
v-model=
"formData
.cznr"
></el-input>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
};
},
components
:
{
},
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
created
(){
console
.
log
(
this
.
formData
);
},
computed
:
{
},
methods
:
{
},
};
default
:
()
=>
{
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
.margin-top-middle
{
margin-top
:
10px
margin-top
:
10px
}
</
style
>
\ No newline at end of file
...
...
src/views/xtjk/czrz/czrz.vue
View file @
caffac1
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:31:33
-->
<
template
>
<div
class=
"from-clues"
>
<!-- 表单部分 -->
...
...
@@ -25,9 +30,9 @@
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:
heightNum=
"300"
:total=
"tableData.total"
@
size-change=
"handleSize
Change"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
:page-size=
"pageData.size"
border
:current-page
.
sync=
"pageData.currentPage"
:heightNum=
"300"
:
total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrent
Change"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
@@ -38,7 +43,7 @@ import { datas, sendThis } from "./czrzdata"
import
{
getOperationLogList
}
from
"@/api/xtjk.js"
export
default
{
name
:
"czrz"
,
components
:
{
},
components
:
{},
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
...
...
@@ -63,7 +68,7 @@ export default {
};
},
methods
:
{
queryClick
()
{
queryClick
()
{
getOperationLogList
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
...
...
@@ -72,12 +77,8 @@ export default {
}
})
},
viewDetail
(
e
){
this
.
$popup
(
"操作日志"
,
"xtjk/czrz/components/viewDialog"
,
{
formData
:
{
item
:
e
}
})
viewDetail
(
e
)
{
this
.
$popupDialog
(
"操作日志"
,
"xtjk/czrz/components/viewDialog"
,
e
,
"50%"
)
}
}
};
...
...
src/views/xtjk/czrz/czrzdata.js
View file @
caffac1
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-13 10:28:20
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -25,7 +30,7 @@ class data extends filter {
{
prop
:
"czlx"
,
label
:
"操作类型"
,
width
:
'
10
0'
width
:
'
9
0'
},
{
prop
:
"apiUri"
,
...
...
@@ -45,12 +50,12 @@ class data extends filter {
{
prop
:
"czfs"
,
label
:
"操作方式"
,
width
:
'
10
0'
width
:
'
9
0'
},
{
prop
:
"czywbh"
,
label
:
"操作业务编号"
,
width
:
'1
50
'
width
:
'1
12
'
},
{
prop
:
"cznr"
,
...
...
@@ -62,10 +67,8 @@ class data extends filter {
{
label
:
'操作'
,
width
:
'80'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
viewDetail
(
scope
.
row
)
}}
>
查看
<
/el-button
>
}
}
]
...
...
Please
register
or
sign in
to post a comment