This commit is contained in:
parent
c9b7d35e72
commit
be2d8f85e1
|
|
@ -164,8 +164,8 @@ const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||||
const projectShow = ref(false)
|
const projectShow = ref(false)
|
||||||
const majorShow = ref(false)
|
const majorShow = ref(false)
|
||||||
const procedureShow = ref(false)
|
const procedureShow = ref(false)
|
||||||
const projectList = reactive([])
|
const projectList = ref([])
|
||||||
const majorList = reactive([])
|
const majorList = ref([])
|
||||||
const procedureList = ref([])
|
const procedureList = ref([])
|
||||||
const memberStore = useMemberStore() // 用户信息
|
const memberStore = useMemberStore() // 用户信息
|
||||||
const commonStore = useCommonStore() // 公共信息
|
const commonStore = useCommonStore() // 公共信息
|
||||||
|
|
@ -225,10 +225,12 @@ if (userPermissions.value.length > 0) {
|
||||||
const rightPopupShow = ref(false)
|
const rightPopupShow = ref(false)
|
||||||
// 选择项目专业工序等
|
// 选择项目专业工序等
|
||||||
const onHandleSelect = async () => {
|
const onHandleSelect = async () => {
|
||||||
projectList = []
|
if (projectList.value.length === 0) {
|
||||||
majorList = []
|
projectList.value.push(await getProjectList())
|
||||||
projectList.push(await getProjectList())
|
}
|
||||||
majorList.push(await getMajorList())
|
if (majorList.value.length === 0) {
|
||||||
|
majorList.value.push(await getMajorList())
|
||||||
|
}
|
||||||
rightPopupShow.value = true
|
rightPopupShow.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue