Przeglądaj źródła

Merge branch '20221108_sun加密后端+补贴前端' of sckj/mz-cloud into master

15143018065 2 lat temu
rodzic
commit
7e5328a199

+ 4 - 4
ruoyi-ui/src/views/business/xmsb/xmsbCommon/index.vue

@@ -613,7 +613,7 @@ export default {
         this.queryParams.params["endSbrq"] = this.daterangeSbrq[1];
       }
       listXmsbCommon(this.queryParams).then((response) => {
-        this.xmsbCommonList = response.rows;
+        this.xmsbCommonList = decryptRowData_ECB(response.rows, ["sbr", "sbrdh", "sbryx", "xmlxr", "xmlxrdh", "xmlxryx"], [1, 3, 5, 1, 3, 5]);
         this.total = response.total;
         this.loading = false;
       });
@@ -756,7 +756,7 @@ export default {
       this.kzList = [];
       const id = row.id || this.ids;
       getXmsbCommon(id).then((response) => {
-        this.form = response.data;
+        this.form = decryptData_ECB(response.data, ["sbr", "sbrdh", "sbryx", "xmlxr", "xmlxrdh", "xmlxryx"], [1, 3, 5, 1, 3, 5]);
         if (this.form.szdq) {
           this.form.szdq = JSON.stringify(this.form.szdq.split(","));
         } else {
@@ -772,7 +772,7 @@ export default {
       this.resetXq();
       const id = row.id || this.ids;
       getXmsbCommon(id).then((response) => {
-        this.xqForm = response.data;
+        this.xqForm = decryptData_ECB(response.data, ["sbr", "sbrdh", "sbryx", "xmlxr", "xmlxrdh", "xmlxryx"], [1, 3, 5, 1, 3, 5]);
         this.openXq = true;
         this.changFormXmlxXq(this.xqForm.xmlx);
       });
@@ -782,7 +782,7 @@ export default {
       this.reset();
       const id = row.id || this.ids;
       getXmsbCommon(id).then((response) => {
-        this.form = response.data;
+        this.form = decryptData_ECB(response.data, ["sbr", "sbrdh", "sbryx", "xmlxr", "xmlxrdh", "xmlxryx"], [1, 3, 5, 1, 3, 5]);
         this.shform.sbId = this.form.id;
         this.shOpen = true;
         this.shTitle = "审核项目申报信息";