style(系统设置): 系统项目页面删掉无用代码
This commit is contained in:
parent
77a56344a3
commit
8df7cba2e5
|
@ -40,7 +40,6 @@
|
||||||
@cancel="handleAddOrgModalCancel"
|
@cancel="handleAddOrgModalCancel"
|
||||||
/>
|
/>
|
||||||
<AddUserModal :organization-id="currentOrganizationId" :visible="userVisible" @cancel="handleAddUserModalCancel" />
|
<AddUserModal :organization-id="currentOrganizationId" :visible="userVisible" @cancel="handleAddUserModalCancel" />
|
||||||
<ProjectDrawer v-bind="currentProjectDrawer" @cancel="handleProjectDrawerCancel" />
|
|
||||||
<UserDrawer v-bind="currentUserDrawer" @cancel="handleUserDrawerCancel" />
|
<UserDrawer v-bind="currentUserDrawer" @cancel="handleUserDrawerCancel" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -62,7 +61,6 @@
|
||||||
import MsTableMoreAction from '@/components/pure/ms-table-more-action/index.vue';
|
import MsTableMoreAction from '@/components/pure/ms-table-more-action/index.vue';
|
||||||
import MsButton from '@/components/pure/ms-button/index.vue';
|
import MsButton from '@/components/pure/ms-button/index.vue';
|
||||||
import AddOrganizationModal from './addOrganizationModal.vue';
|
import AddOrganizationModal from './addOrganizationModal.vue';
|
||||||
import ProjectDrawer from './projectDrawer.vue';
|
|
||||||
import { Message, TableData } from '@arco-design/web-vue';
|
import { Message, TableData } from '@arco-design/web-vue';
|
||||||
import UserDrawer from './userDrawer.vue';
|
import UserDrawer from './userDrawer.vue';
|
||||||
import AddUserModal from './addUserModal.vue';
|
import AddUserModal from './addUserModal.vue';
|
||||||
|
@ -150,12 +148,6 @@
|
||||||
await loadList();
|
await loadList();
|
||||||
};
|
};
|
||||||
|
|
||||||
const currentProjectDrawer = reactive({
|
|
||||||
visible: false,
|
|
||||||
organizationId: '',
|
|
||||||
currentName: '',
|
|
||||||
});
|
|
||||||
|
|
||||||
const currentUserDrawer = reactive({
|
const currentUserDrawer = reactive({
|
||||||
visible: false,
|
visible: false,
|
||||||
organizationId: '',
|
organizationId: '',
|
||||||
|
@ -232,17 +224,6 @@
|
||||||
userVisible.value = true;
|
userVisible.value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleProjectDrawerCancel = () => {
|
|
||||||
currentProjectDrawer.visible = false;
|
|
||||||
fetchData();
|
|
||||||
};
|
|
||||||
|
|
||||||
const showProjectDrawer = (record: TableData) => {
|
|
||||||
currentProjectDrawer.visible = true;
|
|
||||||
currentProjectDrawer.organizationId = record.id;
|
|
||||||
currentProjectDrawer.currentName = record.name;
|
|
||||||
};
|
|
||||||
|
|
||||||
const showUserDrawer = (record: TableData) => {
|
const showUserDrawer = (record: TableData) => {
|
||||||
currentUserDrawer.visible = true;
|
currentUserDrawer.visible = true;
|
||||||
currentUserDrawer.organizationId = record.id;
|
currentUserDrawer.organizationId = record.id;
|
||||||
|
|
Loading…
Reference in New Issue