|
@@ -21,7 +21,7 @@
|
|
|
</el-form>
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="1.5">
|
|
|
- <el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-if="checkPermi(['business:NEWS:add'])">新增新闻</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-if="checkPermi(['business:NEWS:add'])">新增</el-button>
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
@@ -140,7 +140,7 @@ export default {
|
|
|
checkPermi,
|
|
|
showDetail(row){
|
|
|
const id = row.id || this.ids;
|
|
|
- this.iframe({ obj: detail, param: { id: id }, title: '网站新闻详情', width: '1050px', height: '750px' });
|
|
|
+ this.iframe({ obj: detail, param: { id: id }, title: '详情', width: '1050px', height: '750px' });
|
|
|
},
|
|
|
hanleTop(row) {
|
|
|
row = { ...row };
|
|
@@ -203,12 +203,12 @@ export default {
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
- this.iframe({ obj: edit, param: {type:this.queryParams.type}, title: '添加网站新闻', width: '1050px', height: '750px' });
|
|
|
+ this.iframe({ obj: edit, param: {type:this.queryParams.type}, title: `新增`, width: '1050px', height: '750px' });
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
const id = row.id || this.ids;
|
|
|
- this.iframe({ obj: edit, param: { id: id }, title: '修改网站新闻', width: '1050px', height: '750px' });
|
|
|
+ this.iframe({ obj: edit, param: { id: id }, title: '修改', width: '1050px', height: '750px' });
|
|
|
},
|
|
|
handleCommit(row) {
|
|
|
let CbNewsVo = row;
|