Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
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
easyUI
hls-easy-ui
Commits
0b9f23da
Commit
0b9f23da
authored
Aug 07, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态配置
parent
565bd136
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
form.vue
src/pages/form.vue
+3
-3
layout.json
src/pages/layout.json
+4
-4
No files found.
src/pages/form.vue
View file @
0b9f23da
...
...
@@ -30,7 +30,7 @@
<item
v-for=
"(filed, index) in com.layoutFiledList"
v-show=
"!com.hideForm"
:key=
"index"
:class=
"filed.cssClass"
:has-border=
"filed.hasBorder"
:has
C
ontent=
"filed.showContent"
:proportion=
"proportionArray(filed.proportion)"
:showName=
"filed.showName"
:has
-c
ontent=
"filed.showContent"
:proportion=
"proportionArray(filed.proportion)"
:showName=
"filed.showName"
:showArrow=
"filed.showArrow"
:item-height=
"filed.filedHeight"
>
<img
v-if=
"filed.leftIcon"
slot=
"left-icon"
:src=
"filed.leftIcon"
class=
"left-icon"
>
...
...
@@ -55,8 +55,8 @@
</section>
</h-content>
<section
v-for=
"(com, index) in layoutData"
:key=
"index"
>
<bottom-tab
v-if=
"com.configType==='BOTTOM-BUTTON' && com.layoutFiledList.length"
:show-divider=
"true"
>
<tab-button
v-for=
"(btn, index) in com.layoutFiledList"
:key=
"index"
><section
v-html=
"btn.btnContent || btn.filedName"
/></tab-button>
<bottom-tab
v-if=
"com.configType==='BOTTOM-BUTTON' && com.layoutFiledList.length"
:show-divider=
"true"
:class=
"com.cssClass"
>
<tab-button
v-for=
"(btn, index) in com.layoutFiledList"
:key=
"index"
:class=
"btn.cssClass"
><section
v-html=
"btn.btnContent || btn.filedName"
/></tab-button>
</bottom-tab>
</section>
</h-view>
...
...
src/pages/layout.json
View file @
0b9f23da
...
...
@@ -191,11 +191,11 @@
},
{
"_token"
:
"d2e41d2f3fff154c3d05f818e7edf90f"
,
"objectVersionNumber"
:
2
,
"objectVersionNumber"
:
3
,
"filedId"
:
"5e6b05bf5d9c4f3a8c78e60c1ce58add"
,
"layoutId"
:
"1"
,
"configId"
:
"124"
,
"filedCode"
:
"pos
i
tion"
,
"filedCode"
:
"postion"
,
"filedName"
:
"岗位"
,
"defaultValue"
:
null
,
"filedType"
:
"SELECT"
,
...
...
@@ -562,7 +562,7 @@
"layoutFiledList"
:
[
{
"_token"
:
"7e61d576cfa5d12ee68bdf7ec36d99b2"
,
"objectVersionNumber"
:
1
,
"objectVersionNumber"
:
2
,
"filedId"
:
"3d7ba60e16594e1fb170790d166c8bb1"
,
"layoutId"
:
"1"
,
"configId"
:
"5c95cde581a64f42a86900712c53502a"
,
...
...
@@ -586,7 +586,7 @@
"enableFlag"
:
"Y"
,
"tabContent"
:
null
,
"btnContent"
:
null
,
"cssClass"
:
null
"cssClass"
:
"save-btn"
},
{
"_token"
:
"974a18dedc6a0960a4ad0f6be96dacea"
,
...
...
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