cloud-web-corejs 1.0.54-dev.617 → 1.0.54-dev.618

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.617",
4
+ "version": "1.0.54-dev.618",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -485,11 +485,15 @@ function getGrid(that, tableRef) {
485
485
 
486
486
  if (!originOption.exportAjax) {
487
487
  let turl = url.replace("searchCount=false", "1=1");
488
+ let finaParams = params;
489
+ if(originOption.paramHandle){
490
+ finaParams = originOption.paramHandle ? originOption.paramHandle(params) || {} : {};
491
+ }
488
492
  promise = that.$commonHttp({
489
493
  aes: originOption.aes || false,
490
494
  url: turl,
491
495
  method: "post",
492
- data: params,
496
+ data: finaParams,
493
497
  modal: false,
494
498
  queryCreateInfo: originOption.queryCreateInfo,
495
499
  addCreateInfo: originOption.addCreateInfo