Commit 4d20b1b1 by liujinbo

Merge branch 'refs/heads/master' into master_ljb

parents 6faddd2e 554afc36
import { http, post } from 'mocp/utils/http'
import { http } from 'mocp/utils/http'
//布置工作
export const getArrangeWorkListForAppApi = (data, config) => {
return post({
return http({
method: 'POST',
url: '/technical-support/getArrangeWorkListForApp',
data,
......
......@@ -12,6 +12,7 @@
:loading-more-enabled="loadingMoreEnabled"
:back-to-top-bottom="backToTopBottom"
show-refresher-update-time
:hide-empty-view="!auto"
@query="queryList"
@scroll="scroll"
:paging-style="getPagingStyle"
......
......@@ -103,9 +103,8 @@ onLoad(() => {
})
const goTo = (url, params) => {
if (params) {
uni.$mocpJump.navigateTo(url, params).then(() => {
aogStore.setState('materialType', params.materialType)
})
aogStore.setState('materialType', params.materialType)
uni.$mocpJump.navigateTo(url, params)
} else {
uni.$mocpJump.navigateTo(url)
}
......
......@@ -68,11 +68,11 @@ const handleLeftClick = () => {
}
//保存
const handleRightClick = () => {
navLeftType.value = 'icon'
if (homeMenuList.value.length > 0) {
if (homeMenuList.value.length > 15) {
uni.$mocpMessage.warning('最多设置15个首页菜单')
} else {
navLeftType.value = 'icon'
isEdit.value = false
userStore.changeHomeMenuList(cloneDeep(homeMenuList.value))
uni.$mocpMessage.success('保存菜单成功')
......
......@@ -220,9 +220,6 @@ const handleRightClick = () => {
const handleFooterClick = () => {
uni.$mocpJump.navigateTo(assignWorkStore.getDetailsFooterBtn?.path)
}
onUnload(() => {
assignWorkStore.$reset()
})
</script>
<style lang="scss" scoped>
@import './constants/details.scss';
......
......@@ -16,9 +16,10 @@ import AppraisalRecordList from './components/appraisal-record-list.vue'
import MoveDecisionList from './components/move-decision-list.vue'
import TechnologyEvaluationList from './components/technology-evaluation-list.vue'
const { windowHeight } = uni.getSystemInfoSync()
const { windowHeight, safeAreaInsets } = uni.getSystemInfoSync()
//内容高度-nav高度-底部安全区-底部安全区
const getHeight = computed(() => {
return windowHeight - 85 * 4 + 'px'
return windowHeight - 44 - safeAreaInsets?.top - safeAreaInsets?.bottom - 75 * 4 + 'px'
})
</script>
<style lang="scss">
......
src/static/mocp/image/panel/wdgj.png

1.83 KB | W: | H:

src/static/mocp/image/panel/wdgj.png

9.78 KB | W: | H:

src/static/mocp/image/panel/wdgj.png
src/static/mocp/image/panel/wdgj.png
src/static/mocp/image/panel/wdgj.png
src/static/mocp/image/panel/wdgj.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment