update database
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user