diff --git a/WebRoot/view/zj/chouqu.html b/WebRoot/view/zj/chouqu.html index 2e7964da..dfe12007 100644 --- a/WebRoot/view/zj/chouqu.html +++ b/WebRoot/view/zj/chouqu.html @@ -354,8 +354,13 @@ }, success: function (res) { if (res.success) { - - + layer.msg("保存成功!", { + icon: 1, + time: 1300 + }, function () { + parent.layer.close(parent.layer.getFrameIndex(window.name)); + parent.layui.table.reload("data-table"); + }); } else { alert(res.message); diff --git a/WebRoot/view/zj/list.html b/WebRoot/view/zj/list.html index 0566b34a..46a09c7d 100644 --- a/WebRoot/view/zj/list.html +++ b/WebRoot/view/zj/list.html @@ -84,6 +84,7 @@ { title: '序号', align: 'center', width: "5%", type: 'numbers' }, { title: '名称', field: 'ys_name', align: 'center' }, { title: '日期', field: 'ys_date', align: 'center', width: "20%" }, + { title: '专家人数', field: 'person_count', align: 'center', width: "10%" }, { title: '状态', field: 'status_name', align: 'center', width: "20%" }, { title: '操作', toolbar: '#table-bar', align: 'center', width: "20%" } ]], @@ -97,6 +98,9 @@ } else { res.data[i].status_name = '已抽取'; } + if (res.data[i].person_count === 0) { + res.data[i].person_count = '--'; + } } return res;