formui-vue2-vistastory 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FormUiFormValidate.vue +8 -4
- package/FormUiSimpleTable.vue +1 -1
- package/package.json +1 -1
package/FormUiFormValidate.vue
CHANGED
|
@@ -3,22 +3,26 @@
|
|
|
3
3
|
<el-dialog :visible.sync="state.dialogVilidate" v-if="state.validateRes">
|
|
4
4
|
表单验证错误
|
|
5
5
|
<hr />
|
|
6
|
-
<div
|
|
6
|
+
<div>
|
|
7
7
|
<table style="width:100%">
|
|
8
8
|
<tbody>
|
|
9
9
|
<tr>
|
|
10
10
|
<td>字段</td>
|
|
11
|
-
<td>填入值</td
|
|
11
|
+
<!-- <td>填入值</td>-->
|
|
12
12
|
<td>消息</td>
|
|
13
13
|
<td>等级</td>
|
|
14
14
|
</tr>
|
|
15
|
-
<tr>
|
|
15
|
+
<tr v-for="item in state.validateRes.validateItemList" :key="item.fieldName">
|
|
16
16
|
<td>
|
|
17
17
|
<span v-for="fieldItem in formuiFields" v-if="fieldItem.name==item.fieldName ">
|
|
18
18
|
{{fieldItem.title}}({{fieldItem.name}})
|
|
19
19
|
</span>
|
|
20
20
|
</td>
|
|
21
|
-
<td
|
|
21
|
+
<!-- <td>-->
|
|
22
|
+
<!--<!– <textarea>{{ state.formObj[item.fieldName] }}</textarea>–>-->
|
|
23
|
+
<!-- <span v-if="state.formObj[item.fieldName].length<20">{{ state.formObj[item.fieldName] }}</span>-->
|
|
24
|
+
<!-- <span v-if="state.formObj[item.fieldName].length>18">{{ substring(state.formObj[item.fieldName]) }}</span>-->
|
|
25
|
+
<!-- </td>-->
|
|
22
26
|
<td>{{ item.message }}</td>
|
|
23
27
|
<td>
|
|
24
28
|
<span v-if="item.validateStatus === 'warn'" style="color: orange">警告</span>
|
package/FormUiSimpleTable.vue
CHANGED