diff --git a/src/page/main/develop/systemApproval/detail/index.vue b/src/page/main/develop/systemApproval/detail/index.vue index d8bfe3ec57032252db7a2009ce71846c546af0d6..3e6529426a5e42c42fc53b29272d1270973a7ff4 100644 --- a/src/page/main/develop/systemApproval/detail/index.vue +++ b/src/page/main/develop/systemApproval/detail/index.vue @@ -17,6 +17,7 @@ import bgBreadcrumb from "@/components/bg-breadcrumb.vue"; import { useRoute } from "vue-router"; import axios from "@/request/http.js"; import { ElMessage } from "element-plus"; +import { dateStringTransform } from "@/services/helper.js"; const route = useRoute(); @@ -113,6 +114,10 @@ const getApproveInfo = () => { item.value = ["待审批", "通过", "驳回"][result[item.key]]; return; } + if (item.key === "approval_time") { + item.value = dateStringTransform(result[item.key]); + return; + } item.value = result[item.key]; }); } else { diff --git a/src/page/main/log/userBehavior/detail/index.vue b/src/page/main/log/userBehavior/detail/index.vue index c2b35dc9c8b6c450425a8841309d64cf3ef7eeeb..e5a68298103d8794ddfe56dd3329eae6aadd6672 100644 --- a/src/page/main/log/userBehavior/detail/index.vue +++ b/src/page/main/log/userBehavior/detail/index.vue @@ -3,7 +3,22 @@
- + + + +
@@ -81,6 +96,7 @@ const instanceData = reactive({ label: "请求地址", value: "", width: "100%", + childSlot: "req_url_value", }, { key: "req_param", @@ -96,6 +112,7 @@ const instanceData = reactive({ key: "res_fields", label: "返回参数", value: "", + childSlot: "res_fields_value", }, ], }); @@ -130,5 +147,11 @@ const getDetailInfo = () => { margin-bottom: 24px; width: 960px; } + .show_in_line { + overflow: hidden; + width: 824px; + text-overflow: ellipsis; + white-space: nowrap; + } }