|
@@ -413,7 +413,6 @@ $(document).ready(() => {
|
|
|
if (!sels || !sels[0]) return;
|
|
if (!sels || !sels[0]) return;
|
|
|
const hint = {
|
|
const hint = {
|
|
|
isOld: {type: 'warning', msg: '本项为往期数据,不可删除'},
|
|
isOld: {type: 'warning', msg: '本项为往期数据,不可删除'},
|
|
|
- invalidDel: {type: 'warning', msg: '本项不是您新增的,只有原报和新增人可删除'},
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
for (let iRow = sels[0].row, iLen = sels[0].row + sels[0].rowCount; iRow < iLen; iRow++) {
|
|
for (let iRow = sels[0].row, iLen = sels[0].row + sels[0].rowCount; iRow < iLen; iRow++) {
|
|
@@ -422,10 +421,6 @@ $(document).ready(() => {
|
|
|
toastMessageUniq(hint.isOld);
|
|
toastMessageUniq(hint.isOld);
|
|
|
continue;
|
|
continue;
|
|
|
} else {
|
|
} else {
|
|
|
- if (node.uid !== userID && stageUserId !== userID) {
|
|
|
|
|
- toastMessageUniq(hint.invalidDel);
|
|
|
|
|
- continue;
|
|
|
|
|
- }
|
|
|
|
|
datas.push(node.id);
|
|
datas.push(node.id);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|