This commit is contained in:
2022-06-23 00:34:31 +00:00
parent fb0a419624
commit 59a899a571
3 changed files with 11 additions and 12 deletions

View File

@@ -100,7 +100,7 @@ export default {
User: { Change: 2, ReadFullRecord: 1, Select: 131071 }, User: { Change: 2, ReadFullRecord: 1, Select: 131071 },
UserOptions: { Change: 2, ReadFullRecord: 1, Select: 0 }, UserOptions: { Change: 2, ReadFullRecord: 1, Select: 0 },
ServerState: { Change: 16384, ReadFullRecord: 131071, Select: 0 }, ServerState: { Change: 16384, ReadFullRecord: 131071, Select: 0 },
License: { Change: 2, ReadFullRecord: 1, Select: 0 }, License: { Change: 2, ReadFullRecord: 49515, Select: 0 },
TrialSeeder: { Change: 16386, ReadFullRecord: 8193, Select: 0 }, TrialSeeder: { Change: 16386, ReadFullRecord: 8193, Select: 0 },
LogFile: { Change: 0, ReadFullRecord: 24576, Select: 0 }, LogFile: { Change: 0, ReadFullRecord: 24576, Select: 0 },
Backup: { Change: 16384, ReadFullRecord: 8195, Select: 0 }, Backup: { Change: 16384, ReadFullRecord: 8195, Select: 0 },

View File

@@ -496,6 +496,12 @@ export default {
name: "ops-notification-settings" name: "ops-notification-settings"
}); });
break; break;
case ayatype.Integration:
vm.$router.push({
name: "adm-integration",
params: { recordid: tid.id }
});
break;
default: default:
window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(

View File

@@ -166,7 +166,9 @@ export default {
} }
try { try {
window.$gz.form.deleteAllErrorBoxErrors(vm); window.$gz.form.deleteAllErrorBoxErrors(vm);
const res = await window.$gz.api.get(API_BASE_URL + recordId); const res = await window.$gz.api.get(
API_BASE_URL + "/by-dbid/" + recordId
);
if (res.error) { if (res.error) {
if (res.error.code == "2010") { if (res.error.code == "2010") {
window.$gz.form.handleObjectNotFound(vm); window.$gz.form.handleObjectNotFound(vm);
@@ -251,7 +253,7 @@ export default {
JUST_DELETED = true; JUST_DELETED = true;
this.$router.go(-1); this.$router.go(-1);
} else { } else {
const url = API_BASE_URL + this.$route.params.recordid; const url = API_BASE_URL + "/by-dbid/" + this.$route.params.recordid;
window.$gz.form.deleteAllErrorBoxErrors(this); window.$gz.form.deleteAllErrorBoxErrors(this);
const res = await window.$gz.api.remove(url); const res = await window.$gz.api.remove(url);
if (res.error) { if (res.error) {
@@ -270,15 +272,6 @@ export default {
loading: false loading: false
}); });
} }
},
duplicate() {
this.$router.push({
name: "integration-edit",
params: {
recordid: 0,
obj: this.obj
}
});
} }
} }
}; };