doway-coms 1.1.79 → 1.1.80
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
|
@@ -307,9 +307,15 @@
|
|
|
307
307
|
:key="$index"
|
|
308
308
|
>
|
|
309
309
|
<a-input-number
|
|
310
|
-
|
|
310
|
+
:precision="0"
|
|
311
|
+
size="small"
|
|
311
312
|
v-model:value="loopFilterValue.value[0]"
|
|
312
|
-
|
|
313
|
+
/>~
|
|
314
|
+
<a-input-number
|
|
315
|
+
:precision="0"
|
|
316
|
+
size="small"
|
|
317
|
+
v-model:value="loopFilterValue.value[1]"
|
|
318
|
+
/>
|
|
313
319
|
</div>
|
|
314
320
|
<a-button @click="filterAddExp(scope.column)">添加条件</a-button>
|
|
315
321
|
<a-button @click="filterConfirm(scope.column)">确认</a-button>
|
|
@@ -2213,6 +2219,7 @@ export default {
|
|
|
2213
2219
|
});
|
|
2214
2220
|
},
|
|
2215
2221
|
filterConfirm(colInfo) {
|
|
2222
|
+
console.log(colInfo);
|
|
2216
2223
|
colInfo.filters[0].data.bindingValues = [];
|
|
2217
2224
|
XEUtils.arrayEach(colInfo.filters[0].data.displayValues, (item) => {
|
|
2218
2225
|
if (colInfo.params.controlType === controlType.select) {
|
|
@@ -2296,6 +2303,18 @@ export default {
|
|
|
2296
2303
|
expStr = "小于等于";
|
|
2297
2304
|
}
|
|
2298
2305
|
break;
|
|
2306
|
+
case controlType.number:
|
|
2307
|
+
tempPushExp.operator = "RA";
|
|
2308
|
+
tempPushExp.value = loopBindingValue.value;
|
|
2309
|
+
console.log(tempPushExp);
|
|
2310
|
+
expStr = "范围";
|
|
2311
|
+
tempStr.exp =
|
|
2312
|
+
tempStr.exp +
|
|
2313
|
+
loopBindingValue.value[0] +
|
|
2314
|
+
"到" +
|
|
2315
|
+
loopBindingValue.value[1] +
|
|
2316
|
+
"或";
|
|
2317
|
+
break;
|
|
2299
2318
|
default:
|
|
2300
2319
|
tempPushExp.value = loopBindingValue.value[0];
|
|
2301
2320
|
expStr = "包含";
|
|
@@ -2324,9 +2343,6 @@ export default {
|
|
|
2324
2343
|
}
|
|
2325
2344
|
//设置第一个输入框光标选中
|
|
2326
2345
|
let tempClassName = column.field + "_filter_0";
|
|
2327
|
-
console.log(tempClassName);
|
|
2328
|
-
console.log(document);
|
|
2329
|
-
console.log(document.getElementsByClassName(tempClassName)[0]);
|
|
2330
2346
|
setTimeout(() => {
|
|
2331
2347
|
document
|
|
2332
2348
|
.getElementsByClassName(tempClassName)[0]
|