feat: reorder properties fields in option.json and update DialogProperties.vue for improved display
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
puriphatt 2025-03-10 15:31:57 +07:00
parent bade5fd104
commit b3ad7629ce
2 changed files with 14 additions and 11 deletions

View file

@ -1037,15 +1037,15 @@
"value": "contactChannel",
"type": "string"
},
{ "label": "Document Check", "value": "documentCheck", "type": "string" },
{ "label": "Duty", "value": "duty", "type": "string" },
{ "label": "Messenger", "value": "messenger", "type": "string" },
{ "label": "Form", "value": "designForm", "type": "string" },
{
"label": "Remark",
"value": "remark",
"type": "string"
}
},
{ "label": "Document Check", "value": "documentCheck", "type": "string" },
{ "label": "Duty", "value": "duty", "type": "string" },
{ "label": "Messenger", "value": "messenger", "type": "string" },
{ "label": "Form", "value": "designForm", "type": "string" }
]
},
@ -2088,15 +2088,15 @@
"value": "contactChannel",
"type": "string"
},
{ "label": "ตรวจสอบเอกสาร", "value": "documentCheck", "type": "string" },
{ "label": "อากร", "value": "duty", "type": "string" },
{ "label": "พนักงานส่งเอกสาร", "value": "messenger", "type": "string" },
{ "label": "ออกแบบฟอร์ม", "value": "designForm", "type": "string" },
{
"label": "หมายเหตุ",
"value": "remark",
"type": "string"
}
},
{ "label": "ตรวจสอบเอกสาร", "value": "documentCheck", "type": "string" },
{ "label": "อากร", "value": "duty", "type": "string" },
{ "label": "พนักงานส่งเอกสาร", "value": "messenger", "type": "string" },
{ "label": "ออกแบบฟอร์ม", "value": "designForm", "type": "string" }
]
}
}

View file

@ -407,10 +407,13 @@ watch(
<q-item
v-for="(ops, index) in propertiesOption"
clickable
:class="{
'bordered-t': index === propertiesOption.length - 4,
}"
:key="index"
@click="manageProperties(stepIndex, ops.value, ops.type)"
:for="`list-${ops.value}`"
:id="`list-${ops.value}`"
@click="manageProperties(stepIndex, ops.value, ops.type)"
>
<div class="full-width flex items-center no-wrap">
<q-icon