Compare commits

..

2 Commits

3 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,10 @@
<template>
</template>
<script lang="ts" setup>
</script>
<style scoped>
</style>

View File

@ -1,6 +1,6 @@
import authentication_main from '../views/authentication/authentication_main.vue'
import register from '../views/authentication/authentication_register.vue'
import authentication_login from "../views/authentication/authentication_login.vue";
// import authentication_main from '../views/authentication/authentication_main.vue'
// import register from '../views/authentication/authentication_register.vue'
// import authentication_login from "../views/authentication/authentication_login.vue";
export default [
// { path: '/main', component: authentication_main },
// { path: '/login', component: authentication_login },

View File

@ -101,7 +101,6 @@
<script lang="ts">
import {ref, onMounted, defineComponent} from 'vue';
import organizationService from '../../services/organizationService';
import {useStore} from 'vuex';
import {ElMessage, ElMessageBox} from "element-plus";
@ -120,7 +119,6 @@ interface Organization {
export default defineComponent({
setup() {
const store = useStore();
const showTable = ref(true);
const show = ref(false);
const showDialogAdd = ref(false);
@ -138,9 +136,6 @@ export default defineComponent({
organizationStatus: true,
}
);
const dialogFormPerson = ref({
});
const originTableData = ref<Organization[]>([]);
const tableData = ref<Organization[]>([]);
@ -211,7 +206,7 @@ export default defineComponent({
organizationService.addOrganization(dialogFormAdd.value);
ElMessage({
type: 'success',
message: `添加成功`,
message: `成功`,
})
showDialogAdd.value = false;
@ -251,7 +246,7 @@ export default defineComponent({
.catch(() => {
ElMessage({
type: 'info',
message: 'Delete canceled',
message: '取消删除',
})
})
@ -282,7 +277,6 @@ export default defineComponent({
})
const handleSearch = () => {
console.log('搜索', search.value);
// if(search.value.name != ''){
tableData.value = noChildrenData.value.filter(
(data) => {
const isNameValid = search.value && search.value.name;