-- 样式修改

This commit is contained in:
yuping
2022-12-10 16:41:08 +08:00
parent e905422a8e
commit 7864c1ec0f
3 changed files with 35 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
<template>
<a-drawer
:visible="visiable"
:visible="visiableState"
class="drawerStyle ProjCheckship"
placement="right"
width="45%"
@@ -101,16 +101,16 @@
multiple
>
</a-tree>
<!-- <div>-->
<!-- <a-table-->
<!-- :columns="stuColumns"-->
<!-- :data-source="stuData"-->
<!-- :pagination="stuPagination"-->
<!-- :loading="orgLoading"-->
<!-- row-key="id"-->
<!-- :row-selection="stuRowSelection"-->
<!-- />-->
<!-- </div>-->
<!-- <div>-->
<!-- <a-table-->
<!-- :columns="stuColumns"-->
<!-- :data-source="stuData"-->
<!-- :pagination="stuPagination"-->
<!-- :loading="orgLoading"-->
<!-- row-key="id"-->
<!-- :row-selection="stuRowSelection"-->
<!-- />-->
<!-- </div>-->
</div>
</div>
</a-tab-pane>
@@ -181,14 +181,14 @@
</a-drawer>
</template>
<script setup>
import {computed, defineEmits, defineProps, onMounted, ref, watch} from "vue";
import {computed, defineEmits, defineProps, onMounted, ref} from "vue";
import {useStore} from "vuex";
import {request, useBoeApi, useBoeApiPage} from "@/api/request";
import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, USER_LIST} from "@/api/ThirdApi";
import {useBoeApi, useBoeApiPage} from "@/api/request";
import {AUDIENCE_LIST, ORG_LIST, USER_LIST} from "@/api/ThirdApi";
import {saveStu} from "@/api/index1";
const store = useStore();
const emit = defineEmits()
const emit = defineEmits({})
const props = defineProps({
type: Number,
visiable: {
@@ -197,8 +197,9 @@ const props = defineProps({
},
})
const visiableState = computed(() => props.visiable)
const activeKey = ref(1)
const visiableState = ref(false)
const selectsData = ref({
studentList: [],
deptList: [],
@@ -238,7 +239,6 @@ const {
const {
data: orgData,
fetch: searchOrg,
loading: orgLoading
} = useBoeApi(ORG_LIST, searchOrgName.value)
const {
@@ -397,13 +397,13 @@ function AuditDel(i) {
auditSelectKeys.value = auditSelectKeys.value.filter(e => e !== selectsData.value.groupList[i].id)
selectsData.value.groupList.splice(i, 1)
}
function orgSelect(key, obj) {
console.log(obj)
request(ORG_CHILD_LIST, {orgId: null}).then(res => {
console.log(res.result)
})
}
//
// function orgSelect(key, obj) {
// console.log(obj)
// request(ORG_CHILD_LIST, {orgId: null}).then(res => {
// console.log(res.result)
// })
// }
function onStuSelectChange(e, l) {
stuSelectKeys.value = e
@@ -420,10 +420,10 @@ function onAuditSelectChange(e, l) {
selectsData.value.groupList = l
}
const stuDepartmentSelect = (e) => {
nameSearch.value.orgId = e.join('')
searchStu()
};
// const stuDepartmentSelect = (e) => {
// nameSearch.value.orgId = e.join('')
// searchStu()
// };
//
const changePagination = (page) => {
@@ -459,13 +459,13 @@ const resetAudienceInfo = () => {
};
//
const deleteAll = () => {
selectsData.value = {
studentList: [],
deptList: [],
groupList: []
}
};
// const deleteAll = () => {
// selectsData.value = {
// studentList: [],
// deptList: [],
// groupList: []
// }
// };
//
const submitAuth = () => {
emit('update:visiable', false)

View File

@@ -253,7 +253,6 @@ import {message} from "ant-design-vue";
import {useRoute, useRouter} from "vue-router";
import * as api from "../../api/index";
import {useStore} from "vuex";
import ProjectClass from "@/components/project/ProjectClass";
import TrainClass from "@/components/project/TrainClass";
import OrgClass from "@/components/project/OrgClass";
import ProjectManager from "@/components/project/ProjectManagerNew";
@@ -266,7 +265,6 @@ export default {
components: {
ProjectManager,
ProjectLevel,
ProjectClass,
TrainClass,
OrgClass,
},

View File

@@ -822,7 +822,6 @@ import * as api from "../../api/index";
import * as api1 from "../../api/index1";
import {storage} from "../../api/storage";
import ProjectManager from "@/components/project/ProjectManagerNew";
import ProjectClass from "@/components/project/ProjectClass";
import TrainClass from "@/components/project/TrainClass";
import OrgClass from "@/components/project/OrgClass";
import dayjs from "dayjs";
@@ -836,7 +835,6 @@ export default {
ProjPowerList,
ProjCheckShip,
ProjectManager,
ProjectClass,
OrgClass,
TrainClass,
// ProjManageShip