1
duhe
2024-10-11 215e9507b1e0d89d6818bdbb33ddb67e8b6c9c67
WebTM/views/É豸¹ÜÀí/É豸µµ°¸/Gy_EquipFileMainList.html
@@ -72,6 +72,7 @@
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btnAdd"><i class="layui-icon layui-icon-add-1"></i>新增</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btnModify"><i class="layui-icon layui-icon-edit"></i>编辑</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btndelete"><i class="layui-icon layui-icon-delete"></i>删除</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="set_SouceExcel"><i class="layui-icon layui-icon-delete"></i>导入</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-view"><i class="layui-icon layui-icon-tips"></i>预览</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-print"><i class="layui-icon layui-icon-print"></i>打印</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="set_CheckBill" id="CheckBill"><i class="layui-icon layui-icon-form"></i>审核</button>
@@ -137,6 +138,9 @@
                        break;
                    //预览
                    case 'btn-view': get_ViewReport();
                        break;
                    //导入
                    case 'set_SouceExcel': set_SouceExcel();
                        break;
                    //打印
                    case 'btn-print': get_PrintReport();
@@ -440,7 +444,16 @@
                    layer.msg('请选择一行数据删除!');
                }
            }
            //导入
            function set_SouceExcel() {
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
                    , title: '设备档案导入'
                    , shift: 0//弹出动画
                    , content: './Gy_EquipFile_Excel.html?OperationType=dao&HSouceBillType='
                })
            }
            //审核/反审核
            function set_CheckBill(num) {
                var checkStatus = table.checkStatus('mainTable')