From 5cc9058fb151d4285eb9d5e521060b57abf2d6c0 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 28 Jan 2021 15:07:18 +0800 Subject: [PATCH] Merge branch 'api' of https://gitee.com/jyyforjava/zq-erp into api --- zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js index b11d542..ef97725 100644 --- a/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js +++ b/zq-erp/src/main/resources/static/js/systools/AjaxProxyVue.js @@ -240,7 +240,16 @@ return root.children; }, - + /** json对象转Url参数**/ + jsonToUrlParam:function(obj){ + let str=""; + for(item in obj){ + if(obj[item]){ + str+=item+"="+obj[item]+"&" + } + } + return str; + } -- Gitblit v1.9.1