面授管理更改OrgClassCheck页面

This commit is contained in:
joshen@zcwytd.com
2023-08-02 14:22:23 +08:00
parent 19bf2f951b
commit 2fdb243eae
2 changed files with 4 additions and 4 deletions

View File

@@ -810,7 +810,7 @@ watch(visiable, () => {
orgSelectKeys.value = []; orgSelectKeys.value = [];
deptList.value = []; deptList.value = [];
audienceName.value.keyword = ""; audienceName.value.keyword = "";
nameSearch.value.departId = null; nameSearch.value.departId = '';
stuTreeExpandedKeys.value = []; stuTreeExpandedKeys.value = [];
stuTreeSelectKeys.value = []; stuTreeSelectKeys.value = [];
activeKey.value = props.isGroup ? 4 : 1; activeKey.value = props.isGroup ? 4 : 1;

View File

@@ -37,8 +37,8 @@
</template> </template>
<script setup> <script setup>
import {defineEmits, defineProps, ref, watch, watchEffect} from "vue"; import {defineEmits, defineProps, ref, watch, watchEffect} from "vue";
import {request, useRequest} from "@/api/request"; import {request, useRequest,useArrayRequest} from "@/api/request";
import { ORG_CHILD_LIST, ORG_LIST } from "@/api/ThirdApi"; import { ORG_CHILD_LIST, ORG_LIST } from "@/api/apis";
const props = defineProps({ const props = defineProps({
value: { value: {
@@ -57,7 +57,7 @@ const props = defineProps({
const emit = defineEmits({}); const emit = defineEmits({});
const stuTreeExpandedKeys = ref([]); const stuTreeExpandedKeys = ref([]);
const labelValue = ref([]); const labelValue = ref([]);
const { data: options, loading: orgLoading } = useRequest( const { data: options, loading: orgLoading } = useArrayRequest(
ORG_LIST, ORG_LIST,
{ keyword: "" }, { keyword: "" },
); );