|
@@ -42,6 +42,7 @@ import { formatTime } from '@/utils/format.js'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
import moment from 'moment'
|
|
import moment from 'moment'
|
|
import { queryDraftNum } from '../../src/api/public'
|
|
import { queryDraftNum } from '../../src/api/public'
|
|
|
|
+import store from '../store'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -161,8 +162,10 @@ export default {
|
|
clickEventAcitve(item) {
|
|
clickEventAcitve(item) {
|
|
if (item.name == '楼层功能') {
|
|
if (item.name == '楼层功能') {
|
|
this.$cookie.set('categoryId', 'LCGN', 3)
|
|
this.$cookie.set('categoryId', 'LCGN', 3)
|
|
|
|
+ store.commit('SETCATEGORYID', 'LCGN')
|
|
} else {
|
|
} else {
|
|
this.$cookie.set('categoryId', 'GDXT', 3)
|
|
this.$cookie.set('categoryId', 'GDXT', 3)
|
|
|
|
+ store.commit('SETCATEGORYID', 'GDXT')
|
|
}
|
|
}
|
|
this.list.forEach(ele => {
|
|
this.list.forEach(ele => {
|
|
ele.state = false
|
|
ele.state = false
|