|
|
@@ -84,6 +84,7 @@ import { PieChart } from 'echarts/charts'
|
|
|
import { LabelLayout } from 'echarts/features'
|
|
|
import { CanvasRenderer } from 'echarts/renderers'
|
|
|
|
|
|
+import { getList as getList4 } from '@/apis/holding4'
|
|
|
import { getList as collect2 } from '@/apis/collect2'
|
|
|
import { getList as collect1 } from '@/apis/collect1'
|
|
|
import { getList as getList5 } from '@/apis/holding5'
|
|
|
@@ -114,8 +115,10 @@ export default {
|
|
|
{ name: '藏品登记', inoc: 0, push: '/layout/holding0' },
|
|
|
{ name: '入库管理', inoc: 0, push: '/layout/holding1' },
|
|
|
{ name: '出库管理', inoc: 0, push: '/layout/holding2' },
|
|
|
+ { name: '藏品修改', inoc: 0, push: '/layout/holding4' },
|
|
|
{ name: '藏品注销', inoc: 0, push: '/layout/holding5' },
|
|
|
{ name: '征集品提用', inoc: 0, push: '/layout/collect1' },
|
|
|
+ { name: '征集品修改', inoc: 0, push: '/layout/holding4' },
|
|
|
{ name: '征集品注销', inoc: 0, push: '/layout/collect2' }
|
|
|
|
|
|
]
|
|
|
@@ -163,20 +166,25 @@ export default {
|
|
|
res2.data.list.forEach(v => {
|
|
|
if (v.status === 1 || v.status === 0 || v.status === 3) this.dingdong[2].inoc++
|
|
|
})
|
|
|
+ // 进页面拿数据--藏品修改
|
|
|
+ const res4 = await getList4({ pageNum: 1, pageSize: 99999 })
|
|
|
+ res4.data.list.forEach(v => {
|
|
|
+ if (v.status === 1) this.dingdong[3].inoc++
|
|
|
+ })
|
|
|
// 进页面拿数据--藏品注销
|
|
|
const res5 = await getList5({ pageNum: 1, pageSize: 99999 })
|
|
|
res5.data.list.forEach(v => {
|
|
|
- if (v.status === 1 || v.status === 0) this.dingdong[3].inoc++
|
|
|
+ if (v.status === 1 || v.status === 0) this.dingdong[4].inoc++
|
|
|
})
|
|
|
// 进页面拿数据--征集品提用
|
|
|
const col1 = await collect1({ pageNum: 1, pageSize: 99999 })
|
|
|
col1.data.list.forEach(v => {
|
|
|
- if (v.status === 1 || v.status === 0 || v.status === 3) this.dingdong[4].inoc++
|
|
|
+ if (v.status === 1 || v.status === 0 || v.status === 3) this.dingdong[5].inoc++
|
|
|
})
|
|
|
// 进页面拿数据--征集品注销
|
|
|
const col2 = await collect2({ pageNum: 1, pageSize: 99999 })
|
|
|
col2.data.list.forEach(v => {
|
|
|
- if (v.status === 1 || v.status === 0) this.dingdong[5].inoc++
|
|
|
+ if (v.status === 1 || v.status === 0) this.dingdong[7].inoc++
|
|
|
})
|
|
|
// 文物类别数据处理
|
|
|
const Datares = await getReport()
|
|
|
@@ -371,7 +379,7 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
flex-direction: column;
|
|
|
- height: 118px;
|
|
|
+ height: 95px;
|
|
|
float: left;
|
|
|
width: 50%;
|
|
|
border: 1px solid #ccc;
|