| | |
| | | |
| | | }); |
| | | } |
| | | function relatedProj() { |
| | | layui.use(['element', 'layer', 'form', 'upload', 'tree', 'util'], function () { |
| | | var layer = layui.layer; |
| | | layer.config({ |
| | | extend: 'myskin/style.css' //同样需要先加载新皮肤 |
| | | }); |
| | | layer.closeAll();//首先关闭所有的弹窗 |
| | | layer.open({ |
| | | type: 2, |
| | | title: '<i class="iconfont icon-dituliulan i-item" style="font-size: 18px; color: white;"></i> ' + " 关联项目", |
| | | maxmin: true, |
| | | skin: 'layer-ext-myskin', |
| | | shade: 0, |
| | | maxmin: false, |
| | | scrollbar: false, |
| | | shadeClose: true, //点击遮罩关闭层 |
| | | area: ['356px', '280px'], |
| | | offset: [layerPageStyle.offsetX, layerPageStyle.offsetY], |
| | | resize: false, |
| | | content: 'project/relatedProject.html', |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | |
| | | }); |
| | | } |
| | | //绘制图形 |
| | | function darwPlot() { |
| | | layui.use(['element', 'layer', 'form', 'upload', 'tree', 'util'], function () { |