แก้ลูกจ้าง
This commit is contained in:
parent
aa65b8165d
commit
7d75535d15
25 changed files with 942 additions and 892 deletions
|
|
@ -16,6 +16,7 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
* use
|
||||
*/
|
||||
const $q = useQuasar();
|
||||
const link = ref<string>('')
|
||||
const store = useRequestEditStore();
|
||||
const dataStore = useDataStore();
|
||||
const { dialogConfirm, showLoader, hideLoader, messageError, success } =
|
||||
|
|
@ -55,7 +56,7 @@ function onSubmit() {
|
|||
async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.post(config.API.requestsEditByType(dataStore.officerLink), {
|
||||
.post(config.API.requestsEditByType(link.value), {
|
||||
topic: formData.topic,
|
||||
detail: formData.detail,
|
||||
[dataStore.officerType === "OFFICER"
|
||||
|
|
@ -191,8 +192,9 @@ function onInfo(val: string) {
|
|||
|
||||
watch(
|
||||
() => modal.value,
|
||||
() => {
|
||||
async () => {
|
||||
modal.value && fetchProfile();
|
||||
link.value = await dataStore.getProFileType();
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue