[update] 增加企标详情页,未完全写完,添加企标操作弹框

This commit is contained in:
lideqin
2023-09-08 17:42:21 +08:00
parent 798774b291
commit c7c1a9aa27
9 changed files with 682 additions and 39 deletions
+4 -1
View File
@@ -111,7 +111,8 @@ export const ConfigurableTableMixin = {
const tempColumns = []
columns.forEach(item => {
// 可点击项加入插槽
if (item.click === 'true') {
// 标准编号和标准名称可以跳转详情页
if (item.dbFieldName === 'standard_number' || item.dbFieldName === 'standard_name') {
item.scopedSlots = {
customRender: 'detailClick'
}
@@ -131,6 +132,7 @@ export const ConfigurableTableMixin = {
customRender: item.dbFieldName
}
}
console.log(item)
tempColumns.push(item)
})
if (this.showAction && this.operateColumn) {
@@ -142,6 +144,7 @@ export const ConfigurableTableMixin = {
operateColumn.width = width || 100
tempColumns.push(operateColumn)
}
console.log(tempColumns)
return tempColumns
},
/**