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