Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangtao
3 years ago
Commit
1cf1bfd1fdf552e494afd46b57337167cea16a93
1 parent
b2115531
参数修改,
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
16 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/table-page/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/faultHis/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/faultHis/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/faultDiagnosis/result/faultDetail.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/table-page/index.html
View file @
1cf1bfd
...
...
@@ -13,7 +13,7 @@
</template>
</el-table-column>
<el-table-column
v-if=
"showSelection && columns.length > 0"
align=
"center"
type=
"selection"
width=
"55"
/>
<el-table-column
v-if=
"showIndex && columns.length > 0"
type=
"index"
:label=
"indexLabel"
align=
"center"
width=
"
5
0"
/>
<el-table-column
v-if=
"showIndex && columns.length > 0"
type=
"index"
:label=
"indexLabel"
align=
"center"
width=
"
8
0"
/>
<el-table-column
v-for=
"item in columns"
:prop=
"item.prop"
:label=
"item.label"
:sortable=
"item.sortable == undefined ? false : item.sortable"
:align=
"item.align == undefined ? 'center' : item.align "
:width=
"getWidth(item.width)"
>
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/faultHis/index.html
View file @
1cf1bfd
<div>
<div
style=
"font-weight: bold;text-align: left;"
>
故障相关处理意见
</div>
<div
style=
"font-weight: bold;text-align: left;"
class=
"p-6"
>
故障相关处理意见
</div>
<cm-table-page
v-if=
"list.columns.length > 0"
:columns=
"list.columns"
:dataList=
"list.dataList"
@
loaddata=
"getPageInfo"
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/faultDiagnosis/result/faultHis/index.js
View file @
1cf1bfd
...
...
@@ -52,23 +52,22 @@ export default {
let
list
=
Vue
.
ref
({
columns
:
[{
prop
:
'faultNo'
,
width
:
9
0
,
width
:
12
0
,
label
:
'故障编号'
,
},{
prop
:
'faultBody'
,
width
:
15
0
,
width
:
20
0
,
label
:
'故障主体'
,
},
{
prop
:
'createTime'
,
width
:
1
0
0
,
width
:
1
7
0
,
label
:
'发生时间'
,
},
{
prop
:
'duration'
,
width
:
8
0
,
width
:
10
0
,
label
:
'持续时长'
,
},{
prop
:
'solution'
,
width
:
200
,
label
:
'处理方案'
}],
dataList
:
[],
...
...
@@ -86,7 +85,6 @@ export default {
let
params
=
{
configId
:
props
.
itemInfo
.
configId
,
}
proxy
.
$http
.
get
(
'/api-web/fault/result/findFaultListByConfigId'
,
params
,
function
(
res
)
{
if
(
res
&&
res
.
success
)
{
list
.
value
.
dataList
=
res
.
data
;
...
...
@@ -96,17 +94,10 @@ export default {
});
}
let
handleClick
=
(
row
,
index
)
=>
{
console
.
log
(
row
,
index
);
emit
(
'callback'
,
row
);
}
// // 监听编辑状态
// Vue.watch(() => props.itemInfo, (newValue, oldVlaue) => {
// getPage();
// });
// 挂载完
Vue
.
onMounted
(()
=>
{
getPage
();
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/faultDiagnosis/result/faultDetail.js
View file @
1cf1bfd
...
...
@@ -77,7 +77,7 @@ export default {
itemName
:
'知识库'
,
detail
:
true
,
colType
:
'flag'
,
state
:
'
0
'
state
:
'
1
'
}]
});
...
...
Please
register
or
login
to post a comment