|
@@ -82,7 +82,7 @@
|
|
<div class='view-right-box'>
|
|
<div class='view-right-box'>
|
|
<div class='lb-right'>
|
|
<div class='lb-right'>
|
|
<div v-if='pic1.length>0' style='height:100%'>
|
|
<div v-if='pic1.length>0' style='height:100%'>
|
|
- <rotation type='2' :rotationImg='pic1' :key='1' @scan='scan'></rotation>
|
|
|
|
|
|
+ <rotation type='5' :rotationImg='pic1' :key='1' @scan='scan'></rotation>
|
|
<div class='lb-icon' @click='picClick("1")'></div>
|
|
<div class='lb-icon' @click='picClick("1")'></div>
|
|
<img class='lb-img' @click='picClick("1")' src='../../assets/imgs/zk.png' alt />
|
|
<img class='lb-img' @click='picClick("1")' src='../../assets/imgs/zk.png' alt />
|
|
</div>
|
|
</div>
|
|
@@ -205,9 +205,7 @@
|
|
import PicModal from './picModal'
|
|
import PicModal from './picModal'
|
|
import { queryFact } from '@/api/overview'
|
|
import { queryFact } from '@/api/overview'
|
|
import { mapGetters } from 'vuex'
|
|
import { mapGetters } from 'vuex'
|
|
-import {
|
|
|
|
- query
|
|
|
|
-} from "@/utils/query"
|
|
|
|
|
|
+import { query } from '@/utils/query'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -346,7 +344,7 @@ export default {
|
|
// }
|
|
// }
|
|
},
|
|
},
|
|
query() {
|
|
query() {
|
|
- let plazaId = this.$route.query.plazaId ?this.$route.query.plazaId:this.plazaId
|
|
|
|
|
|
+ let plazaId = this.$route.query.plazaId ? this.$route.query.plazaId : this.plazaId
|
|
let params = {
|
|
let params = {
|
|
getParams: {
|
|
getParams: {
|
|
plazaId: plazaId,
|
|
plazaId: plazaId,
|
|
@@ -380,8 +378,8 @@ export default {
|
|
this.shuzihuayijiao = res.shuzihuayijiao ? res.shuzihuayijiao : ''
|
|
this.shuzihuayijiao = res.shuzihuayijiao ? res.shuzihuayijiao : ''
|
|
if (res.plazaName) {
|
|
if (res.plazaName) {
|
|
this.$store.commit('SETPLAZENAME', res.plazaName)
|
|
this.$store.commit('SETPLAZENAME', res.plazaName)
|
|
- }else{
|
|
|
|
- this.$store.commit('SETPLAZENAME','')
|
|
|
|
|
|
+ } else {
|
|
|
|
+ this.$store.commit('SETPLAZENAME', '')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -425,14 +423,13 @@ export default {
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
'$store.state.plazaId': {
|
|
'$store.state.plazaId': {
|
|
- handler(val,nel){
|
|
|
|
- console.log('val',val,nel)
|
|
|
|
- this.query()
|
|
|
|
- },
|
|
|
|
- immediate:true
|
|
|
|
- }
|
|
|
|
|
|
+ handler(val, nel) {
|
|
|
|
+ console.log('val', val, nel)
|
|
|
|
+ this.query()
|
|
|
|
+ },
|
|
|
|
+ immediate: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
-
|
|
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|