ระบบทดลองงาน change field
This commit is contained in:
parent
ed9de52200
commit
7de96b1286
3 changed files with 18 additions and 18 deletions
|
|
@ -67,15 +67,15 @@ const learn_level = ref<number>(0);
|
|||
const apply_level = ref<number>(0);
|
||||
const success_level = ref<number>(0);
|
||||
const etc = ref<any>(false);
|
||||
const achievement_other = ref<any>([{ text: "", level: 0 }]);
|
||||
const achievement_other = ref<any>({ text: "", level: 0 });
|
||||
// part 2
|
||||
const conduct_level = ref<any>([]);
|
||||
const moral_level = ref<any>([]);
|
||||
const discipline_level = ref<any>([]);
|
||||
const etc2 = ref<any>(false); // checkBox 2.4
|
||||
const behavio_orther = ref<any>([{ text: "", level: 0 }]);
|
||||
const behavio_orther = ref<any>({ text: "", level: 0 });
|
||||
const behavio_strength_desc = ref<string>("");
|
||||
const behavio_inprove_desc = ref<string>("");
|
||||
const behavior_improve_desc = ref<string>("");
|
||||
// part 3
|
||||
const orientation = ref<num>(null);
|
||||
const self_learning = ref<any>(null);
|
||||
|
|
@ -106,7 +106,7 @@ const savaForm = () => {
|
|||
moral_level.value.length < 3 ||
|
||||
discipline_level.value.length < 5 ||
|
||||
behavio_strength_desc.value === "" ||
|
||||
behavio_inprove_desc.value === "" ||
|
||||
behavior_improve_desc.value === "" ||
|
||||
orientation.value === null ||
|
||||
self_learning.value === null ||
|
||||
training_seminar.value === null
|
||||
|
|
@ -154,7 +154,7 @@ const putformData = () => {
|
|||
discipline5_level: discipline_level.value[4],
|
||||
behavio_orther: behavio_orther.value,
|
||||
behavio_strength_desc: behavio_strength_desc.value,
|
||||
behavio_inprove_desc: behavio_inprove_desc.value,
|
||||
behavior_improve_desc: behavior_improve_desc.value,
|
||||
orientation: Number(orientation.value),
|
||||
self_learning: Number(self_learning.value),
|
||||
training_seminar: Number(training_seminar.value),
|
||||
|
|
@ -755,7 +755,7 @@ const putformData = () => {
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
v-model="behavio_inprove_desc"
|
||||
v-model="behavior_improve_desc"
|
||||
class="col-xs-12 col-sm-11 col-md-10 offset-md-1"
|
||||
lazy-rules
|
||||
type="textarea"
|
||||
|
|
|
|||
|
|
@ -64,13 +64,13 @@ const learn_level = ref<number>(0);
|
|||
const apply_level = ref<number>(0);
|
||||
const success_level = ref<number>(0);
|
||||
const etc = ref<any>(false);
|
||||
const achievement_other = ref<any>([{ text: "", level: 0 }]);
|
||||
const achievement_other = ref<any>({ text: "", level: 0 });
|
||||
// part 2
|
||||
const conduct_level = ref<any>([]);
|
||||
const moral_level = ref<any>([]);
|
||||
const discipline_level = ref<any>([]);
|
||||
const etc2 = ref<any>(false); // checkBox 2.4
|
||||
const behavio_orther = ref<any>([{ text: "", level: 0 }]);
|
||||
const behavio_orther = ref<any>({ text: "", level: 0 });
|
||||
|
||||
// part 3
|
||||
const orientation = ref<number>(null);
|
||||
|
|
|
|||
|
|
@ -99,21 +99,21 @@ const learn_level = ref<number>(0);
|
|||
const apply_level = ref<number>(0);
|
||||
const success_level = ref<number>(0);
|
||||
const etc = ref<any>(false); // checkBox 1.8
|
||||
const achievement_other = ref<any>([{ text: "", level: 0 }]);
|
||||
const achievement_other = ref<any>({ text: "", level: 0 });
|
||||
// const etc_text = ref<string>("");
|
||||
// const ext_value = ref<number>(0);
|
||||
const achievement_strength_desc = ref<string>("");
|
||||
const achievement_inprove_desc = ref<string>("");
|
||||
const achievement_improve_desc = ref<string>("");
|
||||
// part 2
|
||||
const conduct_level = ref<any>([]);
|
||||
const moral_level = ref<any>([]);
|
||||
const discipline_level = ref<any>([]);
|
||||
const etc2 = ref<any>(false); // checkBox 2.4
|
||||
const behavio_orther = ref<any>([{ text: "", level: 0 }]);
|
||||
const behavio_orther = ref<any>({ text: "", level: 0 });
|
||||
// const etc_text2 = ref<string>("");
|
||||
// const ext_value2 = ref<number>(0);
|
||||
const behavio_strength_desc = ref<string>("");
|
||||
const behavio_inprove_desc = ref<string>("");
|
||||
const behavior_improve_desc = ref<string>("");
|
||||
// part 3
|
||||
const orientation = ref<nu>(null);
|
||||
const self_learning = ref<any>(null);
|
||||
|
|
@ -168,12 +168,12 @@ const savaForm = () => {
|
|||
apply_level.value === 0 ||
|
||||
success_level.value === 0 ||
|
||||
achievement_strength_desc.value === "" ||
|
||||
achievement_inprove_desc.value === "" ||
|
||||
achievement_improve_desc.value === "" ||
|
||||
conduct_level.value.length < 4 ||
|
||||
moral_level.value.length < 3 ||
|
||||
discipline_level.value.length < 5 ||
|
||||
behavio_strength_desc.value === "" ||
|
||||
behavio_inprove_desc.value === "" ||
|
||||
behavior_improve_desc.value === "" ||
|
||||
orientation.value === null ||
|
||||
self_learning.value === null ||
|
||||
training_seminar.value === null
|
||||
|
|
@ -212,7 +212,7 @@ const putformData = () => {
|
|||
// achievement_other_desc: etc_text.value,
|
||||
// achievement_other_level: ext_value.value,
|
||||
achievement_strength_desc: achievement_strength_desc.value,
|
||||
achievement_inprove_desc: achievement_inprove_desc.value,
|
||||
achievement_improve_desc: achievement_improve_desc.value,
|
||||
conduct1_level: conduct_level.value[0],
|
||||
conduct2_level: conduct_level.value[1],
|
||||
conduct3_level: conduct_level.value[2],
|
||||
|
|
@ -229,7 +229,7 @@ const putformData = () => {
|
|||
// behavio_orther_level: ext_value2.value,
|
||||
behavio_orther: behavio_orther.value,
|
||||
behavio_strength_desc: behavio_strength_desc.value,
|
||||
behavio_inprove_desc: behavio_inprove_desc.value,
|
||||
behavior_improve_desc: behavior_improve_desc.value,
|
||||
orientation: Number(orientation.value),
|
||||
self_learning: Number(self_learning.value),
|
||||
training_seminar: Number(training_seminar.value),
|
||||
|
|
@ -728,7 +728,7 @@ const putformData = () => {
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
v-model="achievement_inprove_desc"
|
||||
v-model="achievement_improve_desc"
|
||||
class="col-xs-12 col-sm-11 col-md-10 offset-md-1"
|
||||
lazy-rules
|
||||
type="textarea"
|
||||
|
|
@ -984,7 +984,7 @@ const putformData = () => {
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
v-model="behavio_inprove_desc"
|
||||
v-model="behavior_improve_desc"
|
||||
class="col-xs-12 col-sm-11 col-md-10 offset-md-1"
|
||||
lazy-rules
|
||||
type="textarea"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue