优化驾驶舱
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user