fix bug
This commit is contained in:
parent
eedddc19ae
commit
7973c2434c
4 changed files with 6 additions and 7 deletions
|
|
@ -52,7 +52,7 @@ const filter = ref<string>("");
|
|||
const isAll = ref<boolean>(false);
|
||||
const isBlank = ref<boolean>(false);
|
||||
const posMasterMain = ref<any>([]);
|
||||
const positionNo = ref<DataPositionNo[]>();
|
||||
const positionNo = ref<DataPositionNo[]>([]);
|
||||
const itemTaps = ref<string[]>();
|
||||
const filters = ref<string>("");
|
||||
const positionId = ref<string>("");
|
||||
|
|
@ -60,7 +60,7 @@ const selectedPos = ref<any[]>([]);
|
|||
const seletcId = ref<string>("");
|
||||
const datePos = ref<Date>(new Date());
|
||||
const rowsPosition = ref<Positions[]>([]);
|
||||
const positionData = ref<any>();
|
||||
const positionData = ref<any[]>([]);
|
||||
/** active form */
|
||||
const formActive = reactive<FormActive>({
|
||||
activeId: "",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
import { useQuasar } from "quasar";
|
||||
import { ref, watch, reactive } from "vue";
|
||||
import type { QTableProps } from "quasar";
|
||||
import CardPosition from "@/modules/05_placement/components/PersonalList/CardPosition.vue";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
||||
|
|
@ -48,7 +47,7 @@ const orgRevisionId = ref<string>("");
|
|||
const filter = ref<string>("");
|
||||
const isAll = ref<boolean>(false);
|
||||
const isBlank = ref<boolean>(false);
|
||||
const posMasterMain = ref<any>([]);
|
||||
const posMasterMain = ref<any[]>([]);
|
||||
const positionNo = ref<DataPositionNo[]>();
|
||||
const itemTaps = ref<string[]>();
|
||||
const filters = ref<string>("");
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const selected = defineModel("selectedPos", { required: true });
|
|||
const positionId = defineModel<string>("positionId", { required: true });
|
||||
const seletcId = defineModel<string>("seletcId", { required: true });
|
||||
const date = defineModel<Date>("datePos", { required: true });
|
||||
const positionData = defineModel<any>("position", { required: true });
|
||||
const positionData = defineModel<any[]>("position", { required: true });
|
||||
const isAll = defineModel<boolean>("isAll", { required: true });
|
||||
const isBlank = defineModel<boolean>("isBlank", { required: true });
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const positionId = ref<string>("");
|
|||
const seletcId = ref<string>("");
|
||||
const selectedPos = ref<any[]>([]);
|
||||
const datePos = ref<Date>(new Date());
|
||||
const posMasterMain = ref<any>([]);
|
||||
const posMasterMain = ref<any[]>([]);
|
||||
const orgRevisionId = ref<string>("");
|
||||
|
||||
/** function เรียกข้อมูลโครงสร้าง แบบปัจุบันและ แบบร่าง*/
|
||||
|
|
@ -448,7 +448,7 @@ watch(
|
|||
:name="item"
|
||||
>
|
||||
<CardPosition
|
||||
v-model:position="positionNo"
|
||||
v-model:position="positionNo as []"
|
||||
v-model:selectedPos="selectedPos"
|
||||
v-model:datePos="datePos"
|
||||
v-model:positionId="positionId"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue