diff --git a/src/views/workstudy/components/MoneyPrint.vue b/src/views/workstudy/components/MoneyPrint.vue index ad94c25..6c58648 100644 --- a/src/views/workstudy/components/MoneyPrint.vue +++ b/src/views/workstudy/components/MoneyPrint.vue @@ -28,7 +28,7 @@ {{ v.idCard }} {{ v.stuDept }} {{ v.className }} - {{ v.postType == "固定岗位A" ? "A" : "B" }} + {{ v.postType == "固定岗位A" ? "A" : v.postType == "固定岗位B" ? "B" : "C" }} {{ v.familyCondition }} {{ v.workNeed }} {{ v.postType == "固定岗位A" ? v.totalTime + "天" : v.totalTime.toFixed(1) + "小时" }} diff --git a/src/views/workstudy/money/FinalAll.vue b/src/views/workstudy/money/FinalAll.vue index a9771f3..b079e2b 100644 --- a/src/views/workstudy/money/FinalAll.vue +++ b/src/views/workstudy/money/FinalAll.vue @@ -286,8 +286,8 @@ - - + @@ -321,8 +321,8 @@ - - + @@ -346,8 +346,7 @@ - + @@ -384,7 +383,7 @@ import dayjs from "dayjs"; export default { name: "Money", - dicts: ['qgzx_apply_status'], + dicts: ['qgzx_apply_status', 'qgzx_post_type'], components: { AllStuPostSelect, MoneyPrint, Treeselect, TeacherSelect }, data() { return { diff --git a/src/views/workstudy/post/apply.vue b/src/views/workstudy/post/apply.vue index 292209b..8add082 100644 --- a/src/views/workstudy/post/apply.vue +++ b/src/views/workstudy/post/apply.vue @@ -124,8 +124,8 @@ - - + @@ -252,8 +252,8 @@ - - + @@ -605,7 +605,7 @@ import { getUserProfile } from "@/api/system/user"; export default { name: "workstudy-apply", components: { Treeselect, TeacherSelect }, - dicts: ['qgzx_apply_status'], + dicts: ['qgzx_apply_status', 'qgzx_post_type'], data() { return { isEmpty, diff --git a/src/views/workstudy/workLog/stu.vue b/src/views/workstudy/workLog/stu.vue index 1a5a30d..a9a367f 100644 --- a/src/views/workstudy/workLog/stu.vue +++ b/src/views/workstudy/workLog/stu.vue @@ -315,7 +315,7 @@ export default { return; } - if (this.postType == "固定岗位B") { + if (this.postType != "固定岗位A" ) { if (sdata.workTime <= 0 || sdata.workTime > 8) { this.$message.info("请输入正确的工作时长(每天工作时长不能超过8小时)"); return;