代码调试
This commit is contained in:
parent
cec11025e7
commit
e71f8d4729
|
|
@ -123,17 +123,17 @@
|
|||
let dataList = rowData
|
||||
let href = window.location.href
|
||||
|
||||
if (index === 0 && !href.includes('type=1')) {
|
||||
let dataList = rowData
|
||||
dataList.splice(6, 0, {
|
||||
field: "handle",
|
||||
mergeType: "rowspan",
|
||||
minWidth: 75,
|
||||
num: 3,
|
||||
title: "操作",
|
||||
})
|
||||
// dataList.push()
|
||||
}
|
||||
// if (index === 0 && !href.includes('type=1')) {
|
||||
// let dataList = rowData
|
||||
// dataList.splice(6, 0, {
|
||||
// field: "handle",
|
||||
// mergeType: "rowspan",
|
||||
// minWidth: 75,
|
||||
// num: 3,
|
||||
// title: "操作",
|
||||
// })
|
||||
// // dataList.push()
|
||||
// }
|
||||
dataList.forEach(cellData => {
|
||||
cellData.cellMinWidth = 120;
|
||||
cellData.align = 'center';
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
cellData.rowspan = cellData.num;
|
||||
}
|
||||
//去除审核
|
||||
if (cellData.field === 'examineAndApprove') {
|
||||
if (cellData.field === 'examineAndApprove' && href.includes('type=1')) {
|
||||
cellData.hide = true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue