From 80ca3117c2c558652d448a81a91aed6813d7e673 Mon Sep 17 00:00:00 2001 From: xuhaoyun Date: Sat, 6 May 2023 14:22:03 +0800 Subject: [PATCH] 0506 --- src/api/archives/index.js | 8 + src/views/archives/anjian.vue | 408 +++++++++++++++++++++++++ src/views/archives/index.vue | 5 +- src/views/archives/kakou.vue | 2 +- src/views/archives/wupin.vue | 14 +- src/views/archives/yujing.vue | 2 +- src/views/enterpriseArchives/index.vue | 3 +- src/views/head.vue | 7 +- 8 files changed, 433 insertions(+), 16 deletions(-) create mode 100644 src/views/archives/anjian.vue diff --git a/src/api/archives/index.js b/src/api/archives/index.js index ddb29bb..013b5f0 100644 --- a/src/api/archives/index.js +++ b/src/api/archives/index.js @@ -71,5 +71,13 @@ export function TbSafeCompanyGoodsDetail(params) { params }) } +//案件列表 +export function TbSafeCompanyCase(params) { + return request({ + url: '/safety/enterpriseArchives/TbSafeCompanyCase', + method: 'get', + params + }) +} diff --git a/src/views/archives/anjian.vue b/src/views/archives/anjian.vue new file mode 100644 index 0000000..329f8d1 --- /dev/null +++ b/src/views/archives/anjian.vue @@ -0,0 +1,408 @@ + + + + \ No newline at end of file diff --git a/src/views/archives/index.vue b/src/views/archives/index.vue index 5c26a1f..96cfaba 100644 --- a/src/views/archives/index.vue +++ b/src/views/archives/index.vue @@ -183,6 +183,7 @@ + @@ -196,13 +197,15 @@ import kakou from './kakou.vue' import yujing from './yujing.vue' import car from './car.vue' import wupin from './wupin.vue' +import anjian from './anjian.vue' export default { components: { monitor, kakou, yujing, car, - wupin + wupin, + anjian }, data() { return { diff --git a/src/views/archives/kakou.vue b/src/views/archives/kakou.vue index 2a60498..5ece163 100644 --- a/src/views/archives/kakou.vue +++ b/src/views/archives/kakou.vue @@ -15,7 +15,7 @@ - + diff --git a/src/views/archives/wupin.vue b/src/views/archives/wupin.vue index 2fa9999..c67ae57 100644 --- a/src/views/archives/wupin.vue +++ b/src/views/archives/wupin.vue @@ -6,7 +6,7 @@ - + 搜索 @@ -112,12 +112,12 @@ export default { }, created() { this.getList() - this.getWpTotal() + }, methods: { getWpTotal() { - TbSafeCompanyGoodsCount({ companyId: this.companyID }).then(res => { + TbSafeCompanyGoodsCount({ companyId: this.companyID, ...this.formInline, }).then(res => { this.wpCount = res.data this.wpCount.forEach((item) => { if (item.type == '全部') { @@ -152,13 +152,9 @@ export default { this.tableData = res.data this.total = res.total }) + this.getWpTotal() }, - showShadow(val) { - this.isShow[val].show = true - }, - closeShadow(val) { - this.isShow[val].show = false - }, + showDia() { this.diaVisible = true }, diff --git a/src/views/archives/yujing.vue b/src/views/archives/yujing.vue index 203405d..ef00fc2 100644 --- a/src/views/archives/yujing.vue +++ b/src/views/archives/yujing.vue @@ -2,7 +2,7 @@
- 预警处置({{ total }}) + 实时预警({{ total }}
共有{{ item }}家企业
-
+
搜索
diff --git a/src/views/head.vue b/src/views/head.vue index b35b3f4..8a4c0eb 100644 --- a/src/views/head.vue +++ b/src/views/head.vue @@ -82,7 +82,7 @@ export default { .headText { font-family: YouSheBiaoTiHei; - font-size: 40px; + font-size: 38px; color: #edf6ff; letter-spacing: 4px; text-shadow: 0 8px 8px rgba(0, 0, 0, 0.3); @@ -91,7 +91,8 @@ export default { } .jingGuan { - margin-left: 100px; + position: absolute; + right: 30px; display: flex; color: #edf6ff; align-items: center; @@ -153,7 +154,7 @@ export default { align-items: center; .el-menu-item { - width: 130px; + width: 100px; height: 35px; display: flex; justify-content: center;