This commit is contained in:
parent
b0a324f83e
commit
c9b7d35e72
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue