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

隐藏用户配置

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