资讯信息+资讯分类

This commit is contained in:
闫晓茹 2023-02-15 09:29:17 +08:00
parent f16e8b3fa5
commit adb82861a3
2 changed files with 8 additions and 7 deletions

View File

@ -269,6 +269,7 @@
<el-select <el-select
v-model="form.informationCategoryType" v-model="form.informationCategoryType"
placeholder="请选择" placeholder="请选择"
style="width: 250px"
> >
<el-option <el-option
v-for="item in options" v-for="item in options"
@ -284,7 +285,7 @@
<el-radio v-model="form.informationCategoryType" label="OTHER" <el-radio v-model="form.informationCategoryType" label="OTHER"
>其他</el-radio >其他</el-radio
> --> > -->
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button> <el-button type="primary" @click="submitForm"> </el-button>

View File

@ -177,7 +177,7 @@
prop="informationTitle" prop="informationTitle"
/> />
<el-table-column label="资讯编码" align="center" prop="informationCode" /> <el-table-column label="资讯编码" align="center" prop="informationCode" />
<el-table-column label="显示顺序" align="center" prop="informationSort" /> <el-table-column label="显示顺序" align="center" prop="informationSort" />
<el-table-column <el-table-column
label="操作" label="操作"
@ -221,7 +221,7 @@
:rules="rules" :rules="rules"
label-width="140px" label-width="140px"
:inline="true" :inline="true"
> >
<el-form-item label="资讯标题" prop="informationTitle"> <el-form-item label="资讯标题" prop="informationTitle">
<el-input <el-input
@ -277,7 +277,7 @@
<el-form-item label="资讯图文内容" prop="informationContent"> <el-form-item label="资讯图文内容" prop="informationContent">
<editor <editor
@imgs="imgs" @imgs="imgs"
maxlength="300" maxlength="300"
:min-height="102" :min-height="102"
placeholder="请输入资讯图文内容" placeholder="请输入资讯图文内容"
@ -450,7 +450,7 @@ export default {
title: "", title: "",
total2: 0, total2: 0,
imgsurl: { pictureUrlList: [] }, imgsurl: { pictureUrlList: [] },
// //
open: false, open: false,
// //
@ -537,7 +537,7 @@ export default {
informationCategoryCode: "", informationCategoryCode: "",
informationCategoryName: "", informationCategoryName: "",
}; };
this.informationInfoinfo(); this.getList();
}, },
informationInfoinfo() { informationInfoinfo() {
listInformationCategory(this.nurseStationqueryParams).then((response) => { listInformationCategory(this.nurseStationqueryParams).then((response) => {
@ -588,7 +588,7 @@ export default {
// } else { // } else {
this.form.informationCategoryId = row.id; this.form.informationCategoryId = row.id;
this.form.informationCategoryName = row.informationCategoryName; this.form.informationCategoryName = row.informationCategoryName;
// } // }
this.innerVisible = false; this.innerVisible = false;
}, },