|
@@ -188,12 +188,12 @@ export default class SystemTab extends Vue {
|
|
|
},
|
|
|
};
|
|
|
this.paginationList.total = res[1]?.total ? res[1].total : 0;
|
|
|
- tableData = res[1]?.content ? res[1].content : []; // 主体数据
|
|
|
+ this.tableData = res[1]?.content ? res[1].content : []; // 主体数据
|
|
|
// 添加系统分类
|
|
|
- this.tableData = tableData.map((item: any) => {
|
|
|
- item = { ...item, classification: this.systemLabel };
|
|
|
- return item;
|
|
|
- });
|
|
|
+ // this.tableData = tableData.map((item: any) => {
|
|
|
+ // item = { ...item, classification: this.systemLabel };
|
|
|
+ // return item;
|
|
|
+ // });
|
|
|
});
|
|
|
} else {
|
|
|
//系统类型为空
|
|
@@ -221,15 +221,15 @@ export default class SystemTab extends Vue {
|
|
|
|
|
|
const res = await querySystem(params);
|
|
|
if (res.result === "success") {
|
|
|
- let tableData: any[] = [];
|
|
|
+ // let tableData: any[] = [];
|
|
|
this.loading = false;
|
|
|
this.paginationList.total = res?.total ? res.total : 0;
|
|
|
- tableData = res?.content ? res.content : []; // 主体数据
|
|
|
+ this.tableData = res?.content ? res.content : []; // 主体数据
|
|
|
// 添加系统分类
|
|
|
- this.tableData = tableData.map((item: any) => {
|
|
|
- item = { ...item, classification: this.systemLabel };
|
|
|
- return item;
|
|
|
- });
|
|
|
+ // this.tableData = tableData.map((item: any) => {
|
|
|
+ // item = { ...item, classification: this.systemLabel };
|
|
|
+ // return item;
|
|
|
+ // });
|
|
|
}
|
|
|
} else {
|
|
|
//系统类型为空
|
|
@@ -241,7 +241,8 @@ export default class SystemTab extends Vue {
|
|
|
* 信息点重组
|
|
|
*/
|
|
|
private informationArrangement(arr: []): any {
|
|
|
- let basicInfos = [{ path: "classification", aliasName: "系统分类" }],
|
|
|
+ // let basicInfos = [{ path: "classification", aliasName: "系统分类" }],
|
|
|
+ let basicInfos = [],
|
|
|
dictStages: any[] = [];
|
|
|
this.all = arr;
|
|
|
arr.forEach((item: any) => {
|