|
@@ -67,10 +67,10 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
|
@@ -67,10 +67,10 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
67
|
, height: 'full-80'
|
67
|
, height: 'full-80'
|
68
|
, data: dataArr
|
68
|
, data: dataArr
|
69
|
, cols: [[
|
69
|
, cols: [[
|
70
|
- {field: 'dirctiveName', title: '指令名称', align: 'center', width: 230
|
70
|
+ {field: 'dirctiveName', title: '指令名称', align: 'center', minWidth: 230
|
71
|
,templet:'<div><span data-id="{{d.dirctiveId}}" >{{d.dirctiveName}}</span></div>'}
|
71
|
,templet:'<div><span data-id="{{d.dirctiveId}}" >{{d.dirctiveName}}</span></div>'}
|
72
|
, {field: 'outputNum', title: '输出指标数量', align: 'center', width: 150}
|
72
|
, {field: 'outputNum', title: '输出指标数量', align: 'center', width: 150}
|
73
|
- , {field: 'frequencyType', title: '周期时间类型', align: 'center', minWidth: 80,templet: function (d) {
|
73
|
+ , {field: 'frequencyType', title: '周期时间类型', align: 'center', width:180,minWidth: 180,templet: function (d) {
|
74
|
var html = '<select name="frequencyType" lay-filter="frequency-type">' +
|
74
|
var html = '<select name="frequencyType" lay-filter="frequency-type">' +
|
75
|
'<option value="often" >常用周期</option>'+
|
75
|
'<option value="often" >常用周期</option>'+
|
76
|
'<option value="cron">CronTab表达式</option>'+
|
76
|
'<option value="cron">CronTab表达式</option>'+
|
|
@@ -83,7 +83,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
|
@@ -83,7 +83,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
83
|
})
|
83
|
})
|
84
|
return $dom.prop("outerHTML");
|
84
|
return $dom.prop("outerHTML");
|
85
|
}}
|
85
|
}}
|
86
|
- , {field: 'collFrequency', title: '周期', align: 'center', width: 220,templet:function (d) {
|
86
|
+ , {field: 'collFrequency', title: '周期', align: 'center', width: 180,templet:function (d) {
|
87
|
var selectStr = getTableSelectDom().select;
|
87
|
var selectStr = getTableSelectDom().select;
|
88
|
var inputStr = getTableSelectDom().input;
|
88
|
var inputStr = getTableSelectDom().input;
|
89
|
if(d.frequencyType == 'often'){
|
89
|
if(d.frequencyType == 'often'){
|
|
@@ -100,7 +100,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
|
@@ -100,7 +100,7 @@ layui.define(['table', 'form', 'laydate', 'common','sessions','laydate','admin', |
100
|
return $dom.prop("outerHTML");
|
100
|
return $dom.prop("outerHTML");
|
101
|
}
|
101
|
}
|
102
|
}}
|
102
|
}}
|
103
|
- , {title: '操作', align: 'center', minWidth: 100,templet: '<div><span checkTemplate-data-delete="{{d.dirctiveId}}" class="layui-table-link">删除</span>'}
|
103
|
+ , {title: '操作', align: 'center', width:100,minWidth: 100,templet: '<div><span checkTemplate-data-delete="{{d.dirctiveId}}" class="layui-table-link">删除</span>'}
|
104
|
]],
|
104
|
]],
|
105
|
done: function (res, curr, count) {
|
105
|
done: function (res, curr, count) {
|
106
|
form.render();
|
106
|
form.render();
|