Commit 04446c1b authored by cat's avatar cat

控制台

parent 92cdec88
...@@ -4,7 +4,7 @@ import { exportConfig } from '../system/config' ...@@ -4,7 +4,7 @@ import { exportConfig } from '../system/config'
// 查询角色列表 // 查询角色列表
export function listCheck(query) { export function listCheck(query) {
return request({ return request({
url: '/WeHomePage/queryWeHomePtype1', url: '/wbwarehouse/queryWbWarehouseByPagination',
method: 'get', method: 'get',
params: query params: query
}) })
......
...@@ -427,107 +427,27 @@ export default { ...@@ -427,107 +427,27 @@ export default {
}, },
/** 获取统计数据图*/ /** 获取统计数据图*/
handleGetStatisticsData() { handleGetStatisticsData() {
// const row = {
// range: this.range,
// caseType: this.caseType
// }
// console.log(row)
// console.log('12312312312312')
// controlData.getStatisticsData(row).then(res => {
// this.statisticsDataLists = Object.values(res.data)
// const dateList = []
// const commitList = []
// const passList = []
// this.statisticsDataLists.forEach(item => {
// dateList.push(item.date)
// commitList.push(item.commit)
// passList.push(item.pass)
// })
// this.dateLists = dateList
// this.commitLists = commitList
// this.passLists = passList
// if (this.range === 0) {
// this.dateLists = ['2023-07-20', '2023-07-21', '2023-07-22', '2023-07-23', '2023-07-24', '2023-07-25', '2023-07-26']
// }
// if (this.range === 1) {
// this.dateLists = ['2023-26', '2023-27', '2023-28', '2023-29', '2023-30']
// this.commitLists = ['7', '16', '4', '11', '13']
// this.passLists = ['3', '2', '0', '2', '7']
// }
// if (this.range === 2) {
// this.dateLists = ['2023-03', '2023-04', '2023-05', '2023-06', '2023-07']
// this.commitLists = ['7', '16', '4', '11', '13']
// this.passLists = ['3', '2', '0', '2', '7']
// }
// if (this.range === 3) {
// this.dateLists = ['2022-11', '2022-12', '2023-1', '2023-2', '2023-3']
// this.commitLists = ['7', '16', '4', '11', '13']
// this.passLists = ['3', '2', '0', '2', '7']
// }
// if (this.range === 4) {
// this.dateLists = ['2019', '2020', '2021', '2022', '2023']
// this.commitLists = ['7', '16', '4', '11', '13']
// this.passLists = ['3', '2', '0', '2', '7']
// }
this.getRegistrationTime() this.getRegistrationTime()
// }) // })
}, },
/** 法官留言数据图*/ /** 法官留言数据图*/
handleGetJudgeMessageData() { handleGetJudgeMessageData() {
// controlData.getJudgeMessageData(this.judgeMessageData).then(res => {
// this.JudgeMessageForm = res.data
this.dataChartsLeaveMessage() this.dataChartsLeaveMessage()
// }) // })
}, },
/** 访客数据图*/ /** 访客数据图*/
getVisitorDate() { getVisitorDate() {
// controlData.getVisitor().then(res => {
// this.visitorDate = res.data
this.getVisitorData() this.getVisitorData()
// }) // })
}, },
/** 获取立案数量*/ /** 获取立案数量*/
handleGetCauseNum() { handleGetCauseNum() {
// controlData.getCauseNum().then(res => {
// this.causeForm.sum = res.data.sum
// this.causeForm.direction = res.data.direction
// this.causeForm.percent = res.data.percent
// })
}, },
/** 获取用户数量*/ /** 获取用户数量*/
handGetUserNum() { handGetUserNum() {
// controlData.getUserNum().then(res => {
// this.userForm.authCount = res.data.authCount
// this.userForm.lawyerCount = res.data.lawyerCount
// this.userForm.authCount = res.data.authCount
// this.userForm.registerCount = res.data.registerCount
// this.userForm.lawyerChange = res.data.lawyerChange
// this.userForm.registerChange = res.data.registerChange
// if (res.data.authChange === '--') {
// this.userForm.authChangeNum = res.data.authChange
// } else {
// this.userForm.authChangeNum = Math.abs(res.data.authChange).toFixed(2)
// }
// if (res.data.lawyerChange === '--') {
// this.userForm.lawyerChangeNum = res.data.lawyerChange
// } else {
// this.userForm.lawyerChangeNum = Math.abs(res.data.lawyerChange).toFixed(2)
// }
// if (res.data.registerChange === '--') {
// this.userForm.registerChangeNum = res.data.registerChange
// } else {
// this.userForm.registerChangeNum = Math.abs(res.data.registerChange).toFixed(2)
// }
// })
}, },
/** 获取法官留言List*/ /** 获取法官留言List*/
handleGetJudgeMessage() { handleGetJudgeMessage() {
// const row = {
// leaveStatus: 0
// }
// controlData.getJudgeMessage(row).then(res => {
// this.tableList = res.rows.slice(0, 5)
// })
}, },
/** 数据统计*/ /** 数据统计*/
getRegistrationTime() { getRegistrationTime() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment