doway-coms 1.6.80 → 1.6.83
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
|
@@ -38,7 +38,12 @@
|
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
|
-
<div v-else class="history"
|
|
41
|
+
<div v-else class="history">
|
|
42
|
+
<div class="none">
|
|
43
|
+
<div class="img"></div>
|
|
44
|
+
<i class="text">暂无历史数据</i>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
42
47
|
</vxe-modal>
|
|
43
48
|
</div>
|
|
44
49
|
</template>
|
|
@@ -194,6 +199,24 @@ export default {
|
|
|
194
199
|
}
|
|
195
200
|
}
|
|
196
201
|
}
|
|
202
|
+
.none {
|
|
203
|
+
width: 100%;
|
|
204
|
+
height: 100%;
|
|
205
|
+
display: flex;
|
|
206
|
+
flex-direction: column;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
align-items: center;
|
|
209
|
+
.img {
|
|
210
|
+
width: 200px;
|
|
211
|
+
height: 150px;
|
|
212
|
+
background: url("~@/assets/img/暂无数据.png") no-repeat;
|
|
213
|
+
background-size: 100%;
|
|
214
|
+
}
|
|
215
|
+
text {
|
|
216
|
+
font-size: 15px;
|
|
217
|
+
text-align: center;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
197
220
|
}
|
|
198
221
|
/*滚动条整体部分*/
|
|
199
222
|
.history::-webkit-scrollbar {
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
>
|
|
347
347
|
<a-input allowClear v-model="loopFilterValue.value[0]" @keyup.enter.native="filterConfirm(scope.column)" />
|
|
348
348
|
</div>
|
|
349
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
349
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
350
350
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
351
351
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
352
352
|
</div>
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
>
|
|
362
362
|
<a-input allowClear v-model="loopFilterValue.value[0]" @keyup.enter.native="filterConfirm(scope.column)" />
|
|
363
363
|
</div>
|
|
364
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
364
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
365
365
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
366
366
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
367
367
|
</div>
|
|
@@ -376,6 +376,7 @@
|
|
|
376
376
|
>
|
|
377
377
|
<a-input allowClear v-model="loopFilterValue.value[0]" @keyup.enter.native="filterConfirm(scope.column)" />
|
|
378
378
|
</div>
|
|
379
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
379
380
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
380
381
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
381
382
|
</div>
|
|
@@ -401,6 +402,7 @@
|
|
|
401
402
|
@keyup.enter.native="filterConfirm(scope.column)"
|
|
402
403
|
/>
|
|
403
404
|
</div>
|
|
405
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
404
406
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
405
407
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
406
408
|
</div>
|
|
@@ -424,7 +426,7 @@
|
|
|
424
426
|
</div>
|
|
425
427
|
</a-checkbox-group>
|
|
426
428
|
<br>
|
|
427
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
429
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
428
430
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
429
431
|
</div>
|
|
430
432
|
</template>
|
|
@@ -446,7 +448,7 @@
|
|
|
446
448
|
</div>
|
|
447
449
|
</a-checkbox-group>
|
|
448
450
|
<br>
|
|
449
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
451
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
450
452
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
451
453
|
</div>
|
|
452
454
|
</template>
|
|
@@ -485,7 +487,7 @@
|
|
|
485
487
|
@keyup.enter.native="filterConfirm(scope.column)"
|
|
486
488
|
/>
|
|
487
489
|
</div>
|
|
488
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
490
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
489
491
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
490
492
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
491
493
|
</div>
|
|
@@ -504,7 +506,7 @@
|
|
|
504
506
|
@keyup.enter.native="filterConfirm(scope.column)"
|
|
505
507
|
/>
|
|
506
508
|
</div>
|
|
507
|
-
<a-button @click="saveFilterTable(scope.column)"
|
|
509
|
+
<a-button @click="saveFilterTable(scope.column)" v-if="moduleCode && dataCode">默认配置</a-button>
|
|
508
510
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
509
511
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
510
512
|
</div>
|
|
@@ -681,7 +683,7 @@ export default {
|
|
|
681
683
|
filterStr: [],
|
|
682
684
|
// 表格上方显示全部筛选条件
|
|
683
685
|
tagData: [],
|
|
684
|
-
//
|
|
686
|
+
// 默认配置条件-存储初始字段参数
|
|
685
687
|
defaultPostData: {},
|
|
686
688
|
}
|
|
687
689
|
},
|
|
@@ -1005,7 +1007,7 @@ export default {
|
|
|
1005
1007
|
mounted() {
|
|
1006
1008
|
// 头部筛选条件标签数据
|
|
1007
1009
|
this.tagData = JSON.parse(JSON.stringify(this.$refs.baseGrid.getCheckedFilters()))
|
|
1008
|
-
//
|
|
1010
|
+
// 默认配置数据
|
|
1009
1011
|
this.defaultPostData = {
|
|
1010
1012
|
moduleCode: this.moduleCode,
|
|
1011
1013
|
dataCode: this.dataCode,
|
|
@@ -2320,7 +2322,9 @@ export default {
|
|
|
2320
2322
|
},
|
|
2321
2323
|
resizableChange(scope) {
|
|
2322
2324
|
// 配置后渲染表格
|
|
2323
|
-
this.
|
|
2325
|
+
if (this.moduleCode && this.dataCode) {
|
|
2326
|
+
this.saveTableHeight()
|
|
2327
|
+
}
|
|
2324
2328
|
this.$emit("resizableChange", scope);
|
|
2325
2329
|
},
|
|
2326
2330
|
setVisiable(fields, visible) {
|
|
@@ -2877,7 +2881,7 @@ export default {
|
|
|
2877
2881
|
returnField = title + ' ' + '包含' + ' ' + curretnValue
|
|
2878
2882
|
return returnField
|
|
2879
2883
|
},
|
|
2880
|
-
//
|
|
2884
|
+
// 保存默认配置条件
|
|
2881
2885
|
saveFilterTable(colInfo) {
|
|
2882
2886
|
colInfo.filters[0].data.bindingValues = [];
|
|
2883
2887
|
XEUtils.arrayEach(colInfo.filters[0].data.displayValues, (item) => {
|