|
@@ -1056,25 +1056,28 @@ export default {
|
|
|
},
|
|
|
/** 加载登记人部门列表 */
|
|
|
getApplicantDeptOptions() {
|
|
|
- listDept(null).then(response => {
|
|
|
- let deptList = response.data;
|
|
|
- this.applicantDeptOptions = [];
|
|
|
- for (let i = 0; i < deptList.length; i++) {
|
|
|
- if (deptList[i].deptId == 103 || deptList[i].deptId == 10058 || deptList[i].deptId == 10042) {
|
|
|
- this.applicantDeptOptions.push({
|
|
|
- dictLabel: deptList[i].deptName,
|
|
|
- dictValue: deptList[i].deptId
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+ // listDept(null).then(response => {
|
|
|
+ // let deptList = response.data;
|
|
|
+ // this.applicantDeptOptions = [];
|
|
|
+ // for (let i = 0; i < deptList.length; i++) {
|
|
|
+ // if (deptList[i].deptId == 103 || deptList[i].deptId == 10058 || deptList[i].deptId == 10042) {
|
|
|
+ // this.applicantDeptOptions.push({
|
|
|
+ // dictLabel: deptList[i].deptName,
|
|
|
+ // dictValue: deptList[i].deptId
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ this.applicantDeptOptions.push({ dictLabel: "CBP/C", dictValue: 10 });
|
|
|
+ this.applicantDeptOptions.push({ dictLabel: "CTA/B", dictValue: 12 });
|
|
|
+ this.applicantDeptOptions.push({ dictLabel: "CTM/B", dictValue: 14 });
|
|
|
},
|
|
|
/** 部门/班组值改变事件 */
|
|
|
handleDeptOrTeamChange() {
|
|
|
this.applicantOptions = [];
|
|
|
this.form.applicant = null;
|
|
|
let applicantDept = this.form.applicantDept;
|
|
|
- if (applicantDept != '103') {
|
|
|
+ if (applicantDept != '10') {
|
|
|
this.applicantTeamDisabled = true;
|
|
|
this.form.applicantTeam = null;
|
|
|
} else {
|