字段编码
This commit is contained in:
parent
be5fb84433
commit
0544efb81a
@ -265,6 +265,19 @@
|
|||||||
>{{ aitem.taskPartitionDictName }}</el-button
|
>{{ aitem.taskPartitionDictName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
label="字段编码"
|
||||||
|
:rules="rules.labelFieldInfoList.fieldCode"
|
||||||
|
:prop="`labelFieldInfoList.${index}.fieldCode`"
|
||||||
|
>
|
||||||
|
<el-input
|
||||||
|
onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')"
|
||||||
|
maxlength="50"
|
||||||
|
v-model="aitem.fieldCode"
|
||||||
|
placeholder="请输入字段编码"
|
||||||
|
style="width: 210px"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="字段备注信息" prop="fieldRemark">
|
<el-form-item label="字段备注信息" prop="fieldRemark">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 210px"
|
style="width: 210px"
|
||||||
@ -371,6 +384,15 @@
|
|||||||
>{{ form.taskPartitionDictName }}</el-button
|
>{{ form.taskPartitionDictName }}</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="字段编码" prop="fieldCode">
|
||||||
|
<el-input
|
||||||
|
maxlength="50"
|
||||||
|
onkeyup="this.value=this.value.replace(/[^a-zA-Z]/g,'')"
|
||||||
|
v-model="form.fieldCode"
|
||||||
|
placeholder="请输入字段编码"
|
||||||
|
style="width: 210px"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="字段备注信息" prop="fieldRemark">
|
<el-form-item label="字段备注信息" prop="fieldRemark">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 210px"
|
style="width: 210px"
|
||||||
@ -591,6 +613,13 @@ export default {
|
|||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
fieldCode: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请输入字段编码",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
],
|
||||||
fieldRemark: [
|
fieldRemark: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
@ -616,6 +645,13 @@ export default {
|
|||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
fieldCode: [
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: "请输入字段编码",
|
||||||
|
trigger: "blur",
|
||||||
|
},
|
||||||
|
],
|
||||||
fieldSort: [
|
fieldSort: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
@ -723,6 +759,8 @@ export default {
|
|||||||
fieldSort: undefined,
|
fieldSort: undefined,
|
||||||
taskPartitionDictName: '请选择任务细分',
|
taskPartitionDictName: '请选择任务细分',
|
||||||
taskPartitionDictId: '',
|
taskPartitionDictId: '',
|
||||||
|
fieldCode:null,
|
||||||
|
|
||||||
};
|
};
|
||||||
if (this.form.labelFieldInfoList.length == 5) {
|
if (this.form.labelFieldInfoList.length == 5) {
|
||||||
this.$message.error("最多批量添加5条");
|
this.$message.error("最多批量添加5条");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user