资讯信息管理
This commit is contained in:
parent
ad6e2a2b3a
commit
69bd626366
@ -221,7 +221,6 @@
|
||||
:rules="rules"
|
||||
label-width="140px"
|
||||
:inline="true"
|
||||
|
||||
>
|
||||
<el-form-item label="资讯标题" prop="informationTitle">
|
||||
<el-input
|
||||
@ -272,16 +271,16 @@
|
||||
<el-input
|
||||
v-model="form.informationSort"
|
||||
placeholder="请输入显示顺序"
|
||||
style="width:250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="资讯图文内容" prop="informationContent">
|
||||
<editor
|
||||
@imgs="imgs"
|
||||
|
||||
maxlength="300"
|
||||
:min-height="102"
|
||||
placeholder="请输入资讯图文内容"
|
||||
style="width: 80%;margin-left:18%;margin-top: -5%;"
|
||||
style="width: 80%; margin-left: 18%; margin-top: -5%"
|
||||
v-model="form.informationContent"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -336,7 +335,10 @@
|
||||
@click="informationInfoinfo"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="addresetQuery"
|
||||
<el-button
|
||||
icon="el-icon-refresh"
|
||||
size="mini"
|
||||
@click="addresetQuerylist"
|
||||
>重置</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
@ -530,6 +532,7 @@ export default {
|
||||
innerVisiblecancel() {
|
||||
this.innerVisible = false;
|
||||
},
|
||||
//重置
|
||||
addresetQuery() {
|
||||
this.nurseStationqueryParams = {
|
||||
pageNum: 1,
|
||||
@ -539,6 +542,15 @@ export default {
|
||||
};
|
||||
this.getList();
|
||||
},
|
||||
addresetQuerylist() {
|
||||
this.nurseStationqueryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
informationCategoryCode: "",
|
||||
informationCategoryName: "",
|
||||
};
|
||||
this.informationInfoinfo();
|
||||
},
|
||||
informationInfoinfo() {
|
||||
listInformationCategory(this.nurseStationqueryParams).then((response) => {
|
||||
this.infolist = response.rows;
|
||||
@ -556,7 +568,6 @@ export default {
|
||||
// this.nnerVisibleindex = index;
|
||||
// console.log(this.nnerVisibleindex);
|
||||
this.innerVisible = true;
|
||||
|
||||
},
|
||||
imgUrl(imgUrl) {
|
||||
this.form.leadThumbnailUrl = imgUrl;
|
||||
@ -586,7 +597,7 @@ export default {
|
||||
// this.form.hospitalName = row.hospitalName;
|
||||
// this.form.hospitalId = row.id;
|
||||
// } else {
|
||||
this.form.informationCategoryId = row.id;
|
||||
this.form.informationCategoryId = row.id;
|
||||
this.form.informationCategoryName = row.informationCategoryName;
|
||||
|
||||
// }
|
||||
@ -635,7 +646,7 @@ export default {
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.form.informationCategoryName="请选择资讯分类";
|
||||
this.form.informationCategoryName = "请选择资讯分类";
|
||||
this.title = "添加资讯信息管理";
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user