|
@@ -47,12 +47,12 @@
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
param: {
|
|
param: {
|
|
- ProjId: this.projectId, //项目id
|
|
|
|
|
|
+ ProjId: this.currentProjectId, //项目id
|
|
UserId: this.userId //用户id
|
|
UserId: this.userId //用户id
|
|
},
|
|
},
|
|
pointParam: {
|
|
pointParam: {
|
|
//point请求参数
|
|
//point请求参数
|
|
- ProjId: this.projectId, //项目id
|
|
|
|
|
|
+ ProjId: this.currentProjectId, //项目id
|
|
UserId: this.userId, //用户id
|
|
UserId: this.userId, //用户id
|
|
fllorName: ""
|
|
fllorName: ""
|
|
},
|
|
},
|
|
@@ -68,11 +68,7 @@
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- ...mapGetters("peojMess", [
|
|
|
|
- "projectId",
|
|
|
|
- "userId",
|
|
|
|
- "secret"
|
|
|
|
- ])
|
|
|
|
|
|
+ ...mapGetters('layout', ['currentProjectId', 'secret', 'userId'])
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//修改楼层
|
|
//修改楼层
|
|
@@ -140,9 +136,9 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
changeValue() {
|
|
changeValue() {
|
|
- this.$set(this.param, 'ProjId', this.projectId)
|
|
|
|
|
|
+ this.$set(this.param, 'ProjId', this.currentProjectId)
|
|
this.$set(this.param, 'UserId', this.userId)
|
|
this.$set(this.param, 'UserId', this.userId)
|
|
- this.$set(this.pointParam, 'ProjId', this.projectId)
|
|
|
|
|
|
+ this.$set(this.pointParam, 'ProjId', this.currentProjectId)
|
|
this.$set(this.pointParam, 'UserId', this.userId)
|
|
this.$set(this.pointParam, 'UserId', this.userId)
|
|
this.show = true
|
|
this.show = true
|
|
},
|
|
},
|