mirror of https://gitee.com/stylefeng/guns
parent
aa943e3657
commit
0fb4a9e24c
@ -0,0 +1,14 @@
|
||||
layui.use(['layer', 'form', 'admin', 'HttpRequest'], function () {
|
||||
var $ = layui.$;
|
||||
var form = layui.form;
|
||||
var HttpRequest = layui.HttpRequest;
|
||||
|
||||
|
||||
|
||||
//获取详情信息,填充表单
|
||||
var httpRequest = new HttpRequest(Feng.ctxPath + "/sysFileInfo/detail?fileId=" + Feng.getUrlParam("fileId"),'get');
|
||||
var result = httpRequest.start();
|
||||
form.val("fileInfoForm", result.data);
|
||||
|
||||
|
||||
});
|
@ -0,0 +1,83 @@
|
||||
@layout("/layout/_form.html",{js:["/assets/modular/system/fileInfo/file_info_details.js"]}){
|
||||
|
||||
<form class="layui-form" id="fileInfoForm" lay-filter="fileInfoForm">
|
||||
<div class="layui-fluid" style="padding-bottom: 75px;">
|
||||
<div class="layui-card">
|
||||
<div class="layui-card-header">基本信息</div>
|
||||
<div class="layui-card-body" style="padding: 10px 20%">
|
||||
<div class="layui-form-item layui-row">
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">文件存储位置</label>
|
||||
<div class="layui-input-block">
|
||||
<select name="fileLocation" disabled="disabled">
|
||||
<option value="">存储位置</option>
|
||||
<option value="4">本地</option>
|
||||
<option value="1">阿里云</option>
|
||||
<option value="2">腾讯云</option>
|
||||
<option value="3">minio</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">文件仓库</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="fileBucket" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">文件名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="fileOriginName" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">是否为机密文件</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="secretFlag" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">文件后缀</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="fileSuffix" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">文件大小</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="fileSizeKb" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">唯一标识</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="fileObjectName" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">存储路径</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="filePath" type="text" class="layui-input layui-disabled" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group-bottom text-center">
|
||||
<!-- <button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>-->
|
||||
<button id="cancel" type="button" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@}
|
Loading…
Reference in new issue