Commit f1787db6 authored by 赵啸非's avatar 赵啸非

添加服务追踪

parent 042da79f
...@@ -93,7 +93,18 @@ ...@@ -93,7 +93,18 @@
{label: "办理位置", prop: "location"}, {label: "办理位置", prop: "location"},
{label: "识别截图", prop: "picture"}, {label: "识别截图", prop: "picture",formatter: (row) => {
return row.picture != "" ? (
<el-image
style="width: 70px; height: 70px"
src={row.picture}
preview-src-list={[row.picture]}
></el-image>
) : (
"--"
);
},},
{ {
label: "操作", label: "操作",
width: 240, width: 240,
......
package com.mortals.xhx.module.realtime.web; package com.mortals.xhx.module.realtime.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.OrderCol;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -46,5 +48,11 @@ public class RealtimeDataflowController extends BaseCRUDJsonBodyMappingControlle ...@@ -46,5 +48,11 @@ public class RealtimeDataflowController extends BaseCRUDJsonBodyMappingControlle
super.init(model, context); super.init(model, context);
} }
@Override
protected void doListBefore(RealtimeDataflowEntity query, Map<String, Object> model, Context context) throws AppException {
query.setOrderField("createTime");
query.setOrderKind(OrderCol.DESCENDING);
super.doListBefore(query, model, context);
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment