限制长度
This commit is contained in:
parent
6fcfa80e05
commit
9c692783e1
@ -21,6 +21,7 @@
|
||||
v-model="queryParams.informationCategoryName"
|
||||
placeholder="请输入资讯分类名称"
|
||||
clearable
|
||||
maxlength="100"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -124,7 +125,7 @@
|
||||
{{
|
||||
scope.row.informationCategoryType == "HEALTH_NOUS" ? "健康咨询" : ""
|
||||
}}
|
||||
{{ scope.row.informationCategoryType == "OTHER" ? "其他" : "" }}
|
||||
<!-- {{ scope.row.informationCategoryType == "OTHER" ? "其他" : "" }} -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@ -188,6 +189,7 @@
|
||||
:prop="`informationCategoryList.${index}.informationCategoryName`"
|
||||
>
|
||||
<el-input
|
||||
maxlength="100"
|
||||
style="width: 200px"
|
||||
v-model="item.informationCategoryName"
|
||||
placeholder="请输入资讯分类名称"
|
||||
@ -254,7 +256,7 @@
|
||||
v-model="form.informationCategoryName"
|
||||
placeholder="请输入资讯分类名称"
|
||||
style="width: 250px"
|
||||
maxlength="15"
|
||||
maxlength="100"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
@ -311,10 +313,7 @@ export default {
|
||||
options: [{
|
||||
value: 'HEALTH_NOUS',
|
||||
label: '健康咨询'
|
||||
}, {
|
||||
value: 'OTHER',
|
||||
label: '其他'
|
||||
}],
|
||||
}, ],
|
||||
value:"",
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
<el-input
|
||||
v-model="queryParams.informationTitle"
|
||||
placeholder="请输入资讯标题"
|
||||
maxlength="100"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
@ -156,6 +157,7 @@
|
||||
<el-form-item label="资讯标题" prop="informationTitle">
|
||||
<el-input
|
||||
v-model="form.informationTitle"
|
||||
maxlength="100"
|
||||
placeholder="请输入资讯标题"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user