fix skit2
This commit is contained in:
Generated
+36
-10567
File diff suppressed because it is too large
Load Diff
Vendored
+86
-26
@@ -16976,8 +16976,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
||||
name: 'myIframe',
|
||||
data: function data() {
|
||||
return {
|
||||
jenisgenerate: 'none',
|
||||
@@ -17049,15 +17049,18 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
}))();
|
||||
},
|
||||
toggleModal: function toggleModal() {
|
||||
this.showLoader = true;
|
||||
this.pendingStatus = 'none';
|
||||
this.showModal = !this.showModal;
|
||||
},
|
||||
onLoad: function onLoad(frame) {
|
||||
onLoad: function onLoad() {
|
||||
var _this3 = this;
|
||||
|
||||
this.$refs.formimbangduga.submit();
|
||||
this.myIframe = frame.contentWindow;
|
||||
this.$refs.formimbangduga.submit(); // this.myIframe = frame.contentWindow
|
||||
|
||||
setTimeout(function () {
|
||||
return _this3.showLoader = false;
|
||||
_this3.showLoader = false;
|
||||
_this3.pendingStatus = 'ok';
|
||||
}, 8000);
|
||||
},
|
||||
Urlredirect: function Urlredirect() {
|
||||
@@ -17176,8 +17179,6 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
||||
data: function data() {
|
||||
return {
|
||||
@@ -17259,9 +17260,6 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
this.myIframe = frame.contentWindow;
|
||||
console.log('loaded');
|
||||
},
|
||||
loaded: function loaded(frame) {
|
||||
console.log('asdas');
|
||||
},
|
||||
Urlredirect: function Urlredirect() {
|
||||
return window.route('cetak.lejeram');
|
||||
},
|
||||
@@ -19184,6 +19182,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
tukarcawangan: function tukarcawangan() {
|
||||
this.setkodcaw(this.caw); // this.sethostname(this.caw)
|
||||
|
||||
this.pembahagiancawangan(this.caw);
|
||||
this.$forceUpdate();
|
||||
if (this.akaun == 'no') location.reload();
|
||||
},
|
||||
@@ -19202,11 +19201,61 @@ __webpack_require__.r(__webpack_exports__);
|
||||
},
|
||||
pembahagiancawangan: function pembahagiancawangan(cawangannama) {
|
||||
switch (cawangannama) {
|
||||
case 'KB2':
|
||||
case 'WCY':
|
||||
case '1STOP':
|
||||
case '020301':
|
||||
case 'WB':
|
||||
case 'ALS':
|
||||
case '020306':
|
||||
case 'ARM':
|
||||
case 'APM':
|
||||
case '010311':
|
||||
case 'GC':
|
||||
case 'JLI':
|
||||
case 'ARP':
|
||||
case '020303':
|
||||
case '010231':
|
||||
{
|
||||
this.$hostname = 'http://api.arrahn';
|
||||
this.sethostname('http://api.arrahn');
|
||||
console.log(this.$hostname);
|
||||
break;
|
||||
}
|
||||
|
||||
case '010621':
|
||||
case '010136':
|
||||
case '011235':
|
||||
case '010620':
|
||||
case '010617':
|
||||
case '010915':
|
||||
case '011228':
|
||||
case '010219':
|
||||
case '010618':
|
||||
case '011013':
|
||||
case '011412':
|
||||
{
|
||||
// this.$hostname = 'http://api2.arrahn'
|
||||
this.sethostname('http://api2.arrahn');
|
||||
console.log(this.$hostname);
|
||||
break;
|
||||
}
|
||||
|
||||
case '011229':
|
||||
case '011230':
|
||||
case '011227':
|
||||
case '011231':
|
||||
case '011232':
|
||||
case '011234':
|
||||
case '011233':
|
||||
{
|
||||
// this.$hostname = 'http://api3.arrahn'
|
||||
this.sethostname('http://api3.arrahn');
|
||||
console.log(this.$hostname);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
this.sethostname('http://api.arrahn');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22328,7 +22377,7 @@ vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(__webpack_require__(/*! vue-pus
|
||||
}); // Vue.prototype.$hostname = 'http://api.arrahn'
|
||||
|
||||
var initial = 'KB2';
|
||||
var initialhostname = 'http://api.arrahn';
|
||||
var initialhostname = 'http://localhost:8000';
|
||||
var store = new vuex__WEBPACK_IMPORTED_MODULE_15__["default"].Store({
|
||||
state: {
|
||||
$kodcaw: 'KB2',
|
||||
@@ -22366,7 +22415,7 @@ vue__WEBPACK_IMPORTED_MODULE_14__["default"].mixin({
|
||||
// console.log(newKodcaw)
|
||||
return store.commit('update$kodcaw', newKodcaw);
|
||||
},
|
||||
sethostname: function sethostname(newKodcaw) {
|
||||
sethostname: function sethostname(newHostname) {
|
||||
return store.commit('update$hostname', newHostname);
|
||||
},
|
||||
setLogout: function setLogout() {
|
||||
@@ -75813,6 +75862,7 @@ var render = function () {
|
||||
expression: "showLoader",
|
||||
},
|
||||
],
|
||||
staticClass: "flex justify-center mt-10",
|
||||
style: {
|
||||
visibility: _vm.showLoader ? "visible" : "hidden",
|
||||
},
|
||||
@@ -75835,15 +75885,13 @@ var render = function () {
|
||||
},
|
||||
attrs: {
|
||||
src: _vm.Urlredirect(),
|
||||
allow:
|
||||
"camera *; geolocation *; microphone *; autoplay *",
|
||||
"frame-id": "iframe_laporan",
|
||||
name: "iframe_laporan",
|
||||
width: "500px",
|
||||
height: "300px",
|
||||
scrolling: "true",
|
||||
},
|
||||
on: { load: _vm.onLoad, "iframe-load": _vm.loaded },
|
||||
on: { load: _vm.onLoad },
|
||||
}),
|
||||
],
|
||||
1
|
||||
@@ -75992,8 +76040,8 @@ var render = function () {
|
||||
ref: "formlejeram",
|
||||
attrs: {
|
||||
method: "get",
|
||||
target: "iframe_laporan",
|
||||
action: _vm.Urlredirect(),
|
||||
target: "iframe_lejer",
|
||||
},
|
||||
},
|
||||
[
|
||||
@@ -76104,13 +76152,13 @@ var render = function () {
|
||||
src: _vm.Urlredirect(),
|
||||
allow:
|
||||
"camera *; geolocation *; microphone *; autoplay *",
|
||||
"frame-id": "iframe_laporan",
|
||||
name: "iframe_laporan",
|
||||
"frame-id": "iframe_lejer",
|
||||
name: "iframe_lejer",
|
||||
width: "500px",
|
||||
height: "300px",
|
||||
scrolling: "true",
|
||||
},
|
||||
on: { load: _vm.onLoad, "iframe-load": _vm.loaded },
|
||||
on: { load: _vm.onLoad },
|
||||
}),
|
||||
],
|
||||
1
|
||||
@@ -76127,7 +76175,8 @@ var render = function () {
|
||||
"button",
|
||||
{
|
||||
staticClass:
|
||||
" mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300",
|
||||
"bg-gray-500 hover:bg-gray-700 text-white font-bold py-1 px-3 border border-gray-700 rounded mr-1",
|
||||
attrs: { disabled: _vm.pendingStatus == "none" },
|
||||
on: {
|
||||
click: function ($event) {
|
||||
$event.preventDefault()
|
||||
@@ -76136,8 +76185,11 @@ var render = function () {
|
||||
},
|
||||
},
|
||||
[
|
||||
_vm._v(
|
||||
_vm._s(_vm.pendingStatus == "loading" ? "" : "")
|
||||
),
|
||||
_c("i", { staticClass: "fas fa-file-pdf mr-2" }),
|
||||
_vm._v("PDF"),
|
||||
_vm._v("Cetak"),
|
||||
]
|
||||
),
|
||||
_vm._v(" "),
|
||||
@@ -76146,14 +76198,22 @@ var render = function () {
|
||||
{
|
||||
staticClass:
|
||||
"bg-gray-500 hover:bg-gray-700 text-white font-bold py-1 px-3 border border-gray-700 rounded mr-1",
|
||||
attrs: { type: "button" },
|
||||
attrs: {
|
||||
type: "button",
|
||||
disabled: _vm.pendingStatus == "none",
|
||||
},
|
||||
on: {
|
||||
click: function ($event) {
|
||||
return _vm.toggleModal()
|
||||
},
|
||||
},
|
||||
},
|
||||
[_vm._v("\n Tutup\n ")]
|
||||
[
|
||||
_c("i", {
|
||||
staticClass: "fas fa-window-close mr-2",
|
||||
}),
|
||||
_vm._v("Tutup\n "),
|
||||
]
|
||||
),
|
||||
]
|
||||
),
|
||||
@@ -107898,7 +107958,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = JSON.parse('{"_args":[["axios@0.21.4","C:\\\\laragon\\\\www\\\\adminpkb"]],"_development":true,"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"C:\\\\laragon\\\\www\\\\adminpkb","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}');
|
||||
module.exports = JSON.parse('{"_from":"axios@^0.21","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21","name":"axios","escapedName":"axios","rawSpec":"^0.21","saveSpec":null,"fetchSpec":"^0.21"},"_requiredBy":["#DEV:/","#USER"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@^0.21","_where":"C:\\\\laragon\\\\www\\\\adminpkb","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}');
|
||||
|
||||
/***/ })
|
||||
|
||||
|
||||
@@ -36,20 +36,19 @@
|
||||
<!--header-->
|
||||
<div class="relative p-6" style="height: 80vh;">
|
||||
|
||||
<div id="loading" v-show="showLoader" :style="{visibility: showLoader ? 'visible' : 'hidden'}" >
|
||||
<div id="loading" v-show="showLoader" class="flex justify-center mt-10" :style="{visibility: showLoader ? 'visible' : 'hidden'}" >
|
||||
<img id="loading-image" src="/img/loader.gif" alt="Loading..." />
|
||||
</div>
|
||||
<vue-iframe :style="{visibility: showLoader ? 'hidden' : 'visible'}"
|
||||
:src="Urlredirect()"
|
||||
allow="camera *; geolocation *; microphone *; autoplay *"
|
||||
frame-id="iframe_laporan"
|
||||
@load="onLoad"
|
||||
@iframe-load="loaded"
|
||||
name="iframe_laporan"
|
||||
width="500px"
|
||||
height="300px"
|
||||
scrolling="true"
|
||||
/>
|
||||
<!-- <iframe :style="{visibility: showLoader ? 'hidden' : 'visible'}" name="iframe_laporan" scrolling="true" :load="onLoad()"></iframe> -->
|
||||
</div>
|
||||
<!--footer-->
|
||||
<div class="flex items-center justify-end p-6 border-t border-solid border-blueGray-200 rounded-b">
|
||||
@@ -69,6 +68,7 @@
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'myIframe',
|
||||
data(){
|
||||
return{
|
||||
jenisgenerate:'none',
|
||||
@@ -106,17 +106,21 @@ export default {
|
||||
// showConfirmButton: false
|
||||
|
||||
// });
|
||||
|
||||
this.showModal = true;
|
||||
|
||||
},
|
||||
toggleModal: function(){
|
||||
this.showLoader = true
|
||||
this.pendingStatus = 'none'
|
||||
this.showModal = !this.showModal;
|
||||
},
|
||||
onLoad(frame) {
|
||||
this.$refs.formimbangduga.submit()
|
||||
this.myIframe = frame.contentWindow
|
||||
setTimeout(() => this.showLoader = false, 8000);
|
||||
onLoad() {
|
||||
this.$refs.formimbangduga.submit()
|
||||
// this.myIframe = frame.contentWindow
|
||||
setTimeout(() => {
|
||||
this.showLoader = false
|
||||
this.pendingStatus = 'ok'
|
||||
}, 8000);
|
||||
},
|
||||
Urlredirect: function() {
|
||||
return window.route('cetak.imbangduga')
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</router-link>
|
||||
<span class="text-center mx-auto text-white font-bold">Laporan Lejer Am</span>
|
||||
</div>
|
||||
<form method="get" ref="formlejeram" target="iframe_laporan" :action="Urlredirect()">
|
||||
<form method="get" ref="formlejeram" :action="Urlredirect()" target="iframe_lejer">
|
||||
<div class="rounded bg-white shadow p-6">
|
||||
<div class="pb-6">
|
||||
<div class="flex place-content-center mb-2">
|
||||
@@ -40,10 +40,9 @@
|
||||
<vue-iframe
|
||||
:src="Urlredirect()"
|
||||
allow="camera *; geolocation *; microphone *; autoplay *"
|
||||
frame-id="iframe_laporan"
|
||||
frame-id="iframe_lejer"
|
||||
@load="onLoad"
|
||||
@iframe-load="loaded"
|
||||
name="iframe_laporan"
|
||||
name="iframe_lejer"
|
||||
width="500px"
|
||||
height="300px"
|
||||
scrolling="true"
|
||||
@@ -52,11 +51,10 @@
|
||||
</div>
|
||||
<!--footer-->
|
||||
<div class="flex items-center justify-end p-6 border-t border-solid border-blueGray-200 rounded-b">
|
||||
<button @click.prevent="generatepdf" class=" mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300"><i class="fas fa-file-pdf mr-2"></i>PDF</button>
|
||||
|
||||
<button class="bg-gray-500 hover:bg-gray-700 text-white font-bold py-1 px-3 border border-gray-700 rounded mr-1" type="button" v-on:click="toggleModal()">
|
||||
Tutup
|
||||
</button>
|
||||
<button @click.prevent="generatepdf" class="bg-gray-500 hover:bg-gray-700 text-white font-bold py-1 px-3 border border-gray-700 rounded mr-1" :disabled="pendingStatus == 'none'">{{ (pendingStatus == 'loading') ? '' : '' }}<i class="fas fa-file-pdf mr-2"></i>Cetak</button>
|
||||
<button class="bg-gray-500 hover:bg-gray-700 text-white font-bold py-1 px-3 border border-gray-700 rounded mr-1" type="button" v-on:click="toggleModal()" :disabled="pendingStatus == 'none'">
|
||||
<i class="fas fa-window-close mr-2"></i>Tutup
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -118,9 +116,6 @@ export default {
|
||||
console.log('loaded')
|
||||
|
||||
},
|
||||
loaded(frame){
|
||||
console.log('asdas')
|
||||
},
|
||||
Urlredirect: function() {
|
||||
return window.route('cetak.lejeram')
|
||||
},
|
||||
|
||||
Vendored
+2
-2
@@ -73,7 +73,7 @@ Vue.use(require('vue-pusher'), {
|
||||
// Vue.prototype.$hostname = 'http://api.arrahn'
|
||||
|
||||
let initial = 'KB2';
|
||||
let initialhostname = 'http://api.arrahn';
|
||||
let initialhostname = 'http://localhost:8000';
|
||||
|
||||
const store = new Vuex.Store({
|
||||
state: {
|
||||
@@ -114,7 +114,7 @@ Vue.mixin({
|
||||
// console.log(newKodcaw)
|
||||
return store.commit('update$kodcaw', newKodcaw);
|
||||
},
|
||||
sethostname: function(newKodcaw) {
|
||||
sethostname: function(newHostname) {
|
||||
return store.commit('update$hostname', newHostname);
|
||||
},
|
||||
setLogout: function(){
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
|
||||
this.setkodcaw(this.caw)
|
||||
// this.sethostname(this.caw)
|
||||
this.pembahagiancawangan(this.caw)
|
||||
this.$forceUpdate();
|
||||
|
||||
if(this.akaun =='no')
|
||||
@@ -70,12 +71,54 @@
|
||||
},
|
||||
pembahagiancawangan: function(cawangannama){
|
||||
switch (cawangannama) {
|
||||
case '020303':
|
||||
case '010231':{
|
||||
this.$hostname = 'http://api.arrahn'
|
||||
case 'KB2':
|
||||
case 'WCY':
|
||||
case '1STOP':
|
||||
case '020301':
|
||||
case 'WB':
|
||||
case 'ALS':
|
||||
case '020306':
|
||||
case 'ARM':
|
||||
case 'APM':
|
||||
case '010311':
|
||||
case 'GC':
|
||||
case 'JLI':
|
||||
case 'ARP':
|
||||
case '020303':{
|
||||
this.sethostname('http://api.arrahn')
|
||||
console.log(this.$hostname)
|
||||
break;
|
||||
}
|
||||
case '010621':
|
||||
case '010136':
|
||||
case '011235':
|
||||
case '010620':
|
||||
case '010617':
|
||||
case '010915':
|
||||
case '011228':
|
||||
case '010219':
|
||||
case '010618':
|
||||
case '011013':
|
||||
case '011412':{
|
||||
// this.$hostname = 'http://api2.arrahn'
|
||||
this.sethostname('http://api2.arrahn')
|
||||
console.log(this.$hostname)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case '011229':
|
||||
case '011230':
|
||||
case '011227':
|
||||
case '011231':
|
||||
case '011232':
|
||||
case '011234':
|
||||
case '011233':{
|
||||
// this.$hostname = 'http://api3.arrahn'
|
||||
this.sethostname('http://api3.arrahn')
|
||||
console.log(this.$hostname)
|
||||
break;
|
||||
}
|
||||
default: this.sethostname('http://api.arrahn')
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user