|
@@ -94,7 +94,8 @@ const total = ref(0)
|
|
|
const query = ref({
|
|
|
pageNo: 1,
|
|
|
pageSize: 10,
|
|
|
- startTime: null
|
|
|
+ startTime: null,
|
|
|
+ enterpriseId: JSON.parse(localStorage.getItem('entBaseInfo'))?.enterpriseId
|
|
|
})
|
|
|
const tableData = ref([])
|
|
|
|
|
@@ -129,7 +130,7 @@ const getList = async () => {
|
|
|
// 数值统计
|
|
|
const getStatistics = async () => {
|
|
|
try {
|
|
|
- const data = await getRecordStatusCount({ type: '-1' })
|
|
|
+ const data = await getRecordStatusCount({ type: '-1', enterpriseId: JSON.parse(localStorage.getItem('entBaseInfo'))?.enterpriseId })
|
|
|
statistics.value.forEach(e => {
|
|
|
const obj = data.find(val => val.key === e.value)
|
|
|
e.count = obj ? obj.value : 0
|