This commit is contained in:
BianLzhaoMin 2025-05-23 08:17:13 +08:00
parent b0a324f83e
commit c9b7d35e72
1 changed files with 7 additions and 6 deletions

View File

@ -147,7 +147,7 @@
</template>
<script setup>
import { ref, onMounted } from 'vue'
import { ref, onMounted, reactive } from 'vue'
import { useMemberStore, useCommonStore } from '@/stores'
import { useCommon } from '@/hooks/useCommon.js'
import { getProcedureApi } from '@/services/common.js'
@ -164,10 +164,9 @@ const { safeAreaInsets } = uni.getSystemInfoSync()
const projectShow = ref(false)
const majorShow = ref(false)
const procedureShow = ref(false)
const projectList = ref([])
const majorList = ref([])
const projectList = reactive([])
const majorList = reactive([])
const procedureList = ref([])
const searchFormRef = ref(null)
const memberStore = useMemberStore() //
const commonStore = useCommonStore() //
const userPermissions = ref(memberStore.userInfo.permissions || [])
@ -226,8 +225,10 @@ if (userPermissions.value.length > 0) {
const rightPopupShow = ref(false)
//
const onHandleSelect = async () => {
projectList.value.push(await getProjectList())
majorList.value.push(await getMajorList())
projectList = []
majorList = []
projectList.push(await getProjectList())
majorList.push(await getMajorList())
rightPopupShow.value = true
}