fix ==> โหลดไฟล์ประวัติสำหรับการเสนอขอพระราชทานเหรียญจักรพรรดิมาลา
This commit is contained in:
parent
4bcd54aea2
commit
72bba50289
3 changed files with 7 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { onMounted, ref, computed, reactive, watch } from "vue";
|
||||
import { useQuasar, QForm, is } from "quasar";
|
||||
import { useQuasar, QForm } from "quasar";
|
||||
|
||||
import { useInsigniaDataStore } from "@/modules/07_insignia/store";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
|
@ -62,9 +62,6 @@ const props = defineProps({
|
|||
roundName: {
|
||||
type: String,
|
||||
},
|
||||
requestStatus: {
|
||||
type: String,
|
||||
},
|
||||
fecthStat: {
|
||||
type: Function,
|
||||
},
|
||||
|
|
@ -1152,7 +1149,8 @@ onMounted(async () => {
|
|||
v-if="
|
||||
DataStore.isOfficer ||
|
||||
(DataStore.isStaff &&
|
||||
(requestStatus == 'st1' || requestStatus == 'st4') &&
|
||||
(DataStore.requestStatus == 'st1' ||
|
||||
DataStore.requestStatus == 'st4') &&
|
||||
(checkPermission($route)?.attrIsGet ||
|
||||
checkPermission($route)?.attrIsUpdate))
|
||||
"
|
||||
|
|
@ -1250,7 +1248,7 @@ onMounted(async () => {
|
|||
<q-td auto-width>
|
||||
<btnDownloadFile
|
||||
v-if="
|
||||
props.row.insigniaSend == 'เหรียญจักรพรรดิมาลา' &&
|
||||
props.row.insigniaSend == 'เหรียญจักรพรรดิมาลา (ร.จ.พ.)' &&
|
||||
checkPermission($route)?.attrIsGet
|
||||
"
|
||||
:profileId="props.row.profileId"
|
||||
|
|
|
|||
|
|
@ -109,5 +109,8 @@ function downloadFile(response: any, filename: string) {
|
|||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
<q-tooltip>
|
||||
ดาวน์โหลดไฟล์ประวัติสำหรับการเสนอขอพระราชทานเหรียญจักรพรรดิมาลา
|
||||
</q-tooltip>
|
||||
</q-btn>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -648,7 +648,6 @@ onUnmounted(() => {
|
|||
:round-id="round"
|
||||
:round-name="roundName"
|
||||
:fecth-insignia-by-oc="fecthInsigniaByOc"
|
||||
:request-status="requestStatus"
|
||||
:fecth-stat="fecthStat"
|
||||
/>
|
||||
</q-tab-panel>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue