fix bug change status
This commit is contained in:
parent
1cb3c891f6
commit
8e0dce57d9
2 changed files with 7 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ export default {
|
||||||
probationGetAssignList: (personalId: string) =>
|
probationGetAssignList: (personalId: string) =>
|
||||||
`${finish}/probation-assign-list?personal_id=${personalId}`,
|
`${finish}/probation-assign-list?personal_id=${personalId}`,
|
||||||
probationsGetAssign: (assignId: string) => `${finish}/probation-assign?assign_id=${assignId}`,
|
probationsGetAssign: (assignId: string) => `${finish}/probation-assign?assign_id=${assignId}`,
|
||||||
changestatusProbations: (personalId: string) => `${evaluate}/probation/change-status?personal_id=${personalId}`,
|
changestatusProbations: (personalId: string) => `${evaluate}/report/change-status?personal_id=${personalId}`,
|
||||||
|
|
||||||
// probationGetAssignList: (personalId: string) =>
|
// probationGetAssignList: (personalId: string) =>
|
||||||
// `${finish}/probation-assign-list?personal_id=${personalId}`,
|
// `${finish}/probation-assign-list?personal_id=${personalId}`,
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ const name = ref<string>("");
|
||||||
const position_line = ref<string>("");
|
const position_line = ref<string>("");
|
||||||
const position_level = ref<string>("");
|
const position_level = ref<string>("");
|
||||||
const organization = ref<string>("");
|
const organization = ref<string>("");
|
||||||
const probation_status = ref<string>("");
|
const probation_status = ref<number>();
|
||||||
const probation_statusold = ref<string>("");
|
const probation_statusold = ref<string>("");
|
||||||
const avatarprofile = ref<string>("");
|
const avatarprofile = ref<string>("");
|
||||||
|
|
||||||
|
|
@ -95,10 +95,12 @@ const probation_statusOP = ref<any>([
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
label: "พ้นการทดลองปฏิบัติหน้าที่ราชการ",
|
label: "พ้นการทดลองปฏิบัติหน้าที่ราชการ",
|
||||||
|
disable: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
label: "ไม่พ้นการทดลองปฏิบัติหน้าที่ราชการ",
|
label: "ไม่พ้นการทดลองปฏิบัติหน้าที่ราชการ",
|
||||||
|
disable: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
|
|
@ -115,10 +117,12 @@ const probation_statusOP = ref<any>([
|
||||||
{
|
{
|
||||||
id: 7,
|
id: 7,
|
||||||
label: "ขยายระยะเวลาทดลองปฏิบัติหน้าที่ราชการ",
|
label: "ขยายระยะเวลาทดลองปฏิบัติหน้าที่ราชการ",
|
||||||
|
disable: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 8,
|
id: 8,
|
||||||
label: "ดึงรายชื่อไปออกคำสั่งแล้ว",
|
label: "ดึงรายชื่อไปออกคำสั่งแล้ว",
|
||||||
|
disable: true
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
@ -279,6 +283,7 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
||||||
<div class="col-12 text-top">สถานะการทดลองปฏิบัติหน้าที่ราชการ</div>
|
<div class="col-12 text-top">สถานะการทดลองปฏิบัติหน้าที่ราชการ</div>
|
||||||
<div class="col-12 text-detail">
|
<div class="col-12 text-detail">
|
||||||
<q-select
|
<q-select
|
||||||
|
:disable="probation_status==2 || probation_status==3 || probation_status==7 || probation_status==8"
|
||||||
dense
|
dense
|
||||||
borderless
|
borderless
|
||||||
v-model="probation_status"
|
v-model="probation_status"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue