Browse Source

2022年5月9日17:18:25

master
wq 3 years ago
parent
commit
a6f0b87403
4 changed files with 11 additions and 8 deletions
  1. 8
    2
      src/crud/index.vue
  2. 1
    1
      src/data/menuData.ts
  3. 1
    1
      src/layout/components/Head.vue
  4. 1
    4
      src/views/system/login/Login.vue

+ 8
- 2
src/crud/index.vue View File

</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: '测试数据'
}]
} }
} }
}) })

+ 1
- 1
src/data/menuData.ts View File

children: [] children: []
}, { }, {
title: '卡签注销', title: '卡签注销',
path: 'home',
path: 'TABActivate',
children: [] children: []
}] }]
}, { }, {

+ 1
- 1
src/layout/components/Head.vue View File

<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>

+ 1
- 4
src/views/system/login/Login.vue View File

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)

Loading…
Cancel
Save