doway-coms 1.1.63 → 1.1.65
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/package.json
CHANGED
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
|
|
265
265
|
<!-- 筛选过滤 -->
|
|
266
266
|
<template #text_filter="scope">
|
|
267
|
-
<div class="
|
|
267
|
+
<div class="interceptor-class">
|
|
268
268
|
<div
|
|
269
269
|
:class="scope.column.field + '_filter_' + $index"
|
|
270
270
|
v-for="(loopFilterValue, $index) in scope.column.filters[0].data.displayValues"
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
</div>
|
|
278
278
|
</template>
|
|
279
279
|
<template #select_filter="scope">
|
|
280
|
-
<div class="
|
|
280
|
+
<div class="interceptor-class">
|
|
281
281
|
<a-checkbox-group v-model="scope.column.filters[0].data.displayValues">
|
|
282
282
|
<a-checkbox
|
|
283
283
|
v-for="loopData in scope.column.params.dataSource"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
</div>
|
|
292
292
|
</template>
|
|
293
293
|
<template #datetime_filter="scope">
|
|
294
|
-
<div class="
|
|
294
|
+
<div class="interceptor-class">
|
|
295
295
|
<div
|
|
296
296
|
:class="scope.column.field + '_filter_' + $index"
|
|
297
297
|
v-for="(loopFilterValue, $index) in scope.column.filters[0].data.displayValues"
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
318
318
|
</template>
|
|
319
319
|
<template #date_filter="scope">
|
|
320
|
-
<div class="
|
|
320
|
+
<div class="interceptor-class">
|
|
321
321
|
<div
|
|
322
322
|
:class="scope.column.field + '_filter_' + $index"
|
|
323
323
|
v-for="(loopFilterValue, $index) in scope.column.filters[0].data.displayValues"
|
package/packages/index.js
CHANGED
|
@@ -86,6 +86,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
86
86
|
install(window.Vue);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
import XEUtils from 'xe-utils'
|
|
89
90
|
//表单输入框验证
|
|
90
91
|
import {
|
|
91
92
|
extend,
|
|
@@ -96,6 +97,14 @@ import {
|
|
|
96
97
|
Object.keys(rules).forEach(rule => {
|
|
97
98
|
extend(rule, rules[rule])
|
|
98
99
|
})
|
|
100
|
+
|
|
101
|
+
extend('gt', (value, min) => {
|
|
102
|
+
if (XEUtils.toNumber(value) > min) {
|
|
103
|
+
return true
|
|
104
|
+
}
|
|
105
|
+
return `必须大于${min}`
|
|
106
|
+
})
|
|
107
|
+
|
|
99
108
|
localize({
|
|
100
109
|
en: {
|
|
101
110
|
messages: {
|
package/packages/utils/store.js
CHANGED
|
@@ -46,23 +46,6 @@ export default new Vuex.Store({
|
|
|
46
46
|
let newRoutePath =
|
|
47
47
|
tabInfo.path + '?' + stringUrlQuery(tabInfo.replaceQuery)
|
|
48
48
|
history.replaceState(null,null,(window.$wujie.props.webAppActiveRule + newRoutePath))
|
|
49
|
-
// let keepAliveComp =
|
|
50
|
-
// tabInfo.rootComp.$children[0].$refs.routerView.$vnode.parent
|
|
51
|
-
// .componentInstance
|
|
52
|
-
|
|
53
|
-
// for (let cacheKey in keepAliveComp.cache) {
|
|
54
|
-
// if (
|
|
55
|
-
// keepAliveComp.cache[cacheKey].componentInstance._uid ===
|
|
56
|
-
// tabInfo.compUid
|
|
57
|
-
// ) {
|
|
58
|
-
// keepAliveComp.cache[newRoutePath] = keepAliveComp.cache[cacheKey]
|
|
59
|
-
// keepAliveComp.keyToCache = newRoutePath
|
|
60
|
-
// XEUtils.remove(keepAliveComp.keys, loopKey => loopKey === cacheKey)
|
|
61
|
-
// delete keepAliveComp.cache[cacheKey]
|
|
62
|
-
// keepAliveComp.keys.push(newRoutePath)
|
|
63
|
-
// break
|
|
64
|
-
// }
|
|
65
|
-
// }
|
|
66
49
|
}
|
|
67
50
|
//通知父应用修改Tab标签文字描述
|
|
68
51
|
if(window.$wujie){
|