Compare commits

..

No commits in common. "10e6d1025e27102946ae01502dfb8d371badfdb7" and "cfbb897cf00470f320862afae6d692350680c194" have entirely different histories.

3 changed files with 11 additions and 15 deletions

View File

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