main
kgdxpr 2 years ago
parent 80d7463ab9
commit 3563bdb540

@ -72,7 +72,7 @@
}, },
success: function (result) { success: function (result) {
if (result.success) { if (result.success) {
layer.msg("成功!", { layer.msg("复制成功!", {
icon: 1, icon: 1,
time: 1000 time: 1000
}, function () { }, function () {

@ -77,7 +77,7 @@
}, },
success: function (result) { success: function (result) {
if (result.success) { if (result.success) {
layer.msg("成功!", { layer.msg("延期成功!", {
icon: 1, icon: 1,
time: 1000 time: 1000
}, function () { }, function () {

@ -72,7 +72,7 @@
}, },
success: function (result) { success: function (result) {
if (result.success) { if (result.success) {
layer.msg("成功!", { layer.msg("重命名成功!", {
icon: 1, icon: 1,
time: 1000 time: 1000
}, function () { }, function () {

@ -88,9 +88,11 @@
<button type="button" class="layui-btn layui-btn-sm" title="导出原始Excel" lay-event="export"> <button type="button" class="layui-btn layui-btn-sm" title="导出原始Excel" lay-event="export">
<i class="iconfont icon-daochu"></i> <i class="iconfont icon-daochu"></i>
</button> </button>
{{# if(d.publish_state === 0){ }}
<button type="button" class="layui-btn layui-btn-sm layui-btn-danger" title="删除" lay-event="del"> <button type="button" class="layui-btn layui-btn-sm layui-btn-danger" title="删除" lay-event="del">
<i class="iconfont icon-shanchu"></i> <i class="iconfont icon-shanchu"></i>
</button> </button>
{{# } }}
</script> </script>
<script src="../../../component/layui/layui.js"></script> <script src="../../../component/layui/layui.js"></script>
@ -130,14 +132,15 @@
, next: "下一页" , next: "下一页"
}, },
cols: [[ cols: [[
{ title: '序号', align: 'center', width: "5%", type: 'numbers' }, { title: '序号', align: 'center', width: "3%", type: 'numbers' },
{ title: '任务名称', align: 'left', templet: '#jobName-Templet' }, { title: '任务名称', align: 'left', templet: '#jobName-Templet' },
{ title: '发布时间', field: 'publish_time', align: 'center', width: "10%" }, { title: '发布时间', field: 'publish_time', align: 'center', width: "10%" },
{ title: '截止时间', field: 'deadline_time', align: 'center', width: "10%" }, { title: '截止时间', field: 'deadline_time', align: 'center', width: "10%" },
{ title: '填报格式', field: 'job_type_name', align: 'center', width: "10%" }, { title: '填报格式', field: 'job_type_name', align: 'center', width: "10%" },
{ title: '填报进度', align: 'center', width: "10%", templet: '#progress-Templet' }, { title: '填报进度', align: 'center', width: "10%", templet: '#progress-Templet' },
{ title: '状态', field: 'publish_state_name', align: 'center', width: "5%" }, { title: '保存状态', field: 'is_save_name', align: 'center', width: "8%" },
{ title: '操作', align: 'left', width: "20%", toolbar: '#table-bar' } { title: '发布状态', field: 'publish_state_name', align: 'center', width: "8%" },
{ title: '操作', align: 'left', width: "18%", toolbar: '#table-bar' }
]], ]],
skin: 'line', skin: 'line',
toolbar: '#table-toolbar', toolbar: '#table-toolbar',
@ -209,7 +212,7 @@
window.export = function (obj) { window.export = function (obj) {
window.location = "/QingLong/Excel/" + obj.data.upload_excel_filename;
} }
window.copy = function (obj) { window.copy = function (obj) {

Loading…
Cancel
Save