|
@@ -190,9 +190,6 @@ import { tr } from 'element-plus/es/locale/index.mjs';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- function handlePreviewPdf(e){
|
|
|
- window.open(e.PdfUrl,'__blank')
|
|
|
- }
|
|
|
|
|
|
function getClassifyName(e){
|
|
|
if (!e) {
|
|
@@ -208,7 +205,13 @@ import { tr } from 'element-plus/es/locale/index.mjs';
|
|
|
return ''
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ function success(res) {
|
|
|
+ // tableRef.value.clearSelection() // 如果批量推送完成清空表格选中数据
|
|
|
+ // selectedRows.value.forEach(row => {
|
|
|
+ // tableRef.value.toggleRowSelection(row, isSelectAll.value); // 选中当前页数据
|
|
|
+ // });
|
|
|
+ handleFilterList()
|
|
|
+ }
|
|
|
|
|
|
</script>
|
|
|
|
|
@@ -284,8 +287,8 @@ import { tr } from 'element-plus/es/locale/index.mjs';
|
|
|
v-model="filterState.updateTime"
|
|
|
type="daterange"
|
|
|
range-separator="至"
|
|
|
- start-placeholder="更新时间"
|
|
|
- end-placeholder="更新时间"
|
|
|
+ start-placeholder="推送时间"
|
|
|
+ end-placeholder="推送时间"
|
|
|
value-format="YYYY-MM-DD"
|
|
|
clearable
|
|
|
@change="handleFilterList"
|
|
@@ -341,7 +344,6 @@ import { tr } from 'element-plus/es/locale/index.mjs';
|
|
|
</template>
|
|
|
<template #default="{ row }">
|
|
|
<span v-if="column.key === 'Title'"
|
|
|
- @click="handlePreviewPdf(row)"
|
|
|
>{{ row.Title }}({{ getTitleTime(row) }})</span
|
|
|
>
|
|
|
<span v-else-if="column.key === 'ClassifyNameFirst'">{{getClassifyName(row)}}</span>
|
|
@@ -400,7 +402,7 @@ import { tr } from 'element-plus/es/locale/index.mjs';
|
|
|
:allHandUncheckDataId="allHandUncheckDataId"
|
|
|
:filterState="filterState"
|
|
|
:isSelectedAll ="isSelectAll"
|
|
|
- @success="handleFilterList"
|
|
|
+ @success="success"
|
|
|
/>
|
|
|
</template>
|
|
|
|