Authored by 王涛

Merge branch 'master-v32-lushangqing' into 'master'

文档管理表格视图隐藏注释



See merge request !139
... ... @@ -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'">
... ...
... ... @@ -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,
... ...