jsk
This commit is contained in:
parent
44e977cca6
commit
e14dac7cca
|
|
@ -1,6 +1,5 @@
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
// 证件管理-新增
|
|
||||||
export function getStatisticsApi(data) {
|
export function getStatisticsApi(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/certificate/certificate_manage/certificateInfo/statistics',
|
url: '/certificate/certificate_manage/certificateInfo/statistics',
|
||||||
|
|
@ -11,3 +10,14 @@ export function getStatisticsApi(data) {
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getTaskStatisticsApi(data) {
|
||||||
|
return request({
|
||||||
|
url: '/certificate/certificate_manage/certificateInfo/taskStatistics',
|
||||||
|
method: 'post',
|
||||||
|
headers: {
|
||||||
|
//"merchant-id":"378915229716713472",
|
||||||
|
},
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,8 @@
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div style="width: 98%;margin: 10px;display: flex;flex-direction: column;align-items: flex-end;">
|
<div style="width: 98%;margin: 10px;display: flex;flex-direction: column;align-items: flex-end;">
|
||||||
<div style="font-weight: bold;">存证任务数/已完成数:{{saveNum}}/{{saveNumd}}</div>
|
<div style="font-weight: bold;">存证任务数/已完成数:{{statistics.saveNum}}/{{statistics.savedNum}}</div>
|
||||||
<div style="font-weight: bold;">取证任务数/已完成数:{{takeNum}}/{{takeNumd}}</div>
|
<div style="font-weight: bold;">取证任务数/已完成数:{{statistics.takeNum}}/{{statistics.takedNum}}</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table v-loading="loading" :data="tableListData" @selection-change="handleSelectionChange" height="800">
|
<el-table v-loading="loading" :data="tableListData" @selection-change="handleSelectionChange" height="800">
|
||||||
<el-table-column type="selection" width="60" align="center" fixed="left"/>
|
<el-table-column type="selection" width="60" align="center" fixed="left"/>
|
||||||
|
|
@ -170,6 +170,7 @@
|
||||||
} from '@/api/system/dept'
|
} from '@/api/system/dept'
|
||||||
import { getCertificateTaskListPageApi,addCertificateInfoApi, updateCertificateInfoApi, deleteCertificateInfoApi,
|
import { getCertificateTaskListPageApi,addCertificateInfoApi, updateCertificateInfoApi, deleteCertificateInfoApi,
|
||||||
getCertificateTakeReturnPageApi,addCertificateCheckApi,getCertificateTaskNumApi } from "@/api/certificateManage/index";
|
getCertificateTakeReturnPageApi,addCertificateCheckApi,getCertificateTaskNumApi } from "@/api/certificateManage/index";
|
||||||
|
import { getTaskStatisticsApi } from "@/api/certificateStatistics/index";
|
||||||
import base64 from 'base-64';
|
import base64 from 'base-64';
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
import Treeselect from '@riophae/vue-treeselect'
|
import Treeselect from '@riophae/vue-treeselect'
|
||||||
|
|
@ -206,6 +207,12 @@
|
||||||
checked: false,
|
checked: false,
|
||||||
// 部门树选项
|
// 部门树选项
|
||||||
deptOptions: [],
|
deptOptions: [],
|
||||||
|
statistics:{
|
||||||
|
saveNum:0,
|
||||||
|
savedNum:0,
|
||||||
|
takeNum:0,
|
||||||
|
takedNum:0
|
||||||
|
},
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
@ -313,6 +320,7 @@
|
||||||
mounted(){
|
mounted(){
|
||||||
this.getList();
|
this.getList();
|
||||||
this.getNum();
|
this.getNum();
|
||||||
|
this.initStatistics();
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -320,6 +328,17 @@
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.getList();
|
this.getList();
|
||||||
|
this.initStatistics();ss
|
||||||
|
},
|
||||||
|
initStatistics(){
|
||||||
|
let param = {}
|
||||||
|
getTaskStatisticsApi(param).then(response => {
|
||||||
|
console.log("getTaskStatisticsApi",response)
|
||||||
|
if(response.code==200){
|
||||||
|
this.statistics =response.data;
|
||||||
|
console.log("this.statistics",this.statistics)
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue