|
|
|
@ -30,12 +30,12 @@
|
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="12"> |
|
|
|
|
<a-form-item label="授权人" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<j-select-user-by-dep v-decorator="['authorizationPerson']"/> |
|
|
|
|
<j-select-user-by-dep v-decorator="['authorizationPerson',validatorRules.authorizationPerson]" :multi="false"/> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="12"> |
|
|
|
|
<a-form-item label="被授权人" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<j-select-user-by-dep v-decorator="['authorizedPerson',validatorRules.authorizedPerson]" /> |
|
|
|
|
<j-select-user-by-dep v-decorator="['authorizedPerson',validatorRules.authorizedPerson]" :multi="false" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="12"> |
|
|
|
@ -189,6 +189,7 @@
|
|
|
|
|
privilegedTimeEnd: {rules:[ { required: true, message: '结束时间不能为空!'}]}, |
|
|
|
|
privilegedAffirmedTime: {rules:[ { required: true, message: '授权时间不能为空!'}]}, |
|
|
|
|
authorizationNumberDays: {rules:[ { required: true, message: '授权天数不能为空!'}]}, |
|
|
|
|
authorizationPerson:{rules: [{ required: true, message: '授权人不能为空!' }]}, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -403,7 +404,6 @@
|
|
|
|
|
console.log('获取我的数据',res) |
|
|
|
|
let param={} |
|
|
|
|
param.createBy=res.username; |
|
|
|
|
param.authorizationPerson=res.username; |
|
|
|
|
param.company=company; |
|
|
|
|
param.departId=res.departIds; |
|
|
|
|
param.createTime= getCurrentTime(); |
|
|
|
|