This commit is contained in:
@@ -98,6 +98,7 @@ todo: AFTER ATTACHMENTS WIKI IMAGES
|
|||||||
- baseurl setting for local images: https://marked.js.org/#/USING_ADVANCED.md#options
|
- baseurl setting for local images: https://marked.js.org/#/USING_ADVANCED.md#options
|
||||||
- in v7 images are not part of attachment system but rather embedded somehow in the document (have to refresh how that works for export dbdump)
|
- in v7 images are not part of attachment system but rather embedded somehow in the document (have to refresh how that works for export dbdump)
|
||||||
|
|
||||||
|
todo: after attachments - integration tests update
|
||||||
|
|
||||||
todo: after attachments - DATADUMP - v7 wiki to RAVEN markdown
|
todo: after attachments - DATADUMP - v7 wiki to RAVEN markdown
|
||||||
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3468
|
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3468
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ import errorControl from "./components/error-control.vue";
|
|||||||
import reportSelectorControl from "./components/report-selector-control.vue";
|
import reportSelectorControl from "./components/report-selector-control.vue";
|
||||||
import reportViewerControl from "./components/report-viewer-control.vue";
|
import reportViewerControl from "./components/report-viewer-control.vue";
|
||||||
import wikiControl from "./components/wiki-control.vue";
|
import wikiControl from "./components/wiki-control.vue";
|
||||||
|
import attachmentControl from "./components/attachment-control.vue";
|
||||||
|
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
@@ -177,6 +178,7 @@ Vue.component("gz-error", errorControl);
|
|||||||
Vue.component("gz-report-selector", reportSelectorControl);
|
Vue.component("gz-report-selector", reportSelectorControl);
|
||||||
Vue.component("gz-report-viewer", reportViewerControl);
|
Vue.component("gz-report-viewer", reportViewerControl);
|
||||||
Vue.component("gz-wiki", wikiControl);
|
Vue.component("gz-wiki", wikiControl);
|
||||||
|
Vue.component("gz-attachments", attachmentControl);
|
||||||
|
|
||||||
//3rd party components
|
//3rd party components
|
||||||
Vue.use(VueCurrencyInput);
|
Vue.use(VueCurrencyInput);
|
||||||
|
|||||||
@@ -214,6 +214,14 @@
|
|||||||
@input="fieldValueChanged('wiki')"
|
@input="fieldValueChanged('wiki')"
|
||||||
></gz-wiki
|
></gz-wiki
|
||||||
></v-col>
|
></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-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -238,6 +246,7 @@ const FORM_KEY = "widget-edit";
|
|||||||
const API_BASE_URL = "Widget/";
|
const API_BASE_URL = "Widget/";
|
||||||
const FORM_CUSTOM_TEMPLATE_KEY = "Widget";
|
const FORM_CUSTOM_TEMPLATE_KEY = "Widget";
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
created() {
|
created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
@@ -337,7 +346,8 @@ export default {
|
|||||||
appError: null,
|
appError: null,
|
||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject()
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
|
ayType: window.$gz.type.Widget
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
//WATCHERS
|
//WATCHERS
|
||||||
|
|||||||
Reference in New Issue
Block a user