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 @@
...
@@ -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
>
...
...
src/packages/common/formUserSysConfigColumsSet.vue
View file @
dc9bb017
...
@@ -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)'
...
...
src/packages/common/tableUserSysConfigColumsSet.vue
View file @
dc9bb017
...
@@ -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'
...
...
src/packages/hs-dync-form/src/child.vue
View file @
dc9bb017
<
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'
...
...
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