提交修改
This commit is contained in:
parent
12e0972f8d
commit
65e2f1f8b3
@ -142,7 +142,7 @@ export const apiGetTCounts = data => {
|
|||||||
|
|
||||||
// 新增盘点次数
|
// 新增盘点次数
|
||||||
export const apiAddTCounts = () => {
|
export const apiAddTCounts = () => {
|
||||||
return http({url: `/lz_management/modules/count/newStart`, method: 'get',})
|
return http({url: `/lz_management/modules/count/newStart`, method: 'get'})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除盘点次数
|
// 删除盘点次数
|
||||||
|
|||||||
@ -5,22 +5,22 @@
|
|||||||
v-loading.fullscreen.lock="loading"
|
v-loading.fullscreen.lock="loading"
|
||||||
element-loading-text="拼命加载中">
|
element-loading-text="拼命加载中">
|
||||||
<template v-if="!loading">
|
<template v-if="!loading">
|
||||||
<main-navbar />
|
<main-navbar/>
|
||||||
<main-sidebar />
|
<main-sidebar/>
|
||||||
<div class="site-content__wrapper" :style="{ 'min-height': documentClientHeight + 'px' }">
|
<div class="site-content__wrapper" :style="{ 'min-height': documentClientHeight + 'px' }">
|
||||||
<main-content v-if="!$store.state.common.contentIsNeedRefresh" />
|
<main-content v-if="!$store.state.common.contentIsNeedRefresh"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import MainNavbar from './main-navbar'
|
import MainNavbar from './main-navbar'
|
||||||
import MainSidebar from './main-sidebar'
|
import MainSidebar from './main-sidebar'
|
||||||
import MainContent from './main-content'
|
import MainContent from './main-content'
|
||||||
import { apiGetUserInfo } from '@/api/api_sys'
|
import {apiGetUserInfo} from '@/api/api_sys'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
provide () {
|
provide () {
|
||||||
return {
|
return {
|
||||||
// 刷新
|
// 刷新
|
||||||
@ -44,21 +44,33 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
documentClientHeight: {
|
documentClientHeight: {
|
||||||
get () { return this.$store.state.common.documentClientHeight },
|
get () {
|
||||||
set (val) { this.$store.commit('common/updateDocumentClientHeight', val) }
|
return this.$store.state.common.documentClientHeight
|
||||||
|
},
|
||||||
|
set (val) {
|
||||||
|
this.$store.commit('common/updateDocumentClientHeight', val)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sidebarFold: {
|
sidebarFold: {
|
||||||
get () { return this.$store.state.common.sidebarFold }
|
get () {
|
||||||
|
return this.$store.state.common.sidebarFold
|
||||||
|
}
|
||||||
},
|
},
|
||||||
userId: {
|
userId: {
|
||||||
get () { return this.$store.state.user.id },
|
get () {
|
||||||
set (val) { this.$store.commit('user/updateId', val) }
|
return this.$store.state.user.id
|
||||||
|
},
|
||||||
|
set (val) {
|
||||||
|
this.$store.commit('user/updateId', val)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
userName: {
|
userName: {
|
||||||
get () {
|
get () {
|
||||||
return this.$store.state.user.userName
|
return this.$store.state.user.userName
|
||||||
},
|
},
|
||||||
set (val) { this.$store.commit('user/updateName', val) }
|
set (val) {
|
||||||
|
this.$store.commit('user/updateName', val)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@ -66,7 +78,6 @@
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.resetDocumentClientHeight()
|
this.resetDocumentClientHeight()
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 重置窗口可视高度
|
// 重置窗口可视高度
|
||||||
@ -94,6 +105,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AddOrUpdate from './lzstaffrole-add-or-update'
|
import AddOrUpdate from './lzstaffrole-add-or-update'
|
||||||
import {apiGetRoleList,apiDelete} from '@/api/api_staff_role'
|
import {apiGetRoleList, apiDelete} from '@/api/api_staff_role'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user