|
|
@ -11,7 +11,8 @@ |
|
|
|
<view class="form-item" |
|
|
|
:key="item.id" |
|
|
|
v-for="(item, index) in formList"> |
|
|
|
<view class="label"> |
|
|
|
<view class="label" |
|
|
|
:class="{req : item.isFill == 1}"> |
|
|
|
{{ item.title }} |
|
|
|
<br> |
|
|
|
<text>{{ item.descrip }}</text> |
|
|
@ -179,6 +180,9 @@ |
|
|
|
this.formList = res.result.employMaterialList |
|
|
|
|
|
|
|
res.result.employMaterialList.forEach(n => { |
|
|
|
if(n.isFill != 1){ |
|
|
|
return |
|
|
|
} |
|
|
|
if(n.type == 0){ |
|
|
|
this.verification[n.keyName] = '请输入' + n.title |
|
|
|
this.form[n.keyName] = '' |
|
|
@ -216,6 +220,10 @@ |
|
|
|
font-size: 24rpx; |
|
|
|
font-weight: 500; |
|
|
|
} |
|
|
|
&.req::before{ |
|
|
|
content: '*'; |
|
|
|
color: #f00; |
|
|
|
} |
|
|
|
} |
|
|
|
.input{ |
|
|
|
margin-left: auto; |
|
|
|