|
@@ -300,7 +300,13 @@ export default {
|
|
|
if (result === "success") {
|
|
|
let newData = [],
|
|
|
abnormalList = [];
|
|
|
-
|
|
|
+ if (!data[0].assetTypeList) {
|
|
|
+ this.tableData = [];
|
|
|
+ this.systemContentData = [];
|
|
|
+ this.curPage = 1;
|
|
|
+ this.tatol = 0;
|
|
|
+ return
|
|
|
+ }
|
|
|
_.forEach(data[0].assetTypeList, (item, index) => {
|
|
|
let itemData = {
|
|
|
name: item.category_name,
|
|
@@ -530,7 +536,7 @@ export default {
|
|
|
*/
|
|
|
getDetailData(val, type) {
|
|
|
let param = {
|
|
|
- assetnum: this.assetnum,
|
|
|
+ // assetnum: this.assetnum,
|
|
|
plazaId: this.plazaId,
|
|
|
file_type: type === 'equip'?val.file_type : val.type,
|
|
|
// file_type: 0,
|