|
@@ -106,7 +106,7 @@
|
|
|
<el-table-column type="selection" width="48" :selectable="isRowSelectable" />
|
|
<el-table-column type="selection" width="48" :selectable="isRowSelectable" />
|
|
|
<el-table-column label="标题" min-width="140">
|
|
<el-table-column label="标题" min-width="140">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
- {{ row.name }}
|
|
|
|
|
|
|
+ <span :title="row.name" class="text-ellipsis-2" >{{ row.name }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="场景类型" width="120">
|
|
<el-table-column label="场景类型" width="120">
|
|
@@ -124,10 +124,13 @@
|
|
|
{{ dateFormat(row.createTime, 'yyyy-MM-dd hh:mm') }}
|
|
{{ dateFormat(row.createTime, 'yyyy-MM-dd hh:mm') }}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column label="状态" v-slot:default="{ row }: { row: QuoteScene }">
|
|
|
|
|
+ {{ QuoteSceneStatusDesc[row.status] }}
|
|
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
|
|
<!-- 分页:40条每页,切换页码保持已选中 -->
|
|
<!-- 分页:40条每页,切换页码保持已选中 -->
|
|
|
- <div style="display:flex; justify-content:flex-end; margin-top: 12px;">
|
|
|
|
|
|
|
+ <div style="display:flex; justify-content:flex-end; margin-top: 20px;">
|
|
|
<el-pagination
|
|
<el-pagination
|
|
|
background
|
|
background
|
|
|
layout="prev, pager, next, jumper"
|
|
layout="prev, pager, next, jumper"
|
|
@@ -156,6 +159,7 @@ import { Scene, SceneType, getSWKKSyncLink } from '@/store/scene';
|
|
|
import { getScenePaggingOffline as getScenePagging, getFusionAndSceneList } from '@/store/editCsae';
|
|
import { getScenePaggingOffline as getScenePagging, getFusionAndSceneList } from '@/store/editCsae';
|
|
|
import { SceneTypeDesc, SceneTypePaths } from '@/constant/scene';
|
|
import { SceneTypeDesc, SceneTypePaths } from '@/constant/scene';
|
|
|
import { getCaseScenes, replaceCaseScenes, getSceneKey, getCaseScenesBySceneType } from '@/store/case';
|
|
import { getCaseScenes, replaceCaseScenes, getSceneKey, getCaseScenesBySceneType } from '@/store/case';
|
|
|
|
|
+import { QuoteSceneStatusDesc } from "@/constant/scene";
|
|
|
import { dateFormat } from "@/util";
|
|
import { dateFormat } from "@/util";
|
|
|
import { confirm } from '@/helper/message';
|
|
import { confirm } from '@/helper/message';
|
|
|
import { ElMessage } from 'element-plus';
|
|
import { ElMessage } from 'element-plus';
|
|
@@ -203,7 +207,7 @@ const tableLoading = ref(false);
|
|
|
const tableRef = ref<any>(null);
|
|
const tableRef = ref<any>(null);
|
|
|
const tableData = ref<Scene[]>([]);
|
|
const tableData = ref<Scene[]>([]);
|
|
|
const selectedRows = ref<Scene[]>([]);
|
|
const selectedRows = ref<Scene[]>([]);
|
|
|
-const pager = ref({ page: 1, pageSize: 40, total: 0 });
|
|
|
|
|
|
|
+const pager = ref({ page: 1, pageSize: 10, total: 0 });
|
|
|
let titleDebounceTimer: any = null;
|
|
let titleDebounceTimer: any = null;
|
|
|
|
|
|
|
|
// 已导入场景集合与辅助判断
|
|
// 已导入场景集合与辅助判断
|
|
@@ -617,6 +621,7 @@ onMounted(async () => {
|
|
|
.scene-edit-dialog {
|
|
.scene-edit-dialog {
|
|
|
:deep(.el-dialog__body) {
|
|
:deep(.el-dialog__body) {
|
|
|
padding-top: 8px;
|
|
padding-top: 8px;
|
|
|
|
|
+ padding-bottom: 24px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.dialog-filter-row {
|
|
.dialog-filter-row {
|