查询接口对接

This commit is contained in:
yuekuo
2023-04-21 13:36:08 +08:00
parent e8c5cc2cc0
commit b410ddd462
2 changed files with 11 additions and 3 deletions
+8
View File
@@ -100,6 +100,14 @@ labelUpdate(data){
data
})
},
// 报告管理列表
reportListManager (data) {
return request({
url: '/api/report/list-auth',
method: 'POST',
data
})
},
// 获取报告日期列表
reportDateList (data) {
return request({
+3 -3
View File
@@ -42,7 +42,7 @@
</el-row>
</div>
<el-row>
<el-col :span="3" class="treeList">
<el-col :span="4" class="treeList">
<el-input placeholder="输入关键字进行过滤" v-model="filterText">
</el-input>
<el-tree
@@ -57,7 +57,7 @@
>
</el-tree>
</el-col>
<el-col :span="20">
<el-col :span="19 ">
<div class="table">
<vxe-table ref="xTable" :data="tableData" :empty-render="{name: 'NotData'}" align="center" border stripe v-table-min-height="'calc(100vh - 320px)'">
<vxe-column show-overflow show-header-overflow type="seq" title="序号" width="77">
@@ -867,7 +867,7 @@ export default {
},
// 列表
reportList() {
this.$api.report.reportList({...this.q,labelId:this.checkedKeys}).then(({ data }) => {
this.$api.report.reportListManager({...this.q,labelId:this.checkedKeys}).then(({ data }) => {
this.tableData = data.records;
this.total = data.total;
this.q.pageNo = data.current;