Authored by 张凯

Merge branch 'master-500-prod-joke-new' into 'master-500-prod'

指标组及页面指标组优化

1、指标组首页查询框宽度调整
2、页面指标组管理首页表格列宽调整

See merge request !787
@@ -119,16 +119,16 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl @@ -119,16 +119,16 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'treeTabl
119 { type: 'checkbox' } 119 { type: 'checkbox' }
120 , {field: 'index', title: '序号', align: 'center', type: 'numbers',width: 50} 120 , {field: 'index', title: '序号', align: 'center', type: 'numbers',width: 50}
121 , { 121 , {
122 - field: 'name', title: '页面名称', align: 'center', sort: true,width: 200, 122 + field: 'name', title: '页面名称', align: 'center', sort: true,width: 400,
123 templet: '<div>' + 123 templet: '<div>' +
124 '<span restypepage-data-edit="{{d.id}}" data-flag="{{d.flag}}" class="layui-table-link">{{d.name}}</span>' + 124 '<span restypepage-data-edit="{{d.id}}" data-flag="{{d.flag}}" class="layui-table-link">{{d.name}}</span>' +
125 '</div>' 125 '</div>'
126 } 126 }
127 - , { field: 'resTypeName', title: '资源类型', align: 'center',width: 150} 127 + , { field: 'resTypeName', title: '资源类型', align: 'center',width: 250}
128 , { field: 'osName', title: '操作系统', align: 'center',width: 100} 128 , { field: 'osName', title: '操作系统', align: 'center',width: 100}
129 , { field: 'provderName', title: '厂商', align: 'center',width: 100} 129 , { field: 'provderName', title: '厂商', align: 'center',width: 100}
130 - , { field: 'protocolName', title: '采集协议', align: 'center',width: 100}  
131 - , { field: 'model', title: '型号', align: 'center',width: 100} 130 + , { field: 'protocolName', title: '采集协议', align: 'center',width: 200}
  131 + , { field: 'model', title: '型号', align: 'center',width: 200}
132 , { field: 'keyword', title: '辅助关键字', align: 'center',width: 200} 132 , { field: 'keyword', title: '辅助关键字', align: 'center',width: 200}
133 , { field: 'flags', title: '配置指标组', align: 'left',width: 300} 133 , { field: 'flags', title: '配置指标组', align: 'left',width: 300}
134 , { field: 'kpis', title: '配置指标', align: 'left',width: 300} 134 , { field: 'kpis', title: '配置指标', align: 'left',width: 300}
@@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
18 <div class="layui-inline"> 18 <div class="layui-inline">
19 <div class="layui-input-inline layui-input-inline--long"> 19 <div class="layui-input-inline layui-input-inline--long">
20 <input type="text" id="kpiflag_describe" name="kpiflag_describe" placeholder="输入指标组描述,回车搜索" autocomplete="off" 20 <input type="text" id="kpiflag_describe" name="kpiflag_describe" placeholder="输入指标组描述,回车搜索" autocomplete="off"
21 - lay-tips="关键字检索包含: </br>指标组描述"  
22 class="layui-input"> 21 class="layui-input">
23 <input type="text" style="display: none"> 22 <input type="text" style="display: none">
24 </div> 23 </div>
@@ -26,7 +25,6 @@ @@ -26,7 +25,6 @@
26 <div class="layui-inline"> 25 <div class="layui-inline">
27 <div class="layui-input-inline layui-input-inline--long"> 26 <div class="layui-input-inline layui-input-inline--long">
28 <input type="text" id="kpiflag_kpis" name="kpiflag_kpis" placeholder="输入指标名称,回车搜索" autocomplete="off" 27 <input type="text" id="kpiflag_kpis" name="kpiflag_kpis" placeholder="输入指标名称,回车搜索" autocomplete="off"
29 - lay-tips="关键字检索包含: </br>指标名称"  
30 class="layui-input"> 28 class="layui-input">
31 <input type="text" style="display: none"> 29 <input type="text" style="display: none">
32 </div> 30 </div>
@@ -34,7 +32,6 @@ @@ -34,7 +32,6 @@
34 <div class="layui-inline"> 32 <div class="layui-inline">
35 <div class="layui-input-inline layui-input-inline--long"> 33 <div class="layui-input-inline layui-input-inline--long">
36 <input type="text" id="kpiflag_restypes" name="kpiflag_restypes" placeholder="输入资源类型,回车搜索" autocomplete="off" 34 <input type="text" id="kpiflag_restypes" name="kpiflag_restypes" placeholder="输入资源类型,回车搜索" autocomplete="off"
37 - lay-tips="关键字检索包含: </br>资源类型名称"  
38 class="layui-input"> 35 class="layui-input">
39 <input type="text" style="display: none"> 36 <input type="text" style="display: none">
40 </div> 37 </div>
@@ -73,3 +70,8 @@ @@ -73,3 +70,8 @@
73 fn(); 70 fn();
74 }); 71 });
75 </script> 72 </script>
  73 +<style>
  74 + .layui-status .layui-input-inline--long {
  75 + width: 190px !important;
  76 + }
  77 +</style>