You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SOP/sop-admin/sop-admin-front/pages/isv/isvUpdate.html

97 lines
4.1 KiB

6 years ago
<!DOCTYPE html>
<html class="x-admin-sm">
<head>
<meta charset="UTF-8">
<title>SOP Admin</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
<link rel="stylesheet" href="../../assets/css/font.css">
<link rel="stylesheet" href="../../assets/css/xadmin.css">
<style>
.layui-form textarea{min-height: 60px;}
</style>
</head>
<body>
<div class="x-nav">
<span class="layui-breadcrumb">
<a href="../dashboard/welcome.html">首页</a>
6 years ago
<a><cite>ISV管理</cite></a>
<a href="isvList.html">ISV列表</a>
<a><cite>修改ISV</cite></a>
</span>
<a class="layui-btn layui-btn-small layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
href="javascript:location.replace(location.href);" title="刷新">
<i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="x-body">
<fieldset class="layui-elem-field layui-field-title">
<legend>修改ISV</legend>
</fieldset>
<form id="updateForm" style="width: 500px" class="layui-form" action="">
<input name="id" type="hidden">
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-input-block">
<button id="createFormDataBtn" class="layui-btn layui-btn-primary">一键生成数据</button>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">appKey</label>
<div class="layui-input-block">
<input type="text" name="appKey" lay-verify="required" class="layui-input" readonly="readonly"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">签名方式</label>
<div class="layui-input-block">
<input type="radio" name="signType" value="1" checked="checked" lay-filter="signTypeFilter" title="RSA2[推荐]">
<input type="radio" name="signType" value="2" lay-filter="signTypeFilter" title="MD5">
</div>
</div>
<div class="layui-form-item sign-type-md5" style="display: none;">
<label class="layui-form-label">secret</label>
<div class="layui-input-block">
<input type="text" name="secret" class="layui-input"/>
</div>
</div>
<div class="layui-form-item sign-type-rsa2">
<label class="layui-form-label">公钥</label>
<div class="layui-input-block">
<textarea name="pubKey" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item sign-type-rsa2">
<label class="layui-form-label">私钥</label>
<div class="layui-input-block">
<textarea name="priKey" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">角色</label>
<div id="roleArea" class="layui-input-block">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
<input type="radio" name="status" value="1" checked="checked" title="启用">
<input type="radio" name="status" value="2" title="<span class='x-red'>禁用</span>">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="updateFormSubmitFilter">保存</button>
<button type="button" class="layui-btn layui-btn-primary" onclick="location.href='isvList.html'">取消</button>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="../../assets/js/lib.js"></script>
<script type="text/javascript" src="isvUpdate.js"></script>
<script>
</script>
</body>
</html>