เพิ่มคำสั่งแต่งตั้ง เลื่อน ย้ายจากราชกิจจาฯ
This commit is contained in:
parent
db8046efdb
commit
fa13be0a3e
10 changed files with 217 additions and 117 deletions
|
|
@ -48,6 +48,7 @@ let formCommandList = reactive<FormCommandList>({
|
|||
status: "",
|
||||
commandTypeName: "",
|
||||
commandNo: "",
|
||||
commandCode: "",
|
||||
commandYear: null,
|
||||
detailHeader: "",
|
||||
detailBody: "",
|
||||
|
|
@ -77,7 +78,6 @@ async function fetchDataCommandList() {
|
|||
.get(config.API.commandAction(commandId.value, "tab1"))
|
||||
.then(async (res) => {
|
||||
const data = await res.data.result;
|
||||
|
||||
formCommandList = data;
|
||||
statusCheck.value = data.commandCode == "C-PM-10" ? true : false;
|
||||
store.dataCommand = data;
|
||||
|
|
@ -124,6 +124,7 @@ onMounted(async () => {
|
|||
<q-card class="q-mt-sm">
|
||||
<q-card-section style="padding: 0px">
|
||||
<q-separator />
|
||||
|
||||
<q-tabs
|
||||
v-model="tabs"
|
||||
inline-label
|
||||
|
|
@ -136,7 +137,10 @@ onMounted(async () => {
|
|||
:key="index"
|
||||
:name="tab.name"
|
||||
:label="tab.label"
|
||||
:disable="statusCheck && tab.name == 'ListPersons'"
|
||||
:disable="
|
||||
(statusCheck && tab.name == 'ListPersons') ||
|
||||
(commandCode === 'C-PM-47' && tab.name === 'Attached')
|
||||
"
|
||||
/>
|
||||
</q-tabs>
|
||||
<q-separator />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue