vue2-client 1.5.14 → 1.5.16
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 +4 -1
- package/package.json +1 -1
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +1 -0
- package/src/base-client/components/common/XFormTable/XFormTable.vue +3 -2
- package/src/base-client/components/common/XTable/XTable.vue +1 -1
- package/src/router/guards.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
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事件增加查询条件参数
|
|
12
|
+
- 修复跳转登录页面问题
|
|
10
13
|
|
|
11
14
|
**1.5.11 - 1.5.13 -2022-12-05 @江超**
|
|
12
15
|
- 优化了查询配置生成界面的样式
|
package/package.json
CHANGED
|
@@ -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) {
|
package/src/router/guards.js
CHANGED
|
@@ -34,7 +34,7 @@ const loginGuard = (to, from, next, options) => {
|
|
|
34
34
|
next({ path: '/login' })
|
|
35
35
|
} else {
|
|
36
36
|
const roles = store.getters['account/roles']
|
|
37
|
-
if (roles.length === 0 && to
|
|
37
|
+
if (roles.length === 0 && !loginIgnore.includes(to)) {
|
|
38
38
|
message.warning('登录已失效,请重新登录')
|
|
39
39
|
logout().finally(res => {
|
|
40
40
|
next({ path: '/login' })
|