[update] 修改bug78111
This commit is contained in:
@@ -26,7 +26,8 @@ module.exports = {
|
|||||||
standardContentOrRequirements: '标准内容或要求',
|
standardContentOrRequirements: '标准内容或要求',
|
||||||
rectificationDepartment: '整改部门',
|
rectificationDepartment: '整改部门',
|
||||||
auditContent: '稽查内容',
|
auditContent: '稽查内容',
|
||||||
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择'
|
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择',
|
||||||
|
pleaseSelectUserOrDepart: '授权部门和授权人员至少需要选择一个'
|
||||||
},
|
},
|
||||||
// 评审会记录
|
// 评审会记录
|
||||||
reviewMeeting: {
|
reviewMeeting: {
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ module.exports = {
|
|||||||
standardContentOrRequirements: '标准内容或要求',
|
standardContentOrRequirements: '标准内容或要求',
|
||||||
rectificationDepartment: '整改部门',
|
rectificationDepartment: '整改部门',
|
||||||
auditContent: '稽查内容',
|
auditContent: '稽查内容',
|
||||||
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择'
|
disabledBatchDel: '选中数据中存在没有操作权限的数据,请重新选择',
|
||||||
|
pleaseSelectUserOrDepart: '授权部门和授权人员至少需要选择一个'
|
||||||
},
|
},
|
||||||
// 评审会记录
|
// 评审会记录
|
||||||
reviewMeeting: {
|
reviewMeeting: {
|
||||||
|
|||||||
@@ -101,6 +101,10 @@ export default {
|
|||||||
if (this.confirmLoading) return
|
if (this.confirmLoading) return
|
||||||
this.form.validateFields((err, values) => {
|
this.form.validateFields((err, values) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
|
if (!values.deptIds && !values.userIds) {
|
||||||
|
this.$message.warning(this.$t('enterpriseStandardLibrary.standard.pleaseSelectUserOrDepart'))
|
||||||
|
return
|
||||||
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
const param = Object.assign({}, values)
|
const param = Object.assign({}, values)
|
||||||
param.standardIds = this.model.standards
|
param.standardIds = this.model.standards
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
<!--字段长度 key 值必须加,解决验证错位的问题-->
|
<!--字段长度 key 值必须加,解决验证错位的问题-->
|
||||||
<a-col :span="24" v-if="isLength">
|
<a-col :span="24" v-if="isLength">
|
||||||
<a-form-model-item :label="$t('system.tag.fieldLength')" prop="dbLength" key="dbLength">
|
<a-form-model-item :label="$t('system.tag.fieldLength')" prop="dbLength" key="dbLength">
|
||||||
<a-input-number v-model="form.dbLength" :min="1" :max="9999"
|
<a-input-number v-model="form.dbLength" :min="1" :max="form.fieldShowType === FieldType.TEXT_BOX.value ? 50 : 9999"
|
||||||
:placeholder="$t('pleaseEnter') + $t('system.tag.fieldLength')"
|
:placeholder="$t('pleaseEnter') + $t('system.tag.fieldLength')"
|
||||||
style="width: 100%" :formatter="limitNumber" :parser="limitNumber" />
|
style="width: 100%" :formatter="limitNumber" :parser="limitNumber" />
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -213,6 +213,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
FieldType,
|
||||||
canOpeFlag: process.env.VUE_APP_TAG_FLAG === '0', // 是否存在字段名称,开发环境存在
|
canOpeFlag: process.env.VUE_APP_TAG_FLAG === '0', // 是否存在字段名称,开发环境存在
|
||||||
visible: false,
|
visible: false,
|
||||||
title: '',
|
title: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user