mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
-- 样式修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="visiable"
|
:visible="visiableState"
|
||||||
class="drawerStyle ProjCheckship"
|
class="drawerStyle ProjCheckship"
|
||||||
placement="right"
|
placement="right"
|
||||||
width="45%"
|
width="45%"
|
||||||
@@ -101,16 +101,16 @@
|
|||||||
multiple
|
multiple
|
||||||
>
|
>
|
||||||
</a-tree>
|
</a-tree>
|
||||||
<!-- <div>-->
|
<!-- <div>-->
|
||||||
<!-- <a-table-->
|
<!-- <a-table-->
|
||||||
<!-- :columns="stuColumns"-->
|
<!-- :columns="stuColumns"-->
|
||||||
<!-- :data-source="stuData"-->
|
<!-- :data-source="stuData"-->
|
||||||
<!-- :pagination="stuPagination"-->
|
<!-- :pagination="stuPagination"-->
|
||||||
<!-- :loading="orgLoading"-->
|
<!-- :loading="orgLoading"-->
|
||||||
<!-- row-key="id"-->
|
<!-- row-key="id"-->
|
||||||
<!-- :row-selection="stuRowSelection"-->
|
<!-- :row-selection="stuRowSelection"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
@@ -181,14 +181,14 @@
|
|||||||
</a-drawer>
|
</a-drawer>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {computed, defineEmits, defineProps, onMounted, ref, watch} from "vue";
|
import {computed, defineEmits, defineProps, onMounted, ref} from "vue";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import {request, useBoeApi, useBoeApiPage} from "@/api/request";
|
import {useBoeApi, useBoeApiPage} from "@/api/request";
|
||||||
import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, USER_LIST} from "@/api/ThirdApi";
|
import {AUDIENCE_LIST, ORG_LIST, USER_LIST} from "@/api/ThirdApi";
|
||||||
import {saveStu} from "@/api/index1";
|
import {saveStu} from "@/api/index1";
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const emit = defineEmits()
|
const emit = defineEmits({})
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
type: Number,
|
type: Number,
|
||||||
visiable: {
|
visiable: {
|
||||||
@@ -197,8 +197,9 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const visiableState = computed(() => props.visiable)
|
||||||
|
|
||||||
const activeKey = ref(1)
|
const activeKey = ref(1)
|
||||||
const visiableState = ref(false)
|
|
||||||
const selectsData = ref({
|
const selectsData = ref({
|
||||||
studentList: [],
|
studentList: [],
|
||||||
deptList: [],
|
deptList: [],
|
||||||
@@ -238,7 +239,6 @@ const {
|
|||||||
const {
|
const {
|
||||||
data: orgData,
|
data: orgData,
|
||||||
fetch: searchOrg,
|
fetch: searchOrg,
|
||||||
loading: orgLoading
|
|
||||||
} = useBoeApi(ORG_LIST, searchOrgName.value)
|
} = useBoeApi(ORG_LIST, searchOrgName.value)
|
||||||
|
|
||||||
const {
|
const {
|
||||||
@@ -397,13 +397,13 @@ function AuditDel(i) {
|
|||||||
auditSelectKeys.value = auditSelectKeys.value.filter(e => e !== selectsData.value.groupList[i].id)
|
auditSelectKeys.value = auditSelectKeys.value.filter(e => e !== selectsData.value.groupList[i].id)
|
||||||
selectsData.value.groupList.splice(i, 1)
|
selectsData.value.groupList.splice(i, 1)
|
||||||
}
|
}
|
||||||
|
//
|
||||||
function orgSelect(key, obj) {
|
// function orgSelect(key, obj) {
|
||||||
console.log(obj)
|
// console.log(obj)
|
||||||
request(ORG_CHILD_LIST, {orgId: null}).then(res => {
|
// request(ORG_CHILD_LIST, {orgId: null}).then(res => {
|
||||||
console.log(res.result)
|
// console.log(res.result)
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
|
|
||||||
function onStuSelectChange(e, l) {
|
function onStuSelectChange(e, l) {
|
||||||
stuSelectKeys.value = e
|
stuSelectKeys.value = e
|
||||||
@@ -420,10 +420,10 @@ function onAuditSelectChange(e, l) {
|
|||||||
selectsData.value.groupList = l
|
selectsData.value.groupList = l
|
||||||
}
|
}
|
||||||
|
|
||||||
const stuDepartmentSelect = (e) => {
|
// const stuDepartmentSelect = (e) => {
|
||||||
nameSearch.value.orgId = e.join('')
|
// nameSearch.value.orgId = e.join('')
|
||||||
searchStu()
|
// searchStu()
|
||||||
};
|
// };
|
||||||
|
|
||||||
//分页获取学员
|
//分页获取学员
|
||||||
const changePagination = (page) => {
|
const changePagination = (page) => {
|
||||||
@@ -459,13 +459,13 @@ const resetAudienceInfo = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
//全部清除
|
//全部清除
|
||||||
const deleteAll = () => {
|
// const deleteAll = () => {
|
||||||
selectsData.value = {
|
// selectsData.value = {
|
||||||
studentList: [],
|
// studentList: [],
|
||||||
deptList: [],
|
// deptList: [],
|
||||||
groupList: []
|
// groupList: []
|
||||||
}
|
// }
|
||||||
};
|
// };
|
||||||
//确定添加授权
|
//确定添加授权
|
||||||
const submitAuth = () => {
|
const submitAuth = () => {
|
||||||
emit('update:visiable', false)
|
emit('update:visiable', false)
|
||||||
@@ -253,7 +253,6 @@ import {message} from "ant-design-vue";
|
|||||||
import {useRoute, useRouter} from "vue-router";
|
import {useRoute, useRouter} from "vue-router";
|
||||||
import * as api from "../../api/index";
|
import * as api from "../../api/index";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import ProjectClass from "@/components/project/ProjectClass";
|
|
||||||
import TrainClass from "@/components/project/TrainClass";
|
import TrainClass from "@/components/project/TrainClass";
|
||||||
import OrgClass from "@/components/project/OrgClass";
|
import OrgClass from "@/components/project/OrgClass";
|
||||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
@@ -266,7 +265,6 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
ProjectManager,
|
ProjectManager,
|
||||||
ProjectLevel,
|
ProjectLevel,
|
||||||
ProjectClass,
|
|
||||||
TrainClass,
|
TrainClass,
|
||||||
OrgClass,
|
OrgClass,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -822,7 +822,6 @@ import * as api from "../../api/index";
|
|||||||
import * as api1 from "../../api/index1";
|
import * as api1 from "../../api/index1";
|
||||||
import {storage} from "../../api/storage";
|
import {storage} from "../../api/storage";
|
||||||
import ProjectManager from "@/components/project/ProjectManagerNew";
|
import ProjectManager from "@/components/project/ProjectManagerNew";
|
||||||
import ProjectClass from "@/components/project/ProjectClass";
|
|
||||||
import TrainClass from "@/components/project/TrainClass";
|
import TrainClass from "@/components/project/TrainClass";
|
||||||
import OrgClass from "@/components/project/OrgClass";
|
import OrgClass from "@/components/project/OrgClass";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
@@ -836,7 +835,6 @@ export default {
|
|||||||
ProjPowerList,
|
ProjPowerList,
|
||||||
ProjCheckShip,
|
ProjCheckShip,
|
||||||
ProjectManager,
|
ProjectManager,
|
||||||
ProjectClass,
|
|
||||||
OrgClass,
|
OrgClass,
|
||||||
TrainClass,
|
TrainClass,
|
||||||
// ProjManageShip
|
// ProjManageShip
|
||||||
|
|||||||
Reference in New Issue
Block a user