|
@@ -232,10 +232,11 @@ export default {
|
|
|
"[object Object]"
|
|
|
) {
|
|
|
// 对象 肯定是详情页
|
|
|
- // console.log('状态',to.query[keyOfValue[to.path]])
|
|
|
+
|
|
|
let obj = {};
|
|
|
if (instructionList[to.path][to.query[keyOfValue[to.path]]]) {
|
|
|
let parameter = to.query[keyOfValue[to.path]];
|
|
|
+
|
|
|
obj = { ...instructionList[to.path][parameter] };
|
|
|
} else {
|
|
|
obj = instructionList[to.path];
|
|
@@ -247,22 +248,6 @@ export default {
|
|
|
this.str = obj[some];
|
|
|
} else {
|
|
|
this.str = obj[to.query.tabrouter];
|
|
|
- // if (
|
|
|
- // to.path == "/business/resetTeaming" &&
|
|
|
- // to.query.tabrouter == "11"
|
|
|
- // ) {
|
|
|
- // to.query.team_status == "APPLY"
|
|
|
- // ? (this.str = "乐团报名")
|
|
|
- // : (this.str = "乐团缴费");
|
|
|
- // }
|
|
|
- // if (
|
|
|
- // to.path == "/business/resetTeaming" &&
|
|
|
- // (to.query.tabrouter == "3" || to.query.tabrouter == "6") &&
|
|
|
- // to.query.team_status == "PROGRESS"
|
|
|
- // ) {
|
|
|
- // this.str = "缴费项目创建";
|
|
|
- // }
|
|
|
-
|
|
|
if (obj[to.query.tabrouter]) {
|
|
|
this.url = `/html/index.html#g=1&p=${this.str}&c=1`;
|
|
|
|
|
@@ -305,12 +290,6 @@ export default {
|
|
|
|
|
|
fullscreen() {
|
|
|
const bodyEle = document.querySelector(".app-main");
|
|
|
- console.log(
|
|
|
- this.h == this.docY - this.y,
|
|
|
- this.w == bodyEle.clientWidth,
|
|
|
- this.x == 210,
|
|
|
- this.y == 135
|
|
|
- );
|
|
|
// this.h = this.docY - this.y;
|
|
|
return (
|
|
|
this.h == this.docY - this.y &&
|
|
@@ -340,9 +319,8 @@ export default {
|
|
|
let outFrame = this.$refs.iframe;
|
|
|
let outFrameWindow = this.$refs.iframe.contentWindow;
|
|
|
setTimeout((res) => {
|
|
|
- let rightFrame = outFrameWindow.document.querySelector(
|
|
|
- "#mainFrame"
|
|
|
- );
|
|
|
+ let rightFrame =
|
|
|
+ outFrameWindow.document.querySelector("#mainFrame");
|
|
|
rightFrame.contentWindow.document.addEventListener(
|
|
|
"click",
|
|
|
(e) => {
|