Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何虹
hs-sky-ui
Commits
dc9bb017
Commit
dc9bb017
authored
Mar 10, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏用户配置
parent
b174236f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
17 deletions
+35
-17
formDevConfigColumsSet.vue
src/packages/common/formDevConfigColumsSet.vue
+1
-1
formUserSysConfigColumsSet.vue
src/packages/common/formUserSysConfigColumsSet.vue
+2
-2
tableUserSysConfigColumsSet.vue
src/packages/common/tableUserSysConfigColumsSet.vue
+29
-13
child.vue
src/packages/hs-dync-form/src/child.vue
+3
-1
No files found.
src/packages/common/formDevConfigColumsSet.vue
View file @
dc9bb017
...
...
@@ -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
>
...
...
src/packages/common/formUserSysConfigColumsSet.vue
View file @
dc9bb017
...
...
@@ -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)'
...
...
src/packages/common/tableUserSysConfigColumsSet.vue
View file @
dc9bb017
...
...
@@ -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'
...
...
src/packages/hs-dync-form/src/child.vue
View file @
dc9bb017
<
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment