[update] 企标计划和企标临时权限设置联调
This commit is contained in:
@@ -20,14 +20,16 @@
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('enterpriseStandardLibrary.standard.authorizationUser')">
|
||||
<user-selection
|
||||
type="checkbox"
|
||||
v-decorator.trim="[ 'userIds', validatorRules.userIds]"
|
||||
:nameStr="model.userNames"
|
||||
:placeholder="$t('pleaseSelect') + $t('enterpriseStandardLibrary.standard.authorizationUser')"
|
||||
@nameChange="userSelectNameChange">
|
||||
</user-selection>
|
||||
</a-form-item>
|
||||
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('enterpriseStandardLibrary.standard.maturityDate')">
|
||||
<a-date-picker
|
||||
v-decorator.trim="[ 'maturityDate', validatorRules.maturityDate]"
|
||||
v-decorator.trim="[ 'authDate', validatorRules.authDate]"
|
||||
format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD"
|
||||
>
|
||||
@@ -47,7 +49,7 @@ export default {
|
||||
components: { UserSelection },
|
||||
data () {
|
||||
return {
|
||||
title: '',
|
||||
title: this.$t('enterpriseStandardLibrary.standard.temporaryPermissionSet'),
|
||||
visible: false,
|
||||
confirmLoading: false,
|
||||
form: this.$form.createForm(this),
|
||||
@@ -100,7 +102,7 @@ export default {
|
||||
if (!err) {
|
||||
this.confirmLoading = true
|
||||
const param = Object.assign({}, values)
|
||||
param.standards = this.model.standards
|
||||
param.standardNos = this.model.standards
|
||||
temporaryPermissionSet(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
|
||||
Reference in New Issue
Block a user