|
@@ -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;
|