|
@@ -38,8 +38,8 @@
|
|
|
size="small"
|
|
|
>
|
|
|
<el-option label="全部" value="0" />
|
|
|
- <el-option label="web" value="web" />
|
|
|
- <el-option label="app" value="app" />
|
|
|
+ <el-option label="app" value="1" />
|
|
|
+ <el-option label="web" value="2" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item style="float: right">
|
|
@@ -96,7 +96,7 @@
|
|
|
<el-table-column label="模块名称" align="center" prop="functionName" />
|
|
|
<el-table-column label="系统" align="center" prop="systemName" />
|
|
|
<el-table-column label="客户端" align="center" prop="clientName" />
|
|
|
- <el-table-column label="介绍" align="center" prop="clientName" />
|
|
|
+ <el-table-column label="介绍" align="center" prop="clientName" :show-overflow-tooltip="true"/>
|
|
|
<!-- <el-table-column label="app优先级" align="center" prop="appPriority" />
|
|
|
<el-table-column label="web优先级" align="center" prop="webPriority" />
|
|
|
<el-table-column label="app链接" align="center" prop="appUrl" />
|
|
@@ -218,22 +218,11 @@ export default {
|
|
|
queryParams: {
|
|
|
current: 1,
|
|
|
pageSize: 10,
|
|
|
- functionName: "",
|
|
|
- system: "",
|
|
|
- client: "",
|
|
|
+ functionName: null,
|
|
|
+ system: null,
|
|
|
+ client: '0',
|
|
|
},
|
|
|
- tableList: [
|
|
|
- {
|
|
|
- functionName: "投诉大屏",
|
|
|
- systemName: "大屏",
|
|
|
- clientName: "web",
|
|
|
- },
|
|
|
- {
|
|
|
- functionName: "工单查询",
|
|
|
- systemName: "流程",
|
|
|
- clientName: "web",
|
|
|
- },
|
|
|
- ],
|
|
|
+ tableList: [],
|
|
|
total: 0,
|
|
|
multiple: true,
|
|
|
delList:[],
|
|
@@ -257,24 +246,24 @@ export default {
|
|
|
computed: {},
|
|
|
watch: {},
|
|
|
created() {
|
|
|
+ console.log('模块')
|
|
|
this.init();
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
init() {
|
|
|
- // getSystemList().then(res=>{
|
|
|
- // console.log('res: ', res);
|
|
|
- // this.systemList = res.data
|
|
|
- // })
|
|
|
+ getSystemList().then(res=>{
|
|
|
+ console.log('res: ', res);
|
|
|
+ this.systemList = res.data
|
|
|
+ })
|
|
|
},
|
|
|
getList() {
|
|
|
- // this.loading = true;
|
|
|
- // getFunctionList(this.queryParams).then(res=>{
|
|
|
- // console.log('res: ', res);
|
|
|
- // this.loading = false;
|
|
|
- // this.tableList = res.data;
|
|
|
- // this.total = res.total
|
|
|
- // })
|
|
|
+ this.loading = true;
|
|
|
+ getFunctionList(this.queryParams).then(res=>{
|
|
|
+ this.loading = false;
|
|
|
+ this.tableList = res.data.list;
|
|
|
+ this.total = res.data.total
|
|
|
+ })
|
|
|
},
|
|
|
handleQuery() {
|
|
|
this.getList();
|
|
@@ -282,6 +271,7 @@ export default {
|
|
|
// 重置
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
+ this.getList();
|
|
|
},
|
|
|
handleSelectionChange(val) {
|
|
|
console.log("val: ", val);
|