|
@@ -30,7 +30,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
goBackVisible: () => {
|
|
|
- return window.location.href.indexOf("ordinaryPage") == -1;
|
|
|
+ return false
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
@@ -48,35 +48,11 @@ export default {
|
|
|
// this.$emit("blur");
|
|
|
},
|
|
|
goBack() {
|
|
|
- if (window.location.href.indexOf("ordinaryPage") == -1) {
|
|
|
- this.$router.push({
|
|
|
- path: '/ordinaryPage',
|
|
|
- query:{
|
|
|
- m: '8b934420_ZJUb_b6f9'
|
|
|
- }
|
|
|
- })
|
|
|
- } else if (window.location.href.indexOf("ordinaryPage") !== -1) {
|
|
|
- this.$store.dispatch('common/setSquareStatus', true)
|
|
|
- }
|
|
|
+
|
|
|
},
|
|
|
modeChange() {
|
|
|
- if (window.location.href.indexOf("ordinaryPage") !== -1) {
|
|
|
- window.location.href = "/home?m=8b934420_ZJUb_b6f9";
|
|
|
- //this.$router.push({
|
|
|
- // path: '/home',
|
|
|
- // query:{
|
|
|
- // m: '8b934420_ZJUb_b6f9'
|
|
|
- // }
|
|
|
- //})
|
|
|
- } else {
|
|
|
- this.$store.dispatch('common/setSquareStatus', false)
|
|
|
- this.$router.push({
|
|
|
- path: '/',
|
|
|
- query:{
|
|
|
- m: '8b934420_ZJUb_b6f9'
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ this.$store.dispatch('common/setSquareStatus', false)
|
|
|
+ this.$store.dispatch("common/toggle3dStatus");
|
|
|
},
|
|
|
goMantis() {
|
|
|
window.open("http://139.196.158.57:8080/mantis_test/#/dashboard", "_blank");
|
|
@@ -97,13 +73,8 @@ export default {
|
|
|
// })
|
|
|
},
|
|
|
goSquare(){
|
|
|
+ this.$store.dispatch("common/set3dStatus", false);
|
|
|
this.$store.dispatch("common/setSquareStatus", true);
|
|
|
- this.$router.push({
|
|
|
- path: '/ordinaryPage',
|
|
|
- query:{
|
|
|
- m: '8b934420_ZJUb_b6f9'
|
|
|
- }
|
|
|
- })
|
|
|
}
|
|
|
},
|
|
|
};
|