This commit is contained in:
liuye
2023-09-06 16:46:16 +08:00
parent 587b472194
commit 9332c73979
2 changed files with 4 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ export default {
getTotal() {
console.log(1)
var totalDepartmentId = this.totalDeptList.length ? this.totalDeptList[this.totalDeptList.length-1] : ''
this.instance.post(`/app/appsessionarchivekeywordrecord/statistics1?departmentId=${totalDepartmentId}`).then(res => {
this.instance.post(`/app/appsessionarchivekeywordrecord/statistics1?deptFullId=${totalDepartmentId}`).then(res => {
if (res?.data) {
console.log(res)
this.totalInfo = res.data
@@ -163,7 +163,7 @@ export default {
var departmentId = this.deptList.length ? this.deptList[this.deptList.length-1] : ''
this.instance.post('/app/appsessionarchivekeywordrecord/statistics2', null, {
params: {
departmentId,
deptFullId: departmentId,
type: this.type,
startTime: this.startTime,
endTime: this.endTime,

View File

@@ -158,7 +158,7 @@ export default {
methods: {
getTotal() {
var totalDepartmentId = this.totalDeptList.length ? this.totalDeptList[this.totalDeptList.length-1] : ''
this.instance.post(`/app/appsessionarchivereportinfo/statistics1?departmentId=${totalDepartmentId}`).then(res => {
this.instance.post(`/app/appsessionarchivereportinfo/statistics1?deptFullId=${totalDepartmentId}`).then(res => {
if (res?.data) {
console.log(res)
this.totalInfo = res.data
@@ -174,7 +174,7 @@ export default {
var departmentId = this.deptList.length ? this.deptList[this.deptList.length-1] : ''
this.instance.post('/app/appsessionarchivereportinfo/statistics2', null, {
params: {
departmentId,
deptFullId: departmentId,
type: this.type,
startTime: this.startTime,
endTime: this.endTime,