Commit 0b9f23da authored by JingChao's avatar JingChao

动态配置

parent 565bd136
......@@ -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"
:hasContent="filed.showContent" :proportion="proportionArray(filed.proportion)" :showName="filed.showName"
:has-content="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>
......
......@@ -191,11 +191,11 @@
},
{
"_token": "d2e41d2f3fff154c3d05f818e7edf90f",
"objectVersionNumber": 2,
"objectVersionNumber": 3,
"filedId": "5e6b05bf5d9c4f3a8c78e60c1ce58add",
"layoutId": "1",
"configId": "124",
"filedCode": "position",
"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",
......
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