瀏覽代碼

Merge branch 'master' of http://git.cc-lotus.info/sckj/mz-cloud

nanMing 2 年之前
父節點
當前提交
85458c08ac
共有 1 個文件被更改,包括 6 次插入3 次删除
  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() {
     getList() {
       this.loading = true;
       this.loading = true;
       listXsxx({ ...this.queryParams, sq: this.queryParams.sq ? this.queryParams.sq[this.queryParams.sq.length - 1] : '' }).then(response => {
       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.total = response.total;
         this.loading = false;
         this.loading = false;
       });
       });
@@ -411,7 +412,8 @@ export default {
       this.reset();
       this.reset();
       const id = row.id || this.ids
       const id = row.id || this.ids
       getXsxx(id).then(response => {
       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(','));
         this.form.sq = JSON.stringify(this.form.sq.split(','));
         let copyData = {
         let copyData = {
           ...response.data,
           ...response.data,
@@ -483,7 +485,8 @@ export default {
     particulars(row) {
     particulars(row) {
       this.dataDetails = {};
       this.dataDetails = {};
       getXsxx(row.id).then(response => {
       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.openXQ = true;
       });
       });
       this.form.id = row.id;
       this.form.id = row.id;