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
鲁尚清
4 years ago
Commit
b1109289bb67cdf3827aa4dd4bf3cd74821ee2c8
1 parent
656e676f
文档管理表格视图隐藏注释
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.html
View file @
b110928
...
...
@@ -73,7 +73,7 @@
</div>
<div
style=
"text-align: right;width: 150px"
>
<!--
<div style="text-align: right;width: 150px">
<el-button-group>
<el-button :size="$global.elementSize" :type="activeBtn == 'view' ? 'primary' : ''"
...
...
@@ -85,7 +85,7 @@
<i class="iconfont icon-liebiao"></i>
</el-button>
</el-button-group>
</div>
</div>
-->
</div>
<!--列表-->
<div
v-if=
"activeBtn == 'list'"
>
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
View file @
b110928
...
...
@@ -164,6 +164,8 @@ export default {
},
render
:
function
(
row
)
{
let
cls
=
iconclass
[
row
.
type
]
==
undefined
?
'icon-wenjian'
:
iconclass
[
row
.
type
];
// let inputFileName=row.fileName;
// return `<i class="iconfont ${cls}" style="font-size: 22px;margin-right: 10px;"></i><input value="${inputFileName}"></input>`
return
`
<
i
class
=
"iconfont ${cls}"
style
=
"font-size: 22px;margin-right: 10px;"
><
/i><span>${row.fileName}</
span
>
`
}
},
{
...
...
@@ -176,7 +178,17 @@ export default {
label
:
'提交时间'
,
sortable
:
true
,
width
:
'180px'
}]);
}
/* ,{
prop: '',
label: '操作',
sortable: false,
width: '180px',
render: function (row) {
return `<i class="el-icon-plus " @click='handleView(row)'></i><i class="iconfont el-icon-download " @click='handleDownload(row)'></i><i class="iconfont el-icon-delete" @click='handleDelete(row)'></i>`
}
}*/
]);
// 表格数据
let
dataList
=
Vue
.
ref
([]);
// 总数
...
...
@@ -698,6 +710,7 @@ export default {
getPage
(
props
.
viewTypeId
);
}
})
//全选
let
selectAll
=
()
=>
{
isAllSelect
=!
isAllSelect
;
if
(
isAllSelect
){
...
...
@@ -717,7 +730,6 @@ export default {
}
return
{
/* viewEdit,*/
iconclass
,
...
...
Please
register
or
login
to post a comment