doway-coms 2.10.18 → 2.10.20

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.10.18",
3
+ "version": "2.10.20",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -497,13 +497,13 @@
497
497
  :key="$index"
498
498
  >
499
499
  <a-input-number
500
- :precision="0"
500
+ :precision="6"
501
501
  size="small"
502
502
  v-model="loopFilterValue.value[0]"
503
503
  @keyup.enter.native="filterConfirm(scope.column)"
504
504
  />~
505
505
  <a-input-number
506
- :precision="0"
506
+ :precision="6"
507
507
  size="small"
508
508
  v-model="loopFilterValue.value[1]"
509
509
  @keyup.enter.native="filterConfirm(scope.column)"
@@ -3321,15 +3321,27 @@ export default {
3321
3321
  }
3322
3322
  break
3323
3323
  case controlType.number:
3324
- tempPushExp.operator = 'RA'
3325
- tempPushExp.value = loopBindingValue.value
3326
- expStr = '范围'
3327
- tempStr.exp =
3328
- tempStr.exp +
3329
- loopBindingValue.value[0] +
3330
- '到' +
3331
- loopBindingValue.value[1] +
3332
- '或'
3324
+ if (loopBindingValue.value[0] != null && loopBindingValue.value[1] != null ) {
3325
+ tempPushExp.operator = 'RA'
3326
+ tempPushExp.value = loopBindingValue.value
3327
+ expStr = '范围'
3328
+ tempStr.exp =
3329
+ tempStr.exp +
3330
+ loopBindingValue.value[0] +
3331
+ '到' +
3332
+ loopBindingValue.value[1] +
3333
+ '或'
3334
+ }else if (loopBindingValue.value[0] != null ) {
3335
+ tempPushExp.operator = 'EQ'
3336
+ tempPushExp.value = loopBindingValue.value[0]
3337
+ tempStr.exp = tempStr.exp + tempPushExp.value + '或'
3338
+ expStr = '等于'
3339
+ } else {
3340
+ tempPushExp.operator = 'EQ'
3341
+ tempPushExp.value = loopBindingValue.value[1]
3342
+ tempStr.exp = tempStr.exp + tempPushExp.value + '或'
3343
+ expStr = '等于'
3344
+ }
3333
3345
  break
3334
3346
  default:
3335
3347
  tempPushExp.value = loopBindingValue.value[0]
@@ -208,13 +208,15 @@ export default new Vuex.Store({
208
208
  }
209
209
  },
210
210
  setTabTitle({commit}, tabInfo) {
211
- if (tabInfo.replaceQuery) {
212
- let newRoutePath =
213
- tabInfo.path + '?' + stringUrlQuery(tabInfo.replaceQuery)
214
- history.replaceState(null, null, (window.$wujie.props.webAppActiveRule + newRoutePath))
215
- }
216
211
  //通知父应用修改Tab标签文字描述
217
212
  if (window.$wujie) {
213
+
214
+ if (tabInfo.replaceQuery) {
215
+ let newRoutePath =
216
+ tabInfo.path + '?' + stringUrlQuery(tabInfo.replaceQuery)
217
+ history.replaceState(null, null, (window.$wujie.props.webAppActiveRule + newRoutePath))
218
+ }
219
+
218
220
  window.$wujie.bus.$emit('subAppSetTabTitle', {
219
221
  title: tabInfo.title,
220
222
  name: tabInfo.name,