vue2-client 1.5.14 → 1.5.15

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/CHANGELOG.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.5.14 -2022-12-08 @苗艳强**
4
+ **1.5.14 - 1.5.15 -2022-12-08 @苗艳强**
5
5
  - 修复徽标显示问题
6
6
  - 修复fixedQueryForm问题
7
7
  - 修复修改时树形选择框不能回填问题
8
8
  - 修复重置查询表单树形选择框不能清空的问题
9
9
  - 修复翻页后修改删除按钮仍然可用的问题
10
+ - 修复表单不显示问题
11
+ - afterQuery事件增加查询条件参数
10
12
 
11
13
  **1.5.11 - 1.5.13 -2022-12-05 @江超**
12
14
  - 优化了查询配置生成界面的样式
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.5.14",
3
+ "version": "1.5.15",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -189,6 +189,7 @@ export default {
189
189
  this.getModifyModelData()
190
190
  }
191
191
  }
192
+ this.loaded = true
192
193
  },
193
194
  itemDisabled (value) {
194
195
  return (this.businessType === '新增' && value.addOrEdit === 'edit') ||
@@ -247,9 +247,10 @@ export default {
247
247
  /**
248
248
  * 表格查询后事件
249
249
  * @param res 参数
250
+ * @param conditionParams 查询条件
250
251
  */
251
- afterQuery (res) {
252
- this.$emit('afterQuery', res)
252
+ afterQuery (res, conditionParams) {
253
+ this.$emit('afterQuery', res, conditionParams)
253
254
  },
254
255
  /**
255
256
  * 详情按钮事件
@@ -281,7 +281,7 @@ export default {
281
281
  result = query(requestParameters, this.serviceName)
282
282
  }
283
283
  this.clearRowKeys()
284
- this.$emit('afterQuery', result)
284
+ this.$emit('afterQuery', result, requestParameters.conditionParams)
285
285
  return result
286
286
  },
287
287
  action (record, actionType) {