完善流程发布业务

This commit is contained in:
wanggeng888 2021-07-13 17:18:31 +08:00
parent 932e11ed59
commit 299bc3a537

View File

@ -98,7 +98,16 @@
return rowData;
}
},
{field:'deploymentStatus', width:80, title: '状态', align:'center',
{field:'deploymentId', width:300, title: '部署ID', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-';
}
return rowData;
}
},
{field:'deploymentStatus', width:80, title: '状态', fixed:'right', align:'center',
templet: function(row) {
if(!row.deploymentId) {
return '<span class="layui-badge layui-bg-gray">未部署</span>';
@ -107,7 +116,7 @@
}
}
},
{field: 'option', width: 80, title: '操作', align:'center',
{field: 'option', width: 80, title: '操作', align:'center', fixed: 'right',
templet: function(row) {
if(!row.deploymentId) {
return '<button class="layui-btn layui-btn-normal layui-btn-sm" lay-event="publishEvent">部署</button>';