This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div v-if="formState.ready">
|
<div v-if="formState.ready">
|
||||||
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
|
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
|
||||||
<v-form ref="form">
|
<v-form ref="form">
|
||||||
<v-row>
|
<v-row v-resize="onResize">
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
ref="name"
|
ref="name"
|
||||||
@@ -28,6 +28,17 @@
|
|||||||
@change="fieldValueChanged('active')"
|
@change="fieldValueChanged('active')"
|
||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
<v-col cols="12">
|
||||||
|
<v-card elevation="4">
|
||||||
|
<v-card
|
||||||
|
:height="logCardHeight"
|
||||||
|
style="overflow:auto;"
|
||||||
|
class="pl-5 py-6"
|
||||||
|
>
|
||||||
|
<pre>{{ log }}</pre>
|
||||||
|
</v-card>
|
||||||
|
</v-card>
|
||||||
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,6 +55,8 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY,
|
||||||
|
log: null,
|
||||||
|
logCardHeight: 300,
|
||||||
obj: {
|
obj: {
|
||||||
id: 0,
|
id: 0,
|
||||||
concurrency: 0,
|
concurrency: 0,
|
||||||
@@ -123,6 +136,9 @@ export default {
|
|||||||
window.$gz.eventBus.$off("menu-click", clickHandler);
|
window.$gz.eventBus.$off("menu-click", clickHandler);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
onResize() {
|
||||||
|
this.logCardHeight = window.innerHeight * 0.7;
|
||||||
|
},
|
||||||
canSave: function() {
|
canSave: function() {
|
||||||
return this.formState.valid && this.formState.dirty;
|
return this.formState.valid && this.formState.dirty;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user