Ver Fonte

Merge branch '提升行动项目中的项目申报脱敏' of sckj/mz-cloud into master

Shawn há 2 anos atrás
pai
commit
d1facc64ec
1 ficheiros alterados com 6 adições e 3 exclusões
  1. 6 3
      ruoyi-ui/src/views/business/hljnds/xscjwh/index.vue

+ 6 - 3
ruoyi-ui/src/views/business/hljnds/xscjwh/index.vue

@@ -336,7 +336,8 @@ export default {
     getList() {
       this.loading = true;
       listXsxx({ ...this.queryParams, sq: this.queryParams.sq ? this.queryParams.sq[this.queryParams.sq.length - 1] : '' }).then(response => {
-        this.xsxxList = response.rows;
+        // this.xsxxList = response.rows;
+        this.xsxxList = decryptRowData_ECB(response.rows, ["xm", "sfzhm", "sjhm"], [1, 2, 3]);
         this.total = response.total;
         this.loading = false;
       });
@@ -411,7 +412,8 @@ export default {
       this.reset();
       const id = row.id || this.ids
       getXsxx(id).then(response => {
-        this.form = response.data;
+        // this.form = response.data;
+        this.form = decryptData_ECB(response.data, ["xm", "sfzhm", "sjhm"], [1, 2, 3]);
         this.form.sq = JSON.stringify(this.form.sq.split(','));
         let copyData = {
           ...response.data,
@@ -483,7 +485,8 @@ export default {
     particulars(row) {
       this.dataDetails = {};
       getXsxx(row.id).then(response => {
-        this.dataDetails = response.data;
+        // this.dataDetails = response.data;
+        this.dataDetails = decryptData_ECB(response.data, ["xm", "sfzhm", "sjhm"], [1, 2, 3]);
         this.openXQ = true;
       });
       this.form.id = row.id;