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