2021-04-07 06:32:42 -04:00
|
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/src/components/document/Detail.vue?vue&type=script&lang=js&":
|
|
|
|
|
|
/*!******************************************************************************************************************************************************************************!*\
|
|
|
|
|
|
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/src/components/document/Detail.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_factory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../services/factory */ "./resources/js/src/services/factory.js");
|
|
|
|
|
|
/* harmony import */ var _riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @riophae/vue-treeselect */ "./node_modules/@riophae/vue-treeselect/dist/vue-treeselect.cjs.js");
|
|
|
|
|
|
/* harmony import */ var _riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_2__);
|
|
|
|
|
|
/* harmony import */ var _riophae_vue_treeselect_dist_vue_treeselect_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @riophae/vue-treeselect/dist/vue-treeselect.css */ "./node_modules/@riophae/vue-treeselect/dist/vue-treeselect.css");
|
|
|
|
|
|
/* harmony import */ var _riophae_vue_treeselect_dist_vue_treeselect_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_riophae_vue_treeselect_dist_vue_treeselect_css__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); }); }; }
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
// import the component
|
|
|
|
|
|
|
|
|
|
|
|
// import the styles
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
|
|
|
|
name: "Detail",
|
|
|
|
|
|
props: {
|
|
|
|
|
|
documentId: {
|
|
|
|
|
|
required: false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
components: {
|
|
|
|
|
|
Treeselect: _riophae_vue_treeselect__WEBPACK_IMPORTED_MODULE_2__["Treeselect"]
|
|
|
|
|
|
},
|
|
|
|
|
|
data: function data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
books: [],
|
|
|
|
|
|
types: [],
|
|
|
|
|
|
signers: [],
|
|
|
|
|
|
writers: [],
|
|
|
|
|
|
publishers: [],
|
|
|
|
|
|
document: {
|
|
|
|
|
|
book_id: null,
|
|
|
|
|
|
type_id: null,
|
|
|
|
|
|
symbol: null,
|
|
|
|
|
|
writer_id: null,
|
|
|
|
|
|
"abstract": null,
|
|
|
|
|
|
publisher_id: null,
|
|
|
|
|
|
effective_at: null,
|
|
|
|
|
|
signer_id: null,
|
|
|
|
|
|
sign_at: null,
|
|
|
|
|
|
creator: {
|
|
|
|
|
|
id: this.$store.state.auth.currentUser.id,
|
|
|
|
|
|
name: this.$store.state.auth.currentUser.name
|
|
|
|
|
|
},
|
|
|
|
|
|
writer: {}
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
watch: {
|
|
|
|
|
|
documentId: {
|
|
|
|
|
|
handler: function handler() {
|
|
|
|
|
|
this.init();
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
$route: {
|
|
|
|
|
|
immediate: true,
|
|
|
|
|
|
handler: function handler(route) {
|
|
|
|
|
|
if (route.query && route.query.book) {
|
|
|
|
|
|
this.document.book_id = Number.parseInt(route.query.book);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
isIncome: function isIncome() {
|
|
|
|
|
|
return this.document.book_id == 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
created: function created() {
|
|
|
|
|
|
this.init();
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
init: function init() {
|
|
|
|
|
|
!this.documentId || this.fetchDocument();
|
|
|
|
|
|
this.fetchTypes();
|
|
|
|
|
|
this.fetchBooks();
|
|
|
|
|
|
this.fetchPublishers();
|
|
|
|
|
|
this.fetchSigners();
|
|
|
|
|
|
this.fetchWriters();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchDocument: function fetchDocument() {
|
|
|
|
|
|
var _this = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
|
|
|
|
var documentResponse;
|
|
|
|
|
|
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_factory__WEBPACK_IMPORTED_MODULE_1__["default"].document.get(_this.documentId, {
|
|
|
|
|
|
"with": "creator;writer"
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
documentResponse = _context.sent;
|
|
|
|
|
|
_this.document = documentResponse.data;
|
|
|
|
|
|
return _context.abrupt("return", documentResponse.data);
|
|
|
|
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchTypes: function fetchTypes() {
|
|
|
|
|
|
var _this2 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {
|
|
|
|
|
|
var typeResponse;
|
|
|
|
|
|
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_factory__WEBPACK_IMPORTED_MODULE_1__["default"].documentType.all();
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
typeResponse = _context2.sent;
|
|
|
|
|
|
_this2.types = _this2.formatKeys(typeResponse.data, {
|
|
|
|
|
|
id: "id",
|
|
|
|
|
|
name: "label"
|
|
|
|
|
|
});
|
|
|
|
|
|
return _context2.abrupt("return", typeResponse);
|
|
|
|
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context2.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee2);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchBooks: function fetchBooks() {
|
|
|
|
|
|
var _this3 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3() {
|
|
|
|
|
|
var bookResponse;
|
|
|
|
|
|
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_factory__WEBPACK_IMPORTED_MODULE_1__["default"].book.all();
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
bookResponse = _context3.sent;
|
|
|
|
|
|
_this3.books = _this3.formatKeys(bookResponse.data);
|
|
|
|
|
|
return _context3.abrupt("return", bookResponse);
|
|
|
|
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context3.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee3);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchPublishers: function fetchPublishers() {
|
|
|
|
|
|
var _this4 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4() {
|
|
|
|
|
|
var publisherResponse;
|
|
|
|
|
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {
|
|
|
|
|
|
while (1) {
|
|
|
|
|
|
switch (_context4.prev = _context4.next) {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
_context4.next = 2;
|
|
|
|
|
|
return _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].publisher.all();
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
publisherResponse = _context4.sent;
|
|
|
|
|
|
_this4.publishers = _this4.formatKeys(publisherResponse.data, {
|
|
|
|
|
|
id: "id",
|
|
|
|
|
|
name: "label"
|
|
|
|
|
|
});
|
|
|
|
|
|
return _context4.abrupt("return", publisherResponse);
|
|
|
|
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context4.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee4);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchSigners: function fetchSigners() {
|
|
|
|
|
|
var _this5 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee5() {
|
|
|
|
|
|
var signerResponse;
|
|
|
|
|
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee5$(_context5) {
|
|
|
|
|
|
while (1) {
|
|
|
|
|
|
switch (_context5.prev = _context5.next) {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
_context5.next = 2;
|
|
|
|
|
|
return _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].signer.all();
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
signerResponse = _context5.sent;
|
|
|
|
|
|
_this5.signers = _this5.formatKeys(signerResponse.data, {
|
|
|
|
|
|
id: "id",
|
|
|
|
|
|
name: "label"
|
|
|
|
|
|
});
|
|
|
|
|
|
return _context5.abrupt("return", signerResponse);
|
|
|
|
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context5.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee5);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
fetchWriters: function fetchWriters() {
|
|
|
|
|
|
var _arguments = arguments,
|
|
|
|
|
|
_this6 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee6() {
|
|
|
|
|
|
var query, writersResponse;
|
|
|
|
|
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee6$(_context6) {
|
|
|
|
|
|
while (1) {
|
|
|
|
|
|
switch (_context6.prev = _context6.next) {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
query = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : "";
|
|
|
|
|
|
_context6.next = 3;
|
|
|
|
|
|
return _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].user.all({
|
|
|
|
|
|
search: "name:".concat(query),
|
|
|
|
|
|
"with": "department"
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
writersResponse = _context6.sent;
|
|
|
|
|
|
_this6.writers = _this6.formatKeys(writersResponse.data.data, {
|
|
|
|
|
|
id: "id",
|
|
|
|
|
|
name: "label"
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (!_this6.writers.map(function (item) {
|
|
|
|
|
|
return item.id;
|
|
|
|
|
|
}).includes(_this6.document.writer_id) && _this6.document.writer) {
|
|
|
|
|
|
_this6.writers.push({
|
|
|
|
|
|
id: _this6.document.writer.id,
|
|
|
|
|
|
label: _this6.document.writer.name
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return _context6.abrupt("return", writersResponse);
|
|
|
|
|
|
|
|
|
|
|
|
case 7:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context6.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee6);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
updateDocument: function updateDocument() {
|
|
|
|
|
|
var _this7 = this;
|
|
|
|
|
|
|
|
|
|
|
|
return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee7() {
|
|
|
|
|
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee7$(_context7) {
|
|
|
|
|
|
while (1) {
|
|
|
|
|
|
switch (_context7.prev = _context7.next) {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
_context7.next = 2;
|
|
|
|
|
|
return _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].document.update(_this7.document, _this7.documentId).then(function (response) {
|
2021-04-09 11:13:00 -04:00
|
|
|
|
_this7.$toast.success("Сохранено");
|
2021-04-07 06:32:42 -04:00
|
|
|
|
|
|
|
|
|
|
_this7.$emit("update", response.data);
|
|
|
|
|
|
})["catch"](function (error) {
|
|
|
|
|
|
_this7.toastHttpError(error);
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
case "end":
|
|
|
|
|
|
return _context7.stop();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, _callee7);
|
|
|
|
|
|
}))();
|
|
|
|
|
|
},
|
|
|
|
|
|
createDocument: function createDocument() {
|
|
|
|
|
|
var _this8 = this;
|
|
|
|
|
|
|
|
|
|
|
|
_services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].document.create(this.document).then(function (response) {
|
|
|
|
|
|
_this8.$router.push({
|
|
|
|
|
|
path: "/documents/".concat(response.data.id)
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2021-04-09 10:42:08 -04:00
|
|
|
|
_this8.$toast.success("Уже создал документ");
|
2021-04-07 06:32:42 -04:00
|
|
|
|
})["catch"](function (error) {
|
|
|
|
|
|
_this8.toastHttpError(error);
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
onClearWriter: function onClearWriter(value) {
|
|
|
|
|
|
if (value != undefined) return;
|
|
|
|
|
|
this.document.writer_id = null;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16&":
|
|
|
|
|
|
/*!**********************************************************************************************************************************************************************************************************************!*\
|
|
|
|
|
|
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16& ***!
|
|
|
|
|
|
\**********************************************************************************************************************************************************************************************************************/
|
|
|
|
|
|
/*! exports provided: render, staticRenderFns */
|
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
|
|
|
|
var render = function() {
|
|
|
|
|
|
var _vm = this
|
|
|
|
|
|
var _h = _vm.$createElement
|
|
|
|
|
|
var _c = _vm._self._c || _h
|
|
|
|
|
|
return _c(
|
|
|
|
|
|
"CCard",
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CCardHeader", [
|
|
|
|
|
|
_vm.documentId
|
2021-04-09 10:42:08 -04:00
|
|
|
|
? _c("strong", [_vm._v("О документе")])
|
|
|
|
|
|
: _c("strong", [_vm._v("Создать документ")])
|
2021-04-07 06:32:42 -04:00
|
|
|
|
]),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCardBody",
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CForm",
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CRow",
|
|
|
|
|
|
{ staticClass: "form-group" },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CSelect", {
|
|
|
|
|
|
staticClass: "mb-0",
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: "Документы",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
options: _vm.books,
|
|
|
|
|
|
value: _vm.document.book_id,
|
|
|
|
|
|
placeholder: "Please select"
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:value": function($event) {
|
|
|
|
|
|
return _vm.$set(_vm.document, "book_id", $event)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CFormGroup", {
|
|
|
|
|
|
staticClass: "form-group mb-0",
|
|
|
|
|
|
scopedSlots: _vm._u(
|
|
|
|
|
|
[
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "label",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_vm._t("label", [
|
2021-04-09 10:42:08 -04:00
|
|
|
|
_c("label", [_vm._v("Вид документа")])
|
2021-04-07 06:32:42 -04:00
|
|
|
|
])
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "input",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_c("treeselect", {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
options: _vm.types,
|
|
|
|
|
|
clearable: false
|
|
|
|
|
|
},
|
|
|
|
|
|
model: {
|
|
|
|
|
|
value: _vm.document.type_id,
|
|
|
|
|
|
callback: function($$v) {
|
|
|
|
|
|
_vm.$set(_vm.document, "type_id", $$v)
|
|
|
|
|
|
},
|
|
|
|
|
|
expression: "document.type_id"
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
null,
|
|
|
|
|
|
true
|
|
|
|
|
|
)
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CRow",
|
|
|
|
|
|
{ staticClass: "form-group" },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "12" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CInput", {
|
|
|
|
|
|
staticClass: "mb-0",
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: "Номер регистрации",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
value: _vm.document.symbol
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:value": function($event) {
|
|
|
|
|
|
return _vm.$set(_vm.document, "symbol", $event)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CRow",
|
|
|
|
|
|
{ staticClass: "form-group" },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
2021-05-24 10:21:51 +03:00
|
|
|
|
|
2021-04-07 06:32:42 -04:00
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CInput", {
|
|
|
|
|
|
staticClass: "mb-0",
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: "Автор",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
value: _vm.document.creator.name,
|
|
|
|
|
|
readonly: ""
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c("CTextarea", {
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: "Краткое содержание",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
placeholder: "Content...",
|
|
|
|
|
|
rows: "5",
|
|
|
|
|
|
value: _vm.document.abstract
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:value": function($event) {
|
|
|
|
|
|
return _vm.$set(_vm.document, "abstract", $event)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CRow",
|
|
|
|
|
|
{ staticClass: "form-group" },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CFormGroup", {
|
|
|
|
|
|
staticClass: "form-group mb-0",
|
|
|
|
|
|
scopedSlots: _vm._u(
|
|
|
|
|
|
[
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "label",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_vm._t("label", [
|
2021-04-09 10:42:08 -04:00
|
|
|
|
_c("label", [_vm._v("Место выдачи")])
|
2021-04-07 06:32:42 -04:00
|
|
|
|
])
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "input",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_c("treeselect", {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
options: _vm.publishers,
|
|
|
|
|
|
clearable: false
|
|
|
|
|
|
},
|
|
|
|
|
|
model: {
|
|
|
|
|
|
value: _vm.document.publisher_id,
|
|
|
|
|
|
callback: function($$v) {
|
|
|
|
|
|
_vm.$set(
|
|
|
|
|
|
_vm.document,
|
|
|
|
|
|
"publisher_id",
|
|
|
|
|
|
$$v
|
|
|
|
|
|
)
|
|
|
|
|
|
},
|
|
|
|
|
|
expression: "document.publisher_id"
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
null,
|
|
|
|
|
|
true
|
|
|
|
|
|
)
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CInput", {
|
|
|
|
|
|
staticClass: "mb-0",
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: _vm.isIncome ? "Дата получения" : "Дата выдачи",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
type: "date",
|
|
|
|
|
|
value: _vm.document.effective_at
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:value": function($event) {
|
|
|
|
|
|
return _vm.$set(
|
|
|
|
|
|
_vm.document,
|
|
|
|
|
|
"effective_at",
|
|
|
|
|
|
$event
|
|
|
|
|
|
)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CRow",
|
|
|
|
|
|
{ staticClass: "form-group" },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CFormGroup", {
|
|
|
|
|
|
staticClass: "form-group mb-0",
|
|
|
|
|
|
scopedSlots: _vm._u(
|
|
|
|
|
|
[
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "label",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_vm._t("label", [
|
2021-04-09 10:42:08 -04:00
|
|
|
|
_c("label", [_vm._v("Подписал")])
|
2021-04-07 06:32:42 -04:00
|
|
|
|
])
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "input",
|
|
|
|
|
|
fn: function() {
|
|
|
|
|
|
return [
|
|
|
|
|
|
_c("treeselect", {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
options: _vm.signers,
|
|
|
|
|
|
clearable: false
|
|
|
|
|
|
},
|
|
|
|
|
|
scopedSlots: _vm._u([
|
|
|
|
|
|
{
|
|
|
|
|
|
key: "option-label",
|
|
|
|
|
|
fn: function(ref) {
|
|
|
|
|
|
var node = ref.node
|
|
|
|
|
|
return _c("label", {}, [
|
|
|
|
|
|
_vm._v(
|
|
|
|
|
|
_vm._s(
|
|
|
|
|
|
node.raw.description
|
|
|
|
|
|
? node.raw.label +
|
|
|
|
|
|
" - " +
|
|
|
|
|
|
node.raw.description
|
|
|
|
|
|
: node.raw.label
|
|
|
|
|
|
)
|
|
|
|
|
|
)
|
|
|
|
|
|
])
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
]),
|
|
|
|
|
|
model: {
|
|
|
|
|
|
value: _vm.document.signer_id,
|
|
|
|
|
|
callback: function($$v) {
|
|
|
|
|
|
_vm.$set(_vm.document, "signer_id", $$v)
|
|
|
|
|
|
},
|
|
|
|
|
|
expression: "document.signer_id"
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
proxy: true
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
null,
|
|
|
|
|
|
true
|
|
|
|
|
|
)
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCol",
|
|
|
|
|
|
{ attrs: { sm: "6" } },
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CInput", {
|
|
|
|
|
|
staticClass: "mb-0",
|
|
|
|
|
|
attrs: {
|
2021-04-09 10:42:08 -04:00
|
|
|
|
label: "Дата подписания",
|
2021-04-07 06:32:42 -04:00
|
|
|
|
type: "date",
|
|
|
|
|
|
value: _vm.document.sign_at
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:value": function($event) {
|
|
|
|
|
|
return _vm.$set(_vm.document, "sign_at", $event)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
),
|
|
|
|
|
|
_vm._v(" "),
|
|
|
|
|
|
_c(
|
|
|
|
|
|
"CCardFooter",
|
|
|
|
|
|
[
|
|
|
|
|
|
_vm.documentId
|
|
|
|
|
|
? _c(
|
|
|
|
|
|
"CButton",
|
|
|
|
|
|
{
|
|
|
|
|
|
staticClass: "float-right",
|
|
|
|
|
|
attrs: { size: "sm", color: "success" },
|
|
|
|
|
|
on: { click: _vm.updateDocument }
|
|
|
|
|
|
},
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CIcon", { attrs: { name: "cil-check" } }),
|
2021-04-09 11:13:00 -04:00
|
|
|
|
_vm._v("Сохранить\n ")
|
2021-04-07 06:32:42 -04:00
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
: _c(
|
|
|
|
|
|
"CButton",
|
|
|
|
|
|
{
|
|
|
|
|
|
staticClass: "float-right",
|
|
|
|
|
|
attrs: { size: "sm", color: "success" },
|
|
|
|
|
|
on: { click: _vm.createDocument }
|
|
|
|
|
|
},
|
|
|
|
|
|
[
|
|
|
|
|
|
_c("CIcon", { attrs: { name: "cil-plus" } }),
|
2021-04-09 10:42:08 -04:00
|
|
|
|
_vm._v("Создать\n ")
|
2021-04-07 06:32:42 -04:00
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
],
|
|
|
|
|
|
1
|
|
|
|
|
|
)
|
|
|
|
|
|
}
|
|
|
|
|
|
var staticRenderFns = []
|
|
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/src/components/document/Detail.vue":
|
|
|
|
|
|
/*!*********************************************************!*\
|
|
|
|
|
|
!*** ./resources/js/src/components/document/Detail.vue ***!
|
|
|
|
|
|
\*********************************************************/
|
|
|
|
|
|
/*! exports provided: default */
|
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
/* harmony import */ var _Detail_vue_vue_type_template_id_9a2bbf16___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Detail.vue?vue&type=template&id=9a2bbf16& */ "./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16&");
|
|
|
|
|
|
/* harmony import */ var _Detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Detail.vue?vue&type=script&lang=js& */ "./resources/js/src/components/document/Detail.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");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
|
|
|
|
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
|
|
|
|
_Detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
|
|
_Detail_vue_vue_type_template_id_9a2bbf16___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
|
|
_Detail_vue_vue_type_template_id_9a2bbf16___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
|
|
false,
|
|
|
|
|
|
null,
|
|
|
|
|
|
null,
|
|
|
|
|
|
null
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
/* hot reload */
|
|
|
|
|
|
if (false) { var api; }
|
|
|
|
|
|
component.options.__file = "resources/js/src/components/document/Detail.vue"
|
|
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/src/components/document/Detail.vue?vue&type=script&lang=js&":
|
|
|
|
|
|
/*!**********************************************************************************!*\
|
|
|
|
|
|
!*** ./resources/js/src/components/document/Detail.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_Detail_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!./Detail.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/src/components/document/Detail.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_Detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16&":
|
|
|
|
|
|
/*!****************************************************************************************!*\
|
|
|
|
|
|
!*** ./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16& ***!
|
|
|
|
|
|
\****************************************************************************************/
|
|
|
|
|
|
/*! 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_Detail_vue_vue_type_template_id_9a2bbf16___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!./Detail.vue?vue&type=template&id=9a2bbf16& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/src/components/document/Detail.vue?vue&type=template&id=9a2bbf16&");
|
|
|
|
|
|
/* 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_Detail_vue_vue_type_template_id_9a2bbf16___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_Detail_vue_vue_type_template_id_9a2bbf16___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
|
|
|
|
}]);
|