|
@@ -157,12 +157,12 @@
|
|
|
</a-col>
|
|
|
<a-col :span="8 ">
|
|
|
<a-form-item label="签字图片" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
- <j-upload v-decorator="['signature', validatorRules.signature]" :trigger-change="true" :disabled="show"></j-upload>
|
|
|
+ <j-upload v-decorator="['signature', validatorRules.signature]" fileType="image" :trigger-change="true" :disabled="show"></j-upload>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="8 ">
|
|
|
<a-form-item label="附件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
- <j-upload v-decorator="['attachment', validatorRules.attachment]" :trigger-change="true" :disabled="show"></j-upload>
|
|
|
+ <j-upload v-decorator="['attachment', validatorRules.attachment]" fileType="file" :trigger-change="true" :disabled="show"></j-upload>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -482,19 +482,19 @@
|
|
|
if (new RegExp(/^1[3|4|5|7|8|9][0-9]\d{8}$/).test(value)) {
|
|
|
// update-end--Author:kangxiaolin Date:20190826 for:[05] 手机号不支持199号码段--------------------
|
|
|
|
|
|
- var params = {
|
|
|
- tableName: 'sys_user',
|
|
|
- fieldName: 'phone',
|
|
|
- fieldVal: value,
|
|
|
- dataId: this.userId
|
|
|
- }
|
|
|
- duplicateCheck(params).then(res => {
|
|
|
- if (res.success) {
|
|
|
- callback()
|
|
|
- } else {
|
|
|
- callback('手机号已存在!')
|
|
|
- }
|
|
|
- })
|
|
|
+ // var params = {
|
|
|
+ // tableName: 'sys_user',
|
|
|
+ // fieldName: 'phone',
|
|
|
+ // fieldVal: value,
|
|
|
+ // dataId: this.userId
|
|
|
+ // }
|
|
|
+ // duplicateCheck(params).then(res => {
|
|
|
+ // if (res.success) {
|
|
|
+ // callback()
|
|
|
+ // } else {
|
|
|
+ // callback('手机号已存在!')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
} else {
|
|
|
callback('请输入正确格式的手机号码!')
|
|
|
}
|