批量下发功能增加,delRow.tag中暂时不打开此功能。

app topic domain和app domain业务修改domain存储cfgkeyword属性。
摘要修改level属性存储为下发的最终数值。
同步的单域配置的增加时间和状态属性从entity中获取
This commit is contained in:
DuanDongmei
2018-12-05 17:56:41 +08:00
parent e5fa7cbca8
commit bb302e3f13
37 changed files with 2406 additions and 703 deletions

View File

@@ -66,7 +66,7 @@ $(function(){
$("#domain").selectpicker("show");//显示选择框
}
}); */
if('${_cfg.domain}'){
if('${_cfg.cfgKeywords}'){
ajaxDomain($("#websiteServiceId").val(),$("#topicId").val());
}
//选择主题跟服务 查询域名
@@ -85,10 +85,10 @@ $(function(){
$("#selectDomain").on("change",function(){
var domain =$("#selectDomain").val();
if(domain!=null&&domain!=''){
$("input[name='domain']").val(domain);
$("input[name='cfgKeywords']").val(domain);
}
});
$("input[name='domain']").val('${_cfg.domain}');
$("input[name='cfgKeywords']").val('${_cfg.cfgKeywords}');
});
@@ -103,15 +103,15 @@ $(function(){
async:true,
success:function(data,textStatus){//处理返回结果
if(textStatus=="success"){
var html='<select name="domain" data-live-search="true" class="selectpicker form-control">'
var html='<select name="cfgKeywords" data-live-search="true" class="selectpicker form-control">'
+'<option value=""><spring:message code="select"/></option>';
if(data.length>0){
for(i=0;i<data.length;i++){
html+='<option value="'+data[i].domain+'"';
if('${_cfg.domain}'==data[i].domain){
html+='<option value="'+data[i].cfgKeywords+'"';
if('${_cfg.cfgKeywords}'==data[i].cfgKeywords){
html+=" selected";
}
html+='>'+data[i].domain+'</option>';
html+='>'+data[i].cfgKeywords+'</option>';
}
html+='</select>';
$("#selectDomain").html(html);
@@ -331,9 +331,9 @@ $(function(){
</select>
</div>
<div class="col-md-3">
<input id="domain" name="domain" class="form-control required domainCheck" type="text" value="">
<input id="domain" name="cfgKeywords" class="form-control required domainCheck" type="text" value="">
</div>
<div for="domain"></div>
<div for="cfgKeywords"></div>
</div>
<%-- <div class="col-md-5"><label class="col-md-4"></label><font style="papadding-left: 10px" color="red">*</font>
<select id="response" class="selectpicker select2 input-small pull-right">