|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <a-modal :width="1150" :dialogStyle="dialogStyle" title="员工信息" :visible="visible" @ok="handleSubmit()"
|
|
|
|
|
|
+ <a-modal :width="1380" :dialogStyle="dialogStyle" title="员工信息" :visible="visible" @ok="handleSubmit()"
|
|
@cancel="handleCancel" cancelText="关闭">
|
|
@cancel="handleCancel" cancelText="关闭">
|
|
|
|
|
|
<template slot="title">
|
|
<template slot="title">
|
|
@@ -26,13 +26,13 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-form-item label="英文名" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="英文名" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
- <a-input :maxLength="10" placeholder="请输入英文名" v-decorator="[ 'egName', validatorRules.egName]" />
|
|
|
|
|
|
+ <a-input :maxLength="10" placeholder="请输入英文名" v-decorator="[ 'egName', validatorRules.egName]" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
- <a-input :maxLength="30" placeholder="请输入邮箱" v-decorator="[ 'email', validatorRules.email]" />
|
|
|
|
|
|
+ <a-input :disabled="isEdit" :maxLength="30" placeholder="请输入邮箱" v-decorator="[ 'email', validatorRules.email]" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
@@ -235,7 +235,7 @@
|
|
<a-row>
|
|
<a-row>
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-form-item label="是否打卡" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="是否打卡" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
- <a-select v-decorator="[ 'isAttendance', {initialValue:'0'}]" placeholder="请选择"
|
|
|
|
|
|
+ <a-select @change="isAttes" v-decorator="['isAttendance',{initialValue:'0'}]" placeholder="请选择"
|
|
:getPopupContainer="(target) => target.parentNode">
|
|
:getPopupContainer="(target) => target.parentNode">
|
|
<a-select-option value="0">是</a-select-option>
|
|
<a-select-option value="0">是</a-select-option>
|
|
<a-select-option value="1">否</a-select-option>
|
|
<a-select-option value="1">否</a-select-option>
|
|
@@ -243,7 +243,7 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
|
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :md="6" :sm="8" :lg="8">
|
|
|
|
|
|
+ <a-col :md="6" :sm="8" :lg="8" v-if="isAttendance=='0'||isAttendance==0">
|
|
<a-form-item label="上班类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="上班类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<j-dict-select-tag v-decorator="['type', {initialValue:2,rules: [{ required: true, message: '请选择类型'}]}]" :triggerChange="true" placeholder="请选择上班类型"
|
|
<j-dict-select-tag v-decorator="['type', {initialValue:2,rules: [{ required: true, message: '请选择类型'}]}]" :triggerChange="true" placeholder="请选择上班类型"
|
|
dictCode="type" />
|
|
dictCode="type" />
|
|
@@ -262,14 +262,27 @@
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
<a-form-item label="附件上传" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-form-item label="附件上传" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-badge :count="fileLists.length" show-zero :number-style="{ backgroundColor: '#52c41a' }">
|
|
<a-badge :count="fileLists.length" show-zero :number-style="{ backgroundColor: '#52c41a' }">
|
|
- <a-button icon="search" @click="uploads()" style="width: 210px;">选择</a-button>
|
|
|
|
|
|
+ <a-button icon="search" @click="uploads()" style="width: 290px;">选择</a-button>
|
|
</a-badge>
|
|
</a-badge>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
+ <a-col :md="6" :sm="8" :lg="8">
|
|
|
|
+ <a-form-item label="合同类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
|
+ <j-dict-select-tag :disabled="isEdit" v-decorator="['contractType',{rules: [{ required: true, message: '请选择入合同类型'}]}]" :triggerChange="true" placeholder="请选择合同类型"
|
|
|
|
+ dictCode="contract_type" />
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ <a-col :md="6" :sm="8" :lg="8">
|
|
|
|
+ <a-form-item label="合同结束日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
|
+ <a-date-picker :disabled="isEdit" style="width: 100%" placeholder="请选择试合同结束日期"
|
|
|
|
+ v-model="cEndDate"
|
|
|
|
+ />
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row>
|
|
<a-row>
|
|
<a-col :lg="24">
|
|
<a-col :lg="24">
|
|
- <a-form-item style="margin-left: -195px;" label="同步信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
|
|
|
+ <a-form-item style="margin-left: -235px;" label="同步信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<j-dict-select-tag v-decorator="['infoSy', {initialValue:3}]" placeholder="请选择同步" :type="'radio'"
|
|
<j-dict-select-tag v-decorator="['infoSy', {initialValue:3}]" placeholder="请选择同步" :type="'radio'"
|
|
:triggerChange="true" dictCode="info_sy" />
|
|
:triggerChange="true" dictCode="info_sy" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -277,7 +290,7 @@
|
|
</a-row>
|
|
</a-row>
|
|
<a-row>
|
|
<a-row>
|
|
<a-col :md="6" :sm="8" :lg="24">
|
|
<a-col :md="6" :sm="8" :lg="24">
|
|
- <a-form-item style="margin-left: -195px;" label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
|
|
|
+ <a-form-item style="margin-left: -240px;" label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
<a-textarea :maxLength="255" placeholder="请输备注" v-decorator="[ 'remarks', {}]" style="height: 100px;"/>
|
|
<a-textarea :maxLength="255" placeholder="请输备注" v-decorator="[ 'remarks', {}]" style="height: 100px;"/>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -358,7 +371,9 @@
|
|
drawerWidth: 700,
|
|
drawerWidth: 700,
|
|
titles: "新增员工",
|
|
titles: "新增员工",
|
|
visibles: false,
|
|
visibles: false,
|
|
|
|
+ isEdit:false,
|
|
personType: false,
|
|
personType: false,
|
|
|
|
+ cEndDate:null,
|
|
dataSources: [],
|
|
dataSources: [],
|
|
modaltoggleFlag: true,
|
|
modaltoggleFlag: true,
|
|
moth: 0,
|
|
moth: 0,
|
|
@@ -371,9 +386,9 @@
|
|
phone: "",
|
|
phone: "",
|
|
isSalary: "0",
|
|
isSalary: "0",
|
|
wagesBase:"",
|
|
wagesBase:"",
|
|
- workMoth:"",
|
|
|
|
|
|
+ workMoth:0,
|
|
email: "",
|
|
email: "",
|
|
- isAttendance: "0",
|
|
|
|
|
|
+ isAttendance:"0",
|
|
zwName: "",
|
|
zwName: "",
|
|
zwCode: "",
|
|
zwCode: "",
|
|
urgentPhone:"",
|
|
urgentPhone:"",
|
|
@@ -544,7 +559,8 @@
|
|
xzupload: '/sys/common/static',
|
|
xzupload: '/sys/common/static',
|
|
sysFile: '/sysFile/sysFile/queryByUserId',
|
|
sysFile: '/sysFile/sysFile/queryByUserId',
|
|
delSysFile: '/sysFile/sysFile/deleteById',
|
|
delSysFile: '/sysFile/sysFile/deleteById',
|
|
- post: '/sys/position/listByDept'
|
|
|
|
|
|
+ post: '/sys/position/listByDept',
|
|
|
|
+ emails:'/sys/user/emails'
|
|
},
|
|
},
|
|
identity: "1",
|
|
identity: "1",
|
|
fileList: [],
|
|
fileList: [],
|
|
@@ -586,6 +602,14 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ isAttes(e){
|
|
|
|
+ this.isAttendance=e;
|
|
|
|
+ if(e==0){
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ type: 2
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
zwOk() {
|
|
zwOk() {
|
|
console.log(this.selectedRowKeys)
|
|
console.log(this.selectedRowKeys)
|
|
if (this.selectionRows != null && this.selectionRows.length > 0) {
|
|
if (this.selectionRows != null && this.selectionRows.length > 0) {
|
|
@@ -820,26 +844,30 @@
|
|
this.zwName = "";
|
|
this.zwName = "";
|
|
this.selectedRowKeys = [];
|
|
this.selectedRowKeys = [];
|
|
this.selectionRows = [];
|
|
this.selectionRows = [];
|
|
|
|
+ this.isEdit=false;
|
|
},
|
|
},
|
|
add() {
|
|
add() {
|
|
this.picUrl = "";
|
|
this.picUrl = "";
|
|
this.refresh();
|
|
this.refresh();
|
|
-
|
|
|
|
|
|
+
|
|
this.edit({
|
|
this.edit({
|
|
activitiSync: '1'
|
|
activitiSync: '1'
|
|
});
|
|
});
|
|
- var date = new Date();
|
|
|
|
- date.setMonth(date.getMonth() + 6)
|
|
|
|
- this.wkEndDate = moment(date).subtract(1, "days");
|
|
|
|
- this.wkMoth = 6;
|
|
|
|
- this.wkDate = new Date();
|
|
|
|
|
|
+ var date = new Date();
|
|
|
|
+ date.setMonth(date.getMonth() + 6)
|
|
|
|
+ this.wkEndDate = moment(date).subtract(1, "days");
|
|
|
|
+ this.wkMoth = 6;
|
|
|
|
+ this.wkDate = new Date();
|
|
},
|
|
},
|
|
edit(record) {
|
|
edit(record) {
|
|
|
|
+ var da=new Date();
|
|
|
|
+ da.setFullYear(da.getFullYear()+3)
|
|
|
|
+ this.cEndDate=moment(da).subtract(1, "days");
|
|
|
|
+
|
|
this.realname = record.realname;
|
|
this.realname = record.realname;
|
|
this.egName = record.egName;
|
|
this.egName = record.egName;
|
|
this.syFund=record.syFund;
|
|
this.syFund=record.syFund;
|
|
this.urgentPhone=record.urgentPhone;
|
|
this.urgentPhone=record.urgentPhone;
|
|
- this.workMoth=record.workMoth;
|
|
|
|
this.wagesBase=record.wagesBase;
|
|
this.wagesBase=record.wagesBase;
|
|
this.resetScreenSize(); // 调用此方法,根据屏幕宽度自适应调整抽屉的宽度
|
|
this.resetScreenSize(); // 调用此方法,根据屏幕宽度自适应调整抽屉的宽度
|
|
let that = this;
|
|
let that = this;
|
|
@@ -862,20 +890,29 @@
|
|
}
|
|
}
|
|
if (record.entryDate != null) {
|
|
if (record.entryDate != null) {
|
|
this.moth = this.countMoth(record.entryDate)
|
|
this.moth = this.countMoth(record.entryDate)
|
|
|
|
+ }if(record.cendDate!=null){
|
|
|
|
+ var d=new Date(record.cendDate)
|
|
|
|
+ this.cEndDate=moment(d).format('YYYY-MM-DD');
|
|
|
|
+ }if(record.isAttendance!=null&& record.isAttendance != ""){
|
|
|
|
+ this.isAttendance=record.isAttendance;
|
|
|
|
+ }if(record.workMoth!=null&&record.workMoth!=""){
|
|
|
|
+ this.workMoth=record.workMoth - 0+this.moth - 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
that.visible = true;
|
|
that.visible = true;
|
|
that.model = Object.assign({}, record);
|
|
that.model = Object.assign({}, record);
|
|
this.zwCode = record.post;
|
|
this.zwCode = record.post;
|
|
this.zwName = record.post_dictText;
|
|
this.zwName = record.post_dictText;
|
|
this.wkDate = record.entryDate;
|
|
this.wkDate = record.entryDate;
|
|
this.wkMoth = record.trialMoth - 0;
|
|
this.wkMoth = record.trialMoth - 0;
|
|
|
|
+
|
|
that.$nextTick(() => {
|
|
that.$nextTick(() => {
|
|
that.form.setFieldsValue(pick(this.model, 'sex', 'email', 'phone', 'urgentName', 'urgentPhone',
|
|
that.form.setFieldsValue(pick(this.model, 'sex', 'email', 'phone', 'urgentName', 'urgentPhone',
|
|
'bankAddr', 'bankCard', 'realname', 'egName', 'age', 'sfzCode', 'isAttendance', 'remarks', 'addr',
|
|
'bankAddr', 'bankCard', 'realname', 'egName', 'age', 'sfzCode', 'isAttendance', 'remarks', 'addr',
|
|
'nationality', 'trialMoth', 'entryDate', 'trialEndDate', 'workMoth', 'divisionMoth',
|
|
'nationality', 'trialMoth', 'entryDate', 'trialEndDate', 'workMoth', 'divisionMoth',
|
|
'infoSy', 'syFund', 'category', 'employmentStatus', 'wagesOne', 'wagesTwo', 'security', 'wagesBase',
|
|
'infoSy', 'syFund', 'category', 'employmentStatus', 'wagesOne', 'wagesTwo', 'security', 'wagesBase',
|
|
'homeAddr', 'education', 'school', 'contractDate', 'contractDate2', 'type', 'contractDate3',
|
|
'homeAddr', 'education', 'school', 'contractDate', 'contractDate2', 'type', 'contractDate3',
|
|
- 'shareDept'))
|
|
|
|
|
|
+ 'shareDept','contractType'))
|
|
});
|
|
});
|
|
//身份为上级显示负责部门,否则不显示
|
|
//身份为上级显示负责部门,否则不显示
|
|
if (this.model.userIdentity == "2") {
|
|
if (this.model.userIdentity == "2") {
|
|
@@ -895,6 +932,7 @@
|
|
|
|
|
|
if (record.id != null && record.id != "") {
|
|
if (record.id != null && record.id != "") {
|
|
this.userId = record.id;
|
|
this.userId = record.id;
|
|
|
|
+ this.isEdit=true;
|
|
this.queryFiles(record.id)
|
|
this.queryFiles(record.id)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -975,6 +1013,8 @@
|
|
this.urgentPhone="";
|
|
this.urgentPhone="";
|
|
this.wagesBase="";
|
|
this.wagesBase="";
|
|
this.age="";
|
|
this.age="";
|
|
|
|
+ this.workMoth=0;
|
|
|
|
+ this.moth=0;
|
|
},
|
|
},
|
|
moment,
|
|
moment,
|
|
handleSubmit() {
|
|
handleSubmit() {
|
|
@@ -1010,6 +1050,8 @@
|
|
}
|
|
}
|
|
if (formData.trialEndDate != null) {
|
|
if (formData.trialEndDate != null) {
|
|
formData.trialEndDate = moment(formData.trialEndDate).format('YYYY-MM-DD');
|
|
formData.trialEndDate = moment(formData.trialEndDate).format('YYYY-MM-DD');
|
|
|
|
+ }if(formData.isAttendance==1||formData.isAttendance=='1'){
|
|
|
|
+ formData.type="";
|
|
}
|
|
}
|
|
formData.post = this.zwCode;
|
|
formData.post = this.zwCode;
|
|
//formData.selectedroles = this.selectedRole.length>0?this.selectedRole.join(","):'';
|
|
//formData.selectedroles = this.selectedRole.length>0?this.selectedRole.join(","):'';
|
|
@@ -1022,6 +1064,8 @@
|
|
formData.urgentPhone=this.urgentPhone;
|
|
formData.urgentPhone=this.urgentPhone;
|
|
formData.wagesBase=this.wagesBase;
|
|
formData.wagesBase=this.wagesBase;
|
|
formData.age=this.age;
|
|
formData.age=this.age;
|
|
|
|
+ formData.cEndDate=this.cEndDate;
|
|
|
|
+
|
|
//如果是上级择传入departIds,否则为空
|
|
//如果是上级择传入departIds,否则为空
|
|
// if (this.identity === "2") {
|
|
// if (this.identity === "2") {
|
|
// formData.departIds = this.departIds.join(",");
|
|
// formData.departIds = this.departIds.join(",");
|
|
@@ -1070,9 +1114,22 @@
|
|
if (this.egName != null && this.egName != "") {
|
|
if (this.egName != null && this.egName != "") {
|
|
var emil = "@gksports.com.cn";
|
|
var emil = "@gksports.com.cn";
|
|
var name = py.chineseToPinYin(value.substr(0, 1))
|
|
var name = py.chineseToPinYin(value.substr(0, 1))
|
|
- this.form.setFieldsValue({
|
|
|
|
- email: this.egName + "." + name + emil
|
|
|
|
|
|
+ var emils=this.egName + "." + name + emil;
|
|
|
|
+ getAction(this.url.emails, {
|
|
|
|
+ email:emils,
|
|
|
|
+ userid:this.userId
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if(res!=null&&res!=""){
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ email: res
|
|
|
|
+ })
|
|
|
|
+ }else{
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ email: emils
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
+
|
|
}
|
|
}
|
|
callback()
|
|
callback()
|
|
}
|
|
}
|
|
@@ -1121,6 +1178,9 @@
|
|
callback()
|
|
callback()
|
|
} else {
|
|
} else {
|
|
var date = new Date(value);
|
|
var date = new Date(value);
|
|
|
|
+ var da=new Date(value);
|
|
|
|
+ da.setFullYear(da.getFullYear()+3)
|
|
|
|
+ this.cEndDate=moment(da).subtract(1, "days");
|
|
this.wkDate = value;
|
|
this.wkDate = value;
|
|
this.moth = this.countMoth(value);
|
|
this.moth = this.countMoth(value);
|
|
console.log(this.wkMoth)
|
|
console.log(this.wkMoth)
|
|
@@ -1172,9 +1232,23 @@
|
|
if (this.realname != null && this.realname != "") {
|
|
if (this.realname != null && this.realname != "") {
|
|
var emil = "@gksports.com.cn";
|
|
var emil = "@gksports.com.cn";
|
|
var name = py.chineseToPinYin(this.realname.substr(0, 1))
|
|
var name = py.chineseToPinYin(this.realname.substr(0, 1))
|
|
- this.form.setFieldsValue({
|
|
|
|
- email: this.egName + "." + name + emil
|
|
|
|
|
|
+ var emils=this.egName + "." + name + emil;
|
|
|
|
+ getAction(this.url.emails, {
|
|
|
|
+ email:emils,
|
|
|
|
+ userid:this.userId
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if(res!=null&&res!=""){
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ email: res
|
|
|
|
+ })
|
|
|
|
+ }else{
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ email: emils
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
})
|
|
})
|
|
|
|
+
|
|
}
|
|
}
|
|
callback()
|
|
callback()
|
|
}
|
|
}
|
|
@@ -1183,15 +1257,9 @@
|
|
if (!value) {
|
|
if (!value) {
|
|
callback()
|
|
callback()
|
|
} else {
|
|
} else {
|
|
-
|
|
|
|
this.form.setFieldsValue({
|
|
this.form.setFieldsValue({
|
|
syFund: value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')
|
|
syFund: value.replace(/[^\d.]/g, '').replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '')
|
|
})
|
|
})
|
|
- /* else{
|
|
|
|
- if (value.length != 9 && value.length != 12) {
|
|
|
|
- callback('请输入正确格式的公积金账号');
|
|
|
|
- }
|
|
|
|
- } */
|
|
|
|
callback()
|
|
callback()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1249,19 +1317,17 @@
|
|
if (new RegExp(
|
|
if (new RegExp(
|
|
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
|
|
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
|
|
).test(value)) {
|
|
).test(value)) {
|
|
- var params = {
|
|
|
|
- tableName: 'sys_user',
|
|
|
|
- fieldName: 'email',
|
|
|
|
- fieldVal: value,
|
|
|
|
- dataId: this.userId
|
|
|
|
- };
|
|
|
|
- duplicateCheck(params).then((res) => {
|
|
|
|
- if (res.success) {
|
|
|
|
- callback()
|
|
|
|
- } else {
|
|
|
|
- callback("邮箱已存在!")
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
|
|
+ /* getAction(this.url.emails, {
|
|
|
|
+ email:value,
|
|
|
|
+ userid:this.userId
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if(res!=null&&res!=""){
|
|
|
|
+ this.form.setFieldsValue({
|
|
|
|
+ email: res
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }) */
|
|
|
|
+ callback()
|
|
} else {
|
|
} else {
|
|
callback("请输入正确格式的邮箱!")
|
|
callback("请输入正确格式的邮箱!")
|
|
}
|
|
}
|