update database

This commit is contained in:
manhlab
2021-04-09 11:13:00 -04:00
parent dbe6e18227
commit 176a5839dc
8 changed files with 18 additions and 18 deletions

View File

@@ -177,7 +177,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
this.service.update(this.itemUpdating, this.itemSelected.id).then(function (response) {
_this2.isShowDetail = false;
_this2.$toast.success("Đã lưu");
_this2.$toast.success("Сохранено");
_this2.fetchList();
})["catch"](function (error) {
@@ -337,7 +337,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-check" } }),
_vm._v(" Lưu\n ")
_vm._v(" Сохранить\n ")
],
1
)

View File

@@ -158,7 +158,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
case 0:
_context2.next = 2;
return (_this2.isMe ? _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].auth : _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].user).update(_this2.user, _this2.userId).then(function (response) {
_this2.$toast.success("Đã lưu");
_this2.$toast.success("Сохранено");
})["catch"](function (error) {
_this2.toastHttpError(error);
});
@@ -267,7 +267,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
case 0:
_context.next = 2;
return (_this.isMe ? _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].auth : _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].user).update(_this.password, _this.userId).then(function (response) {
_this.$toast.success("Đã thay đổi");
_this.$toast.success("Измененно");
})["catch"](function (error) {
_this.toastHttpError(error);
});
@@ -758,7 +758,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-check" } }),
_vm._v("Lưu\n ")
_vm._v("Сохранить\n ")
],
1
)
@@ -863,7 +863,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-check" } }),
_vm._v("Thay đổi\n ")
_vm._v("Изменение\n ")
],
1
)

View File

@@ -431,7 +431,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
case 0:
_context7.next = 2;
return _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].document.update(_this7.document, _this7.documentId).then(function (response) {
_this7.$toast.success("Đã lưu");
_this7.$toast.success("Сохранено");
_this7.$emit("update", response.data);
})["catch"](function (error) {
@@ -915,7 +915,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-check" } }),
_vm._v("Lưu\n ")
_vm._v("Сохранить\n ")
],
1
)