|
@@ -42,7 +42,7 @@
|
|
|
eventId: ''
|
|
|
},
|
|
|
officeList: [
|
|
|
- '工程一部','工程二部','工程三部','工程四部','工程五部','其他'
|
|
|
+ '工程一部','工程二部','工程三部','工程四部','工程五部','招标代理部','其他'
|
|
|
],
|
|
|
officeIndex: -1
|
|
|
};
|
|
@@ -60,7 +60,7 @@
|
|
|
{name:"name", checkType : "notnull", checkRule:"", errorMsg:"姓名不能为空"},
|
|
|
{name:"officeName", checkType : "notnull", checkRule:"", errorMsg:"部门不能为空"},
|
|
|
{name:"phone", checkType : "notnull", checkRule:"", errorMsg:"电话号码不能为空"},
|
|
|
- {name:"phone", checkType : "isMobile", checkRule:"", errorMsg:"电话号码格式不正确"}
|
|
|
+ {name:"phone", checkType : "isMobileNumber", checkRule:"", errorMsg:"电话号码格式不正确"}
|
|
|
];
|
|
|
//进行表单检查
|
|
|
var formData = this.inputForm;
|