เพิ่มแสดงผลทดลองงาน
This commit is contained in:
parent
f73184531e
commit
6a2412ce9f
6 changed files with 399 additions and 2925 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { ref } from "vue";
|
||||
import { reactive, ref } from "vue";
|
||||
|
||||
export const useProbationDataStore = defineStore("probationStore", () => {
|
||||
const assign = ref<any>([])
|
||||
|
|
@ -9,6 +9,7 @@ export const useProbationDataStore = defineStore("probationStore", () => {
|
|||
|
||||
const assignOutput = ref<any>([])
|
||||
const director = ref<any>([])
|
||||
const person = ref<any>([])
|
||||
|
||||
const fecthdataAssign = async (data: any) => {
|
||||
assign.value = await data.assign
|
||||
|
|
@ -18,6 +19,7 @@ export const useProbationDataStore = defineStore("probationStore", () => {
|
|||
const fecthAssignoutput = (data: any) => {
|
||||
assignOutput.value = data.assign_output
|
||||
director.value = data.director
|
||||
person.value = data.person
|
||||
}
|
||||
|
||||
const ratingColors = ref<string[]>([
|
||||
|
|
@ -88,6 +90,7 @@ export const useProbationDataStore = defineStore("probationStore", () => {
|
|||
tabs,
|
||||
assignOutput,
|
||||
director,
|
||||
person,
|
||||
mainTab,
|
||||
ratingColors,
|
||||
orderId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue