保誠-保戶業務員媒合平台
Tomas
2023-12-25 f065760fa7df1f88747395ab4b55349ce8b2faf0
PAMapp/components/careerSelect.vue
@@ -41,7 +41,6 @@
<script lang="ts">
  import { Component , PropSync , Vue} from "vue-property-decorator";
  import * as _ from 'lodash';
  @Component
  export default class CareerSelect extends Vue {
@@ -83,7 +82,7 @@
    patchInitValue(): void{
      if(this.syncCareerSelect){
        if(_.includes(['外勤','內勤'],this.syncCareerSelect)){
        if (['外勤','內勤'].includes(this.syncCareerSelect)) {
          this.career = this.syncCareerSelect;
        }else{
          this.career = '其他';
@@ -95,8 +94,8 @@
    patchCareer(): void {
      this.showJobDrawer = false;
      this.syncCareerSelect = this.career === '其他'
                          ? _.cloneDeep(this.career_Other)
                          : _.cloneDeep(this.career);
                          ? JSON.parse(JSON.stringify(this.career_Other))
                          : JSON.parse(JSON.stringify(this.career));
    }
    get isCareerValid(): boolean {