diff --git a/src/assets/index/icon1.png b/src/assets/index/icon1.png new file mode 100644 index 0000000..d7d9434 Binary files /dev/null and b/src/assets/index/icon1.png differ diff --git a/src/assets/index/icon2.png b/src/assets/index/icon2.png new file mode 100644 index 0000000..ed9014e Binary files /dev/null and b/src/assets/index/icon2.png differ diff --git a/src/assets/index/icon3.png b/src/assets/index/icon3.png new file mode 100644 index 0000000..0758c97 Binary files /dev/null and b/src/assets/index/icon3.png differ diff --git a/src/assets/index/icon4.png b/src/assets/index/icon4.png new file mode 100644 index 0000000..f1007fd Binary files /dev/null and b/src/assets/index/icon4.png differ diff --git a/src/assets/index/icon5.png b/src/assets/index/icon5.png new file mode 100644 index 0000000..5857170 Binary files /dev/null and b/src/assets/index/icon5.png differ diff --git a/src/assets/index/icon6.png b/src/assets/index/icon6.png new file mode 100644 index 0000000..7225ec4 Binary files /dev/null and b/src/assets/index/icon6.png differ diff --git a/src/assets/index/icon7.png b/src/assets/index/icon7.png new file mode 100644 index 0000000..c7302a8 Binary files /dev/null and b/src/assets/index/icon7.png differ diff --git a/src/assets/index/icon8.png b/src/assets/index/icon8.png new file mode 100644 index 0000000..646e34d Binary files /dev/null and b/src/assets/index/icon8.png differ diff --git a/src/assets/index/icon9.png b/src/assets/index/icon9.png new file mode 100644 index 0000000..b5fc06a Binary files /dev/null and b/src/assets/index/icon9.png differ diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 22f0867..992ba26 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -294,33 +294,128 @@ --> - -
-
- 综合数据 -

-
-
-
-

年度计划任务:0

-

已完成任务:0

-

进度:0

-
-
-

安全检查(月/年):0

-

安全培训(月/年):0

-
-
-

应急演练(年):0

-

专项任务开展:0

-
-
-

安全隐患数量:0

-

安全事件:0

-
-
-
- + + + + +
- - - - - - + + +
- +
@@ -430,12 +529,12 @@ } from '@/api/task/patrol.js' import checkUnit from '@/views/task/list/components/checkUnit.vue' import addPatrol from '@/views/task/list/components/addPatrol.vue' - import showPatrol from '@/views/task/list/components/showPatrol.vue' - import { - getparameteritem - } from "@/api/system/dictionary.js"; - import { - listdept + import showPatrol from '@/views/task/list/components/showPatrol.vue' + import { + getparameteritem + } from "@/api/system/dictionary.js"; + import { + listdept } from "@/api/system/department.js" export default { name: 'Dashboard', @@ -455,17 +554,33 @@ showPatrol }, data() { - return { - select:{ - question_type:'', - year:'2023', - department_id:'', - month:'', - check_type:'' - }, - questionList:[], - departmentList:[], - checkList:[{ + return { + icon1: require('@/assets/index/icon1.png'), + icon2: require('@/assets/index/icon2.png'), + icon3: require('@/assets/index/icon3.png'), + icon4: require('@/assets/index/icon4.png'), + icon5: require('@/assets/index/icon5.png'), + icon6: require('@/assets/index/icon6.png'), + icon7: require('@/assets/index/icon7.png'), + icon8: require('@/assets/index/icon8.png'), + icon9: require('@/assets/index/icon9.png'), + typeList:[{id:1,value:'责任科室'}, + {id:1,value:'问题类型'}, + {id:1,value:'检查类型'}, + {id:1,value:'月份'}, + {id:1,value:'年份'} + + ], + select: { + question_type: '', + year: '2023', + department_id: '', + month: '', + check_type: '' + }, + questionList: [], + departmentList: [], + checkList: [{ id: 1, value: '专项检查' }, { @@ -653,7 +768,7 @@ } preview-src-list = { arr - }> + } > ) }) } ) @@ -676,7 +791,7 @@ { whiteSpace: 'normal' } - }> { + } > { row.fix_files.map(item => { arr.push(item.url) return ( + } > ) }) } ) @@ -761,29 +876,29 @@ }, created() { this.uploadOther.token = getToken(); - // this.initLoad(); - this.getQuestion() + // this.initLoad(); + this.getQuestion() this.loadDeptOptions() this.getInspectionData() this.getMissionData() this.load(); }, - methods: { - changeYear(e){}, - changeMonth(e){}, - async getQuestion() { - const res = await getparameteritem('askList') - this.questionList = res.detail - }, - loadDeptOptions() { - listdept(). - then((res) => { - this.departmentList = res - }).catch(error => { - console.log(error) - reject(error) - }) + methods: { + changeYear(e) {}, + changeMonth(e) {}, + async getQuestion() { + const res = await getparameteritem('askList') + this.questionList = res.detail + }, + loadDeptOptions() { + listdept(). + then((res) => { + this.departmentList = res + }).catch(error => { + console.log(error) + reject(error) + }) }, initLoad() { var that = this; @@ -977,27 +1092,48 @@ } - diff --git a/src/views/task/list/components/showPatrol.vue b/src/views/task/list/components/showPatrol.vue index 659ed62..3c51edb 100644 --- a/src/views/task/list/components/showPatrol.vue +++ b/src/views/task/list/components/showPatrol.vue @@ -92,7 +92,7 @@
@@ -262,7 +262,7 @@
@@ -811,10 +811,10 @@ value: '已撤回' }, { id: 0, - value: '待审核' + value: '待确认' }, { id: 1, - value: '待领导意见' + value: '待领导确认' }, { id: 2, value: '已分发,待接收' @@ -829,7 +829,7 @@ value: '已整改' }, { id: 6, - value: '不通过' + value: '退回' }, { id: 7, value: '整改不通过,重新整改' @@ -838,7 +838,7 @@ value: '部门退回' }, { id: 9, - value: '待领导意见整改' + value: '待领导审核' }], id: '', uploadOther: {