From cf02eeb934654f7f341203ac5a23fca11f8a8ed4 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Fri, 26 Jul 2024 11:00:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20sequence=20=E0=B9=83=E0=B8=99=20log=20+=20=E0=B8=A5=E0=B8=94?= =?UTF-8?q?=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1=E0=B8=81=E0=B8=A7=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B8=87=20res=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/03_logs/components/LogTable.vue | 83 +++++++++++++++++---- 1 file changed, 68 insertions(+), 15 deletions(-) diff --git a/src/modules/03_logs/components/LogTable.vue b/src/modules/03_logs/components/LogTable.vue index 336d543f..ee1b79ff 100644 --- a/src/modules/03_logs/components/LogTable.vue +++ b/src/modules/03_logs/components/LogTable.vue @@ -143,6 +143,7 @@ const visibleColumns = ref([ "responseCode", "logType", "responseDescription", + "sequence", "dataDiff", ]); @@ -324,8 +325,11 @@ onMounted(() => { ? 'primary' : 'warning' }`" + class="ellipsis" + style="max-width: 10vw" > {{ col.value ?? "-" }} + {{ col.value }}
@@ -336,7 +340,7 @@ onMounted(() => { icon="mdi-eye-outline" color="primary" size="12px" - @click.petvent=" + @click.stop=" () => { currentDataDiff = col.value; currentlogData = { @@ -348,6 +352,7 @@ onMounted(() => { responseCode: props.row.responseCode, logType: props.row.logType, responseDescription: props.row.responseDescription, + sequence: props.row.sequence, dataDiff: props.row.dataDiff, }; openDialog = true; @@ -383,18 +388,18 @@ onMounted(() => {
{{ { @@ -406,25 +411,26 @@ onMounted(() => { responseCode: "Response Code", logType: "สถานะ", responseDescription: "ข้อความ", + sequence: "ลำดับการทำงาน", dataDiff: "ข้อมูลที่เปลี่ยนแปลง", - }[index] || index + }[key] || key }}
{{ date2Thai(new Date(item), false, true) }}
-
+
{{ item ?? "-" }}
-
+
+
+
+
ลำดับที่ {{ index + 1 }}
+
+
+
+ {{ `${key}: ` }} +
+ {{ `${q}` }} +
+
+
+ {{ `${key}: ` }} +
+
+ {{ `${k}: ${req}` }} +
+
+
+
+ {{ `${key}: ${value}` }} +
+
+
+
+
{{ item }}