Merge pull request '邓洁 : 修改细节' (#66) from dj into master
Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/66
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:close-on-press-escape="false"
|
:close-on-press-escape="false"
|
||||||
>
|
>
|
||||||
<fan-info/>
|
<fan-info v-if="showFan"/>
|
||||||
<transducer-list/>
|
<transducer-list/>
|
||||||
<used-ele/>
|
<used-ele/>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
@@ -43,9 +43,9 @@
|
|||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:close-on-press-escape="false"
|
:close-on-press-escape="false"
|
||||||
>
|
>
|
||||||
<wind-pressure-list/>
|
<wind-pressure-list v-if="showFan"/>
|
||||||
<air-info/>
|
<air-info v-if="showFan"/>
|
||||||
<bad-gas-info/>
|
<bad-gas-info v-if="showFan"/>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<div v-if="drawerRight" class="right-arrow" @click="closeRight"></div>
|
<div v-if="drawerRight" class="right-arrow" @click="closeRight"></div>
|
||||||
<div v-else class="shrink-right" @click="closeRight"></div>
|
<div v-else class="shrink-right" @click="closeRight"></div>
|
||||||
@@ -75,10 +75,12 @@ import BadGasInfo from "@/components/content/badGasInfo/BadGasInfo.vue";
|
|||||||
import ManageBtn from "@/components/manageBtn/index.vue";
|
import ManageBtn from "@/components/manageBtn/index.vue";
|
||||||
import {dateFormat} from "@/utils/date.js";
|
import {dateFormat} from "@/utils/date.js";
|
||||||
import {useAuthStore} from '@/store/userstore.js'
|
import {useAuthStore} from '@/store/userstore.js'
|
||||||
|
import {onMounted} from "vue";
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const selectIndex = ref(1)
|
const selectIndex = ref(1)
|
||||||
|
const showFan = ref(false)
|
||||||
const drawerLeft = ref(true)
|
const drawerLeft = ref(true)
|
||||||
const drawerRight = ref(true)
|
const drawerRight = ref(true)
|
||||||
const currentSite = ref('松江站')
|
const currentSite = ref('松江站')
|
||||||
@@ -109,6 +111,11 @@ const tunnelList = ref([
|
|||||||
name: '七号隧道'
|
name: '七号隧道'
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
onMounted(()=>{
|
||||||
|
nextTick(()=>{
|
||||||
|
showFan.value=true
|
||||||
|
})
|
||||||
|
})
|
||||||
const manageSelect = () => {
|
const manageSelect = () => {
|
||||||
// getInfo();
|
// getInfo();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user