diff --git a/src/views/hard/hard-door-manager/index.vue b/src/views/hard/hard-door-manager/index.vue
index 720c748..b2b6f20 100644
--- a/src/views/hard/hard-door-manager/index.vue
+++ b/src/views/hard/hard-door-manager/index.vue
@@ -52,7 +52,7 @@
{{ state.deviceDetail.signalIntensity }}
- SIM信号强度:
+ SIM信号强度:
diff --git a/src/views/hard/third-door-log/detail.vue b/src/views/hard/third-door-log/detail.vue
new file mode 100644
index 0000000..6b0b37c
--- /dev/null
+++ b/src/views/hard/third-door-log/detail.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
错误信息:
+
+ {{ data }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/hard/third-door-log/index.vue b/src/views/hard/third-door-log/index.vue
index 799d81d..7ba4cd4 100644
--- a/src/views/hard/third-door-log/index.vue
+++ b/src/views/hard/third-door-log/index.vue
@@ -40,16 +40,51 @@
-
-
-
+
+
+ 查看
+ null
+
+
+
+
+ 查看
+ null
+
+
+
+
+
+ 详情
+
+ null
+
+
-
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
@@ -58,19 +93,23 @@ import { BasicTableProps, useTable } from "/@/hooks/table"
import * as thirdDoorLog from "/@/api/thirdparty/third-door-log"
import { useMessage, useMessageBox } from "/@/hooks/message"
import { useDict } from "/@/hooks/dict"
+import VueJsonPretty from "vue-json-pretty"
+import "vue-json-pretty/lib/styles.css"
-// 引入组件
const FormDialog = defineAsyncComponent(() => import("./form.vue"))
+const LogDetail = defineAsyncComponent(() => import("./detail.vue"))
// 定义查询字典
const { third_biz_type, third_api_type } = useDict("third_biz_type", "third_api_type")
// 定义变量内容
const formDialogRef = ref()
// 搜索变量
const queryRef = ref()
-const showSearch = ref(true)
// 多选变量
const selectObjs = ref([]) as any
const multiple = ref(true)
+const jsonViewVisible = ref()
+const jsonData = ref()
+const logDetailRef = ref()
const state: BasicTableProps = reactive({
queryForm: {},
@@ -100,6 +139,12 @@ const selectionChangHandle = (objs: { id: string }[]) => {
multiple.value = !objs.length
}
+// 点击查看json
+const handleClickJsonView = (json: any) => {
+ jsonViewVisible.value = true
+ jsonData.value = JSON.parse(json)
+}
+
// 删除操作
const handleDelete = async (ids: string[]) => {
try {
diff --git a/src/views/wallet/wallet-setting/components/third-zy/index.vue b/src/views/wallet/wallet-setting/components/third-zy/index.vue
index b9d9dee..bbb088f 100644
--- a/src/views/wallet/wallet-setting/components/third-zy/index.vue
+++ b/src/views/wallet/wallet-setting/components/third-zy/index.vue
@@ -61,7 +61,7 @@
-
+
@@ -100,7 +100,7 @@ import { ElLoading } from "element-plus"
const LogDetail = defineAsyncComponent(() => import("./detail.vue"))
-const LogDetailRef = ref()
+const logDetailRef = ref()
const { thrid_zy_biz_type } = useDict("thrid_zy_biz_type")
const jsonViewVisible = ref()
const jsonData = ref()