|
@@ -77,7 +77,6 @@ $(function () {
|
|
|
if (node.uid === uid || is_admin) {
|
|
|
html.push('<a class="dropdown-item edit_name_btn" data-type="'+ (node.parent_id === undefined ? 'tender' : 'folder') +'" data-id="'+ node.id +'" href="javascript:void(0);"><i class="fa fa-edit mr-2"></i>重命名</a>\n');
|
|
|
}
|
|
|
- console.log(node);
|
|
|
if (!node.had_tender && (node.uid === uid || is_admin)) {
|
|
|
if (node.have_detail) {
|
|
|
html.push('<a class="dropdown-item" style="cursor:not-allowed" href="javascript:void(0);" data-toggle="tooltip" data-placement="bottom" title="请先删除所有审批期数据"><i class="fa fa-remove mr-2"></i>删除</a>\n');
|