{"remainingRequest":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\navigationMsg.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xypm-web\\src\\components\\home\\navigationMsg.vue","mtime":1675214577526},{"path":"D:\\jenkins\\workspace\\xypm-web\\babel.config.js","mtime":1675214572901},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xypm-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.match\";\n//\n//\n//\n\nexport default {\n  created: function created() {\n    if (this.$route.params) {\n      var type = this.$route.params.type;\n      var id = this.$route.params.id;\n      var frombrowser = this.browserRedirect();\n      if ('pc' == frombrowser) {\n        if (type == 'task') {\n          this.$router.push('/task/' + id + '/0');\n        } else if (type == 'instance') {\n          this.$router.push('/inst/' + row.id + '/doneList');\n        }\n      } else {\n        var baseUrl = window.context.mobile;\n        var url = '';\n        if (type == 'task') {\n          url = '/task/' + id + '/0';\n        } else if (type == 'instance') {\n          url = '/inst/' + id + '/done';\n        }\n        window.location.href = baseUrl + url;\n      }\n    }\n  },\n  methods: {\n    browserRedirect: function browserRedirect() {\n      var sUserAgent = navigator.userAgent.toLowerCase();\n      var bIsIpad = sUserAgent.match(/ipad/i) == \"ipad\";\n      var bIsIphoneOs = sUserAgent.match(/iphone os/i) == \"iphone os\";\n      var bIsMidp = sUserAgent.match(/midp/i) == \"midp\";\n      var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == \"rv:1.2.3.4\";\n      var bIsUc = sUserAgent.match(/ucweb/i) == \"ucweb\";\n      var bIsAndroid = sUserAgent.match(/android/i) == \"android\";\n      var bIsCE = sUserAgent.match(/windows ce/i) == \"windows ce\";\n      var bIsWM = sUserAgent.match(/windows mobile/i) == \"windows mobile\";\n      document.writeln(\"您的浏览设备为：\");\n      if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {\n        return 'mobile';\n      } else {\n        return 'pc';\n      }\n    }\n  }\n};",null]}