From a22aa1086eeef39a26cc161326ce09cd183185ea Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Fri, 04 Mar 2022 15:57:47 +0800
Subject: [PATCH] 3.3 1.自定义标签,退出后自动清除 2.自定义标签,转换二维码的数据格式ok,移动端对接二维码ok, 3.自定义标签点击移动到指定位置 ok 4.面板自适应高度 4.更换定位依赖,自定义标签扫码入移动端可以定位并显示路线
---
src/pcviews/service/transfer.vue | 99 +++++++++++++++++++++++--------------------------
1 files changed, 47 insertions(+), 52 deletions(-)
diff --git a/src/pcviews/service/transfer.vue b/src/pcviews/service/transfer.vue
index 48605be..12b399d 100644
--- a/src/pcviews/service/transfer.vue
+++ b/src/pcviews/service/transfer.vue
@@ -1,61 +1,56 @@
-/*
- * @Author: Morpheus
- * @Name: 圈存机
- * @Date: 2021-11-15 17:14:47
- * @Last Modified by: Morpheus
- * @Last Modified time: 2022-01-25 09:30:17
- */
+/* * @Author: Morpheus * @Name: 圈存机 * @Date: 2021-11-15 17:14:47 * @Last
+Modified by: Morpheus * @Last Modified time: 2022-01-25 09:30:17 */
<template>
- <div>
- <service-nav-bar :title="title"
- :arcCode="code"
- :headerLog="headerLog"></service-nav-bar>
- </div>
+ <div>
+ <service-nav-bar
+ :title="title"
+ :arcCode="code"
+ :headerLog="headerLog"
+ ></service-nav-bar>
+ </div>
</template>
<script>
-
-import { mapGetters } from 'vuex'
+import { mapGetters } from "vuex";
export default {
- data () {
- return {
- title: '圈存机',
- code: 6,
- headerLog: '/img/icon/service-qcj.png'
- }
- },
- created () {
- if (this.orgNavBarFlag == true) {
- this.$store.commit('SET_ORGNAVBARTITLE', '')
- this.$store.commit('SET_ORGNAVBARLIST', [])
- this.$store.commit('SET_ORGNAVBARFLAG', false)
- }
- if (this.arcNavBarFlag == true) {
- this.$store.commit('SET_ARCNAVBARTITLE', '')
- this.$store.commit('SET_ARCNAVBARCODE', '')
- this.$store.commit('SET_ARCNAVBARFLAG', false)
- }
- if (this.searchPopupFlag == true) {
- this.$store.commit('SET_SEARCHPOPUPFLAG', false)
- }
- },
- computed: {
- ...mapGetters([
- // 社区内导航的显示关闭
- 'orgNavBarFlag',
- 'arcNavBarFlag',
- 'searchPopupFlag'
- ])
- },
- methods: {
- closeModel () {
- this.$store.dispatch('delVisitedViews', this.$route)
- this.$router.push('/pcLayout/default')
- }
+ data() {
+ return {
+ title: "圈存机",
+ code: 6,
+ headerLog: "/img/icon/service-qcj.png",
+ };
+ },
+ created() {
+ if (this.orgNavBarFlag == true) {
+ this.$store.commit("SET_ORGNAVBARTITLE", "");
+ this.$store.commit("SET_ORGNAVBARLIST", []);
+ this.$store.commit("SET_ORGNAVBARFLAG", false);
}
-}
+ if (this.arcNavBarFlag == true) {
+ this.$store.commit("SET_ARCNAVBARTITLE", "");
+ this.$store.commit("SET_ARCNAVBARCODE", "");
+ this.$store.commit("SET_ARCNAVBARFLAG", false);
+ }
+ if (this.searchPopupFlag == true) {
+ this.$store.commit("SET_SEARCHPOPUPFLAG", false);
+ }
+ },
+ computed: {
+ ...mapGetters([
+ // 校区内导航的显示关闭
+ "orgNavBarFlag",
+ "arcNavBarFlag",
+ "searchPopupFlag",
+ ]),
+ },
+ methods: {
+ closeModel() {
+ this.$store.dispatch("delVisitedViews", this.$route);
+ this.$router.push("/pcLayout/default");
+ },
+ },
+};
</script>
-<style>
-</style>
+<style></style>
--
Gitblit v1.9.3