优化驾驶舱

This commit is contained in:
GGJ
2025-05-29 16:01:44 +08:00
parent 80bdda9abc
commit 6e99373c1c
9 changed files with 383 additions and 419 deletions

View File

@@ -42,6 +42,15 @@
>
激活
</el-button>
<el-button
class="color"
icon="el-icon-View"
style="padding: 3px 0"
type="text"
@click="preview(item)"
>
预览
</el-button>
<el-button
class="color"
icon="el-icon-Edit"
@@ -90,11 +99,10 @@ import TableHeader from '@/components/table/header/index.vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { Edit } from '@element-plus/icons-vue'
import { useRouter } from 'vue-router'
import popup from './components/popup.vue'
const { push } = useRouter()
import { deleteDashboard, activatePage } from '@/api/system-boot/csstatisticalset'
defineOptions({
name: 'cockpit/setUp'
// name: 'cockpit/setUp'
})
const tableRef = ref()
@@ -117,7 +125,10 @@ onMounted(() => {
const onSubmitadd = () => {
push(`/admin/cockpit/popup`)
}
// 预览
const preview = (e: any) => {
push(`/admin/cockpit/view?id=${e.id}`)
}
// 修改
const editd = (e: any) => {
push(`/admin/cockpit/popup?id=${e.id}`)