[update] 企标计划和企标临时权限设置联调

This commit is contained in:
lideqin
2023-09-15 15:51:54 +08:00
parent ca69af6cfb
commit 5812d14672
10 changed files with 327 additions and 197 deletions
@@ -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)