修改字段信息管理

This commit is contained in:
shidongli 2024-08-06 15:52:59 +08:00
parent 53b99cea92
commit 9e96495eb2

View File

@ -1,11 +1,10 @@
<template>
<div class="app-container" ref="layout">
<el-row :gutter="20">
<el-col :span="5" :xs="24">
<el-col :span="5">
<div class="left" ref="box">
<!-- <div :class="itemid=='' ? 'all' : 'all'" @click="allclick"> -->
<div class="all" @click="allclick">
全部
</div>
<el-collapse
@ -27,7 +26,7 @@
>
<el-table-column prop="" label="">
<template slot-scope="scope">
<div
@click="clickitem(scope.row)"
:class="itemid == scope.row.id ? 'allactive' : 'collitem'"
@ -50,7 +49,7 @@
</el-collapse>
</div>
</el-col>
<el-col :span="19" :xs="24">
<el-col :span="19">
<div ref="topform" class="form">
<el-form
:model="queryParams"
@ -157,7 +156,7 @@
prop="taskPartitionDictName"
:show-overflow-tooltip="true"
/>
<el-table-column label="字段类型" align="center" prop="fieldType">
<template slot-scope="scope">
{{ scope.row.fieldType == "STRING" ? "默认字符串" : "" }}
@ -174,7 +173,7 @@
:show-overflow-tooltip="true"
/> -->
<el-table-column
label="操作"
align="center"
@ -330,7 +329,7 @@
label="字段编码"
:rules="rules.labelFieldInfoList.fieldCode"
:prop="`labelFieldInfoList.${index}.fieldCode`"
>
<!-- <el-input
onkeyup="this.value=this.value.replace(/[^A-Z]/g,'')"
@ -339,7 +338,7 @@
placeholder="请输入字段编码"
style="width: 210px"
/> -->
<el-input
onkeyup="this.value=this.value. replace(/[^a-zA-Z]/g, '')"
@input="validateInput(aitem,index)"
@ -977,7 +976,7 @@ export default {
this.form.fieldCode = this.form.fieldCode.toUpperCase();
},
//
allclick() {
@ -991,9 +990,6 @@ export default {
this.queryParams.taskPartitionDictId = row.id
this.itemid = this.queryParams.taskPartitionDictId;
this.getList();
},
handleChange(val) {
console.log(val);
@ -1400,6 +1396,9 @@ export default {
::v-deep .el-collapse-item__wrap {
border-bottom: none;
}
::v-deep .el-col-19{
width: 78% !important;
}
::v-deep .el-table::before {