123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- @{
- string RightInfo = ViewBag.RightInfo as string;
- string right = ViewBag.right as string;
- }
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>上传配置项</title>
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
- <script src="/admin/js/jquery-1.10.1.min.js"></script>
- </head>
- <body>
- <div class="layui-fluid">
- <div class="layui-card">
- <div class="layui-form layui-card-header layuiadmin-card-header-auto">
- <div class="layui-form-item">
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input class="layui-input" type="text" name="TableName" placeholder="表名" autocomplete="off">
- </div>
- </div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input class="layui-input" type="text" name="ColumnName" placeholder="字段名"
- autocomplete="off">
- </div>
- </div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input class="layui-input" type="text" name="ColumnEnName" placeholder="字段英文明"
- autocomplete="off">
- </div>
- </div>
- <div class="layui-inline">
- <button class="layui-btn" lay-submit lay-filter="LAY-list-front-search">
- <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>查询
- </button>
- <button class="layui-btn" lay-submit lay-filter="LAY-list-front-searchall">
- <i class="layui-icon layui-icon-list layuiadmin-button-btn"></i>全部
- </button>
- </div>
- </div>
- </div>
- <div class="layui-card-body">
- <div style="padding-bottom: 10px;">
- <button class="layui-btn" data-type="add"><i class="layui-icon layui-icon-add-1 layuiadmin-button-btn"></i>新增</button>
- <button class="layui-btn" data-type="batchdel"><i class="layui-icon layui-icon-delete layuiadmin-button-btn"></i>删除</button>
- <button class="layui-btn" data-type="makeparams">生成配置</button>
- </div>
- <table id="LAY-list-manage" lay-filter="LAY-list-manage"></table>
- <script type="text/html" id="imgTpl">
- <img style="display: inline-block; width: 50%; height: 100%;" src={{ d.avatar }}>
- </script>
- <script type="text/html" id="table-list-tools">
- <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i
- class="layui-icon layui-icon-edit"></i>编辑</a>
- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i
- class="layui-icon layui-icon-delete"></i>删除</a>
- </script>
- </div>
- </div>
- </div>
- <div id="excelForm" style="display:none; padding:20px;">
- <div class="layui-tab-item layui-show">
- <div class="layui-form-item">
- <label class="layui-form-label">excel文件</label>
- <div class="layui-input-block">
- <div class="layui-upload">
- <input type="file" id="ExcelFile" name="ExcelFile" value="">
- </div>
- <div class="mt10" id="ExcelFileList">
- </div>
- </div>
- </div>
- </div>
- <div class="layui-form-item ml10">
- <div class="layui-input-block">
- <button type="button" class="layui-btn" onclick="ConfirmImport()">立即导入</button>
- </div>
- </div>
- </div>
- <script src="/layuiadmin/layui/layui.js"></script>
- <script src="/layuiadmin/modules/UploadParams_Admin.js"></script>
- <script>
- </script>
- </body>
- </html>
|