Commit dc9bb017 authored by 何虹's avatar 何虹 💬

隐藏用户配置

parent b174236f
......@@ -71,7 +71,7 @@
<el-input clearable v-model="scope.row.width" size='mini' placeholder="173"></el-input>
</template>
</el-table-column>
<el-table-column prop="width" label="控件高" width='120' v-if="false">
<el-table-column prop="width" label="控件高" width='120'>
<template slot-scope="scope">
<el-input clearable v-model="scope.row.height" size='mini'></el-input>
</template>
......
......@@ -46,7 +46,7 @@
<el-input clearable v-model="scope.row.width" size='mini' placeholder="173"></el-input>
</template>
</el-table-column>
<el-table-column prop="width" label="控件高" width='120' v-if="false">
<el-table-column prop="width" label="控件高" width='120'>
<template slot-scope="scope">
<el-input clearable v-model="scope.row.height" size='mini'></el-input>
</template>
......@@ -87,7 +87,7 @@
<span v-else-if="isAction(scope.row.isRequired)">{{'action:'+scope.row.isRequired}}</span>
</template>
</el-table-column>
<el-table-column prop='isDisabled' label='只读' width='70'>
<el-table-column v-if='false' prop='isDisabled' label='只读' width='70'>
<template slot-scope="scope">
<el-switch
v-if='isBoolean(scope.row.isDisabled)'
......
......@@ -54,29 +54,30 @@
</template>
</el-table-column>
<el-table-column
prop='width'
label='宽度'
prop='topTitle'
label='一级标题'
width="150"
fixed="left"
>
<template slot-scope="scope">
<el-input
size='mini'
v-model="scope.row.width"
v-model="scope.row.topTitle"
clearable
placeholder="80"
> </el-input>
</template>
</el-table-column>
<el-table-column
prop='isHide'
label='隐藏'
prop='width'
label='宽度'
>
<template slot-scope="scope">
<el-switch
v-if='isBoolean(scope.row.isHide)'
:disabled='isDisabled(scope.row,"isHide")'
v-model="scope.row.isHide"
/>
<span v-else-if="isAction(scope.row.isHide)">{{'action:'+scope.row.isHide}}</span>
<el-input
size='mini'
v-model="scope.row.width"
clearable
placeholder="80"
> </el-input>
</template>
</el-table-column>
<el-table-column
......@@ -90,7 +91,7 @@
/>
</template>
</el-table-column>
<el-table-column
<el-table-column
prop='summarizing'
label='是否汇总'
>
......@@ -100,6 +101,21 @@
</template>
</el-table-column>
<el-table-column
prop='isHide'
label='隐藏'
>
<template slot-scope="scope">
<el-switch
v-if='isBoolean(scope.row.isHide)'
:disabled='isDisabled(scope.row,"isHide")'
v-model="scope.row.isHide"
/>
<span v-else-if="isAction(scope.row.isHide)">{{'action:'+scope.row.isHide}}</span>
</template>
</el-table-column>
<el-table-column
v-if='false'
prop='isDisabled'
label='只读'
width='70'
......
<template>
<div
@contextmenu.prevent="onContextmenu"
ref='boxDom'
class="outBox"
:style="{'height':configData.height||height}"
......@@ -16,6 +15,7 @@
</dyncFormItemComponentTable>
</template>
<template v-else>
<div @contextmenu.prevent="onContextmenu">
<dyncFormItemComponentQuery
controlType='queryArea'
:formParms='formParms'
......@@ -26,6 +26,8 @@
v-bind="$attrs"
v-on="$listeners"
></dyncFormItemComponentQuery>
</div>
</template>
<formDevConfigColumsSet
:controlType='controlType'
......
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