|
@@ -269,6 +269,9 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="入职时间" prop="phone">
|
|
|
+ <el-date-picker v-model="insertForm.inductionDate" value-format="yyyy-MM-dd"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="岗位职级" prop="phone">
|
|
|
<el-input v-model="insertForm.position" placeholder="请输入岗位职级别" clearable></el-input>
|
|
|
</el-form-item>
|
|
@@ -515,6 +518,7 @@
|
|
|
departmentId: null,
|
|
|
salaryType:0,
|
|
|
costApplyDate: '2021-04-09',
|
|
|
+ inductionDate: '2021-04-09',
|
|
|
position: '',
|
|
|
certJson: []
|
|
|
},
|
|
@@ -1166,6 +1170,7 @@
|
|
|
departmentId: array.reverse(),
|
|
|
salaryType: res.data.salaryType,
|
|
|
costApplyDate: res.data.costApplyDate,
|
|
|
+ inductionDate: res.data.inductionDate,
|
|
|
position: res.data.position,
|
|
|
certJson: res.data.certList
|
|
|
};
|
|
@@ -1197,6 +1202,7 @@
|
|
|
departmentId: null,
|
|
|
salaryType:0,
|
|
|
costApplyDate: util.formatDate.format(new Date(), 'yyyy-MM-dd'),
|
|
|
+ inductionDate: util.formatDate.format(new Date(), 'yyyy-MM-dd'),
|
|
|
position: '',
|
|
|
certJson: [],
|
|
|
};
|
|
@@ -1242,8 +1248,9 @@
|
|
|
cost: this.insertForm.cost,
|
|
|
salaryType: this.insertForm.salaryType,
|
|
|
position: this.insertForm.position,
|
|
|
- certJson: JSON.stringify(this.insertForm.certJson)
|
|
|
+ certJson: JSON.stringify(this.insertForm.certJson),
|
|
|
// certJson: this.insertForm.certJson
|
|
|
+ inductionDate: this.insertForm.inductionDate
|
|
|
};
|
|
|
if (this.insertForm.id != null) {
|
|
|
form.id = this.insertForm.id;
|
|
@@ -1400,7 +1407,8 @@
|
|
|
monthCost: this.insertForm.monthCost,
|
|
|
cost: this.insertForm.cost,
|
|
|
position: this.insertForm.position,
|
|
|
- certJson: this.insertForm.certJson
|
|
|
+ certJson: this.insertForm.certJson,
|
|
|
+ inductionDate: this.insertForm.inductionDate
|
|
|
};
|
|
|
if (this.insertForm.departmentId != null) {
|
|
|
form.departmentId = this.insertForm.departmentId[this.insertForm.departmentId.length-1];
|