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