</search-operation> | </search-operation> | ||||
<!-- CRUD组件 --> | <!-- CRUD组件 --> | ||||
<crud-operation style="margin-top:10px" @add="add" @edit="edit" @remove="remove" @refresh="refresh" | |||||
<crud-operation v-if="false" style="margin-top:10px" @add="add" @edit="edit" @remove="remove" @refresh="refresh" | |||||
@search="search" :DEdit="EStart" :DDelete="DStart" :SSearch="SSearch"> | @search="search" :DEdit="EStart" :DDelete="DStart" :SSearch="SSearch"> | ||||
</crud-operation> | </crud-operation> | ||||
tableData: { //表单数据 | tableData: { //表单数据 | ||||
type: Array, | type: Array, | ||||
default: function () { | default: function () { | ||||
return [] | |||||
return [{ | |||||
name: '测试数据' | |||||
}, { | |||||
name: '测试数据' | |||||
}, { | |||||
name: '测试数据' | |||||
}] | |||||
} | } | ||||
} | } | ||||
}) | }) |
children: [] | children: [] | ||||
}, { | }, { | ||||
title: '卡签注销', | title: '卡签注销', | ||||
path: 'home', | |||||
path: 'TABActivate', | |||||
children: [] | children: [] | ||||
}] | }] | ||||
}, { | }, { |
<template #reference> | <template #reference> | ||||
<!-- 头像 --> | <!-- 头像 --> | ||||
<div style="margin-left: 20px"> | <div style="margin-left: 20px"> | ||||
<el-avatar @click="visible = !visible" shape="square" :size="40" :src="ImgHead" /> | |||||
<el-avatar @click="visible = !visible" shape="square" :size="40" src="/logo2.png" /> | |||||
</div> | </div> | ||||
</template> | </template> | ||||
</el-popover> | </el-popover> |
reactive, | reactive, | ||||
ref | ref | ||||
} from 'vue' | } from 'vue' | ||||
import { | |||||
FormInstance | |||||
} from 'element-plus' | |||||
import { | import { | ||||
useRoute, | useRoute, | ||||
useRouter | useRouter | ||||
//引入滑块组件 | //引入滑块组件 | ||||
import SlidingBlockVerifyTwo from '@/components/SlidingBlockVerifyTwo/SlidingBlockVerifyTwo.vue' | import SlidingBlockVerifyTwo from '@/components/SlidingBlockVerifyTwo/SlidingBlockVerifyTwo.vue' | ||||
const form = ref < FormInstance > () | |||||
const form = ref() | |||||
const router = useRouter() | const router = useRouter() | ||||
const bgVideo = bgTwo | const bgVideo = bgTwo | ||||
const verify = ref(false) | const verify = ref(false) |