This commit is contained in:
@@ -416,7 +416,7 @@ export default {
|
|||||||
},
|
},
|
||||||
///////////////////////////////////
|
///////////////////////////////////
|
||||||
// POST FILE ATTACHMENTS
|
// POST FILE ATTACHMENTS
|
||||||
// @param {ayId:objectid, ayType:objectType, files:[array of files]}
|
// @param {ayaId:objectid, ayaType:objectType, files:[array of files]}
|
||||||
//
|
//
|
||||||
uploadAttachment(at) {
|
uploadAttachment(at) {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
|||||||
@@ -284,8 +284,8 @@ export default {
|
|||||||
//(used for search results and event log / history)
|
//(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
|
//NOTE: Any object type could appear in event log, they all need to be supported where possible
|
||||||
//CoreBizObject add here
|
//CoreBizObject add here
|
||||||
iconForType: function(aytype) {
|
iconForType: function(ayaType) {
|
||||||
switch (aytype) {
|
switch (ayaType) {
|
||||||
case window.$gz.type.NoType:
|
case window.$gz.type.NoType:
|
||||||
return "fa-genderless";
|
return "fa-genderless";
|
||||||
case window.$gz.type.Global:
|
case window.$gz.type.Global:
|
||||||
|
|||||||
@@ -255,14 +255,14 @@ export default {
|
|||||||
vm.page += 1;
|
vm.page += 1;
|
||||||
//path: "/history/:ayatype/:recordid/:userlog?"
|
//path: "/history/:ayatype/:recordid/:userlog?"
|
||||||
///event-log/UserLog?UserId=2&Offset=2&Limit=2
|
///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) {
|
if (vm.$route.params.userlog) {
|
||||||
url = API_BASE_URL + "userlog?UserId=" + vm.$route.params.recordid;
|
url = API_BASE_URL + "userlog?UserId=" + vm.$route.params.recordid;
|
||||||
} else {
|
} else {
|
||||||
url =
|
url =
|
||||||
API_BASE_URL +
|
API_BASE_URL +
|
||||||
"objectlog?AyType=" +
|
"objectlog?AyaType=" +
|
||||||
vm.$route.params.ayatype +
|
vm.$route.params.ayatype +
|
||||||
"&AyId=" +
|
"&AyId=" +
|
||||||
vm.$route.params.recordid;
|
vm.$route.params.recordid;
|
||||||
|
|||||||
@@ -207,7 +207,7 @@
|
|||||||
|
|
||||||
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
|
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
|
||||||
<gz-wiki
|
<gz-wiki
|
||||||
:ayaType="ayType"
|
:ayaType="ayaType"
|
||||||
:ayaId="obj.id"
|
:ayaId="obj.id"
|
||||||
ref="wiki"
|
ref="wiki"
|
||||||
v-model="obj.wiki"
|
v-model="obj.wiki"
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
>
|
>
|
||||||
<gz-attachments
|
<gz-attachments
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:ayaType="ayType"
|
:ayaType="ayaType"
|
||||||
:ayaId="obj.id"
|
:ayaId="obj.id"
|
||||||
></gz-attachments
|
></gz-attachments
|
||||||
></v-col>
|
></v-col>
|
||||||
@@ -350,7 +350,7 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
ayType: window.$gz.type.Widget
|
ayaType: window.$gz.type.Widget
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
//WATCHERS
|
//WATCHERS
|
||||||
|
|||||||
Reference in New Issue
Block a user