main
kgdxpr 2 years ago
parent 192c4fddc2
commit 26b20041b6

@ -125,13 +125,10 @@
});
form.on('submit(submit)', function (data) {
layer.alert(JSON.stringify(data.field), { title: '提交的数据' });
var taskName = "";
var bxids = "";
var limits = "";
Object.keys(data.field).forEach((key) => {
if (key === "taskName") {
taskName = data.field[key];

@ -59,14 +59,9 @@
let cols = [
[
{ field: '', title: '序号', align: 'center', type: 'numbers', width: "5%" }
, { field: 'task_name', title: '任务名称', align: 'center' }
, { field: 'module_name', title: '所用模板名称', align: 'center' }
, { field: 'create_time', title: '创建时间', align: 'center', width: "10%" }
, { field: 'end_date', title: '结束时间', align: 'center', width: "10%" }
, { field: 'all_count', title: '应填报数', align: 'center', width: "10%" }
, { field: 'fill_count', title: '已填报数', align: 'center', width: "10%" }
// , { field: '', title: '已填报数', align: 'center', width: "10%", templet: '#taskFill' }
, { field: '', title: '发布状态', align: 'center', width: "10%", templet: getPublishText }
, { field: 'task_name', title: '任务名称', align: 'center' }
, { field: 'create_time', title: '创建时间', align: 'center', width: "10%" }
, { field: '', title: '状态', align: 'center', width: "10%", templet: getPublishText }
, { field: '', title: '操作', toolbar: '#tableOperate', align: 'center', width: "15%" }
]
]

Loading…
Cancel
Save