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

View File

@@ -1,16 +1,46 @@
<template>
<v-card v-resize="onResize">
<MonacoEditor
class="editor"
v-model="code"
language="javascript"
:options="monacoOptions"
:style="editStyle()"
/>
</v-card>
<v-tabs color="primary">
<v-tab>Item One</v-tab>
<v-tab>Item Two</v-tab>
<v-tab>CSS</v-tab>
<v-tabs-items>
<v-tab-item>
one
</v-tab-item>
<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
:reportId="$route.params.recordid"
: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>
@@ -46,7 +76,20 @@ export default {
code: "const noop = () => {}",
monacoOptions: { automaticLayout: true },
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: {
ready: false,
dirty: false,