update database
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
class="float-right"
|
||||
color="success"
|
||||
>
|
||||
<CIcon name="cil-check" />Lưu
|
||||
<CIcon name="cil-check" />Сохранить
|
||||
</CButton>
|
||||
<CButton v-else size="sm" @click="createDocument" class="float-right" color="success">
|
||||
<CIcon name="cil-plus" />Создать
|
||||
@@ -278,7 +278,7 @@ export default {
|
||||
await services.document
|
||||
.update(this.document, this.documentId)
|
||||
.then(response => {
|
||||
this.$toast.success("Đã lưu");
|
||||
this.$toast.success("Сохранено");
|
||||
this.$emit("update", response.data);
|
||||
})
|
||||
.catch(error => {
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
color="success"
|
||||
@click="onClickSave"
|
||||
>
|
||||
<CIcon name="cil-check" /> Lưu
|
||||
<CIcon name="cil-check" /> Сохранить
|
||||
</CButton>
|
||||
<CButton
|
||||
v-if="canDelete && !createMode"
|
||||
@@ -138,7 +138,7 @@ export default {
|
||||
.update(this.itemUpdating, this.itemSelected.id)
|
||||
.then(response => {
|
||||
this.isShowDetail = false;
|
||||
this.$toast.success("Đã lưu");
|
||||
this.$toast.success("Сохранено");
|
||||
this.fetchList();
|
||||
})
|
||||
.catch(error => {
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</CCardBody>
|
||||
<CCardFooter>
|
||||
<CButton type="submit" size="sm" @click="updateInfo" class="float-right" color="success">
|
||||
<CIcon name="cil-check" />Lưu
|
||||
<CIcon name="cil-check" />Сохранить
|
||||
</CButton>
|
||||
</CCardFooter>
|
||||
</CCard>
|
||||
@@ -106,7 +106,7 @@ export default {
|
||||
return await (this.isMe ? services.auth : services.user)
|
||||
.update(this.user, this.userId)
|
||||
.then((response) => {
|
||||
this.$toast.success("Đã lưu");
|
||||
this.$toast.success("Сохранено");
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toastHttpError(error);
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
class="float-right"
|
||||
color="success"
|
||||
>
|
||||
<CIcon name="cil-check" />Thay đổi
|
||||
<CIcon name="cil-check" />Изменение
|
||||
</CButton>
|
||||
</CCardFooter>
|
||||
</CCard>
|
||||
@@ -64,7 +64,7 @@ export default {
|
||||
return await (this.isMe ? services.auth : services.user)
|
||||
.update(this.password, this.userId)
|
||||
.then((response) => {
|
||||
this.$toast.success("Đã thay đổi");
|
||||
this.$toast.success("Измененно");
|
||||
})
|
||||
.catch((error) => {
|
||||
this.toastHttpError(error);
|
||||
|
||||
@@ -113,7 +113,7 @@ class Person extends \Faker\Provider\Person
|
||||
'Gia', 'Giang', 'Giao', 'Giáng',
|
||||
'Hiếu', 'Hiền', 'Hiểu', 'Hoa', 'Hoài', 'Hoàn', 'Hoàng', 'Huyền', 'Huệ', 'Huỳnh', 'Hà', 'Hàm', 'Hương', 'Hạ', 'Hạc', 'Hạnh', 'Hải', 'Hảo', 'Hằng', 'Họa', 'Hồ', 'Hồng',
|
||||
'Khiết', 'Khuê', 'Khánh', 'Khúc', 'Khả', 'Khải', 'Kim', 'Kiết', 'Kiều', 'Kỳ',
|
||||
'Lam', 'Lan', 'Linh', 'Liên', 'Liễu', 'Loan', 'Ly', 'Lâm', 'Lê', 'Lưu', 'Lệ', 'Lộc', 'Lục',
|
||||
'Lam', 'Lan', 'Linh', 'Liên', 'Liễu', 'Loan', 'Ly', 'Lâm', 'Lê', 'Сохранить', 'Lệ', 'Lộc', 'Lục',
|
||||
'Mai', 'Minh', 'Mậu', 'Mộc', 'Mộng', 'Mỹ',
|
||||
'Nghi', 'Nguyên', 'Nguyết', 'Nguyệt', 'Ngân', 'Ngọc', 'Nhan', 'Nhã', 'Như', 'Nhất', 'Nhật',
|
||||
'Oanh',
|
||||
@@ -143,7 +143,7 @@ class Person extends \Faker\Provider\Person
|
||||
'Giang', 'Giao', 'Giáp', 'Giả',
|
||||
'Hoa', 'Hoàng', 'Huỳnh', 'Hy', 'Hà', 'Hàn', 'Hàng', 'Hán', 'Hình', 'Hùng', 'Hạ', 'Hồ', 'Hồng', 'Hứa',
|
||||
'Kha', 'Khoa', 'Khu', 'Khuất', 'Khâu', 'Khúc', 'Khưu', 'Khương', 'Khổng', 'Kim', 'Kiều',
|
||||
'La', 'Liễu', 'Lâm', 'Lã', 'Lê', 'Lò', 'Lô', 'Lý', 'Lư', 'Lưu', 'Lương', 'Lạc', 'Lại', 'Lều', 'Lỡ', 'Lục', 'Lữ', 'Lỳ',
|
||||
'La', 'Liễu', 'Lâm', 'Lã', 'Lê', 'Lò', 'Lô', 'Lý', 'Lư', 'Сохранить', 'Lương', 'Lạc', 'Lại', 'Lều', 'Lỡ', 'Lục', 'Lữ', 'Lỳ',
|
||||
'Ma', 'Mai', 'Mang', 'Mâu', 'Код', 'Mạc', 'Mạch', 'Mẫn', 'Mộc',
|
||||
'Nghiêm', 'Nghị', 'Nguyễn', 'Ngân', 'Ngô', 'Ngụy', 'Nhiệm', 'Nhâm', 'Nhậm', 'Nhữ', 'Ninh', 'Nông',
|
||||
'Ong',
|
||||
|
||||
Reference in New Issue
Block a user