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