This commit is contained in:
ann 2024-07-31 18:06:35 +08:00
parent 3e30aa32e0
commit b7229f5ed6
1 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ export default {
})
},
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
if (columnIndex === 0 || columnIndex === 1 || columnIndex === 2 || columnIndex === 9) {
if (columnIndex === 0 || columnIndex === 1 || columnIndex === 9) {
// const currentValue = row[column.modelType]
// const preRow=this.tableData[rowIndex-1]
// const preValue = preRow ?preRow[column.modelType]: null;
@ -206,12 +206,12 @@ export default {
},
setColumn() {
return [
{ prop: 'modelName', label: this.$t('page.modelName'), formatter: (row) => { return <a onClick={() => this.viewDetail(row)}>{row.modelName}</a> } },
{ prop: 'modelType', label: this.$t('page.modelType') },
{
prop: 'instanceName',
label: this.$t('page.instanceName')
},
{ prop: 'modelName', label: this.$t('page.modelName'), formatter: (row) => { return <a onClick={() => this.viewDetail(row)}>{row.modelName}</a> } },
{ prop: 'modelType', label: this.$t('page.modelType') },
{
prop: 'inferCard',
label: this.$t('page.inferCard')