mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-06 08:37:12 +08:00
更新数据库文件
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { ElTable, FormInstance } from 'element-plus'
|
import type { ElTable } from 'element-plus'
|
||||||
import EditPopup from './edit.vue'
|
import EditPopup from './edit.vue'
|
||||||
import { deptDelete, deptAll } from '@/api/org/department'
|
import { deptDelete, deptAll } from '@/api/org/department'
|
||||||
import feedback from '@/utils/feedback'
|
import feedback from '@/utils/feedback'
|
||||||
@@ -99,7 +99,7 @@ defineOptions({
|
|||||||
})
|
})
|
||||||
const tableRef = shallowRef<InstanceType<typeof ElTable>>()
|
const tableRef = shallowRef<InstanceType<typeof ElTable>>()
|
||||||
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
|
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
|
||||||
const formRef = shallowRef<FormInstance>()
|
// const formRef = shallowRef<FormInstance>()
|
||||||
let isExpand = false
|
let isExpand = false
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const lists = ref<any[]>([])
|
const lists = ref<any[]>([])
|
||||||
@@ -119,10 +119,10 @@ const getLists = async () => {
|
|||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
const resetParams = () => {
|
// const resetParams = () => {
|
||||||
formRef.value?.resetFields()
|
// formRef.value?.resetFields()
|
||||||
getLists()
|
// getLists()
|
||||||
}
|
// }
|
||||||
|
|
||||||
const handleAdd = async (id?: number) => {
|
const handleAdd = async (id?: number) => {
|
||||||
showEdit.value = true
|
showEdit.value = true
|
||||||
|
@@ -22,6 +22,10 @@ export default ({ mode }) => {
|
|||||||
// 依赖预构建,避免开发刷新
|
// 依赖预构建,避免开发刷新
|
||||||
include: ['@wangeditor/editor-for-vue', 'vuedraggable', 'vue-echarts', 'crypto-js']
|
include: ['@wangeditor/editor-for-vue', 'vuedraggable', 'vue-echarts', 'crypto-js']
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
// 打包后文件名
|
||||||
|
sourcemap: true
|
||||||
|
},
|
||||||
server: {
|
server: {
|
||||||
open: true,
|
open: true,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
@@ -58,10 +62,10 @@ export default ({ mode }) => {
|
|||||||
}),
|
}),
|
||||||
viteCompression({
|
viteCompression({
|
||||||
algorithm: 'gzip'
|
algorithm: 'gzip'
|
||||||
}),
|
|
||||||
viteCompression({
|
|
||||||
algorithm: 'brotliCompress'
|
|
||||||
})
|
})
|
||||||
|
// viteCompression({
|
||||||
|
// algorithm: 'brotliCompress'
|
||||||
|
// })
|
||||||
// visualizer({
|
// visualizer({
|
||||||
// gzipSize: true,
|
// gzipSize: true,
|
||||||
// brotliSize: true,
|
// brotliSize: true,
|
||||||
|
960
sql/x_admin.sql
960
sql/x_admin.sql
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user