Commit 0c0c257a by 乔延琦

Merge branch 'develop-zhouyi' into 'develop'

Develop zhouyi

See merge request GFP/RBC/rbc-frontend!86
parents b2bc6f6f 1e07d73a
......@@ -3,7 +3,7 @@
<div class="suggestion-wrapper">
<div class="label">{{this.define.title}}</div>
<div class="input-wrapper">
<Input v-model="value" type="textarea" :placeholder="define.config.placeholder" />
<Input v-model="value" type="textarea" :placeholder="define.config.placeholder" :maxlength="120" />
<div class="suggestion-button-wrapper">
<ConfirmPopover
v-for="suggestion in suggestionOption"
......@@ -84,6 +84,7 @@
:ref="'input-' + row.code"
@on-blur="handleInputBlur(row)"
type="textarea"
:maxlength="120"
/>
</template>
<template slot-scope="{ row, index }" slot="action">
......
......@@ -4,6 +4,8 @@
v-if="config.name && visible"
:extrCondition="extrCondition"
:tableHeight="tableHeight"
@tabChange="tabChange"
:defaultGroup="currentTabTitle"
></gms-query>
<p v-else>没有查询模板定义!</p>
</template>
......@@ -30,6 +32,7 @@ export default {
extrCondition: [],
tableHeight: height,
visible: true,
currentTabTitle: null,
};
},
mounted() {
......@@ -45,6 +48,9 @@ export default {
this.$root.$off('updated', this.refresh)
},
methods: {
tabChange(o) {
this.currentTabTitle = o.title
},
refresh(visible) {
if (visible == 'show') {
this.visible = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment