chore: 添加应用模板的及查询密码管理
This commit is contained in:
@@ -17,23 +17,42 @@
|
|||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="tit"> <label for="allow_keywords">允许查询关键字</label> </dt>
|
<dt class="tit"> <label for="allow_keywords">允许的关键字</label> </dt>
|
||||||
<dd class="opt">
|
<dd class="opt">
|
||||||
<textarea name="allow_keywords" id="allow_keywords" class="input-txt" rows="4" cols="60">{$info['allow_keywords']|default=''}</textarea>
|
<textarea name="allow_keywords" id="allow_keywords" class="input-txt" rows="4" cols="60">{$info['allow_keywords']|default=''}</textarea>
|
||||||
<span class="err"></span>
|
<span class="err"></span>
|
||||||
<p class="notic2 red" id="allow_keywords_tips">多个关键字用逗号分隔,留空表示不限制</p>
|
<p class="notic2 red" id="allow_keywords_tips">在此输入允许查询的应用名称包含的关键字,多个关键字用逗号分隔。留空表示允许查询所有应用。</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="tit"> <label for="deny_keywords">禁止查询关键字</label> </dt>
|
<dt class="tit"> <label for="deny_keywords">禁止的关键字</label> </dt>
|
||||||
<dd class="opt">
|
<dd class="opt">
|
||||||
<textarea name="deny_keywords" id="deny_keywords" class="input-txt" rows="4" cols="60">{$info['deny_keywords']|default=''}</textarea>
|
<textarea name="deny_keywords" id="deny_keywords" class="input-txt" rows="4" cols="60">{$info['deny_keywords']|default=''}</textarea>
|
||||||
<span class="err"></span>
|
<span class="err"></span>
|
||||||
<p class="notic2 red" id="deny_keywords_tips">多个关键字用逗号分隔,留空表示不限制</p>
|
<p class="notic2 red" id="deny_keywords_tips">在此输入禁止查询的应用名称包含的关键字,多个关键字用逗号分隔。留空表示不禁止任何应用查询。</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
<div class="row" style="margin: 15px 0; padding: 10px; background-color: #f8f9fa; border-radius: 4px;">
|
||||||
|
<div class="tit" style="font-weight: bold; margin-bottom: 10px;">规则说明:</div>
|
||||||
|
<div class="opt">
|
||||||
|
<p>1. 当"允许查询"为空时:可以查询所有应用</p>
|
||||||
|
<p>2. 当"允许查询"有内容时:只能查询应用名称包含这些关键字的应用</p>
|
||||||
|
<p>3. 当"禁止查询"有内容时:不能查询应用名称包含这些关键字的应用</p>
|
||||||
|
<p>4. 优先级:禁止查询 > 允许查询</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="margin: 15px 0; padding: 10px; background-color: #f8f9fa; border-radius: 4px;">
|
||||||
|
<div class="tit" style="font-weight: bold; margin-bottom: 10px;">示例说明:</div>
|
||||||
|
<div class="opt">
|
||||||
|
<p>- 设置"允许查询"为"电商,金融,教育":只能查询应用名称包含这些关键字的应用</p>
|
||||||
|
<p>- 设置"禁止查询"为"测试,临时":不能查询应用名称包含这些关键字的应用</p>
|
||||||
|
<p>- 同时设置:允许"正式,生产",禁止"测试":可以查询包含"正式"或"生产"关键字的应用,但排除包含"测试"关键字的应用</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="tit"> <label for="status">状态</label> </dt>
|
<dt class="tit"> <label for="status">状态</label> </dt>
|
||||||
<dd class="opt">
|
<dd class="opt">
|
||||||
|
|||||||
@@ -60,10 +60,10 @@
|
|||||||
<div class="tc">查询密码</div>
|
<div class="tc">查询密码</div>
|
||||||
</th>
|
</th>
|
||||||
<th abbr="allow_keywords" axis="col4" style="width: 20%">
|
<th abbr="allow_keywords" axis="col4" style="width: 20%">
|
||||||
<div class="tc">允许查询关键字</div>
|
<div class="tc">允许查询的关键字</div>
|
||||||
</th>
|
</th>
|
||||||
<th abbr="deny_keywords" axis="col4" style="width: 20%">
|
<th abbr="deny_keywords" axis="col4" style="width: 20%">
|
||||||
<div class="tc">禁止查询关键字</div>
|
<div class="tc">禁止查询的关键字</div>
|
||||||
</th>
|
</th>
|
||||||
<th abbr="status" axis="col4" class="" style="width: 10%">
|
<th abbr="status" axis="col4" class="" style="width: 10%">
|
||||||
<div class="tc">状态</div>
|
<div class="tc">状态</div>
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
<div class="tc">{$vo.password}</div>
|
<div class="tc">{$vo.password}</div>
|
||||||
</td>
|
</td>
|
||||||
<td abbr="allow_keywords" axis="col4" style="width: 20%">
|
<td abbr="allow_keywords" axis="col4" style="width: 20%">
|
||||||
<div class="tc">{$vo.allow_keywords|default='无'}</div>
|
<div class="tc">{$vo.allow_keywords|default='所有'}</div>
|
||||||
</td>
|
</td>
|
||||||
<td abbr="deny_keywords" axis="col4" style="width: 20%">
|
<td abbr="deny_keywords" axis="col4" style="width: 20%">
|
||||||
<div class="tc">{$vo.deny_keywords|default='无'}</div>
|
<div class="tc">{$vo.deny_keywords|default='无'}</div>
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
layer.alert(data.msg, {icon: 2, title:false});
|
layer.alert(data.msg, {icon: 2, title:false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}, function(index){
|
}, function(index){
|
||||||
layer.close(index);
|
layer.close(index);
|
||||||
});
|
});
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
var a = [];
|
var a = [];
|
||||||
$('input[name^='+name+']:checked').each(function(i,o){
|
$('input[name^='+name+']:checked').each(function(i,o){
|
||||||
a.push($(o).val());
|
a.push($(o).val());
|
||||||
})
|
});
|
||||||
if(a.length == 0){
|
if(a.length == 0){
|
||||||
layer.alert('请至少选择一项', {icon: 2, title:false});
|
layer.alert('请至少选择一项', {icon: 2, title:false});
|
||||||
return;
|
return;
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
function changeStatus(obj, id, status) {
|
function changeStatus(obj, id, status) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "{:url('Project/password_change_status')}";
|
url: "{:url('Project/password_change_status')}",
|
||||||
data: {id: id, status: status, _ajax: 1},
|
data: {id: id, status: status, _ajax: 1},
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
|
|||||||
BIN
src/project_template.xlsx
Normal file
BIN
src/project_template.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user