diff --git a/src/api/breakdown/Log.js b/src/api/breakdown/Log.js
index 229ba7f..8e7cc58 100644
--- a/src/api/breakdown/Log.js
+++ b/src/api/breakdown/Log.js
@@ -1,34 +1,34 @@
import request from '@/utils/request'
//查询
-export function listLog(query){
+export function listLog(data){
return request({
url:'/breakdown/log/list',
method:'post',
- params:query
+ data
})
}
-export function listStatusIgnore(query){
+export function listStatusIgnore(data){
return request({
url:'/breakdown/log/listStatusIgnore',
method:'post',
- params:query
+ data
})
}
-export function listStatusSolve(query){
+export function listStatusSolve(data){
return request({
url:'/breakdown/log/listStatusSolve',
method:'post',
- params:query
+ data
})
}
-export function listStatusProcess(query){
+export function listStatusProcess(data){
return request({
url:'/breakdown/log/listStatusProcess',
method:'post',
- params:query
+ data
})
}
diff --git a/src/views/breakdown/log/index.vue b/src/views/breakdown/log/index.vue
index a2084d2..4217d2b 100644
--- a/src/views/breakdown/log/index.vue
+++ b/src/views/breakdown/log/index.vue
@@ -11,7 +11,7 @@
-
+
@@ -19,7 +19,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -59,6 +59,9 @@ export default {
activeName:'all',
loading:true,
messageList:[],
+ StatusSolveList:[],
+ StatusProcessList:[],
+ StatusIgnoreList:[],
total:0,
queryParams:{
pageNum:1,
@@ -82,10 +85,41 @@ export default {
}).catch(() => {
this.loading = false;
});
+
+ },
+ getListIgnore(){
+ listStatusIgnore(this.queryParams).then(response => {
+ this.StatusIgnoreList = response.data.rows;
+ this.total = response.data.total;
+ this.loading = false;
+ }).catch(() => {
+ this.loading = false;
+ });
+ },
+ getListProcess(){
+ listStatusProcess(this.queryParams).then(response=>{
+ this.StatusProcessList=response.data.rows;
+ this.total=response.data.total;
+ this.loading=false;
+ }).catch(()=>{
+ this.loading=false
+ })
+ },
+ getListSolve(){
+ listStatusSolve(this.queryParams).then(response=>{
+ this.StatusSolveList=response.data.rows;
+ this.total=response.data.total;
+ this.loading=false;
+ }).catch(()=>{
+ this.loading=false
+ })
}
},
created() {
this.getList();
+ this.getListIgnore()
+ this.getListProcess()
+ this.getListSolve()
},
mounted() {},
beforeCreate() {},