This commit is contained in:
2020-08-27 23:28:30 +00:00
parent 3441a89e0c
commit 04d69d3f9d

View File

@@ -1,16 +1,46 @@
<template> <template>
<v-card v-resize="onResize"> <v-tabs color="primary">
<MonacoEditor <v-tab>Item One</v-tab>
class="editor" <v-tab>Item Two</v-tab>
v-model="code" <v-tab>CSS</v-tab>
language="javascript" <v-tabs-items>
:options="monacoOptions" <v-tab-item>
:style="editStyle()" one
/> </v-tab-item>
</v-card> <v-tab-item>
two
</v-tab-item>
<v-tab-item>
<MonacoEditor
class="editor"
v-model="report.style"
language="css"
:options="monacoOptions"
:style="editStyle()"
v-resize="onResize"
/>
</v-tab-item>
</v-tabs-items>
</v-tabs>
<!-- <gz-report-viewer <!-- <gz-report-viewer
:reportId="$route.params.recordid" :reportId="$route.params.recordid"
:ayaType="$route.params.ayatype" :ayaType="$route.params.ayatype"
[Required]
public string Name { get; set; }
public bool Active { get; set; }
public string Notes { get; set; }
public AuthorizationRoles Roles { get; set; }
[Required]
public AyaType ObjectType { get; set; }
public string Template { get; set; }
public string Style { get; set; }
public string JsPrerender { get; set; }
public string JsHelpers { get; set; }
[Required]
public ReportRenderType RenderType { get; set; }
/> --> /> -->
</template> </template>
@@ -46,7 +76,20 @@ export default {
code: "const noop = () => {}", code: "const noop = () => {}",
monacoOptions: { automaticLayout: true }, monacoOptions: { automaticLayout: true },
editAreaHeight: 300, editAreaHeight: 300,
obj: {}, obj: {
id: 0,
concurrency: 0,
name: null,
active: null,
notes: null,
roles: null,
objectType: 0,
template: "",
style: "",
jsPrerender: "",
jsHelpers: "",
renderType: 0
},
formState: { formState: {
ready: false, ready: false,
dirty: false, dirty: false,