This commit is contained in:
hafifierahman
2022-01-10 22:44:03 +08:00
parent e56fa40fe4
commit 7de7a5fa56
15 changed files with 10821 additions and 145 deletions
+149 -27
View File
@@ -16603,6 +16603,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -16733,6 +16734,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -16976,6 +16978,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
name: 'myIframe',
data: function data() {
@@ -17056,18 +17063,56 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
onLoad: function onLoad() {
var _this3 = this;
this.$refs.formimbangduga.submit(); // this.myIframe = frame.contentWindow
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee3() {
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return _this3.$refs.formimbangduga.submit();
setTimeout(function () {
_this3.showLoader = false;
_this3.pendingStatus = 'ok';
}, 8000);
case 2:
console.log('loaded'); // this.myIframe = frame.contentWindow
case 3:
case "end":
return _context3.stop();
}
}
}, _callee3);
}))();
},
LoadedReady: function LoadedReady() {
var _this4 = this;
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee4() {
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
console.log('loadedready');
_context4.next = 3;
return setTimeout(function () {
_this4.showLoader = false;
_this4.pendingStatus = 'ok';
}, 10000);
case 3:
case "end":
return _context4.stop();
}
}
}, _callee4);
}))();
},
Urlredirect: function Urlredirect() {
return window.route('cetak.imbangduga');
},
setJenis: function setJenis(value) {
return this.jenisgenerate = value;
},
urlHostname: function urlHostname() {
return document.location.origin + '/iframe';
}
}
});
@@ -17179,6 +17224,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -17242,9 +17288,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
// });
_this2.showModal = true;
_this2.$refs.formlejeram.submit();
case 4:
case 3:
case "end":
return _context2.stop();
}
@@ -17256,9 +17300,27 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
this.showModal = !this.showModal;
},
onLoad: function onLoad(frame) {
this.$refs.formlejeram.submit();
this.myIframe = frame.contentWindow;
console.log('loaded');
var _this3 = this;
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee3() {
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_context3.next = 2;
return _this3.$refs.formlejeram.submit();
case 2:
_this3.myIframe = frame.contentWindow;
console.log('loaded');
case 4:
case "end":
return _context3.stop();
}
}
}, _callee3);
}))();
},
Urlredirect: function Urlredirect() {
return window.route('cetak.lejeram');
@@ -17353,6 +17415,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -17485,6 +17549,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -17615,6 +17681,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -17749,6 +17817,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
//
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
data: function data() {
return {
@@ -18877,11 +18946,12 @@ var formatter = new Intl.NumberFormat('en-US', {
getDataKeuntungan: function getDataKeuntungan() {
var _this3 = this;
this.axios.get(this.$hostname + '/admin/keuntunganToday', {
this.axios.get(this.$api1 + '/admin/keuntunganToday', {
params: {
kodcaw: this.$kodcaw
}
}).then(function (response) {
console.log(_this3.$api1);
_this3.keuntunganharian = formatter.format(response.data[0].upahToday), _this3.bajetkeuntungan = formatter.format(response.data[0].bajetharian.toFixed(2)), _this3.percentkeuntungan = response.data[0].percentDiff, _this3.keuntunganremaining = formatter.format(response.data[0].remaining.toFixed(2)), _this3.percentcumkeuntungan = 100 - response.data[0].percentcum;
if (_this3.datareadykeun == false) _this3.datareadykeun = true;
})["catch"](function (error) {
@@ -19184,6 +19254,7 @@ __webpack_require__.r(__webpack_exports__);
this.pembahagiancawangan(this.caw);
this.$forceUpdate();
console.log(this.$hostname);
if (this.akaun == 'no') location.reload();
},
namacawangan: function namacawangan(cawangannama) {
@@ -22336,8 +22407,6 @@ __webpack_require__.r(__webpack_exports__);
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use((vue_sweetalert2__WEBPACK_IMPORTED_MODULE_12___default()));
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use((vue_iframes__WEBPACK_IMPORTED_MODULE_11___default()));
__webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js");
@@ -22367,6 +22436,8 @@ vue__WEBPACK_IMPORTED_MODULE_14__["default"].component('jw-pagination', (jw_vue_
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(vue_toastification__WEBPACK_IMPORTED_MODULE_6__["default"], options);
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(vuejs_datetimepicker__WEBPACK_IMPORTED_MODULE_9__["default"]);
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(vue_content_placeholders__WEBPACK_IMPORTED_MODULE_10__["default"]);
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use((vue_sweetalert2__WEBPACK_IMPORTED_MODULE_12___default()));
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use((vue_iframes__WEBPACK_IMPORTED_MODULE_11___default()));
alpinejs__WEBPACK_IMPORTED_MODULE_1__["default"].start();
vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(__webpack_require__(/*! vue-pusher */ "./node_modules/vue-pusher/index.js"), {
api_key: 'da67a7e1a3a138b9b28e',
@@ -22374,14 +22445,14 @@ vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(__webpack_require__(/*! vue-pus
cluster: 'ap1',
encrypted: true
}
}); // Vue.prototype.$hostname = 'http://api.arrahn'
});
vue__WEBPACK_IMPORTED_MODULE_14__["default"].prototype.$api1 = 'http://api.arrahn';
var initial = 'KB2';
var initialhostname = 'http://localhost:8000';
var initialhostname = 'http://api.arrahn';
var store = new vuex__WEBPACK_IMPORTED_MODULE_15__["default"].Store({
state: {
$kodcaw: 'KB2',
$hostname: 'http://localhost:8000'
$hostname: 'http://api.arrahn'
},
plugins: [(0,vuex_persistedstate__WEBPACK_IMPORTED_MODULE_2__["default"])()],
mutations: {
@@ -75272,6 +75343,11 @@ var render = function () {
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c(
"span",
{
@@ -75410,6 +75486,11 @@ var render = function () {
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { type: "hidden", name: "jenis" },
domProps: { value: _vm.jenisgenerate },
@@ -75753,6 +75834,7 @@ var render = function () {
ref: "formimbangduga",
attrs: {
method: "get",
name: "formimbangduga",
action: _vm.Urlredirect(),
target: "iframe_laporan",
},
@@ -75770,6 +75852,11 @@ var render = function () {
),
_vm._v(" "),
_c("div", { staticClass: "flex" }, [
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "kodcaw", hidden: "" },
domProps: { value: _vm.$kodcaw },
@@ -75879,22 +75966,17 @@ var render = function () {
]
),
_vm._v(" "),
_c("vue-iframe", {
_c("iframe", {
style: {
visibility: _vm.showLoader ? "hidden" : "visible",
},
attrs: {
src: _vm.Urlredirect(),
"frame-id": "iframe_laporan",
name: "iframe_laporan",
width: "500px",
height: "300px",
scrolling: "true",
load: _vm.onLoad(),
},
on: { load: _vm.onLoad },
}),
],
1
]
),
_vm._v(" "),
_c(
@@ -76048,6 +76130,11 @@ var render = function () {
_c("div", { staticClass: "rounded bg-white shadow p-6" }, [
_c("div", { staticClass: "pb-6" }, [
_c("div", { staticClass: "flex place-content-center mb-2" }, [
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "kodcaw", hidden: "" },
domProps: { value: _vm.$kodcaw },
@@ -76300,6 +76387,16 @@ var render = function () {
domProps: { value: _vm.jenisgenerate },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "kodcaw", hidden: "" },
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c(
"span",
{
@@ -76568,6 +76665,16 @@ var render = function () {
domProps: { value: _vm.jenisgenerate },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "kodcaw", hidden: "" },
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c(
"span",
{
@@ -76711,6 +76818,16 @@ var render = function () {
domProps: { value: _vm.jenisgenerate },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "kodcaw", hidden: "" },
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c(
"span",
{
@@ -76845,6 +76962,11 @@ var render = function () {
domProps: { value: _vm.$kodcaw },
}),
_vm._v(" "),
_c("input", {
attrs: { name: "hostname", hidden: "" },
domProps: { value: _vm.$hostname },
}),
_vm._v(" "),
_c(
"span",
{
@@ -107958,7 +108080,7 @@ if (typeof window !== 'undefined' && window.Vue) {
/***/ ((module) => {
"use strict";
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"}');
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"}');
/***/ })