mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
-- 样式修改
This commit is contained in:
@@ -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)
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user