แก้ไขบัค แบบสอบถาม
This commit is contained in:
parent
ba709a4403
commit
4e7432bc50
1 changed files with 6 additions and 32 deletions
|
|
@ -1,6 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import type { QTableProps } from "quasar"
|
||||
import { ref, onMounted } from "vue"
|
||||
import { ref } from "vue"
|
||||
import { useQuasar } from "quasar"
|
||||
import { useRouter, useRoute } from "vue-router"
|
||||
import { useCounterMixin } from "@/stores/mixin"
|
||||
|
|
@ -11,22 +10,18 @@ const route = useRoute()
|
|||
const router = useRouter()
|
||||
const $q = useQuasar()
|
||||
const mixin = useCounterMixin()
|
||||
const { date2Thai, dateToISO, success, messageError, showLoader, hideLoader, notifyError } = mixin
|
||||
const leaveReason = ref("")
|
||||
const id = ref<string>("")
|
||||
const noteReason = ref("")
|
||||
const routeName = router.currentRoute.value.name
|
||||
const { success, messageError, notifyError } = mixin
|
||||
const dataId = ref<any>(route.params.id.toString())
|
||||
|
||||
const exitFactor = ref<any>([])
|
||||
const reasonWork = ref<any>([])
|
||||
const adjust = ref<any>([])
|
||||
const timeThink = ref<any>([])
|
||||
const timeThink = ref<any>()
|
||||
const realReason = ref<any>("")
|
||||
const notExitFactor = ref<any>("")
|
||||
const haveJob = ref<any>([])
|
||||
const suggestFriends = ref<any>([])
|
||||
const futureWork = ref<any>([])
|
||||
const haveJob = ref<any>()
|
||||
const suggestFriends = ref<any>()
|
||||
const futureWork = ref<any>()
|
||||
const suggestion = ref<any>("")
|
||||
|
||||
const reasonWorkOther = ref("")
|
||||
|
|
@ -150,27 +145,6 @@ const saveForm = () => {
|
|||
}
|
||||
}
|
||||
|
||||
// const putData = () => {
|
||||
// const data = {
|
||||
// ReasonWork: reasonWork.value,
|
||||
// ReasonWorkOther: reasonWorkOther.value,
|
||||
// TimeThink: timeThink.value,
|
||||
// ExitFactor: exitFactor.value,
|
||||
// ExitFactorOther: exitFactorOther.value,
|
||||
// Adjust: adjust.value,
|
||||
// AdjustOther: adjustOther.value,
|
||||
// RealReason: realReason.value,
|
||||
// NotExitFactor: notExitFactor.value,
|
||||
// Havejob: haveJob.value,
|
||||
// HavejobReason: haveJobReason.value,
|
||||
// SuggestFriends: suggestFriends.value,
|
||||
// SuggestFriendsReason: suggestFriendsReason.value,
|
||||
// FutureWork: futureWork.value,
|
||||
// FutureWorkReason: futureWorkReason.value,
|
||||
// }
|
||||
// createResult(data)
|
||||
// }
|
||||
|
||||
const createResult = async () => {
|
||||
const data = {
|
||||
RetirementResignId: dataId.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue