Commit a0689578 by qiaoyanqi

Merge branch 'develop' of http://nvwa.jiuqi.com.cn/gitlab/GFP/RBC/rbc-frontend…

Merge branch 'develop' of http://nvwa.jiuqi.com.cn/gitlab/GFP/RBC/rbc-frontend into develop-qiaoyanqi
parents c55c28c9 0c0c257a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="suggestion-wrapper"> <div class="suggestion-wrapper">
<div class="label">{{this.define.title}}</div> <div class="label">{{this.define.title}}</div>
<div class="input-wrapper"> <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"> <div class="suggestion-button-wrapper">
<ConfirmPopover <ConfirmPopover
v-for="suggestion in suggestionOption" v-for="suggestion in suggestionOption"
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
:ref="'input-' + row.code" :ref="'input-' + row.code"
@on-blur="handleInputBlur(row)" @on-blur="handleInputBlur(row)"
type="textarea" type="textarea"
:maxlength="120"
/> />
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
v-if="config.name && visible" v-if="config.name && visible"
:extrCondition="extrCondition" :extrCondition="extrCondition"
:tableHeight="tableHeight" :tableHeight="tableHeight"
@tabChange="tabChange"
:defaultGroup="currentTabTitle"
></gms-query> ></gms-query>
<p v-else>没有查询模板定义!</p> <p v-else>没有查询模板定义!</p>
</template> </template>
...@@ -30,6 +32,7 @@ export default { ...@@ -30,6 +32,7 @@ export default {
extrCondition: [], extrCondition: [],
tableHeight: height, tableHeight: height,
visible: true, visible: true,
currentTabTitle: null,
}; };
}, },
mounted() { mounted() {
...@@ -45,6 +48,9 @@ export default { ...@@ -45,6 +48,9 @@ export default {
this.$root.$off('updated', this.refresh) this.$root.$off('updated', this.refresh)
}, },
methods: { methods: {
tabChange(o) {
this.currentTabTitle = o.title
},
refresh(visible) { refresh(visible) {
if (visible == 'show') { if (visible == 'show') {
this.visible = false 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