mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:31:07 +03:30
Edit 3
This commit is contained in:
Vendored
+507
-224
@@ -1,24 +1,14 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js&":
|
||||
/*!********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js& ***!
|
||||
\********************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -56,124 +46,210 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
medicalCenter: {
|
||||
name: ""
|
||||
ArrayDiv: [],
|
||||
select: {
|
||||
state: 'Florida',
|
||||
abbr: 'FL'
|
||||
},
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
counter: function counter(value) {
|
||||
return value.length <= 30 || "Max 30 characters";
|
||||
}
|
||||
}
|
||||
items: [{
|
||||
state: 'Florida',
|
||||
abbr: 'FL'
|
||||
}, {
|
||||
state: 'Georgia',
|
||||
abbr: 'GA'
|
||||
}, {
|
||||
state: 'Nebraska',
|
||||
abbr: 'NE'
|
||||
}, {
|
||||
state: 'California',
|
||||
abbr: 'CA'
|
||||
}, {
|
||||
state: 'New York',
|
||||
abbr: 'NY'
|
||||
}]
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
if (this.$route.params.medicalCenter) {
|
||||
this.load(this.$route.params.medicalCenter);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(id) {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get("MedicalCenters/".concat(id, "/edit"));
|
||||
Duplicator: function Duplicator() {
|
||||
var Forms = document.getElementsByClassName('Form');
|
||||
var ArrayForm = [];
|
||||
|
||||
case 2:
|
||||
result = _context.sent;
|
||||
this.medicalCenter = result.data.MedicalCenter;
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function load(_x) {
|
||||
return _load.apply(this, arguments);
|
||||
for (var i = 0; i < Forms.length; i++) {
|
||||
ArrayForm.push(Forms[i]);
|
||||
}
|
||||
|
||||
return load;
|
||||
}(),
|
||||
AddMedicalCenter: function () {
|
||||
var _AddMedicalCenter = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context2.next = 11;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!this.$route.params.medicalCenter) {
|
||||
_context2.next = 7;
|
||||
break;
|
||||
}
|
||||
|
||||
_context2.next = 4;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].put(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updateMedicalCenter(this.$route.params.medicalCenter), this.medicalCenter);
|
||||
|
||||
case 4:
|
||||
result = _context2.sent;
|
||||
_context2.next = 10;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
_context2.next = 9;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].storeMedicalCenter, this.medicalCenter);
|
||||
|
||||
case 9:
|
||||
result = _context2.sent;
|
||||
|
||||
case 10:
|
||||
if (result && result.status == 200) {
|
||||
this.$router.push({
|
||||
name: "ManageMedicalCenter"
|
||||
});
|
||||
}
|
||||
|
||||
case 11:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function AddMedicalCenter() {
|
||||
return _AddMedicalCenter.apply(this, arguments);
|
||||
}
|
||||
|
||||
return AddMedicalCenter;
|
||||
}()
|
||||
this.ArrayDiv.push(ArrayForm);
|
||||
},
|
||||
Remove: function Remove() {
|
||||
var ID = document.getElementById('RemoveFormBuilder');
|
||||
var Element = ID.parentNode;
|
||||
Element.remove();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
||||
/*!***********************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&":
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
||||
// Module
|
||||
exports.push([module.i, "\n.WM-Border[data-v-308d838e] {\r\n border: 1px solid;\n}\n.WM-Border-Black[data-v-308d838e] {\r\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-308d838e] {\r\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-308d838e] {\r\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-308d838e] {\r\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-308d838e] {\r\n top: -25px !important;\n}\r\n", ""]);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&":
|
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
var content = __webpack_require__(/*! !../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--5-2!../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&");
|
||||
|
||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||
|
||||
var transform;
|
||||
var insertInto;
|
||||
|
||||
|
||||
|
||||
var options = {"hmr":true}
|
||||
|
||||
options.transform = transform
|
||||
options.insertInto = undefined;
|
||||
|
||||
var update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
||||
|
||||
if(content.locals) module.exports = content.locals;
|
||||
|
||||
if(false) {}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true&":
|
||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true& ***!
|
||||
\************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -186,122 +262,311 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Add a New Test" } },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
"v-layout",
|
||||
{ staticClass: "ma-2", attrs: { wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Test Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Unique ID", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
attrs: { color: "black", title: "Add Medical Center", text: "" }
|
||||
staticClass:
|
||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Black WM-Relative",
|
||||
attrs: { wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
||||
{
|
||||
staticClass:
|
||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey",
|
||||
attrs: { wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Input Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required, _vm.rules.counter]
|
||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
||||
items: _vm.items,
|
||||
"item-text": "state",
|
||||
"item-value": "abbr",
|
||||
label: "Type",
|
||||
"return-object": "",
|
||||
"single-line": "",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.medicalCenter.name,
|
||||
value: _vm.select,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.medicalCenter, "name", $$v)
|
||||
_vm.select = $$v
|
||||
},
|
||||
expression: "medicalCenter.name"
|
||||
expression: "select"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
||||
items: _vm.items,
|
||||
"item-text": "state",
|
||||
"item-value": "abbr",
|
||||
label: "Size",
|
||||
"return-object": "",
|
||||
"single-line": "",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.select,
|
||||
callback: function($$v) {
|
||||
_vm.select = $$v
|
||||
},
|
||||
expression: "select"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md5: "", sm5: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Value", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_vm._l(_vm.ArrayDiv, function(Div, Key) {
|
||||
return _c(
|
||||
"v-layout",
|
||||
{
|
||||
key: Key,
|
||||
staticClass:
|
||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey Form",
|
||||
attrs: { wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Input Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
||||
items: _vm.items,
|
||||
"item-text": "state",
|
||||
"item-value": "abbr",
|
||||
label: "Type",
|
||||
"return-object": "",
|
||||
"single-line": "",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.select,
|
||||
callback: function($$v) {
|
||||
_vm.select = $$v
|
||||
},
|
||||
expression: "select"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
||||
items: _vm.items,
|
||||
"item-text": "state",
|
||||
"item-value": "abbr",
|
||||
label: "Size",
|
||||
"return-object": "",
|
||||
"single-line": "",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.select,
|
||||
callback: function($$v) {
|
||||
_vm.select = $$v
|
||||
},
|
||||
expression: "select"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md5: "", sm5: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Value", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
attrs: {
|
||||
absolute: "",
|
||||
small: "",
|
||||
right: "",
|
||||
top: "",
|
||||
color: "pink",
|
||||
id: "RemoveFormBuilder"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.Remove()
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v("\n REMOVE")
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
}),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
absolute: "",
|
||||
small: "",
|
||||
right: "",
|
||||
bottom: "",
|
||||
color: "cyan",
|
||||
id: "FormBuilder"
|
||||
},
|
||||
on: { click: _vm.Duplicator }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.AddMedicalCenter }
|
||||
},
|
||||
[
|
||||
_vm.$route.params.medicalCenter
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-edit")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Edit")
|
||||
])
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Add")
|
||||
])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_c("v-icon", { staticClass: "white--text mr-2 caption" }, [
|
||||
_vm._v("fas fa-plus")
|
||||
]),
|
||||
_vm._v("\n ADD")
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("div", { attrs: { id: "WM-FormBuilder" } }),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "text-xs-center",
|
||||
attrs: { xs12: "", md12: "", sm12: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c("v-icon", { staticClass: "white--text mr-2 caption" }, [
|
||||
_vm._v("fas fa-plus")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: { name: "ManageMedicalCenter" } } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
_c("span", { staticClass: "white--text" }, [_vm._v("Add")])
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -322,18 +587,20 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue":
|
||||
/*!**********************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue ***!
|
||||
\**********************************************************/
|
||||
/***/ "./resources/js/vue/views/AddNewTest.vue":
|
||||
/*!***********************************************!*\
|
||||
!*** ./resources/js/vue/views/AddNewTest.vue ***!
|
||||
\***********************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
||||
/* harmony import */ var _AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
/* harmony import */ var _AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=template&id=308d838e&scoped=true& */ "./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true&");
|
||||
/* harmony import */ var _AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& */ "./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&");
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -341,51 +608,67 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"7e71354a",
|
||||
"308d838e",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/MedicalCenter/AddEdit.vue"
|
||||
component.options.__file = "resources/js/vue/views/AddNewTest.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************/
|
||||
/***/ "./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js&":
|
||||
/*!************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js& ***!
|
||||
\************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
||||
/*!*****************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
||||
\*****************************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&":
|
||||
/*!********************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& ***!
|
||||
\********************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/style-loader!../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--5-2!../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=style&index=0&id=308d838e&lang=css&scoped=true&");
|
||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_308d838e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true&":
|
||||
/*!******************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true& ***!
|
||||
\******************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=template&id=308d838e&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AddNewTest.vue?vue&type=template&id=308d838e&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_308d838e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -334,7 +334,7 @@ var render = function() {
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/add-medical-center" } },
|
||||
{ attrs: { to: { name: "AddMedicalCenter" } } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
|
||||
Vendored
+132
-139
File diff suppressed because one or more lines are too long
Vendored
+121
-168
File diff suppressed because one or more lines are too long
Vendored
+198
-438
@@ -1,9 +1,9 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[12],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js&":
|
||||
/*!************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js& ***!
|
||||
\************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
@@ -54,144 +56,45 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
headers: [{
|
||||
sortable: true,
|
||||
text: 'Operator',
|
||||
value: 'operator'
|
||||
}, {
|
||||
sortable: true,
|
||||
text: 'Date',
|
||||
value: 'date'
|
||||
}, {
|
||||
sortable: true,
|
||||
text: 'Hospital',
|
||||
value: 'hospital'
|
||||
}, {
|
||||
sortable: true,
|
||||
text: 'Action',
|
||||
value: 'action',
|
||||
align: 'right'
|
||||
}],
|
||||
items: [{
|
||||
name: 'Fatemeh Shokouhi',
|
||||
date: '12/05/1397',
|
||||
operator: 'Shahid Beheshti',
|
||||
action: ''
|
||||
}, {
|
||||
name: 'Fatemeh Fayyazi',
|
||||
date: '12/05/1397',
|
||||
operator: 'Emam Reza',
|
||||
action: ''
|
||||
}]
|
||||
medicalCenter: {
|
||||
name: ""
|
||||
},
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
counter: function counter(value) {
|
||||
return value.length <= 30 || "Max 30 characters";
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
this.load();
|
||||
if (this.$route.params.medicalCenter) {
|
||||
this.load(this.$route.params.medicalCenter);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(id) {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return ApiService.get(urls.listOpertor(medicalCenterId));
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get("MedicalCenters/".concat(id, "/edit"));
|
||||
|
||||
case 2:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.data.users;
|
||||
this.name = result.data.data.name;
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
}
|
||||
this.medicalCenter = result.data.MedicalCenter;
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
@@ -201,21 +104,76 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function load() {
|
||||
function load(_x) {
|
||||
return _load.apply(this, arguments);
|
||||
}
|
||||
|
||||
return load;
|
||||
}(),
|
||||
AddMedicalCenter: function () {
|
||||
var _AddMedicalCenter = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context2.next = 11;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!this.$route.params.medicalCenter) {
|
||||
_context2.next = 7;
|
||||
break;
|
||||
}
|
||||
|
||||
_context2.next = 4;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].put(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updateMedicalCenter(this.$route.params.medicalCenter), this.medicalCenter);
|
||||
|
||||
case 4:
|
||||
result = _context2.sent;
|
||||
_context2.next = 10;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
_context2.next = 9;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].storeMedicalCenter, this.medicalCenter);
|
||||
|
||||
case 9:
|
||||
result = _context2.sent;
|
||||
|
||||
case 10:
|
||||
if (result && result.status == 200) {
|
||||
this.$router.push({
|
||||
name: "ManageMedicalCenter"
|
||||
});
|
||||
}
|
||||
|
||||
case 11:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function AddMedicalCenter() {
|
||||
return _AddMedicalCenter.apply(this, arguments);
|
||||
}
|
||||
|
||||
return AddMedicalCenter;
|
||||
}()
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true&":
|
||||
/*!****************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true& ***!
|
||||
\****************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
||||
/*!***********************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -228,317 +186,119 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Member List" } },
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
"material-card",
|
||||
{
|
||||
staticClass: "px-5 mb-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
attrs: { color: "black", title: "Add Medical Center", text: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
name: "name",
|
||||
label: "Name",
|
||||
id: "id1"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
name: "date",
|
||||
label: "Date",
|
||||
id: "id2"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
name: "hospital",
|
||||
label: "Hospital",
|
||||
id: "id3"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required, _vm.rules.counter]
|
||||
},
|
||||
model: {
|
||||
value: _vm.medicalCenter.name,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.medicalCenter, "name", $$v)
|
||||
},
|
||||
expression: "medicalCenter.name"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 my-2",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.date))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.operator))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "purple" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-1 caption"
|
||||
},
|
||||
[_vm._v("fas fa-envelope")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("SMS")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: {
|
||||
color:
|
||||
item.status == "Active"
|
||||
? "red"
|
||||
: "green"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeStatus(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
item.status == "Active"
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
item.status == "Active"
|
||||
? _c("span", [_vm._v("Susspended")])
|
||||
: _vm._e()
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Active")])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "orange darken-1" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Role")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: " WM-ActionButton",
|
||||
attrs: { color: "pink" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-1 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.AddMedicalCenter }
|
||||
},
|
||||
[
|
||||
_vm.$route.params.medicalCenter
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-edit")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Edit")
|
||||
])
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Add")
|
||||
])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: { name: "ManageMedicalCenter" } } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -562,17 +322,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/ListUsers.vue":
|
||||
/*!***************************************************!*\
|
||||
!*** ./resources/js/vue/views/User/ListUsers.vue ***!
|
||||
\***************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue":
|
||||
/*!**********************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue ***!
|
||||
\**********************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ListUsers.vue?vue&type=template&id=197b7024&scoped=true& */ "./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true&");
|
||||
/* harmony import */ var _ListUsers_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ListUsers.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
||||
/* harmony import */ var _AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -582,50 +342,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_ListUsers_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"197b7024",
|
||||
"7e71354a",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/User/ListUsers.vue"
|
||||
component.options.__file = "resources/js/vue/views/MedicalCenter/AddEdit.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js&":
|
||||
/*!****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js& ***!
|
||||
\****************************************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ListUsers_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ListUsers.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/ListUsers.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ListUsers_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true&":
|
||||
/*!**********************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true& ***!
|
||||
\**********************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
||||
/*!*****************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
||||
\*****************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ListUsers.vue?vue&type=template&id=197b7024&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/ListUsers.vue?vue&type=template&id=197b7024&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ListUsers_vue_vue_type_template_id_197b7024_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+572
-276
@@ -1,9 +1,9 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[13],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&":
|
||||
/*!************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js& ***!
|
||||
\************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -12,12 +12,22 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -101,67 +111,68 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
var defaultForm = Object.freeze({
|
||||
cell_number: "",
|
||||
password: "",
|
||||
name: "",
|
||||
gender: "",
|
||||
medical_center_id: this.$route.params.medicalCenter ? this.$route.params.medicalCenter : ''
|
||||
});
|
||||
return {
|
||||
form: Object.assign({}, defaultForm),
|
||||
show1: false,
|
||||
items: ["Male", "FeMale"],
|
||||
isLogin: _services__WEBPACK_IMPORTED_MODULE_1__["TokenService"].getInfo(),
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
nameCounter: function nameCounter(value) {
|
||||
return value.length >= 5 || "Min 5 characters";
|
||||
},
|
||||
passCounter: function passCounter(value) {
|
||||
return value.length >= 6 || "Min 6 characters";
|
||||
},
|
||||
cellNumberCounter: function cellNumberCounter(value) {
|
||||
return value.length == 11 || "must 11 characters";
|
||||
}
|
||||
}
|
||||
headers: [{
|
||||
sortable: true,
|
||||
text: "Operator Name",
|
||||
value: "name"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Role",
|
||||
value: "role"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Number",
|
||||
value: "number"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Status",
|
||||
value: "status"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Action",
|
||||
value: "action",
|
||||
align: "right"
|
||||
}],
|
||||
items: [],
|
||||
name: ""
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
register: function () {
|
||||
var _register = _asyncToGenerator(
|
||||
created: function created() {
|
||||
if (this.$route.params.medicalCenter) {
|
||||
this.load(this.$route.params.medicalCenter);
|
||||
}
|
||||
},
|
||||
methods: _objectSpread({
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(medicalCenterId) {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context.next = 5;
|
||||
break;
|
||||
}
|
||||
_context.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].listOpertorMedicalCenter(medicalCenterId));
|
||||
|
||||
_context.next = 3;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post("register", this.form);
|
||||
|
||||
case 3:
|
||||
case 2:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.data.users;
|
||||
this.name = result.data.data.name;
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: "OperatorList",
|
||||
params: {
|
||||
medicalCenter: this.form.medical_center_id
|
||||
}
|
||||
name: "Dashboard"
|
||||
});
|
||||
}
|
||||
|
||||
case 5:
|
||||
case 4:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
@@ -169,21 +180,188 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function register() {
|
||||
return _register.apply(this, arguments);
|
||||
function load(_x) {
|
||||
return _load.apply(this, arguments);
|
||||
}
|
||||
|
||||
return register;
|
||||
return load;
|
||||
}(),
|
||||
changeStatus: function () {
|
||||
var _changeStatus = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(userId) {
|
||||
var result, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, user;
|
||||
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].changeStatusUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context2.sent;
|
||||
|
||||
if (!(result && result.status == 200)) {
|
||||
_context2.next = 25;
|
||||
break;
|
||||
}
|
||||
|
||||
_iteratorNormalCompletion = true;
|
||||
_didIteratorError = false;
|
||||
_iteratorError = undefined;
|
||||
_context2.prev = 7;
|
||||
|
||||
for (_iterator = this.items[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
||||
user = _step.value;
|
||||
|
||||
if (user.id == userId) {
|
||||
user.status = result.data.data.status;
|
||||
}
|
||||
}
|
||||
|
||||
_context2.next = 15;
|
||||
break;
|
||||
|
||||
case 11:
|
||||
_context2.prev = 11;
|
||||
_context2.t0 = _context2["catch"](7);
|
||||
_didIteratorError = true;
|
||||
_iteratorError = _context2.t0;
|
||||
|
||||
case 15:
|
||||
_context2.prev = 15;
|
||||
_context2.prev = 16;
|
||||
|
||||
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
||||
_iterator.return();
|
||||
}
|
||||
|
||||
case 18:
|
||||
_context2.prev = 18;
|
||||
|
||||
if (!_didIteratorError) {
|
||||
_context2.next = 21;
|
||||
break;
|
||||
}
|
||||
|
||||
throw _iteratorError;
|
||||
|
||||
case 21:
|
||||
return _context2.finish(18);
|
||||
|
||||
case 22:
|
||||
return _context2.finish(15);
|
||||
|
||||
case 23:
|
||||
_context2.next = 26;
|
||||
break;
|
||||
|
||||
case 25:
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
|
||||
case 26:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this, [[7, 11, 15, 23], [16,, 18, 22]]);
|
||||
}));
|
||||
|
||||
function changeStatus(_x2) {
|
||||
return _changeStatus.apply(this, arguments);
|
||||
}
|
||||
|
||||
return changeStatus;
|
||||
}()
|
||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
||||
changeRoleModal: function changeRoleModal(user) {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-user-role",
|
||||
properties: {
|
||||
user: user
|
||||
}
|
||||
});
|
||||
},
|
||||
remove: function () {
|
||||
var _remove = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(userId) {
|
||||
var result, key;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].deleteUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context3.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
for (key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == userId) {
|
||||
this.items.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function remove(_x3) {
|
||||
return _remove.apply(this, arguments);
|
||||
}
|
||||
|
||||
return remove;
|
||||
}()
|
||||
}),
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapGetters"])("modal", ["getModalResult"])),
|
||||
watch: {
|
||||
getModalResult: function getModalResult(user) {
|
||||
var _iteratorNormalCompletion2 = true;
|
||||
var _didIteratorError2 = false;
|
||||
var _iteratorError2 = undefined;
|
||||
|
||||
try {
|
||||
for (var _iterator2 = this.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
||||
var userList = _step2.value;
|
||||
|
||||
if (userList.id == user.id) {
|
||||
userList.roles = user.roles;
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
_didIteratorError2 = true;
|
||||
_iteratorError2 = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
||||
_iterator2.return();
|
||||
}
|
||||
} finally {
|
||||
if (_didIteratorError2) {
|
||||
throw _iteratorError2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
||||
/*!***************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
||||
\***************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&":
|
||||
/*!****************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a& ***!
|
||||
\****************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -196,235 +374,353 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "black",
|
||||
title: "Operator List " + _vm.name,
|
||||
text: ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "Name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cell_number",
|
||||
label: "Cell Number",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm6: "" }
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Register Page" } },
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { column: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.nameCounter
|
||||
]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.name,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "name", $$v)
|
||||
},
|
||||
expression: "form.name"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Gender",
|
||||
name: "gender",
|
||||
"single-line": "",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.gender,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "gender", $$v)
|
||||
},
|
||||
expression: "form.gender"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cell_number",
|
||||
label: "Cell Number",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.cellNumberCounter
|
||||
],
|
||||
mask: "#### ### ####"
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "cell_number", $$v)
|
||||
},
|
||||
expression: "form.cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "password",
|
||||
label: "Password",
|
||||
type: _vm.show1 ? "text" : "password",
|
||||
"append-icon": _vm.show1
|
||||
? "visibility"
|
||||
: "visibility_off",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.passCounter
|
||||
]
|
||||
},
|
||||
on: {
|
||||
"click:append": function($event) {
|
||||
_vm.show1 = !_vm.show1
|
||||
}
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.password,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "password", $$v)
|
||||
},
|
||||
expression: "form.password"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-spacer"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
attrs: {
|
||||
to: "/add-operator/" + _vm.$route.params.medicalCenter
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { row: "", wrap: "" } },
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.register }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Register")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
!_vm.isLogin
|
||||
? _c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/login" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Add")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
"align-center": "",
|
||||
"justify-center": "",
|
||||
wrap: ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
_vm._l(item.roles, function(role, key) {
|
||||
return _c("span", { key: key }, [
|
||||
_vm._v(_vm._s(role.name))
|
||||
])
|
||||
}),
|
||||
0
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.cell_number))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.status))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: {
|
||||
color:
|
||||
item.status == "Active"
|
||||
? "red"
|
||||
: "green"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeStatus(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
item.status == "Active"
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"black--text mr-2 caption"
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
item.status == "Active"
|
||||
? _c("span", [_vm._v("Susspended")])
|
||||
: _vm._e()
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Login")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
: _vm._e()
|
||||
],
|
||||
1
|
||||
)
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Active")])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "orange darken-1" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeRoleModal(item)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Role")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-ActionButton",
|
||||
attrs: { color: "pink" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.remove(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/manage-medical-center" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -448,17 +744,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue":
|
||||
/*!**************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue ***!
|
||||
\**************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue":
|
||||
/*!***************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue ***!
|
||||
\***************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Register.vue?vue&type=template&id=051bdd9c& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
||||
/* harmony import */ var _Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Register.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=template&id=a2d4b11a& */ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&");
|
||||
/* harmony import */ var _OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -468,9 +764,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
@@ -480,38 +776,38 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/Auth/Register.vue"
|
||||
component.options.__file = "resources/js/vue/views/MedicalCenter/OperatorList.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
||||
/*!***************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
||||
\***************************************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&":
|
||||
/*!****************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js& ***!
|
||||
\****************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
||||
/*!*********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
||||
\*********************************************************************************/
|
||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&":
|
||||
/*!**********************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a& ***!
|
||||
\**********************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=template&id=051bdd9c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=template&id=a2d4b11a& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+199
-595
@@ -1,30 +1,14 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[15],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js&":
|
||||
/*!**********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js& ***!
|
||||
\**********************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&":
|
||||
/*!**************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js& ***!
|
||||
\**************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! util */ "./node_modules/util/util.js");
|
||||
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_3__);
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -106,263 +90,21 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: "",
|
||||
data: function data() {
|
||||
return {
|
||||
headers: [{
|
||||
sortable: true,
|
||||
text: "Operator Name",
|
||||
value: "name"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Role",
|
||||
value: "role"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Number",
|
||||
value: "number"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Status",
|
||||
value: "status"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Action",
|
||||
value: "action",
|
||||
align: "right"
|
||||
}],
|
||||
items: [],
|
||||
name: ""
|
||||
items: ['Item 1', 'Item 2', 'Item 3', 'Item 4']
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
if (this.$route.params.medicalCenter) {
|
||||
this.load(this.$route.params.medicalCenter);
|
||||
}
|
||||
},
|
||||
methods: _objectSpread({
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(medicalCenterId) {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get("Users/".concat(medicalCenterId, "/MedicalCenter"));
|
||||
|
||||
case 2:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.users;
|
||||
this.name = result.data.name;
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function load(_x) {
|
||||
return _load.apply(this, arguments);
|
||||
}
|
||||
|
||||
return load;
|
||||
}(),
|
||||
changeStatus: function () {
|
||||
var _changeStatus = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(userId) {
|
||||
var result, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, user;
|
||||
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post("Users/ChangeStatus/".concat(userId));
|
||||
|
||||
case 2:
|
||||
result = _context2.sent;
|
||||
|
||||
if (!(result && result.status == 200)) {
|
||||
_context2.next = 25;
|
||||
break;
|
||||
}
|
||||
|
||||
_iteratorNormalCompletion = true;
|
||||
_didIteratorError = false;
|
||||
_iteratorError = undefined;
|
||||
_context2.prev = 7;
|
||||
|
||||
for (_iterator = this.items[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
||||
user = _step.value;
|
||||
|
||||
if (user.id == userId) {
|
||||
user.status = result.data.status;
|
||||
}
|
||||
}
|
||||
|
||||
_context2.next = 15;
|
||||
break;
|
||||
|
||||
case 11:
|
||||
_context2.prev = 11;
|
||||
_context2.t0 = _context2["catch"](7);
|
||||
_didIteratorError = true;
|
||||
_iteratorError = _context2.t0;
|
||||
|
||||
case 15:
|
||||
_context2.prev = 15;
|
||||
_context2.prev = 16;
|
||||
|
||||
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
||||
_iterator.return();
|
||||
}
|
||||
|
||||
case 18:
|
||||
_context2.prev = 18;
|
||||
|
||||
if (!_didIteratorError) {
|
||||
_context2.next = 21;
|
||||
break;
|
||||
}
|
||||
|
||||
throw _iteratorError;
|
||||
|
||||
case 21:
|
||||
return _context2.finish(18);
|
||||
|
||||
case 22:
|
||||
return _context2.finish(15);
|
||||
|
||||
case 23:
|
||||
_context2.next = 26;
|
||||
break;
|
||||
|
||||
case 25:
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
|
||||
case 26:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this, [[7, 11, 15, 23], [16,, 18, 22]]);
|
||||
}));
|
||||
|
||||
function changeStatus(_x2) {
|
||||
return _changeStatus.apply(this, arguments);
|
||||
}
|
||||
|
||||
return changeStatus;
|
||||
}()
|
||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
||||
changeRoleModal: function changeRoleModal(user) {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-user-role",
|
||||
properties: {
|
||||
user: user
|
||||
}
|
||||
});
|
||||
},
|
||||
remove: function () {
|
||||
var _remove = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(userId) {
|
||||
var result, key;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete("Users/".concat(userId));
|
||||
|
||||
case 2:
|
||||
result = _context3.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
for (key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
|
||||
this.items.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function remove(_x3) {
|
||||
return _remove.apply(this, arguments);
|
||||
}
|
||||
|
||||
return remove;
|
||||
}()
|
||||
}),
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapGetters"])("modal", ["getModalResult"])),
|
||||
watch: {
|
||||
getModalResult: function getModalResult(user) {
|
||||
var _iteratorNormalCompletion2 = true;
|
||||
var _didIteratorError2 = false;
|
||||
var _iteratorError2 = undefined;
|
||||
|
||||
try {
|
||||
for (var _iterator2 = this.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
||||
var userList = _step2.value;
|
||||
|
||||
if (userList.id == user.id) {
|
||||
userList.roles = user.roles;
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
_didIteratorError2 = true;
|
||||
_iteratorError2 = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
||||
_iterator2.return();
|
||||
}
|
||||
} finally {
|
||||
if (_didIteratorError2) {
|
||||
throw _iteratorError2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac&":
|
||||
/*!**************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac& ***!
|
||||
\**************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&":
|
||||
/*!******************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& ***!
|
||||
\******************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -375,62 +117,170 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"v-form",
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "black",
|
||||
title: "Operator List " + _vm.name,
|
||||
text: ""
|
||||
}
|
||||
},
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Submit Test Result" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "Name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cell_number",
|
||||
label: "Cell Number",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
staticClass: "px-5 my-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Choose Test Type",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm3: "", md3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "testcode",
|
||||
label: "Or Enter Test Code",
|
||||
id: "id",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-xs-center text-sm-center text-md-center",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-right")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("GO")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 my-3", attrs: { row: "", wrap: "" } },
|
||||
[_c("v-divider")],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 my-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cssd",
|
||||
label: "ID CSSD",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "autoclave",
|
||||
label: "ID AutoClave",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Resualt",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 my-3", attrs: { row: "", wrap: "" } },
|
||||
[_c("v-divider")],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mt-2",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
@@ -443,51 +293,35 @@ var render = function() {
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
[_vm._v("fas fa-check")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
_vm._v("SAVE")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-spacer"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
attrs: {
|
||||
to: "/add-operator/" + _vm.$route.params.medicalCenter
|
||||
}
|
||||
},
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Add")
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
@@ -500,236 +334,6 @@ var render = function() {
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
"align-center": "",
|
||||
"justify-center": "",
|
||||
wrap: ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
_vm._l(item.roles, function(role, key) {
|
||||
return _c("span", { key: key }, [
|
||||
_vm._v(_vm._s(role.name))
|
||||
])
|
||||
}),
|
||||
0
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.cell_number))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.status))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: {
|
||||
color:
|
||||
item.status == "Active"
|
||||
? "red"
|
||||
: "green"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeStatus(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
item.status == "Active"
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
item.status == "Active"
|
||||
? _c("span", [_vm._v("Susspended")])
|
||||
: _vm._e()
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Active")])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "orange darken-1" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeRoleModal(item)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Role")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-ActionButton",
|
||||
attrs: { color: "pink" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.remove(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/manage-medical-center" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
@@ -745,17 +349,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/OperatorList.vue":
|
||||
/*!*************************************************!*\
|
||||
!*** ./resources/js/vue/views/OperatorList.vue ***!
|
||||
\*************************************************/
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue ***!
|
||||
\*****************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=template&id=bdf7baac& */ "./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac&");
|
||||
/* harmony import */ var _OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& */ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&");
|
||||
/* harmony import */ var _SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SubmitTestResult.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -765,50 +369,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
"6799764f",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/OperatorList.vue"
|
||||
component.options.__file = "resources/js/vue/views/SubmitTestResult.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js&":
|
||||
/*!**************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js& ***!
|
||||
\**************************************************************************/
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&":
|
||||
/*!******************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js& ***!
|
||||
\******************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/OperatorList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./SubmitTestResult.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac&":
|
||||
/*!********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac& ***!
|
||||
\********************************************************************************/
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&":
|
||||
/*!************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& ***!
|
||||
\************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=template&id=bdf7baac& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/OperatorList.vue?vue&type=template&id=bdf7baac&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_bdf7baac___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+194
-333
@@ -1,23 +1,14 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[16],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Register.vue?vue&type=script&lang=js&":
|
||||
/*!******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Register.vue?vue&type=script&lang=js& ***!
|
||||
\******************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -100,90 +91,70 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
var defaultForm = Object.freeze({
|
||||
cell_number: "",
|
||||
password: "",
|
||||
name: "",
|
||||
gender: "",
|
||||
medical_center_id: this.$route.params.medicalCenter ? this.$route.params.medicalCenter : ''
|
||||
});
|
||||
return {
|
||||
form: Object.assign({}, defaultForm),
|
||||
show1: false,
|
||||
items: ["Male", "FeMale"],
|
||||
isLogin: _services__WEBPACK_IMPORTED_MODULE_1__["TokenService"].getInfo(),
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
nameCounter: function nameCounter(value) {
|
||||
return value.length >= 5 || "Min 5 characters";
|
||||
},
|
||||
passCounter: function passCounter(value) {
|
||||
return value.length >= 6 || "Min 6 characters";
|
||||
},
|
||||
cellNumberCounter: function cellNumberCounter(value) {
|
||||
return value.length == 11 || "must 11 characters";
|
||||
}
|
||||
}
|
||||
headers: [{
|
||||
sortable: false,
|
||||
text: 'Name',
|
||||
value: 'name'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Country',
|
||||
value: 'country'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'City',
|
||||
value: 'city'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Salary',
|
||||
value: 'salary',
|
||||
align: 'right'
|
||||
}],
|
||||
items: [{
|
||||
name: 'Dakota Rice',
|
||||
country: 'Niger',
|
||||
city: 'Oud-Tunrhout',
|
||||
salary: '$35,738'
|
||||
}, {
|
||||
name: 'Minerva Hooper',
|
||||
country: 'Curaçao',
|
||||
city: 'Sinaai-Waas',
|
||||
salary: '$23,738'
|
||||
}, {
|
||||
name: 'Sage Rodriguez',
|
||||
country: 'Netherlands',
|
||||
city: 'Overland Park',
|
||||
salary: '$56,142'
|
||||
}, {
|
||||
name: 'Philip Chanley',
|
||||
country: 'Korea, South',
|
||||
city: 'Gloucester',
|
||||
salary: '$38,735'
|
||||
}, {
|
||||
name: 'Doris Greene',
|
||||
country: 'Malawi',
|
||||
city: 'Feldkirchen in Kārnten',
|
||||
salary: '$63,542'
|
||||
}, {
|
||||
name: 'Mason Porter',
|
||||
country: 'Chile',
|
||||
city: 'Gloucester',
|
||||
salary: '$78,615'
|
||||
}]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
register: function () {
|
||||
var _register = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context.next = 5;
|
||||
break;
|
||||
}
|
||||
|
||||
_context.next = 3;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post("register", this.form);
|
||||
|
||||
case 3:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.$router.push({
|
||||
name: "OperatorList",
|
||||
params: {
|
||||
medicalCenter: this.form.medical_center_id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function register() {
|
||||
return _register.apply(this, arguments);
|
||||
}
|
||||
|
||||
return register;
|
||||
}()
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b&":
|
||||
/*!**********************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b& ***!
|
||||
\**********************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&":
|
||||
/*!***********************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74& ***!
|
||||
\***********************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -196,238 +167,128 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
"v-container",
|
||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"v-layout",
|
||||
{ attrs: { "justify-center": "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
"material-card",
|
||||
{
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm6: "" }
|
||||
attrs: {
|
||||
color: "green",
|
||||
title: "Simple Table",
|
||||
text: "Here is a subtitle for this table"
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Register Page" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { column: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.nameCounter
|
||||
]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.name,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "name", $$v)
|
||||
},
|
||||
expression: "form.name"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Gender",
|
||||
name: "gender",
|
||||
"single-line": "",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.gender,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "gender", $$v)
|
||||
},
|
||||
expression: "form.gender"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cell_number",
|
||||
label: "Cell Number",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.cellNumberCounter
|
||||
],
|
||||
mask: "#### ### ####"
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "cell_number", $$v)
|
||||
},
|
||||
expression: "form.cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "password",
|
||||
label: "Password",
|
||||
type: _vm.show1 ? "text" : "password",
|
||||
"append-icon": _vm.show1
|
||||
? "visibility"
|
||||
: "visibility_off",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.passCounter
|
||||
]
|
||||
},
|
||||
on: {
|
||||
"click:append": function($event) {
|
||||
_vm.show1 = !_vm.show1
|
||||
}
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.password,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "password", $$v)
|
||||
},
|
||||
expression: "form.password"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.register }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Register")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
!_vm.isLogin
|
||||
? _c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/login" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"black--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Login")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
: _vm._e()
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
"subheading font-weight-light text-success text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
||||
_vm._v(" "),
|
||||
_c("td", { staticClass: "text-xs-right" }, [
|
||||
_vm._v(_vm._s(item.salary))
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "green",
|
||||
flat: "",
|
||||
"full-width": "",
|
||||
title: "Table on Plain Background",
|
||||
text: "Here is a subtitle for this table"
|
||||
}
|
||||
},
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items.slice(0, 7),
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
||||
_vm._v(" "),
|
||||
_c("td", { staticClass: "text-xs-right" }, [
|
||||
_vm._v(_vm._s(item.salary))
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -448,17 +309,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Register.vue":
|
||||
/*!*********************************************!*\
|
||||
!*** ./resources/js/vue/views/Register.vue ***!
|
||||
\*********************************************/
|
||||
/***/ "./resources/js/vue/views/TableList.vue":
|
||||
/*!**********************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue ***!
|
||||
\**********************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Register.vue?vue&type=template&id=395fc56b& */ "./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b&");
|
||||
/* harmony import */ var _Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Register.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Register.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableList.vue?vue&type=template&id=27579e74& */ "./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&");
|
||||
/* harmony import */ var _TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TableList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -468,9 +329,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
@@ -480,38 +341,38 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/Register.vue"
|
||||
component.options.__file = "resources/js/vue/views/TableList.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Register.vue?vue&type=script&lang=js&":
|
||||
/*!**********************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Register.vue?vue&type=script&lang=js& ***!
|
||||
\**********************************************************************/
|
||||
/***/ "./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Register.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b&":
|
||||
/*!****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b& ***!
|
||||
\****************************************************************************/
|
||||
/***/ "./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74& ***!
|
||||
\*****************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=template&id=395fc56b& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Register.vue?vue&type=template&id=395fc56b&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=template&id=27579e74& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_395fc56b___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+303
-212
@@ -1,9 +1,9 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[17],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&":
|
||||
/*!**************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js& ***!
|
||||
\**************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||||
/*!*********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||||
\*********************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -90,21 +90,70 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: "",
|
||||
data: function data() {
|
||||
return {
|
||||
items: ['Item 1', 'Item 2', 'Item 3', 'Item 4']
|
||||
};
|
||||
}
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({//
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&":
|
||||
/*!******************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& ***!
|
||||
\******************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||||
/*!*************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||||
\*************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -117,81 +166,189 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-form",
|
||||
"v-container",
|
||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"v-layout",
|
||||
{ attrs: { "justify-center": "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Submit Test Result" } },
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md8: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
"material-card",
|
||||
{
|
||||
staticClass: "px-5 my-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
attrs: {
|
||||
color: "green",
|
||||
title: "Edit Profile",
|
||||
text: "Complete your profile"
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Choose Test Type",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm3: "", md3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "testcode",
|
||||
label: "Or Enter Test Code",
|
||||
id: "id",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-xs-center text-sm-center text-md-center",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
"v-form",
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
"v-container",
|
||||
{ attrs: { "py-0": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-right")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("GO")
|
||||
])
|
||||
"v-layout",
|
||||
{ attrs: { wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
attrs: {
|
||||
label: "Company (disabled)",
|
||||
disabled: ""
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "User Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Email Address" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md6: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "First Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md6: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Last Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Adress" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "City" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Country" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: {
|
||||
label: "Postal Code",
|
||||
type: "number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "" } },
|
||||
[
|
||||
_c("v-textarea", {
|
||||
staticClass: "purple-input",
|
||||
attrs: {
|
||||
label: "About Me",
|
||||
value:
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", "text-xs-right": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mx-0 font-weight-light",
|
||||
attrs: { color: "success" }
|
||||
},
|
||||
[
|
||||
_vm._v(
|
||||
"\n Update Profile\n "
|
||||
)
|
||||
]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -200,131 +357,65 @@ var render = function() {
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 my-3", attrs: { row: "", wrap: "" } },
|
||||
[_c("v-divider")],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 my-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
"material-card",
|
||||
{ staticClass: "v-card-profile" },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cssd",
|
||||
label: "ID CSSD",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "autoclave",
|
||||
label: "ID AutoClave",
|
||||
color: "black",
|
||||
id: "id"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Resualt",
|
||||
color: "black"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 my-3", attrs: { row: "", wrap: "" } },
|
||||
[_c("v-divider")],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mt-2",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
"v-avatar",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
staticClass: "mx-auto d-block",
|
||||
attrs: { slot: "offset", size: "130" },
|
||||
slot: "offset"
|
||||
},
|
||||
[_c("img", { attrs: { src: "/img/" } })]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-card-text",
|
||||
{ staticClass: "text-xs-center" },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-check")]
|
||||
"h6",
|
||||
{
|
||||
staticClass:
|
||||
"category text-gray font-weight-thin mb-3"
|
||||
},
|
||||
[_vm._v("CEO / CO-FOUNDER")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"h4",
|
||||
{ staticClass: "card-title font-weight-light" },
|
||||
[_vm._v("Alec Thompson")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"p",
|
||||
{ staticClass: "card-description font-weight-light" },
|
||||
[
|
||||
_vm._v(
|
||||
"Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is..."
|
||||
)
|
||||
]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("SAVE")
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
staticClass: "font-weight-light",
|
||||
attrs: { color: "success", round: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
[_vm._v("Follow")]
|
||||
)
|
||||
],
|
||||
1
|
||||
@@ -349,17 +440,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue ***!
|
||||
\*****************************************************/
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue":
|
||||
/*!************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue ***!
|
||||
\************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& */ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&");
|
||||
/* harmony import */ var _SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SubmitTestResult.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=template&id=47383346& */ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||||
/* harmony import */ var _UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -369,50 +460,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"6799764f",
|
||||
null,
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/SubmitTestResult.vue"
|
||||
component.options.__file = "resources/js/vue/views/UserProfile.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&":
|
||||
/*!******************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js& ***!
|
||||
\******************************************************************************/
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||||
/*!*************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||||
\*************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./SubmitTestResult.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&":
|
||||
/*!************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& ***!
|
||||
\************************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||||
/*!*******************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||||
\*******************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/SubmitTestResult.vue?vue&type=template&id=6799764f&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=template&id=47383346& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SubmitTestResult_vue_vue_type_template_id_6799764f_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+541
-131
@@ -1,14 +1,29 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&":
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js& ***!
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -93,67 +108,280 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
headers: [{
|
||||
sortable: false,
|
||||
text: 'Name',
|
||||
sortable: true,
|
||||
text: 'Operator',
|
||||
value: 'name'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Country',
|
||||
value: 'country'
|
||||
text: 'Date',
|
||||
value: 'date'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'City',
|
||||
value: 'city'
|
||||
text: 'Role',
|
||||
value: 'role'
|
||||
}, {
|
||||
sortable: true,
|
||||
text: 'Hospital',
|
||||
value: 'hospital'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Salary',
|
||||
value: 'salary',
|
||||
text: 'Action',
|
||||
value: 'action',
|
||||
align: 'right'
|
||||
}],
|
||||
items: [{
|
||||
name: 'Dakota Rice',
|
||||
country: 'Niger',
|
||||
city: 'Oud-Tunrhout',
|
||||
salary: '$35,738'
|
||||
}, {
|
||||
name: 'Minerva Hooper',
|
||||
country: 'Curaçao',
|
||||
city: 'Sinaai-Waas',
|
||||
salary: '$23,738'
|
||||
}, {
|
||||
name: 'Sage Rodriguez',
|
||||
country: 'Netherlands',
|
||||
city: 'Overland Park',
|
||||
salary: '$56,142'
|
||||
}, {
|
||||
name: 'Philip Chanley',
|
||||
country: 'Korea, South',
|
||||
city: 'Gloucester',
|
||||
salary: '$38,735'
|
||||
}, {
|
||||
name: 'Doris Greene',
|
||||
country: 'Malawi',
|
||||
city: 'Feldkirchen in Kārnten',
|
||||
salary: '$63,542'
|
||||
}, {
|
||||
name: 'Mason Porter',
|
||||
country: 'Chile',
|
||||
city: 'Gloucester',
|
||||
salary: '$78,615'
|
||||
}]
|
||||
items: []
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
this.load();
|
||||
},
|
||||
methods: _objectSpread({
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].listOpertor);
|
||||
|
||||
case 2:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.data.data;
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function load() {
|
||||
return _load.apply(this, arguments);
|
||||
}
|
||||
|
||||
return load;
|
||||
}(),
|
||||
changeStatus: function () {
|
||||
var _changeStatus = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(userId) {
|
||||
var result, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, user;
|
||||
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].changeStatusUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context2.sent;
|
||||
|
||||
if (!(result && result.status == 200)) {
|
||||
_context2.next = 25;
|
||||
break;
|
||||
}
|
||||
|
||||
_iteratorNormalCompletion = true;
|
||||
_didIteratorError = false;
|
||||
_iteratorError = undefined;
|
||||
_context2.prev = 7;
|
||||
|
||||
for (_iterator = this.items[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
||||
user = _step.value;
|
||||
|
||||
if (user.id == userId) {
|
||||
user.status = result.data.data.status;
|
||||
}
|
||||
}
|
||||
|
||||
_context2.next = 15;
|
||||
break;
|
||||
|
||||
case 11:
|
||||
_context2.prev = 11;
|
||||
_context2.t0 = _context2["catch"](7);
|
||||
_didIteratorError = true;
|
||||
_iteratorError = _context2.t0;
|
||||
|
||||
case 15:
|
||||
_context2.prev = 15;
|
||||
_context2.prev = 16;
|
||||
|
||||
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
||||
_iterator.return();
|
||||
}
|
||||
|
||||
case 18:
|
||||
_context2.prev = 18;
|
||||
|
||||
if (!_didIteratorError) {
|
||||
_context2.next = 21;
|
||||
break;
|
||||
}
|
||||
|
||||
throw _iteratorError;
|
||||
|
||||
case 21:
|
||||
return _context2.finish(18);
|
||||
|
||||
case 22:
|
||||
return _context2.finish(15);
|
||||
|
||||
case 23:
|
||||
_context2.next = 26;
|
||||
break;
|
||||
|
||||
case 25:
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
|
||||
case 26:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this, [[7, 11, 15, 23], [16,, 18, 22]]);
|
||||
}));
|
||||
|
||||
function changeStatus(_x) {
|
||||
return _changeStatus.apply(this, arguments);
|
||||
}
|
||||
|
||||
return changeStatus;
|
||||
}()
|
||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
||||
changeRoleModal: function changeRoleModal(user) {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-user-role",
|
||||
properties: {
|
||||
user: user
|
||||
}
|
||||
});
|
||||
},
|
||||
remove: function () {
|
||||
var _remove = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(userId) {
|
||||
var result, key;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].deleteUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context3.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
for (key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == userId) {
|
||||
this.items.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function remove(_x2) {
|
||||
return _remove.apply(this, arguments);
|
||||
}
|
||||
|
||||
return remove;
|
||||
}()
|
||||
}),
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])("modal", ["getModalResult"])),
|
||||
watch: {
|
||||
getModalResult: function getModalResult(user) {
|
||||
var _iteratorNormalCompletion2 = true;
|
||||
var _didIteratorError2 = false;
|
||||
var _iteratorError2 = undefined;
|
||||
|
||||
try {
|
||||
for (var _iterator2 = this.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
||||
var userList = _step2.value;
|
||||
|
||||
if (userList.id == user.id) {
|
||||
userList.roles = user.roles;
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
_didIteratorError2 = true;
|
||||
_iteratorError2 = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
||||
_iterator2.return();
|
||||
}
|
||||
} finally {
|
||||
if (_didIteratorError2) {
|
||||
throw _iteratorError2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&":
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&":
|
||||
/*!***********************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74& ***!
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c& ***!
|
||||
\***********************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
@@ -168,25 +396,101 @@ var render = function() {
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { "justify-center": "", wrap: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Member List" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mb-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "green",
|
||||
title: "Simple Table",
|
||||
text: "Here is a subtitle for this table"
|
||||
}
|
||||
},
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { color: "black", name: "name", label: "Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { color: "black", name: "date", label: "Date" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
name: "hospital",
|
||||
label: "Hospital"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 my-2",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
@@ -202,7 +506,7 @@ var render = function() {
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text-success text--darken-3",
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
@@ -213,15 +517,139 @@ var render = function() {
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.created_at))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
_vm._l(item.roles, function(role, key) {
|
||||
return _c("span", { key: key }, [
|
||||
_vm._v(_vm._s(role.name))
|
||||
])
|
||||
}),
|
||||
0
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("td", { staticClass: "text-xs-right" }, [
|
||||
_vm._v(_vm._s(item.salary))
|
||||
])
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.medical_center.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: {
|
||||
color:
|
||||
item.status == "Active"
|
||||
? "red"
|
||||
: "green"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeStatus(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
item.status == "Active"
|
||||
? [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
item.status == "Active"
|
||||
? _c("span", [_vm._v("Susspended")])
|
||||
: _vm._e()
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Active")])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "orange darken-1" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeRoleModal(item)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Role")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-ActionButton",
|
||||
attrs: { color: "pink" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.remove(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -234,61 +662,43 @@ var render = function() {
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "green",
|
||||
flat: "",
|
||||
"full-width": "",
|
||||
title: "Table on Plain Background",
|
||||
text: "Here is a subtitle for this table"
|
||||
}
|
||||
},
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items.slice(0, 7),
|
||||
"hide-actions": ""
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
||||
_vm._v(" "),
|
||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
||||
_vm._v(" "),
|
||||
_c("td", { staticClass: "text-xs-right" }, [
|
||||
_vm._v(_vm._s(item.salary))
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -309,18 +719,18 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TableList.vue":
|
||||
/***/ "./resources/js/vue/views/User/List.vue":
|
||||
/*!**********************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue ***!
|
||||
!*** ./resources/js/vue/views/User/List.vue ***!
|
||||
\**********************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableList.vue?vue&type=template&id=27579e74& */ "./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&");
|
||||
/* harmony import */ var _TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TableList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
/* harmony import */ var _List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=5b60cb2c& */ "./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&");
|
||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
@@ -329,9 +739,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
@@ -341,38 +751,38 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/TableList.vue"
|
||||
component.options.__file = "resources/js/vue/views/User/List.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&":
|
||||
/***/ "./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue?vue&type=script&lang=js& ***!
|
||||
!*** ./resources/js/vue/views/User/List.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&":
|
||||
/***/ "./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74& ***!
|
||||
!*** ./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c& ***!
|
||||
\*****************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=template&id=27579e74& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TableList.vue?vue&type=template&id=27579e74&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=5b60cb2c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_27579e74___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+321
-295
@@ -1,14 +1,24 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[19],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&":
|
||||
/*!*********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js& ***!
|
||||
\*********************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -95,64 +105,90 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({//
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
user: {
|
||||
cell_number: "",
|
||||
gender: "",
|
||||
name: "",
|
||||
email: "",
|
||||
address: ""
|
||||
},
|
||||
items: ["Male", "FeMale"],
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
counter: function counter(value) {
|
||||
return value.length == 0 || value.length >= 5 || "Min 5 characters";
|
||||
},
|
||||
email: function email(value) {
|
||||
if (value.length > 0) {
|
||||
var pattern = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||
return pattern.test(value) || "Invalid e-mail.";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
this.user = this.$store.state.user;
|
||||
},
|
||||
methods: {
|
||||
saveInfo: function () {
|
||||
var _saveInfo = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
var result;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context.next = 5;
|
||||
break;
|
||||
}
|
||||
|
||||
_context.next = 3;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updateInfo, this.user);
|
||||
|
||||
case 3:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.$store.dispatch("info", {}, {
|
||||
root: true
|
||||
});
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
}
|
||||
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function saveInfo() {
|
||||
return _saveInfo.apply(this, arguments);
|
||||
}
|
||||
|
||||
return saveInfo;
|
||||
}()
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&":
|
||||
/*!*************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174& ***!
|
||||
\*************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
@@ -166,256 +202,246 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { "justify-center": "", wrap: "" } },
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "", fluid: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md8: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "My Info" } },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
"v-layout",
|
||||
{
|
||||
attrs: {
|
||||
color: "green",
|
||||
title: "Edit Profile",
|
||||
text: "Complete your profile"
|
||||
}
|
||||
staticClass: "px-5 my-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-form",
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "py-0": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
attrs: {
|
||||
label: "Company (disabled)",
|
||||
disabled: ""
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "User Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Email Address" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md6: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "First Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md6: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Last Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Adress" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "City" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: { label: "Country" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "purple-input",
|
||||
attrs: {
|
||||
label: "Postal Code",
|
||||
type: "number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "" } },
|
||||
[
|
||||
_c("v-textarea", {
|
||||
staticClass: "purple-input",
|
||||
attrs: {
|
||||
label: "About Me",
|
||||
value:
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", "text-xs-right": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mx-0 font-weight-light",
|
||||
attrs: { color: "success" }
|
||||
},
|
||||
[
|
||||
_vm._v(
|
||||
"\n Update Profile\n "
|
||||
)
|
||||
]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required, _vm.rules.counter]
|
||||
},
|
||||
model: {
|
||||
value: _vm.user.name,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.user, "name", $$v)
|
||||
},
|
||||
expression: "user.name"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Gender",
|
||||
name: "gender",
|
||||
"single-line": "",
|
||||
rules: [_vm.rules.required],
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.user.gender,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.user, "gender", $$v)
|
||||
},
|
||||
expression: "user.gender"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cellnumber",
|
||||
label: "Cell Number",
|
||||
mask: "0### ### ####",
|
||||
color: "black",
|
||||
disabled: ""
|
||||
},
|
||||
model: {
|
||||
value: _vm.user.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.user, "cell_number", $$v)
|
||||
},
|
||||
expression: "user.cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md4: "" } },
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"material-card",
|
||||
{ staticClass: "v-card-profile" },
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mb-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-avatar",
|
||||
{
|
||||
staticClass: "mx-auto d-block",
|
||||
attrs: { slot: "offset", size: "130" },
|
||||
slot: "offset"
|
||||
},
|
||||
[_c("img", { attrs: { src: "/img/" } })]
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "px-2",
|
||||
staticStyle: { "padding-top": "75px" },
|
||||
attrs: {
|
||||
name: "emailaddress",
|
||||
label: "Email Address",
|
||||
rules: [_vm.rules.email],
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.user.email,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.user, "email", $$v)
|
||||
},
|
||||
expression: "user.email"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-card-text",
|
||||
{ staticClass: "text-xs-center" },
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", sm8: "", md8: "" } },
|
||||
[
|
||||
_c(
|
||||
"h6",
|
||||
{
|
||||
staticClass:
|
||||
"category text-gray font-weight-thin mb-3"
|
||||
_c("v-textarea", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
rules: [_vm.rules.counter],
|
||||
name: "address"
|
||||
},
|
||||
[_vm._v("CEO / CO-FOUNDER")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"h4",
|
||||
{ staticClass: "card-title font-weight-light" },
|
||||
[_vm._v("Alec Thompson")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"p",
|
||||
{ staticClass: "card-description font-weight-light" },
|
||||
[
|
||||
_vm._v(
|
||||
"Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is..."
|
||||
)
|
||||
]
|
||||
),
|
||||
_vm._v(" "),
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "label",
|
||||
fn: function() {
|
||||
return [_c("div", [_vm._v("Address")])]
|
||||
},
|
||||
proxy: true
|
||||
}
|
||||
]),
|
||||
model: {
|
||||
value: _vm.user.address,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.user, "address", $$v)
|
||||
},
|
||||
expression: "user.address"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"justify-center": "",
|
||||
"align-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "text-md-center text-xs-center",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "font-weight-light",
|
||||
attrs: { color: "success", round: "" }
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.saveInfo()
|
||||
}
|
||||
}
|
||||
},
|
||||
[_vm._v("Follow")]
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-check")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("SAVE")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-center text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c("v-icon", { staticClass: "black--text" }, [
|
||||
_vm._v("keyboard_arrow_left")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
@@ -440,18 +466,18 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue":
|
||||
/***/ "./resources/js/vue/views/User/MyInfo.vue":
|
||||
/*!************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue ***!
|
||||
!*** ./resources/js/vue/views/User/MyInfo.vue ***!
|
||||
\************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=template&id=47383346& */ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||||
/* harmony import */ var _UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
/* harmony import */ var _MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MyInfo.vue?vue&type=template&id=67cde174& */ "./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&");
|
||||
/* harmony import */ var _MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MyInfo.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
@@ -460,9 +486,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
@@ -472,38 +498,38 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/UserProfile.vue"
|
||||
component.options.__file = "resources/js/vue/views/User/MyInfo.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&":
|
||||
/***/ "./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&":
|
||||
/*!*************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js& ***!
|
||||
!*** ./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js& ***!
|
||||
\*************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./MyInfo.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&":
|
||||
/***/ "./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&":
|
||||
/*!*******************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346& ***!
|
||||
!*** ./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174& ***!
|
||||
\*******************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=template&id=47383346& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/UserProfile.vue?vue&type=template&id=47383346&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./MyInfo.vue?vue&type=template&id=67cde174& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_47383346___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+1124
-327
File diff suppressed because it is too large
Load Diff
Vendored
+231
-472
@@ -1,24 +1,14 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[21],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js&":
|
||||
/*!**********************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js& ***!
|
||||
\**********************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -91,173 +81,34 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
headers: [{
|
||||
sortable: false,
|
||||
text: "TestType Name",
|
||||
value: "name"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "TestType UniqueId",
|
||||
value: "uniqueId"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Register TestType",
|
||||
value: "users"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Date",
|
||||
value: "date"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Action",
|
||||
value: "action",
|
||||
align: "right"
|
||||
}],
|
||||
items: [],
|
||||
currentPage: 1,
|
||||
lastPage: 1
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
getData: function () {
|
||||
var _getData = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
var page,
|
||||
result,
|
||||
_args = arguments;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
page = _args.length > 0 && _args[0] !== undefined ? _args[0] : 1;
|
||||
_context.next = 3;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].listTestType(page));
|
||||
|
||||
case 3:
|
||||
result = _context.sent;
|
||||
this.items = result.data.data.data;
|
||||
this.currentPage = result.data.data.current_page;
|
||||
this.lastPage = result.data.data.last_page;
|
||||
|
||||
case 7:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function getData() {
|
||||
return _getData.apply(this, arguments);
|
||||
}
|
||||
|
||||
return getData;
|
||||
}(),
|
||||
remove: function () {
|
||||
var _remove = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(id) {
|
||||
var result, key;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].deleteTestType(id));
|
||||
|
||||
case 2:
|
||||
result = _context2.sent;
|
||||
|
||||
if (result.status == 200) {
|
||||
for (key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
|
||||
this.items.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
|
||||
function remove(_x) {
|
||||
return _remove.apply(this, arguments);
|
||||
}
|
||||
|
||||
return remove;
|
||||
}()
|
||||
},
|
||||
watch: {
|
||||
currentPage: function currentPage(page) {
|
||||
this.getData(page);
|
||||
}
|
||||
}
|
||||
});
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
||||
// Module
|
||||
exports.push([module.i, "\n.WM-ActionButton[data-v-b1f1b72e] {\r\n padding: 8px 22px;\n}\r\n", ""]);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
||||
|
||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||
|
||||
var transform;
|
||||
var insertInto;
|
||||
|
||||
|
||||
|
||||
var options = {"hmr":true}
|
||||
|
||||
options.transform = transform
|
||||
options.insertInto = undefined;
|
||||
|
||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
||||
|
||||
if(content.locals) module.exports = content.locals;
|
||||
|
||||
if(false) {}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&":
|
||||
/*!***************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true& ***!
|
||||
\***************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true&":
|
||||
/*!**************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true& ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -270,86 +121,79 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
"div",
|
||||
{},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Medical Centers List", text: "" } },
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-5 mb-3", attrs: { wrap: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "All Test Resualt", text: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
attrs: { label: "Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-spacer"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "text-xs-right",
|
||||
attrs: { xs12: "", md2: "", sm2: "" }
|
||||
},
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: { name: "AddTestType" } } },
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Date", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Hospital", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Add")
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
@@ -359,205 +203,138 @@ var render = function() {
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mt-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { md12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
staticClass:
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.unique_code) + " ")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.user.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.created_at))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
attrs: {
|
||||
to: {
|
||||
name: "EditTestType",
|
||||
params: { testType: item.id }
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "cyan" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-pen")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Edit")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-ActionButton",
|
||||
attrs: { color: "pink" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.remove(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_vm.lastPage > 1
|
||||
? _c(
|
||||
"div",
|
||||
{ staticClass: "text-xs-center" },
|
||||
[
|
||||
_c("v-pagination", {
|
||||
attrs: { length: _vm.lastPage, "total-visible": 6 },
|
||||
model: {
|
||||
value: _vm.currentPage,
|
||||
callback: function($$v) {
|
||||
_vm.currentPage = $$v
|
||||
},
|
||||
expression: "currentPage"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
: _vm._e(),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
"v-flex",
|
||||
{ attrs: { xs1: "" } },
|
||||
[
|
||||
_c("v-card-title", [
|
||||
_c("div", [
|
||||
_c("div", [
|
||||
_vm._v("\n 222\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", [
|
||||
_vm._v("\n Test\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", {}, [
|
||||
_vm._v("\n 1\n ")
|
||||
])
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs6: "" } },
|
||||
[
|
||||
_c("v-card-text", [
|
||||
_c("p", [
|
||||
_vm._v(
|
||||
"\n Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n "
|
||||
)
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs4: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
"v-card-text",
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "black" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-folder")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Archive")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "cyan" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-pen")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Edit")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -581,20 +358,18 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TestType/List.vue":
|
||||
/*!**************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestType/List.vue ***!
|
||||
\**************************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/AllResultTest.vue":
|
||||
/*!*************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/AllResultTest.vue ***!
|
||||
\*************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=b1f1b72e&scoped=true& */ "./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&");
|
||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
/* harmony import */ var _AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AllResultTest.vue?vue&type=template&id=74721790&scoped=true& */ "./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true&");
|
||||
/* harmony import */ var _AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AllResultTest.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
@@ -602,67 +377,51 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"b1f1b72e",
|
||||
"74721790",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/TestType/List.vue"
|
||||
component.options.__file = "resources/js/vue/views/TestResult/AllResultTest.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&":
|
||||
/*!***************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js& ***!
|
||||
\***************************************************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js&":
|
||||
/*!**************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js& ***!
|
||||
\**************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AllResultTest.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
||||
/*!***********************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
||||
\***********************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&":
|
||||
/*!*********************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true& ***!
|
||||
\*********************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true&":
|
||||
/*!********************************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true& ***!
|
||||
\********************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=b1f1b72e&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AllResultTest.vue?vue&type=template&id=74721790&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/AllResultTest.vue?vue&type=template&id=74721790&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_74721790_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+372
-1154
File diff suppressed because it is too large
Load Diff
Vendored
+233
-228
@@ -1,19 +1,14 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
||||
/*!********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
||||
\********************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js&":
|
||||
/*!*************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js& ***!
|
||||
\*************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -76,36 +71,44 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
cell_number: "",
|
||||
password: "",
|
||||
show1: false
|
||||
};
|
||||
},
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapGetters"])('auth', ['authenticating', 'authenticationError', 'authenticationErrorCode'])),
|
||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapActions"])('auth', ['login']), {
|
||||
handleSubmit: function handleSubmit() {
|
||||
// Perform a simple validation that cell_number and password have been typed in
|
||||
if (this.cell_number != '' && this.password != '') {
|
||||
this.login({
|
||||
cell_number: this.cell_number,
|
||||
password: this.password
|
||||
});
|
||||
this.password = "";
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
||||
\************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true&":
|
||||
/*!*****************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true& ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -118,215 +121,217 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-form",
|
||||
"div",
|
||||
{},
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
{ attrs: { fluid: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "All Test Resualt", text: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm3: "" }
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Login Page" } },
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Date", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Hospital", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
attrs: {
|
||||
name: "cellnumber",
|
||||
label: "Cell Number",
|
||||
id: "id1",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.cell_number = $$v
|
||||
},
|
||||
expression: "cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "password",
|
||||
label: "Password",
|
||||
type: _vm.show1 ? "text" : "password",
|
||||
"append-icon": _vm.show1
|
||||
? "visibility"
|
||||
: "visibility_off",
|
||||
color: "black"
|
||||
},
|
||||
on: {
|
||||
"click:append": function($event) {
|
||||
_vm.show1 = !_vm.show1
|
||||
}
|
||||
},
|
||||
model: {
|
||||
value: _vm.password,
|
||||
callback: function($$v) {
|
||||
_vm.password = $$v
|
||||
},
|
||||
expression: "password"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs1: "" } },
|
||||
[
|
||||
_c("v-card-title", [
|
||||
_c("div", [
|
||||
_c("div", [
|
||||
_vm._v("\n 222\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", [
|
||||
_vm._v("\n Test\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", {}, [
|
||||
_vm._v("\n 1\n ")
|
||||
])
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs6: "" } },
|
||||
[
|
||||
_c("v-card-text", [
|
||||
_c("p", [
|
||||
_vm._v(
|
||||
"\n Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n "
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs4: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
"v-card-text",
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "black" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.handleSubmit }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Login")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-folder")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Archive")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "cyan" } },
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
staticClass: "black--text",
|
||||
attrs: { to: "register" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"black--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Register")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-pen")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Edit")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { row: "", wrap: "" }
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "px-4 py-3",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/forgot-password" } },
|
||||
[
|
||||
_c(
|
||||
"span",
|
||||
{
|
||||
staticClass: "black--text",
|
||||
staticStyle: {
|
||||
"border-bottom": "1px solid #000"
|
||||
}
|
||||
},
|
||||
[_vm._v("Forgot Password ?")]
|
||||
)
|
||||
]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -353,17 +358,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue":
|
||||
/*!***********************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue ***!
|
||||
\***********************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/List.vue":
|
||||
/*!****************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/List.vue ***!
|
||||
\****************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
||||
/* harmony import */ var _Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Login.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=5a2f7b66&scoped=true& */ "./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true&");
|
||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -373,50 +378,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"36ebd76a",
|
||||
"5a2f7b66",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/Auth/Login.vue"
|
||||
component.options.__file = "resources/js/vue/views/TestResult/List.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
||||
/*!************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
||||
\************************************************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js&":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js& ***!
|
||||
\*****************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
||||
/*!******************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
||||
\******************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true&":
|
||||
/*!***********************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true& ***!
|
||||
\***********************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=5a2f7b66&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestResult/List.vue?vue&type=template&id=5a2f7b66&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5a2f7b66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+159
-287
@@ -1,14 +1,19 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&":
|
||||
/*!*****************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js& ***!
|
||||
\*****************************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -52,67 +57,28 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({});
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
cell_number: ""
|
||||
};
|
||||
},
|
||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapActions"])("auth", ["forgotPassword"]), Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
||||
handleSubmit: function handleSubmit() {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-auth-verify-code"
|
||||
});
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true&":
|
||||
/*!***************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true& ***!
|
||||
\***************************************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&":
|
||||
/*!*********************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6& ***!
|
||||
\*********************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -125,232 +91,138 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"div",
|
||||
{},
|
||||
"v-form",
|
||||
[
|
||||
_c(
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "All Test Resualt", text: "" } },
|
||||
"v-layout",
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm3: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Name", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Date", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { label: "Hospital", color: "black" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Login Page" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "my-3",
|
||||
attrs: { "align-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs1: "" } },
|
||||
[
|
||||
_c("v-card-title", [
|
||||
_c("div", [
|
||||
_c("div", [
|
||||
_vm._v("\n 222\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", [
|
||||
_vm._v("\n Test\n ")
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_c("div", {}, [
|
||||
_vm._v("\n 1\n ")
|
||||
])
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs6: "" } },
|
||||
[
|
||||
_c("v-card-text", [
|
||||
_c("p", [
|
||||
_vm._v(
|
||||
"\n Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna\n "
|
||||
)
|
||||
])
|
||||
])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs4: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-card-text",
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "black" } },
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-folder")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Archive")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{ staticClass: "mr-2", attrs: { color: "cyan" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-pen")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Edit")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{ attrs: { color: "orange darken-1" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-1 caption" },
|
||||
[_vm._v("fas fa-barcode")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Generate Barcode")])
|
||||
_c("v-text-field", {
|
||||
attrs: {
|
||||
name: "cellnumber",
|
||||
label: "Cell Number",
|
||||
id: "id1",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.cell_number = $$v
|
||||
},
|
||||
expression: "cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-divider"),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.handleSubmit }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Send")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
staticClass: "black--text",
|
||||
attrs: { to: "login" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"black--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Login")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -377,18 +249,18 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/AllResultTest.vue":
|
||||
/*!**************************************************!*\
|
||||
!*** ./resources/js/vue/views/AllResultTest.vue ***!
|
||||
\**************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue":
|
||||
/*!********************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue ***!
|
||||
\********************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true& */ "./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true&");
|
||||
/* harmony import */ var _AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AllResultTest.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
/* harmony import */ var _ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ForgotPassword.vue?vue&type=template&id=384f72a6& */ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&");
|
||||
/* harmony import */ var _ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ForgotPassword.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
@@ -397,50 +269,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
"01d995b8",
|
||||
null,
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/AllResultTest.vue"
|
||||
component.options.__file = "resources/js/vue/views/Auth/ForgotPassword.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js&":
|
||||
/*!***************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js& ***!
|
||||
\***************************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&":
|
||||
/*!*********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js& ***!
|
||||
\*********************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./AllResultTest.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AllResultTest.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true&":
|
||||
/*!*********************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true& ***!
|
||||
\*********************************************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&":
|
||||
/*!***************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6& ***!
|
||||
\***************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/AllResultTest.vue?vue&type=template&id=01d995b8&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ForgotPassword.vue?vue&type=template&id=384f72a6& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AllResultTest_vue_vue_type_template_id_01d995b8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+297
-139
@@ -1,14 +1,19 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
||||
/*!********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
||||
\********************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -34,97 +39,73 @@ __webpack_require__.r(__webpack_exports__);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
Cards: [{
|
||||
title: 'My Info',
|
||||
text: 'You can easily edit your registration information',
|
||||
icon: '/img/Static/Dashboard/darkmug.png',
|
||||
color: 'WM-OrangeGradient-BG',
|
||||
route: {
|
||||
name: 'MyInfo'
|
||||
},
|
||||
aligntext: 'text-md-left',
|
||||
alignimg: 'text-md-right',
|
||||
column: 'xs12 md6 sm6'
|
||||
}, {
|
||||
title: 'All Test Result',
|
||||
text: 'You can see all user tests and own tests',
|
||||
icon: '/img/Static/Dashboard/pad.png',
|
||||
color: 'WM-GreenGradient-BG',
|
||||
route: {
|
||||
name: 'AllResultTest'
|
||||
},
|
||||
aligntext: 'text-md-left',
|
||||
alignimg: 'text-md-right',
|
||||
column: 'xs12 md6 sm6'
|
||||
}, {
|
||||
title: 'Manage Users',
|
||||
text: 'You can edit the medical center information',
|
||||
icon: '/img/Static/Dashboard/ipad.png',
|
||||
color: 'WM-YellowPinkGradient-BG',
|
||||
route: {
|
||||
name: 'ManageUsers'
|
||||
},
|
||||
aligntext: 'text-md-center',
|
||||
alignimg: 'text-md-left',
|
||||
column: 'xs12 md12 sm12'
|
||||
}, {
|
||||
title: 'Manage Medical Center',
|
||||
text: 'Managing users very fast by ...',
|
||||
icon: '/img/Static/Dashboard/Macbook.png',
|
||||
color: 'WM-MuskGradient-BG',
|
||||
route: {
|
||||
name: 'ManageMedicalCenter'
|
||||
},
|
||||
aligntext: 'text-md-left',
|
||||
alignimg: 'text-md-right',
|
||||
column: 'xs12 md7 sm7'
|
||||
}, {
|
||||
title: 'List Test Type',
|
||||
text: 'You can simply add your own test type',
|
||||
icon: '/img/Static/Dashboard/Book-and-Pen.png',
|
||||
color: 'WM-GreyGradient-BG',
|
||||
route: {
|
||||
name: 'ListTestType'
|
||||
},
|
||||
aligntext: 'text-md-left',
|
||||
alignimg: 'text-md-right',
|
||||
column: 'xs12 md5 sm5'
|
||||
}, {
|
||||
title: 'Test to Verify',
|
||||
text: 'You can simply add your own test type in this section of website',
|
||||
icon: '/img/Static/Dashboard/notepad-colorful.png',
|
||||
color: 'WM-PinkGradient-BG',
|
||||
route: {
|
||||
name: 'SubmitTestResult'
|
||||
},
|
||||
aligntext: 'text-md-center',
|
||||
alignimg: 'text-md-left',
|
||||
column: 'xs12 md12 sm12'
|
||||
}, {
|
||||
title: 'Add a Test Result',
|
||||
text: 'You can edit the medical center information',
|
||||
icon: '/img/Static/Dashboard/ipad.png',
|
||||
color: 'WM-YellowPinkGradient-BG',
|
||||
route: {
|
||||
name: 'ManageMedicalCenter'
|
||||
},
|
||||
aligntext: 'text-md-center',
|
||||
alignimg: 'text-md-left',
|
||||
column: 'xs12 md12 sm12'
|
||||
}]
|
||||
cell_number: "",
|
||||
password: "",
|
||||
show1: false
|
||||
};
|
||||
}
|
||||
},
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapGetters"])('auth', ['authenticating', 'authenticationError', 'authenticationErrorCode'])),
|
||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_0__["mapActions"])('auth', ['login']), {
|
||||
handleSubmit: function handleSubmit() {
|
||||
// Perform a simple validation that cell_number and password have been typed in
|
||||
if (this.cell_number != '' && this.password != '') {
|
||||
this.login({
|
||||
cell_number: this.cell_number,
|
||||
password: this.password
|
||||
});
|
||||
this.password = "";
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
|
||||
/*!***********************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
|
||||
\***********************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
||||
\************************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -137,48 +118,225 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
"v-form",
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{
|
||||
attrs: {
|
||||
color: "black",
|
||||
title: "Material Dashboard Heading",
|
||||
text: ""
|
||||
}
|
||||
},
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { row: "", wrap: "" } },
|
||||
_vm._l(_vm.Cards, function(Card, Key) {
|
||||
return _c(
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ key: Key, class: [Card.column, "pa-2"] },
|
||||
{
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm3: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: Card.route } },
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Login Page" } },
|
||||
[
|
||||
_c("material-cards", {
|
||||
attrs: {
|
||||
title: Card.title,
|
||||
icon: Card.icon,
|
||||
color: Card.color,
|
||||
text: Card.text,
|
||||
aligntext: Card.aligntext,
|
||||
alignimg: Card.alignimg
|
||||
}
|
||||
})
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
attrs: {
|
||||
name: "cellnumber",
|
||||
label: "Cell Number",
|
||||
id: "id1",
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: _vm.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.cell_number = $$v
|
||||
},
|
||||
expression: "cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "password",
|
||||
label: "Password",
|
||||
type: _vm.show1 ? "text" : "password",
|
||||
"append-icon": _vm.show1
|
||||
? "visibility"
|
||||
: "visibility_off",
|
||||
color: "black"
|
||||
},
|
||||
on: {
|
||||
"click:append": function($event) {
|
||||
_vm.show1 = !_vm.show1
|
||||
}
|
||||
},
|
||||
model: {
|
||||
value: _vm.password,
|
||||
callback: function($$v) {
|
||||
_vm.password = $$v
|
||||
},
|
||||
expression: "password"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.handleSubmit }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Login")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{
|
||||
staticClass: "black--text",
|
||||
attrs: { to: "register" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"black--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Register")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { row: "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass: "px-4 py-3",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/forgot-password" } },
|
||||
[
|
||||
_c(
|
||||
"span",
|
||||
{
|
||||
staticClass: "black--text",
|
||||
staticStyle: {
|
||||
"border-bottom": "1px solid #000"
|
||||
}
|
||||
},
|
||||
[_vm._v("Forgot Password ?")]
|
||||
)
|
||||
]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
}),
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
@@ -195,18 +353,18 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Dashboard.vue":
|
||||
/*!**********************************************!*\
|
||||
!*** ./resources/js/vue/views/Dashboard.vue ***!
|
||||
\**********************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue":
|
||||
/*!***********************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue ***!
|
||||
\***********************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
|
||||
/* harmony import */ var _Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
/* harmony import */ var _Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
||||
/* harmony import */ var _Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Login.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
|
||||
@@ -215,50 +373,50 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
"36ebd76a",
|
||||
null
|
||||
|
||||
)
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/Dashboard.vue"
|
||||
component.options.__file = "resources/js/vue/views/Auth/Login.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
||||
/*!************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
||||
\************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
|
||||
\*****************************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
||||
/*!******************************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
||||
\******************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
Vendored
+282
-553
@@ -1,9 +1,9 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
|
||||
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&":
|
||||
/*!*******************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js& ***!
|
||||
\*******************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************************************************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -11,19 +11,13 @@
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
||||
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
@@ -106,72 +100,40 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
var defaultForm = Object.freeze({
|
||||
cell_number: "",
|
||||
password: "",
|
||||
name: "",
|
||||
gender: "",
|
||||
medical_center_id: this.$route.params.medicalCenter ? this.$route.params.medicalCenter : ''
|
||||
});
|
||||
return {
|
||||
headers: [{
|
||||
sortable: true,
|
||||
text: 'Operator',
|
||||
value: 'name'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Date',
|
||||
value: 'date'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Role',
|
||||
value: 'role'
|
||||
}, {
|
||||
sortable: true,
|
||||
text: 'Hospital',
|
||||
value: 'hospital'
|
||||
}, {
|
||||
sortable: false,
|
||||
text: 'Action',
|
||||
value: 'action',
|
||||
align: 'right'
|
||||
}],
|
||||
items: []
|
||||
form: Object.assign({}, defaultForm),
|
||||
show1: false,
|
||||
items: ["Male", "FeMale"],
|
||||
isLogin: _services__WEBPACK_IMPORTED_MODULE_1__["TokenService"].getInfo(),
|
||||
rules: {
|
||||
required: function required(value) {
|
||||
return !!value || "Required.";
|
||||
},
|
||||
nameCounter: function nameCounter(value) {
|
||||
return value.length >= 5 || "Min 5 characters";
|
||||
},
|
||||
passCounter: function passCounter(value) {
|
||||
return value.length >= 6 || "Min 6 characters";
|
||||
},
|
||||
cellNumberCounter: function cellNumberCounter(value) {
|
||||
return value.length == 11 || "must 11 characters";
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
this.load();
|
||||
},
|
||||
methods: _objectSpread({
|
||||
load: function () {
|
||||
var _load = _asyncToGenerator(
|
||||
methods: {
|
||||
register: function () {
|
||||
var _register = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
||||
var result;
|
||||
@@ -179,21 +141,27 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].listOpertor);
|
||||
if (!this.$refs.form.validate()) {
|
||||
_context.next = 5;
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
_context.next = 3;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post("register", this.form);
|
||||
|
||||
case 3:
|
||||
result = _context.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
this.items = result.data.data.data;
|
||||
} else {
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
name: "OperatorList",
|
||||
params: {
|
||||
medicalCenter: this.form.medical_center_id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
case 4:
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
@@ -201,188 +169,21 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function load() {
|
||||
return _load.apply(this, arguments);
|
||||
function register() {
|
||||
return _register.apply(this, arguments);
|
||||
}
|
||||
|
||||
return load;
|
||||
}(),
|
||||
changeStatus: function () {
|
||||
var _changeStatus = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(userId) {
|
||||
var result, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, user;
|
||||
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].changeStatusUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context2.sent;
|
||||
|
||||
if (!(result && result.status == 200)) {
|
||||
_context2.next = 25;
|
||||
break;
|
||||
}
|
||||
|
||||
_iteratorNormalCompletion = true;
|
||||
_didIteratorError = false;
|
||||
_iteratorError = undefined;
|
||||
_context2.prev = 7;
|
||||
|
||||
for (_iterator = this.items[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
||||
user = _step.value;
|
||||
|
||||
if (user.id == userId) {
|
||||
user.status = result.data.data.status;
|
||||
}
|
||||
}
|
||||
|
||||
_context2.next = 15;
|
||||
break;
|
||||
|
||||
case 11:
|
||||
_context2.prev = 11;
|
||||
_context2.t0 = _context2["catch"](7);
|
||||
_didIteratorError = true;
|
||||
_iteratorError = _context2.t0;
|
||||
|
||||
case 15:
|
||||
_context2.prev = 15;
|
||||
_context2.prev = 16;
|
||||
|
||||
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
||||
_iterator.return();
|
||||
}
|
||||
|
||||
case 18:
|
||||
_context2.prev = 18;
|
||||
|
||||
if (!_didIteratorError) {
|
||||
_context2.next = 21;
|
||||
break;
|
||||
}
|
||||
|
||||
throw _iteratorError;
|
||||
|
||||
case 21:
|
||||
return _context2.finish(18);
|
||||
|
||||
case 22:
|
||||
return _context2.finish(15);
|
||||
|
||||
case 23:
|
||||
_context2.next = 26;
|
||||
break;
|
||||
|
||||
case 25:
|
||||
this.$router.push({
|
||||
name: "Dashboard"
|
||||
});
|
||||
|
||||
case 26:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this, [[7, 11, 15, 23], [16,, 18, 22]]);
|
||||
}));
|
||||
|
||||
function changeStatus(_x) {
|
||||
return _changeStatus.apply(this, arguments);
|
||||
}
|
||||
|
||||
return changeStatus;
|
||||
return register;
|
||||
}()
|
||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
||||
changeRoleModal: function changeRoleModal(user) {
|
||||
this.changeCurrentModal({
|
||||
modal: "modal-user-role",
|
||||
properties: {
|
||||
user: user
|
||||
}
|
||||
});
|
||||
},
|
||||
remove: function () {
|
||||
var _remove = _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(userId) {
|
||||
var result, key;
|
||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
||||
while (1) {
|
||||
switch (_context3.prev = _context3.next) {
|
||||
case 0:
|
||||
_context3.next = 2;
|
||||
return _services__WEBPACK_IMPORTED_MODULE_2__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_1__["urls"].deleteUser(userId));
|
||||
|
||||
case 2:
|
||||
result = _context3.sent;
|
||||
|
||||
if (result && result.status == 200) {
|
||||
for (key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == userId) {
|
||||
this.items.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case 4:
|
||||
case "end":
|
||||
return _context3.stop();
|
||||
}
|
||||
}
|
||||
}, _callee3, this);
|
||||
}));
|
||||
|
||||
function remove(_x2) {
|
||||
return _remove.apply(this, arguments);
|
||||
}
|
||||
|
||||
return remove;
|
||||
}()
|
||||
}),
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])("modal", ["getModalResult"])),
|
||||
watch: {
|
||||
getModalResult: function getModalResult(user) {
|
||||
var _iteratorNormalCompletion2 = true;
|
||||
var _didIteratorError2 = false;
|
||||
var _iteratorError2 = undefined;
|
||||
|
||||
try {
|
||||
for (var _iterator2 = this.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
||||
var userList = _step2.value;
|
||||
|
||||
if (userList.id == user.id) {
|
||||
userList.roles = user.roles;
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
_didIteratorError2 = true;
|
||||
_iteratorError2 = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
||||
_iterator2.return();
|
||||
}
|
||||
} finally {
|
||||
if (_didIteratorError2) {
|
||||
throw _iteratorError2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&":
|
||||
/*!***********************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c& ***!
|
||||
\***********************************************************************************************************************************************************************************************************/
|
||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
||||
/*!***************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
||||
\***************************************************************************************************************************************************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@@ -395,307 +196,235 @@ var render = function() {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c(
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
"v-form",
|
||||
{ ref: "form" },
|
||||
[
|
||||
_c(
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Member List" } },
|
||||
"v-container",
|
||||
{ attrs: { "grid-list-xs": "" } },
|
||||
[
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 mb-3",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { color: "black", name: "name", label: "Name" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: { color: "black", name: "date", label: "Date" }
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
color: "black",
|
||||
name: "hospital",
|
||||
label: "Hospital"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
||||
{
|
||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
||||
attrs: { xs12: "", md3: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" }
|
||||
},
|
||||
"material-card",
|
||||
{ attrs: { color: "black", title: "Register Page" } },
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-search")]
|
||||
"v-layout",
|
||||
{ attrs: { column: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "name",
|
||||
label: "Name",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.nameCounter
|
||||
]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.name,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "name", $$v)
|
||||
},
|
||||
expression: "form.name"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: _vm.items,
|
||||
label: "Gender",
|
||||
name: "gender",
|
||||
"single-line": "",
|
||||
color: "black",
|
||||
rules: [_vm.rules.required]
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.gender,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "gender", $$v)
|
||||
},
|
||||
expression: "form.gender"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "cell_number",
|
||||
label: "Cell Number",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.cellNumberCounter
|
||||
],
|
||||
mask: "#### ### ####"
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.cell_number,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "cell_number", $$v)
|
||||
},
|
||||
expression: "form.cell_number"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
||||
[
|
||||
_c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
name: "password",
|
||||
label: "Password",
|
||||
type: _vm.show1 ? "text" : "password",
|
||||
"append-icon": _vm.show1
|
||||
? "visibility"
|
||||
: "visibility_off",
|
||||
color: "black",
|
||||
rules: [
|
||||
_vm.rules.required,
|
||||
_vm.rules.passCounter
|
||||
]
|
||||
},
|
||||
on: {
|
||||
"click:append": function($event) {
|
||||
_vm.show1 = !_vm.show1
|
||||
}
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.password,
|
||||
callback: function($$v) {
|
||||
_vm.$set(_vm.form, "password", $$v)
|
||||
},
|
||||
expression: "form.password"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Filter")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "px-5 my-2",
|
||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
||||
[
|
||||
_c("v-data-table", {
|
||||
attrs: {
|
||||
headers: _vm.headers,
|
||||
items: _vm.items,
|
||||
"hide-actions": ""
|
||||
},
|
||||
scopedSlots: _vm._u([
|
||||
{
|
||||
key: "headerCell",
|
||||
fn: function(ref) {
|
||||
var header = ref.header
|
||||
return [
|
||||
_c("span", {
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"subheading font-weight-light text-white text--darken-3",
|
||||
domProps: { textContent: _vm._s(header.text) }
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
key: "items",
|
||||
fn: function(ref) {
|
||||
var item = ref.item
|
||||
return [
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "headline font-weight-light" },
|
||||
[_vm._v(_vm._s(item.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.created_at))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
_vm._l(item.roles, function(role, key) {
|
||||
return _c("span", { key: key }, [
|
||||
_vm._v(_vm._s(role.name))
|
||||
])
|
||||
}),
|
||||
0
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.medical_center.name))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: {
|
||||
color:
|
||||
item.status == "Active"
|
||||
? "red"
|
||||
: "green"
|
||||
},
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeStatus(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
item.status == "Active"
|
||||
? [
|
||||
"text-md-left text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-CyanBlueGradient-BG",
|
||||
staticStyle: { padding: "10px 60px" },
|
||||
on: { click: _vm.register }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "white--text mr-2 caption" },
|
||||
[_vm._v("fas fa-plus")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "white--text" }, [
|
||||
_vm._v("Register")
|
||||
])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
!_vm.isLogin
|
||||
? _c(
|
||||
"v-flex",
|
||||
{
|
||||
staticClass:
|
||||
"text-md-right text-sm-center text-xs-center",
|
||||
attrs: { xs12: "", md6: "", sm6: "" }
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/login" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
"black--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
[_vm._v("fas fa-sign-in-alt")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
item.status == "Active"
|
||||
? _c("span", [_vm._v("Susspended")])
|
||||
: _vm._e()
|
||||
]
|
||||
: [
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass:
|
||||
"white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Active")])
|
||||
]
|
||||
],
|
||||
2
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "mr-2 WM-ActionButton",
|
||||
attrs: { color: "orange darken-1" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.changeRoleModal(item)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-user-tag")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Role")])
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass: "WM-ActionButton",
|
||||
attrs: { color: "pink" },
|
||||
on: {
|
||||
click: function($event) {
|
||||
return _vm.remove(item.id)
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{
|
||||
staticClass: "white--text mr-2 caption"
|
||||
},
|
||||
[_vm._v("fas fa-times")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", [_vm._v("Remove")])
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
])
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"v-layout",
|
||||
{
|
||||
staticClass: "mt-3",
|
||||
attrs: {
|
||||
row: "",
|
||||
wrap: "",
|
||||
"align-center": "",
|
||||
"justify-center": ""
|
||||
}
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"router-link",
|
||||
{ attrs: { to: "/dashboard" } },
|
||||
[
|
||||
_c(
|
||||
"v-btn",
|
||||
{
|
||||
staticClass:
|
||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
||||
},
|
||||
[
|
||||
_c(
|
||||
"v-icon",
|
||||
{ staticClass: "black--text mr-2 caption" },
|
||||
[_vm._v("fas fa-chevron-left")]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c("span", { staticClass: "black--text" }, [
|
||||
_vm._v("Back")
|
||||
])
|
||||
"span",
|
||||
{ staticClass: "black--text" },
|
||||
[_vm._v("Login")]
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
: _vm._e()
|
||||
],
|
||||
1
|
||||
)
|
||||
],
|
||||
1
|
||||
)
|
||||
@@ -719,17 +448,17 @@ render._withStripped = true
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/List.vue":
|
||||
/*!**********************************************!*\
|
||||
!*** ./resources/js/vue/views/User/List.vue ***!
|
||||
\**********************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue":
|
||||
/*!**************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue ***!
|
||||
\**************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=5b60cb2c& */ "./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&");
|
||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&");
|
||||
/* harmony import */ var _Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Register.vue?vue&type=template&id=051bdd9c& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
||||
/* harmony import */ var _Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Register.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
||||
|
||||
|
||||
@@ -739,9 +468,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* normalize component */
|
||||
|
||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
@@ -751,38 +480,38 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
||||
|
||||
/* hot reload */
|
||||
if (false) { var api; }
|
||||
component.options.__file = "resources/js/vue/views/User/List.vue"
|
||||
component.options.__file = "resources/js/vue/views/Auth/Register.vue"
|
||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&":
|
||||
/*!***********************************************************************!*\
|
||||
!*** ./resources/js/vue/views/User/List.vue?vue&type=script&lang=js& ***!
|
||||
\***********************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
||||
/*!***************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
||||
\***************************************************************************/
|
||||
/*! exports provided: default */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&":
|
||||
/*!*****************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c& ***!
|
||||
\*****************************************************************************/
|
||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
||||
/*!*********************************************************************************!*\
|
||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
||||
\*********************************************************************************/
|
||||
/*! exports provided: render, staticRenderFns */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=5b60cb2c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/List.vue?vue&type=template&id=5b60cb2c&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=template&id=051bdd9c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_5b60cb2c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"/vue/js/app.js": "/vue/js/app.js?id=ac43acb6474495f2e055"
|
||||
"/vue/js/app.js": "/vue/js/app.js?id=38bfa47bc8d4e81eb1e1"
|
||||
}
|
||||
|
||||
Vendored
+23
-22
@@ -62467,9 +62467,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
onlyWhenLoggedOut: true
|
||||
}
|
||||
}, {
|
||||
path: '/all-resualttest',
|
||||
path: '/resualt-test',
|
||||
name: 'AllResultTest',
|
||||
view: 'AllResultTest'
|
||||
view: 'TestResult/List'
|
||||
}, {
|
||||
path: '/submit-test-result',
|
||||
name: 'SubmitTestResult',
|
||||
@@ -63157,7 +63157,8 @@ function errorResponseHandler(error) {
|
||||
if (typeof error.response.data.errors !== 'undefined') {
|
||||
for (var key in error.response.data.errors) {
|
||||
if (error.response.data.errors.hasOwnProperty(key)) {
|
||||
_toast_service__WEBPACK_IMPORTED_MODULE_1__["default"].error(error.response.data.errors[key]);
|
||||
var title = error.response.data.title ? error.response.data.title : undefined;
|
||||
_toast_service__WEBPACK_IMPORTED_MODULE_1__["default"].error(error.response.data.errors[key], title);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -63930,31 +63931,27 @@ var toggle = function toggle(property) {
|
||||
var map = {
|
||||
"./AddNewTest.vue": [
|
||||
"./resources/js/vue/views/AddNewTest.vue",
|
||||
2
|
||||
],
|
||||
"./AllResultTest.vue": [
|
||||
"./resources/js/vue/views/AllResultTest.vue",
|
||||
7
|
||||
0
|
||||
],
|
||||
"./Auth/ForgotPassword.vue": [
|
||||
"./resources/js/vue/views/Auth/ForgotPassword.vue",
|
||||
11
|
||||
7
|
||||
],
|
||||
"./Auth/Login.vue": [
|
||||
"./resources/js/vue/views/Auth/Login.vue",
|
||||
6
|
||||
8
|
||||
],
|
||||
"./Auth/Register.vue": [
|
||||
"./resources/js/vue/views/Auth/Register.vue",
|
||||
13
|
||||
9
|
||||
],
|
||||
"./Dashboard.vue": [
|
||||
"./resources/js/vue/views/Dashboard.vue",
|
||||
8
|
||||
10
|
||||
],
|
||||
"./Icons.vue": [
|
||||
"./resources/js/vue/views/Icons.vue",
|
||||
10
|
||||
11
|
||||
],
|
||||
"./Maps.vue": [
|
||||
"./resources/js/vue/views/Maps.vue",
|
||||
@@ -63962,7 +63959,7 @@ var map = {
|
||||
],
|
||||
"./MedicalCenter/AddEdit.vue": [
|
||||
"./resources/js/vue/views/MedicalCenter/AddEdit.vue",
|
||||
0
|
||||
12
|
||||
],
|
||||
"./MedicalCenter/List.vue": [
|
||||
"./resources/js/vue/views/MedicalCenter/List.vue",
|
||||
@@ -63970,7 +63967,7 @@ var map = {
|
||||
],
|
||||
"./MedicalCenter/OperatorList.vue": [
|
||||
"./resources/js/vue/views/MedicalCenter/OperatorList.vue",
|
||||
23
|
||||
13
|
||||
],
|
||||
"./Notifications.vue": [
|
||||
"./resources/js/vue/views/Notifications.vue",
|
||||
@@ -63978,19 +63975,23 @@ var map = {
|
||||
],
|
||||
"./SubmitTestResult.vue": [
|
||||
"./resources/js/vue/views/SubmitTestResult.vue",
|
||||
17
|
||||
15
|
||||
],
|
||||
"./TableList.vue": [
|
||||
"./resources/js/vue/views/TableList.vue",
|
||||
18
|
||||
16
|
||||
],
|
||||
"./TestResult/List.vue": [
|
||||
"./resources/js/vue/views/TestResult/List.vue",
|
||||
6
|
||||
],
|
||||
"./TestType/AddEdit.vue": [
|
||||
"./resources/js/vue/views/TestType/AddEdit.vue",
|
||||
3
|
||||
2
|
||||
],
|
||||
"./TestType/List.vue": [
|
||||
"./resources/js/vue/views/TestType/List.vue",
|
||||
21
|
||||
3
|
||||
],
|
||||
"./Typography.vue": [
|
||||
"./resources/js/vue/views/Typography.vue",
|
||||
@@ -64002,15 +64003,15 @@ var map = {
|
||||
],
|
||||
"./User/List.vue": [
|
||||
"./resources/js/vue/views/User/List.vue",
|
||||
9
|
||||
18
|
||||
],
|
||||
"./User/MyInfo.vue": [
|
||||
"./resources/js/vue/views/User/MyInfo.vue",
|
||||
22
|
||||
19
|
||||
],
|
||||
"./UserProfile.vue": [
|
||||
"./resources/js/vue/views/UserProfile.vue",
|
||||
19
|
||||
17
|
||||
]
|
||||
};
|
||||
function webpackAsyncContext(req) {
|
||||
|
||||
Reference in New Issue
Block a user