| | |
| | | children: [], |
| | | }, { |
| | | id: 3, |
| | | tabDesc: '元数据', |
| | | label: '元数据', |
| | | tabDesc: '源数据管理', |
| | | label: '源数据管理', |
| | | value: 'MD', |
| | | ns: 'md', |
| | | children: [], |
| | |
| | | this.upform.status = this.statusFormat(this.upform.status); |
| | | } |
| | | if (this.guidFile != null) { |
| | | this.upform.fname = this.upform.fileGuid; |
| | | this.upform.fileGuid = this.guidFile; |
| | | } |
| | | if (this.viewFile != null) { |
| | | this.upform.vname = this.upform.viewGuid; |
| | | this.upform.viewGuid = this.viewFile; |
| | | } |
| | | const data = await updateStyle(this.upform); |
| | |
| | | this.upform = row; |
| | | this.upform.depValue = row.depName; |
| | | this.upform.dirValue = row.dirName; |
| | | this.upform.fileGuid = row.fname; |
| | | this.upform.viewGuid = row.vname; |
| | | this.upform.status = this.forMontStatus(row.status); |
| | | }, |
| | | handleDelete(index, row) { |
| | |
| | | align="center" |
| | | prop="code" |
| | | :label="$t('common.domCode')" |
| | | :formatter="codeData" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |
| | | codeData(row, column) { |
| | | let data = row[column.property]; |
| | | if (data == null) { |
| | | return data; |
| | | } |
| | | var val; |
| | | if (row.code.indexOf('countSizes') != -1) { |
| | | val = "数据量统计" |
| | | } else if (row.code.indexOf('countServices') != -1) { |
| | | val = "服务调用量统计" |
| | | } else if (row.code.indexOf('countOperates') != -1) { |
| | | val = "用户流量统计" |
| | | } |
| | | return val; |
| | | }, |
| | | //查看 |
| | | showDetail(index, row) { |
| | | |
| | | this.itemdetail = row; |
| | | |
| | | if (parseInt(row.type) == 1) { |
| | |
| | | } else if (parseInt(row.type) == 2) { |
| | | this.itemdetail.fileType = "Excel模板" |
| | | } |
| | | if (row.code == 'countSizes') { |
| | | if (row.code.indexOf('countSizes') != -1) { |
| | | this.itemdetail.code = "数据量统计" |
| | | } else if (row.code == 'countServices') { |
| | | } else if (row.code.indexOf('countServices') != -1) { |
| | | this.itemdetail.code = "服务调用量统计" |
| | | }else if (row.code == 'countOperates') { |
| | | } else if (row.code.indexOf('countOperates') != -1) { |
| | | this.itemdetail.code = "用户流量统计" |
| | | } |
| | | |