Commit 149072dc authored by zhengke's avatar zhengke

查看删除 文件

parent 7464e3c9
...@@ -126,6 +126,7 @@ const sellHistoryTripTemplate = async (sellId:any,LogId:any) => { ...@@ -126,6 +126,7 @@ const sellHistoryTripTemplate = async (sellId:any,LogId:any) => {
if(LogId){ if(LogId){
queryMsg = { queryMsg = {
Id: sellId, Id: sellId,
Status: 1
} }
dataRes = await ConfigService.sellGetTemplateDetails(queryMsg); dataRes = await ConfigService.sellGetTemplateDetails(queryMsg);
}else{ }else{
......
...@@ -237,6 +237,9 @@ ...@@ -237,6 +237,9 @@
height: 0px; height: 0px;
} }
} }
::v-deep(.el-scrollbar__view){
height: 100%;
}
</style> </style>
\ No newline at end of file
...@@ -107,7 +107,8 @@ ...@@ -107,7 +107,8 @@
pageSize: 50, pageSize: 50,
pageCount: 0, //总页数 pageCount: 0, //总页数
FileName: '', FileName: '',
FileType: -1 FileType: -1,
IsDel: 1
}); });
const loading = ref(false as any); const loading = ref(false as any);
...@@ -152,7 +153,7 @@ ...@@ -152,7 +153,7 @@
loading.value = true; loading.value = true;
try { try {
if (queryObj.pageIndex == 1) dataList.value = []; if (queryObj.pageIndex == 1) dataList.value = [];
let pageRes = await FolderService.GetTripOtherRecycleBinPage(queryObj); let pageRes = await FolderService.GetMyTripFolderPage(queryObj);
if (pageRes.data.resultCode == ApiResult.SUCCESS) { if (pageRes.data.resultCode == ApiResult.SUCCESS) {
let arrList = function (list) { let arrList = function (list) {
list.forEach((x) => { list.forEach((x) => {
...@@ -259,5 +260,8 @@ ...@@ -259,5 +260,8 @@
height: 0px; height: 0px;
} }
} }
::v-deep(.el-scrollbar__view){
height: 100%;
}
</style> </style>
\ No newline at end of file
...@@ -319,6 +319,9 @@ checkPositionHandler(props.position) ...@@ -319,6 +319,9 @@ checkPositionHandler(props.position)
getDocumentData() getDocumentData()
</script> </script>
<style> <style>
.el-table .el-table__cell{
padding: 0;
}
.sample-table{ .sample-table{
font-size: 12px !important; font-size: 12px !important;
font-family: microsoft yahei !important; font-family: microsoft yahei !important;
......
...@@ -331,5 +331,8 @@ ...@@ -331,5 +331,8 @@
height: 0px; height: 0px;
} }
} }
::v-deep(.el-scrollbar__view){
height: 100%;
}
</style> </style>
\ No newline at end of file
...@@ -35,9 +35,12 @@ ...@@ -35,9 +35,12 @@
</div> </div>
<div class="temp-tr col q-ml-md file-name" :class="{'cusor-pointer':scope.row.FileType==0}"> <div class="temp-tr col q-ml-md file-name" :class="{'cusor-pointer':scope.row.FileType==0}">
<el-tooltip v-if="!scope.row.editTitle" effect="dark" :content="scope.row.FileName"> <el-tooltip v-if="!scope.row.editTitle" effect="dark" :content="scope.row.FileName">
<div @click.stop="scope.row.FileType?OffEdit():editDelete(scope.row,2)"> <!-- <div @click.stop="scope.row.FileType?OffEdit():editDelete(scope.row,2)">
{{ scope.row.FileName?scope.row.FileName:'-' }} {{ scope.row.FileName?scope.row.FileName:'-' }}
</div> </div> -->
<div truncated
v-html="scope.row.FileName.replaceAll(lastKeyword,`<span class='text-waring'>${lastKeyword}</span>`)"
@click.stop="scope.row.FileType?OffEdit():editDelete(scope.row,2)"></div>
</el-tooltip> </el-tooltip>
<el-input <el-input
class="journeyAds-Input" class="journeyAds-Input"
...@@ -251,6 +254,7 @@ import CopyFile from "./CopyFile.vue"; ...@@ -251,6 +254,7 @@ import CopyFile from "./CopyFile.vue";
const editObj = reactive({}); const editObj = reactive({});
const filterFileNameStatus = ref(false) const filterFileNameStatus = ref(false)
const showItemId = ref(0) const showItemId = ref(0)
const lastKeyword = ref('')
if(props.currentMenu==0){ if(props.currentMenu==0){
datas.Title = '最近浏览' datas.Title = '最近浏览'
datas.emptyTitle = '没有最近浏览文档' datas.emptyTitle = '没有最近浏览文档'
...@@ -607,10 +611,11 @@ import CopyFile from "./CopyFile.vue"; ...@@ -607,10 +611,11 @@ import CopyFile from "./CopyFile.vue";
watch(() => props.list, (n,o) => { watch(() => props.list, (n,o) => {
if (props.list) { if (props.list) {
lastKeyword.value = queryObj.value.FileName
nextTick(() => { nextTick(() => {
dataList.value = props.list dataList.value = props.list
}) })
} }else lastKeyword.value = ''
}) })
watch(() => props.navigations, (n,o) => { watch(() => props.navigations, (n,o) => {
...@@ -619,7 +624,9 @@ import CopyFile from "./CopyFile.vue"; ...@@ -619,7 +624,9 @@ import CopyFile from "./CopyFile.vue";
</script> </script>
<style lang="scss"> <style lang="scss">
.el-table .el-table__cell{
padding: 0;
}
.journeyAds-Input { .journeyAds-Input {
padding-right: 20px; padding-right: 20px;
position: relative; position: relative;
...@@ -629,9 +636,17 @@ import CopyFile from "./CopyFile.vue"; ...@@ -629,9 +636,17 @@ import CopyFile from "./CopyFile.vue";
background: #f5f5f5; background: #f5f5f5;
} }
} }
.el-table{
height: 100% !important;
}
.sample-table{ .sample-table{
font-size: 12px !important; font-size: 12px !important;
font-family: microsoft yahei !important; font-family: microsoft yahei !important;
}
.sample-table::v-deep(.el-table--fit){
height: 100%;
} }
.sample-table .el-table-column--selection{ .sample-table .el-table-column--selection{
border: none !important; border: none !important;
......
...@@ -349,4 +349,7 @@ querySearchHandler(); ...@@ -349,4 +349,7 @@ querySearchHandler();
height: 0px; height: 0px;
} }
} }
::v-deep(.el-scrollbar__view){
height: 100%;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment