This commit is contained in:
2020-04-21 20:24:24 +00:00
parent 9c9f5108c9
commit a8c227fb17
3 changed files with 14 additions and 1 deletions

View File

@@ -214,6 +214,14 @@
@input="fieldValueChanged('wiki')"
></gz-wiki
></v-col>
<v-col v-if="form().showMe(this, 'Attachments')" cols="12">
<gz-attachments
:readonly="formState.readOnly"
:parentVM="this"
:ayaType="ayType"
></gz-attachments
></v-col>
</v-row>
</v-form>
</v-col>
@@ -238,6 +246,7 @@ const FORM_KEY = "widget-edit";
const API_BASE_URL = "Widget/";
const FORM_CUSTOM_TEMPLATE_KEY = "Widget";
export default {
created() {
let vm = this;
@@ -337,7 +346,8 @@ export default {
appError: null,
serverError: {}
},
rights: window.$gz.role.defaultRightsObject()
rights: window.$gz.role.defaultRightsObject(),
ayType: window.$gz.type.Widget
};
},
//WATCHERS