工单状态

This commit is contained in:
2025-03-30 19:00:30 +08:00
parent e7b5d17cb8
commit ebe10f8c49

View File

@ -88,7 +88,11 @@
{field:'status', title:'状态', width:80, templet:function(item){ {field:'status', title:'状态', width:80, templet:function(item){
if (item.source_type !== 1) { if (item.source_type !== 1) {
if (item.status === 1) { if (item.status === 1) {
return `<span style="color: green">已分配</span>` if (item.state === 2) {
return `<span style="color: green">外部工单</span>`
} else {
return `<span style="color: green">内部工单</span>`
}
} else { } else {
return `<span style="color: red">待分配</span>` return `<span style="color: red">待分配</span>`
} }