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.
@@ -3,22 +3,26 @@
3
3
  <el-dialog :visible.sync="state.dialogVilidate" v-if="state.validateRes">
4
4
  表单验证错误
5
5
  <hr />
6
- <div v-for="item in state.validateRes.validateItemList" :key="item.fieldName">
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>{{ state.formObj[item.fieldName] }}</td>
21
+ <!-- <td>-->
22
+ <!--&lt;!&ndash; <textarea>{{ state.formObj[item.fieldName] }}</textarea>&ndash;&gt;-->
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>
@@ -11,7 +11,7 @@
11
11
  v-bind:removeFileds="[]"
12
12
  v-bind:queryParams="queryParams"
13
13
  v-bind:fieldGroupType="1"
14
- v-on:updateQueryParams="updateQueryParams"
14
+ v-on:updateQueryParams="goByParam"
15
15
  v-on:search="queryData">
16
16
  <template v-slot:btns="slotProps">
17
17
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formui-vue2-vistastory",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "formui-vue2-vistastory",
5
5
  "author": "vistastory <vistastory@126.com>",
6
6
  "private": false,