|
|
@ -149,7 +149,7 @@ |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<!-- 月台 --> |
|
|
|
<el-form-item key="月台formItem" :label="t('ts.月台').replace('ts.','')" prop="DockCode"> |
|
|
|
<el-form-item key="月台formItem" :label="t('ts.月台').replace('ts.','')" prop="configuration.DockCode"> |
|
|
|
<el-input key="月台Value" style="flex:1" placeholder="请选择月台" v-model="formData.configuration.DockCode" @blur="blurDockCode"> |
|
|
|
<template #suffix> |
|
|
|
<el-button :disabled="formData.name=='默认规则'&&formType=='update'" type="text" plain style="color:var(--el-button-text-color)" @click="searchDockCode"> |
|
|
@ -256,7 +256,8 @@ const rules = ref({ |
|
|
|
description: [{ required: true, message: '请输入描述', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], |
|
|
|
priority: [{ required: true, message: '请输入优先级', trigger: 'blur' }], |
|
|
|
'configuration.PhoneNumber': [{ max: 11, message: '不得超过11个字符', trigger: 'blur' }, |
|
|
|
{message: '请输入正确格式的电话', trigger: 'blur' ,validator:validateHanset}] |
|
|
|
{ message: '请输入正确格式的电话', trigger: 'blur', validator: validateHanset }], |
|
|
|
'configuration.DockCode': [{ required: true, message: '请输入月台', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }] |
|
|
|
}) |
|
|
|
|
|
|
|
// 所有的范围类型 |
|
|
|