This commit is contained in:
2020-05-15 21:47:39 +00:00
parent e125e0daf3
commit 1168e3314e
4 changed files with 8 additions and 8 deletions

View File

@@ -416,7 +416,7 @@ export default {
},
///////////////////////////////////
// POST FILE ATTACHMENTS
// @param {ayId:objectid, ayType:objectType, files:[array of files]}
// @param {ayaId:objectid, ayaType:objectType, files:[array of files]}
//
uploadAttachment(at) {
let that = this;

View File

@@ -284,8 +284,8 @@ export default {
//(used for search results and event log / history)
//NOTE: Any object type could appear in event log, they all need to be supported where possible
//CoreBizObject add here
iconForType: function(aytype) {
switch (aytype) {
iconForType: function(ayaType) {
switch (ayaType) {
case window.$gz.type.NoType:
return "fa-genderless";
case window.$gz.type.Global:

View File

@@ -255,14 +255,14 @@ export default {
vm.page += 1;
//path: "/history/:ayatype/:recordid/:userlog?"
///event-log/UserLog?UserId=2&Offset=2&Limit=2
///event-log/ObjectLog?AyType=2&AyId=2&Offset=2&Limit=2
///event-log/ObjectLog?AyaType=2&AyId=2&Offset=2&Limit=2
if (vm.$route.params.userlog) {
url = API_BASE_URL + "userlog?UserId=" + vm.$route.params.recordid;
} else {
url =
API_BASE_URL +
"objectlog?AyType=" +
"objectlog?AyaType=" +
vm.$route.params.ayatype +
"&AyId=" +
vm.$route.params.recordid;

View File

@@ -207,7 +207,7 @@
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
:ayaType="ayType"
:ayaType="ayaType"
:ayaId="obj.id"
ref="wiki"
v-model="obj.wiki"
@@ -222,7 +222,7 @@
>
<gz-attachments
:readonly="formState.readOnly"
:ayaType="ayType"
:ayaType="ayaType"
:ayaId="obj.id"
></gz-attachments
></v-col>
@@ -350,7 +350,7 @@ export default {
serverError: {}
},
rights: window.$gz.role.defaultRightsObject(),
ayType: window.$gz.type.Widget
ayaType: window.$gz.type.Widget
};
},
//WATCHERS