|
@@ -230,7 +230,7 @@
|
230
|
230
|
</el-form-item>
|
231
|
231
|
<el-form-item label="入职年月" prop="entryDate">
|
232
|
232
|
<el-date-picker v-model="form.entryDate" type="date" placeholder="请输入入职年月" style="width:100%;"
|
233
|
|
- value-format="yyyy-MM-dd" />
|
|
233
|
+ value-format="yyyy-MM-dd" />
|
234
|
234
|
</el-form-item>
|
235
|
235
|
<el-form-item label="合同签订" prop="contractSign">
|
236
|
236
|
<el-date-picker v-model="form.contractSign" type="date" placeholder="请输入合同签订" style="width:100%;"
|
|
@@ -685,7 +685,7 @@ export default {
|
685
|
685
|
// else
|
686
|
686
|
// this.form.certificates = '';
|
687
|
687
|
this.form.certificates = this.formatArrayToString(this.form.certificates, ',') == '' ? undefined : this.formatArrayToString(this.form.certificates, ',');
|
688
|
|
- this.form.politicalAffiliation = this.formatArrayToString(this.form.politicalAffiliation, ',') ? undefined : this.formatArrayToString(this.form.politicalAffiliation, ',');
|
|
688
|
+ this.form.politicalAffiliation = this.formatArrayToString(this.form.politicalAffiliation, ',') ? this.formatArrayToString(this.form.politicalAffiliation, ',') : undefined;
|
689
|
689
|
updateUser(this.form).then(response => {
|
690
|
690
|
this.$modal.msgSuccess("修改成功");
|
691
|
691
|
this.open = false;
|
|
@@ -693,7 +693,7 @@ export default {
|
693
|
693
|
});
|
694
|
694
|
} else {
|
695
|
695
|
this.form.certificates = this.formatArrayToString(this.form.certificates, ',') == '' ? undefined : this.formatArrayToString(this.form.certificates, ',');
|
696
|
|
- this.form.politicalAffiliation = this.formatArrayToString(this.form.politicalAffiliation, ',') ? undefined : this.formatArrayToString(this.form.politicalAffiliation, ',');
|
|
696
|
+ this.form.politicalAffiliation = this.formatArrayToString(this.form.politicalAffiliation, ',') ? this.formatArrayToString(this.form.politicalAffiliation, ',') : undefined;
|
697
|
697
|
addUser(this.form).then(response => {
|
698
|
698
|
this.$modal.msgSuccess("新增成功");
|
699
|
699
|
this.open = false;
|