diff --git a/src/views/archivesManage/archivesCheck/data1.json b/src/views/archivesManage/archivesCheck/data1.json deleted file mode 100644 index f37d05f..0000000 --- a/src/views/archivesManage/archivesCheck/data1.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "total":8, - "rows":[ - { - "id":"29f16d62bc7242d5ba8dc84de5451f93", - "checkNum":"PD-202205250840", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"已执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:40", - "checkResult":"在库" - }, - { - "id":"3d6d548d30db426ea3d95d63f589b294", - "checkNum":"PD-202205250840", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"已执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:41", - "checkResult":"在库" - }, - { - "id":"45ff597e7cc64d11803ac422816b1e23", - "checkNum":"PD-202205250840", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"待执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:42", - "checkResult":"已借" - }, - { - "id":"49106aa0d1534a7a900843d0c4531840", - "checkNum":"PD-202205250840", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"待执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:50", - "checkResult":"错位" - }, - { - "id":"6e604355ff1e47e8b48117dca36420c7", - "checkNum":"PD-202205250841", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"执行中", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:40", - "checkResult":"错位" - }, - { - "id":"6f4a6631d9d3424b960793704f3757b3", - "checkNum":"PD-202205250841", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"执行中", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:40", - "checkResult":"错位" - - }, - { - "id":"76e29d5c0a0541bfb1ee9da432183b15", - "checkNum":"PD-202205250842", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"已执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:40" - }, - { - "id":"a0ffdd94161146c49161662c3f9a70cd", - "checkNum":"PD-202205250842", - "containPath":"父区域-子区域,父区域-子区域1", - "checkState":"已执行", - "storeNum":"233", - "CheckedNum":"230", - "noCheckNum":"3", - "haveLendNum":"111", - "misplaceNum":"20", - "CreateTime":"2022-5-25 08:40" - } - ], - "footer":null, - "postparam":null -} \ No newline at end of file diff --git a/src/views/components/data1.json b/src/views/components/data1.json deleted file mode 100644 index 9bcf3ff..0000000 --- a/src/views/components/data1.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "rows":[ - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"4温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"3温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"2温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"1温度温度温度温度温度温度" - } - - ] -} \ No newline at end of file diff --git a/src/views/data1.json b/src/views/data1.json deleted file mode 100644 index 7eb567d..0000000 --- a/src/views/data1.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "rows":[ - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - }, - { - "time":"2022-6-30 13:00", - "warehouse":"文书档案库房", - "warning":"温度温度温度温度温度温度" - } - - ] -} \ No newline at end of file diff --git a/src/views/home.vue b/src/views/home.vue index 49d933e..d2e0ef8 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -62,30 +62,11 @@
@@ -93,20 +74,6 @@ - @@ -160,69 +127,47 @@ diff --git a/src/views/system/archiveStatistics/module/barEcharts.vue b/src/views/system/archiveStatistics/module/barEcharts.vue index 33ac811..bf33ebc 100644 --- a/src/views/system/archiveStatistics/module/barEcharts.vue +++ b/src/views/system/archiveStatistics/module/barEcharts.vue @@ -144,16 +144,30 @@ export default { axisPointer: { type: 'shadow' }, - formatter: function(params) { - var res = "

" + echarts.format.formatTime('yyyy年M月', new Date(params[0].name)) + '

' - for (var i = 0; i < params.length; i++) { - res += `
- - ${params[i].seriesName} - ${params[i].data} -
` - } - return res + // formatter: function(params) { + // var res = "

" + echarts.format.formatTime('yyyy年M月', new Date(params[0].name)) + '

' + // for (var i = 0; i < params.length; i++) { + // res += `
+ // + // ${params[i].color} + // ${params[i].seriesName} + // ${params[i].data} + //
` + // } + // return res + // }, + formatter(params) { + const val0 = params[0]['data'] + const val1 = params[1]['data'] + const date = echarts.format.formatTime('yyyy年M月', new Date(params[0].name)) + const circle = ` ${ + params[0]['seriesName'] + }: ${val0}` + const data1 = `${circle}rgba(157, 221, 146, 1)"> ${ + params[1]['seriesName'] + }: ${val1}` + return `${date}
${data0}
${data1}` } }, legend: { // 图例 @@ -243,7 +257,6 @@ export default { color: '#3AA6FA ' } ]) - }, { name: '入库',