Browse Source

历史遗留缺少回显问题修改

wenmenghao 3 years ago
parent
commit
11caded9ab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

+ 1 - 0
src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

@@ -488,6 +488,7 @@ var vm = new Vue({
                 // 原有赋值回显逻辑
                 _this.form.oldPhone = res.info.phone ? res.info.phone : ''
                 _this.form.companyName = res.info.company ? res.info.company : ''
+                _this.form.companyType = res.data.companyType ? res.data.companyType.split(',') : []
                 if (res.info.position) {
                   if (jobJson.indexOf(res.info.position) == -1) {
                     // _this.form.job = '其他'