bb9ff632 by 杨威

个性化管理

1 parent 8b2a11eb
<template>
<el-tabs v-model="activeName">
<el-tab-pane label="个性化管理" name="zhcx">
<!-- <el-tabs v-model="activeName"> -->
<!-- <el-tab-pane label="个性化管理" name="zhcx"> -->
<div class="main">
<!-- <p class="tips">查询条件</p> -->
<el-form
......@@ -81,13 +81,13 @@
/>
</template>
</el-table-column>
<el-table-column width="80px" align="center" label="操作">
<!-- <el-table-column width="80px" align="center" label="操作">
<template slot-scope="scope">
<el-tooltip class="item" effect="light" content="删除" placement="top">
<i class="iconfont iconshanchu1" @click="handleClick(scope.row)" style="padding:0 10px"></i>
</el-tooltip>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
<div class="pagination">
<el-pagination
......@@ -129,8 +129,8 @@
</el-dialog>
</div>
</div>
</el-tab-pane>
</el-tabs>
<!-- </el-tab-pane> -->
<!-- </el-tabs> -->
</template>
<script>
......@@ -194,7 +194,6 @@ export default {
this.queryData.pageSize = this.pageSize;
this.queryData.pageNo = this.pageNo;
getGxhList(this.queryData).then((res) => {
console.log(res.result);
this.tableData = res.result.records
this.total = res.result.total
})
......@@ -237,6 +236,9 @@ export default {
},
//保存修改后的数据
save(){
if(this.hasChanged.length < 1){
this.$message.warning("暂无数据修改")
}else{
//接口调用 hasChanged为已修改数据项数组 TODO
updateGxh(this.hasChanged).then((res) => {
if(res.code == 200){
......@@ -245,6 +247,7 @@ export default {
this.getData();
})
.catch((error) => {});
}
},
//删除
handleClick(row){
......
......@@ -3,6 +3,7 @@
<el-tab-pane label="日志管理" name="log"><log></log></el-tab-pane>
<el-tab-pane label="字典管理" name="dictionary"><dictionary></dictionary></el-tab-pane>
<el-tab-pane label="号段管理" name="hdgl"><hdgl></hdgl></el-tab-pane>
<el-tab-pane label="个性化管理" name="gxhgl"><gxhgl></gxhgl></el-tab-pane>
</el-tabs>
</template>
......@@ -10,10 +11,11 @@
import log from "./log"
import dictionary from "./dictionary"
import hdgl from "./hdgl";
import gxhgl from "./gxhgl";
export default {
name: "index",
components: {
log,dictionary,hdgl
log,dictionary,hdgl,gxhgl
},
data() {
return {
......