认证管理-参数项列表-新增,编辑 编号校验修改

This commit is contained in:
zyx.net
2022-07-15 16:18:56 +08:00
parent 81f79f6d1e
commit b87288c9d1
6 changed files with 11 additions and 12 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -785,7 +785,7 @@ module.exports = {
copyParamDetailList: 'Copy Parameter List',
collectionCompletionTime: 'Collection Completion Time',
parameterTemplateName: 'Parameter Template Name',
onlyThree: 'Only letters, numbers and horizontal bars (-) can be entered',
onlyThree: 'Only letters, numbers, dashes (-), and decimal points (.) can be entered. , left slash, space six kinds of content ',
templateName: 'Template Name',
pleaseSelectData: 'Please Select Data',
templateCopy: 'Template Copy',
+1 -1
View File
@@ -800,7 +800,7 @@ module.exports = {
copyParamDetailList: '复制参数清单',
collectionCompletionTime: '收集完成时间',
parameterTemplateName: '参数模板名称',
onlyThree: '只能输入字母数字横杠-种内容',
onlyThree: '只能输入字母数字横杠-小数点.左斜杠空格六种内容',
templateName: '模板名称',
pleaseSelectData: '请选择数据',
templateCopy: '模板复制',
@@ -376,7 +376,7 @@ export default {
{ required: true, message: this.$t('PleaseEnter')+this.$t('NiONumber'), trigger: 'blur' },
{ min:1, max: 15, message: this.$t('cantExeed')+'15'+this.$t('characters'), trigger: 'blur' },
{
pattern: /^[0-9a-zA-Z-]{1,}$/,
pattern: /^[0-9a-zA-Z-/. ]{1,}$/,
message: this.$t('onlyThree'),
trigger: 'blur'
}
@@ -669,7 +669,7 @@ export default {
}
let falg = 1
this.contentList.forEach((item,index) => {
let reg = /^[0-9a-zA-Z-]{1,}$/
let reg = /^[0-9a-zA-Z-/. ]{1,}$/
// 编号的限制
if(item.paramsNumber == '' || item.paramsNumber === undefined) {
this.$message.warning(this.$t('standard')+this.$t('cannotEmpty'))
@@ -170,13 +170,11 @@ export default {
{
title: this.$t('standard'),
align: 'center',
width: '10%',
dataIndex: 'standard'
},
{
title: this.$t('title'),
align: 'center',
width: '10%',
dataIndex: 'title'
},
{
@@ -184,11 +182,11 @@ export default {
align: 'center',
dataIndex: 'status'
},
{
title: this.$t('category'),
align: 'center',
dataIndex: 'category'
},
// {
// title: this.$t('category'),
// align: 'center',
// dataIndex: 'category'
// },
{
title: this.$t('technicalField'),
align: 'center',
+1
View File
@@ -95,6 +95,7 @@ module.exports = {
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
// target: 'http://10.10.10.46:8101', //请求本地 jero-boot后台项目
// target: 'http://10.0.1.25:8080',
// target: 'http://10.0.1.5:8080',
ws: false,
changeOrigin: true
}