salary
This commit is contained in:
parent
1d644393fb
commit
cdf68c055e
3 changed files with 7 additions and 3 deletions
|
|
@ -318,7 +318,7 @@ function checkEndDate() {
|
|||
:disable="isReadonly"
|
||||
size="md"
|
||||
v-model="formData.isSpecial"
|
||||
label="ฉ"
|
||||
label="เฉพาะสายงานที่กำหนด"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ const fileUpload = ref<any>(null);
|
|||
const document = ref<string>("");
|
||||
const props = defineProps({
|
||||
rootId:String,
|
||||
periodId:String
|
||||
periodId:String,
|
||||
getData:Function
|
||||
})
|
||||
/**
|
||||
* function อัปโหลดไฟล์เจ้าหน้าที่
|
||||
|
|
@ -63,6 +64,7 @@ function saveReccommend(reason:string) {
|
|||
})
|
||||
.then((res)=>{
|
||||
console.log(res)
|
||||
props.getData?.()
|
||||
}).catch((e)=>{
|
||||
messageError($q,e)
|
||||
}).finally(()=>{
|
||||
|
|
@ -85,6 +87,7 @@ function sendToDirector(msg: string,type:string) {
|
|||
.get(config.API.salaryPeriodStatus(type, props.periodId ? props.periodId:'', props.rootId ? props.rootId:''))
|
||||
.then((res)=>{
|
||||
console.log(res)
|
||||
props.getData?.()
|
||||
}).catch((e)=>{
|
||||
messageError($q,e)
|
||||
}).finally(()=>{
|
||||
|
|
@ -103,6 +106,7 @@ function sendAndRecommend(title: string,typeOrder:string) {
|
|||
modalRecommend.value = true;
|
||||
titleRecommend.value = title;
|
||||
type.value = typeOrder
|
||||
props.getData?.()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ onMounted(async () => {
|
|||
bordered
|
||||
class="row col-12 q-mt-xs"
|
||||
>
|
||||
<ProcessStep :periodId="roundFilter.id" :rootId="agencyFilter"/>
|
||||
<ProcessStep :periodId="roundFilter.id" :rootId="agencyFilter" :get-data="onChangeRound"/>
|
||||
</q-card>
|
||||
|
||||
<!-- </q-card> -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue