diff --git a/src/lib/components/dictionary/test/page/tabs/map.svelte b/src/lib/components/dictionary/test/page/tabs/map.svelte index 327db50..e58f672 100644 --- a/src/lib/components/dictionary/test/page/tabs/map.svelte +++ b/src/lib/components/dictionary/test/page/tabs/map.svelte @@ -126,10 +126,9 @@ {/if} - - - +
+ diff --git a/src/lib/components/dictionary/testmap/config/testmap-form-config.js b/src/lib/components/dictionary/testmap/config/testmap-form-config.js index a25cdda..53da9d3 100644 --- a/src/lib/components/dictionary/testmap/config/testmap-form-config.js +++ b/src/lib/components/dictionary/testmap/config/testmap-form-config.js @@ -46,7 +46,6 @@ export const testMapDefaultErrors = { export const testMapFormFields = [ { - title: 'Host & Client Information', rows: [ { type: 'row', diff --git a/src/lib/components/dictionary/testmap/page/create-page.svelte b/src/lib/components/dictionary/testmap/page/create-page.svelte index 4649907..42ad6ea 100644 --- a/src/lib/components/dictionary/testmap/page/create-page.svelte +++ b/src/lib/components/dictionary/testmap/page/create-page.svelte @@ -1 +1,305 @@ -cr \ No newline at end of file + + + + +
+
+ {#if editingId !== null} + + + {:else} + + {/if} +
+ +
+ + + + + Host Type + Host ID + Host Test Code + Host Test Name + Client Type + Client ID + Client Test Code + Client Test Name + Container + + + + + {#if tempMap.length === 0} + + + No data. Fill the form above and click Insert. + + + {:else} + {#each tempMap as row (row.id)} + + {row.HostType} + {row.HostID} + {row.HostTestCode} + {row.HostTestName} + {row.ClientType} + {row.ClientID} + {row.ClientTestCode} + {row.ClientTestName} + {row.ConDefID} + +
+ + +
+
+
+ {/each} + {/if} +
+
+
+
+
+ + \ No newline at end of file diff --git a/src/lib/components/dictionary/testmap/page/view-page.svelte b/src/lib/components/dictionary/testmap/page/view-page.svelte index 6e9144c..2c37fa4 100644 --- a/src/lib/components/dictionary/testmap/page/view-page.svelte +++ b/src/lib/components/dictionary/testmap/page/view-page.svelte @@ -11,7 +11,6 @@ const { masterDetail, formFields, formActions, schema } = props.context; let testMap = $derived(masterDetail?.selectedItem?.data); - $inspect(testMap) const handlers = { editTest: () => masterDetail.enterEdit("data"),