diff --git a/src/App.vue b/src/App.vue index 04bfa89..182997d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -146,6 +146,18 @@ } +.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { + background-color: transparent !important; +} + +.el-table__body tr.current-row>td.el-table__cell { + background-color: transparent !important; +} + +.el-table .el-table__cell.gutter { + display: none; +} + .el-menu .is-active { border: 0 !important; } diff --git a/src/api/companyCanban/index.js b/src/api/companyCanban/index.js index 4da97cd..d4bf4d8 100644 --- a/src/api/companyCanban/index.js +++ b/src/api/companyCanban/index.js @@ -1,5 +1,14 @@ import request from '@/utils/request' -//基本信息 +//企业基本信息 +export function companyBaseInfo(params) { + return request({ + url: '/safety/enterpriseArchives/baseInfo', + method: 'get', + params + }) +} + +//中高风险返企数 export function epidemicTrend(params) { return request({ url: '/safety/signboard/epidemic/trend', @@ -7,3 +16,51 @@ export function epidemicTrend(params) { params }) } +//疫苗接种数 +export function epidemicInoculations(params) { + return request({ + url: '/safety/signboard/epidemic/inoculations', + method: 'post', + params + }) +} +//核酸检测率 +export function epidemicNucleicAcid(params) { + return request({ + url: '/safety/signboard/epidemic/nucleicAcid', + method: 'post', + params + }) +} +//场所码异常数 +export function epidemicSiteCode(params) { + return request({ + url: '/safety/signboard/epidemic/siteCode', + method: 'post', + params + }) +} +//二级指标分类统计上报数据量之和 +export function personSafety(params) { + return request({ + url: '/safety/signboard/person/safety', + method: 'post', + params + }) +} +//人员安全详情 +export function personSafetyDetail(params) { + return request({ + url: '/safety/signboard/person/safety/detail', + method: 'post', + params + }) +} +//危化品运输 +export function chemicalsDetail(params) { + return request({ + url: '/safety/signboard/hazardous/chemicals/detail', + method: 'post', + params + }) +} diff --git a/src/assets/companyCanban/Element 03_00000.png b/src/assets/companyCanban/Element 03_00000.png new file mode 100644 index 0000000..9451ca9 Binary files /dev/null and b/src/assets/companyCanban/Element 03_00000.png differ diff --git a/src/assets/companyCanban/编组 20312.png b/src/assets/companyCanban/编组 20312.png index 416e2ff..138479b 100644 Binary files a/src/assets/companyCanban/编组 20312.png and b/src/assets/companyCanban/编组 20312.png differ diff --git a/src/assets/companyCanban/跳转.png b/src/assets/companyCanban/跳转.png index a20d0cd..af19930 100644 Binary files a/src/assets/companyCanban/跳转.png and b/src/assets/companyCanban/跳转.png differ diff --git a/src/assets/companyCanban/道路安全(绿)_00000.png b/src/assets/companyCanban/道路安全(绿)_00000.png new file mode 100644 index 0000000..0a85948 Binary files /dev/null and b/src/assets/companyCanban/道路安全(绿)_00000.png differ diff --git a/src/utils/request.js b/src/utils/request.js index b04d4c8..690ca1f 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -4,8 +4,8 @@ import vm from "../main"; import { getToken } from '@/utils/auth' axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' const request = axios.create({ - //baseURL: 'http://172.18.113.50:8080/zhapi', - baseURL: 'http://192.168.0.188:8888/zhapi', + baseURL: 'http://172.18.113.50:8080/zhapi', + //baseURL: 'http://192.168.0.188:8888/zhapi', //baseURL: `http://${window.location.host}/zhapi`, timeout: 50000, headers: { 'content-type': 'application/json' }, diff --git a/src/views/companyCanban/canban.vue b/src/views/companyCanban/canban.vue new file mode 100644 index 0000000..a50c86e --- /dev/null +++ b/src/views/companyCanban/canban.vue @@ -0,0 +1,160 @@ + + + + + \ No newline at end of file diff --git a/src/views/companyCanban/fangyi.vue b/src/views/companyCanban/fangyi.vue index 354e8c8..bf2a20e 100644 --- a/src/views/companyCanban/fangyi.vue +++ b/src/views/companyCanban/fangyi.vue @@ -1,14 +1,65 @@ @@ -184,6 +384,7 @@ export default { font-weight: 500; display: flex; align-items: center; + cursor: pointer; img { width: 16px; @@ -203,7 +404,216 @@ export default { width: 100%; height: 50px; margin-bottom: 10px; - padding: 0 15px; + padding: 0 10px; + display: flex; + box-sizing: border-box; + cursor: pointer; + justify-content: space-between; + + .bottomChild { + width: 33%; + height: 50px; + background: url('~@/assets/companyCanban/7691备份 3.png') no-repeat; + background-size: 100% 100%; + padding: 7px 5px; + box-sizing: border-box; + display: flex; + + .bottomImgBox_yellow { + width: 36px; + height: 36px; + border: 1px solid rgba(169, 121, 64, 1); + box-shadow: 0px 0px 6px 0px rgba(195, 143, 74, 1); + box-sizing: border-box; + background-image: linear-gradient(180deg, rgba(169, 121, 64, 0.37) 0%, rgba(98, 155, 227, 0.02) 43%, rgba(169, 121, 64, 0.37) 100%); + display: flex; + + img { + width: 100%; + height: 100%; + } + } + + .bottomImgBox_blue { + width: 36px; + height: 36px; + border: 1px solid rgba(64, 145, 169, 1); + box-shadow: 0px 0px 6px 0px rgba(74, 176, 195, 1); + box-sizing: border-box; + background-image: linear-gradient(180deg, rgba(74, 176, 195, 0.37) 0%, rgba(98, 155, 227, 0.02) 43%, rgba(74, 176, 195, 0.37) 100%); + display: flex; + + img { + width: 100%; + height: 100%; + } + } + + .bottomChildSJ { + height: 36px; + margin-left: 5px; + + .ChildSJTitle { + font-size: 10px; + color: #D0DEEE; + letter-spacing: 0; + text-align: center; + line-height: 16px; + font-weight: 400; + } + + .ChildSJNum { + font-size: 18px; + color: #FFE6D9; + letter-spacing: 0.9px; + line-height: 33px; + text-shadow: 0 0 8px rgba(255, 119, 52, 0.50); + font-weight: 500; + } + + .ChildSJNum_b { + font-size: 18px; + color: #EBF9FF; + letter-spacing: 0.9px; + line-height: 33px; + text-shadow: 0 0 8px rgba(21, 154, 255, 0.50); + font-weight: 500; + } + } + + // background: #000; + } + } + + .picForm { + /deep/ .el-dialog { + background-color: rgba(0, 0, 0, 0); + background: url('~@/assets/companyFile/背景2.png') no-repeat; + background-size: 100% 100%; + width: 811px; + height: 480px; + position: relative; + + .el-dialog__title { + font-size: 16px; + color: #EBFFF4; + letter-spacing: 2px; + + text-shadow: 0 0 9px rgba(21, 255, 195, 0.77); + font-weight: 400; + } + + .el-dialog__body { + box-sizing: border-box; + height: 420px; + padding: 15px; + + .tjsj { + width: 100%; + height: 145px; + margin: 10px 0; + background: url('~@/assets/companyCanban/09091.png') no-repeat; + background-size: 100% 100%; + position: relative; + padding: 0 100px; + box-sizing: border-box; + display: flex; + justify-content: space-between; + align-items: center; + + .tjsjTitle { + position: absolute; + left: 14px; + top: 10px; + font-size: 16px; + color: #FFE6D9; + letter-spacing: 0; + line-height: 16px; + text-shadow: 0 0 8px rgba(255, 119, 52, 0.50); + font-weight: 500; + } + + .zhuangshi { + position: absolute; + left: 0; + top: 0; + background: url('~@/assets/companyCanban/矩形(装饰).png') no-repeat; + background-size: 100% 100%; + width: 15px; + height: 15px; + } + + .tjsjChild { + height: 134px; + width: 134px; + background: url('~@/assets/companyCanban/Element 03_00000.png') no-repeat; + background-size: 100% 100%; + display: flex; + justify-content: center; + align-items: center; + position: relative; + + .numNum { + font-family: AlimamaShuHeiTi; + font-size: 20px; + color: #E3FEFF; + letter-spacing: 1px; + line-height: 22px; + text-shadow: 0 0 9px rgba(87, 240, 255, 0.88); + font-weight: 700; + } + + .numText { + position: absolute; + bottom: 5px; + left: 0; + font-size: 14px; + color: #D9E7FF; + letter-spacing: 1px; + font-weight: 500; + width: 100%; + height: 16px; + text-align: center; + } + } + } + + .fqs { + width: 100%; + height: 225px; + background: url('~@/assets/companyCanban/09091.png') no-repeat; + background-size: 100% 100%; + position: relative; + + .tjsjTitle { + position: absolute; + left: 14px; + top: 10px; + font-size: 16px; + color: #FFE6D9; + letter-spacing: 0; + line-height: 16px; + text-shadow: 0 0 8px rgba(255, 119, 52, 0.50); + font-weight: 500; + } + + .zhuangshi { + position: absolute; + left: 0; + top: 0; + background: url('~@/assets/companyCanban/矩形(装饰).png') no-repeat; + background-size: 100% 100%; + width: 15px; + height: 15px; + } + + .fxfqs { + width: 100%; + height: 100%; + } + } + } + } } } \ No newline at end of file diff --git a/src/views/companyCanban/index.vue b/src/views/companyCanban/index.vue index d20b3fc..2cc0c87 100644 --- a/src/views/companyCanban/index.vue +++ b/src/views/companyCanban/index.vue @@ -2,26 +2,42 @@
+ + +
+
+ +
-
@@ -39,8 +55,6 @@ export default { height: 100%; margin-right: 20px; box-sizing: border-box; - - } .middleBox { diff --git a/src/views/companyCanban/renyuan.vue b/src/views/companyCanban/renyuan.vue new file mode 100644 index 0000000..a69fdcd --- /dev/null +++ b/src/views/companyCanban/renyuan.vue @@ -0,0 +1,633 @@ + + + + \ No newline at end of file diff --git a/src/views/companyCanban/weihuapin.vue b/src/views/companyCanban/weihuapin.vue new file mode 100644 index 0000000..018463e --- /dev/null +++ b/src/views/companyCanban/weihuapin.vue @@ -0,0 +1,513 @@ + + + + \ No newline at end of file diff --git a/src/views/enterpriseRank/index.vue b/src/views/enterpriseRank/index.vue index a2eb4af..17f0e99 100644 --- a/src/views/enterpriseRank/index.vue +++ b/src/views/enterpriseRank/index.vue @@ -20,7 +20,12 @@ - + + @@ -341,7 +346,13 @@ - + + +
@@ -575,6 +586,12 @@ export default { tableHeaderCellColor() { return { 'background': 'rgba(0,0,0,0)', 'border': '1px solid rgba(91, 116, 140, 0.6)', 'font-Weight': '300', 'color': 'rgba(255, 255, 255, 0.8)', 'text-align': 'center' } }, + goCanban(val) { + sessionStorage.setItem('companyID', val.companyId) + this.$router.push({ + path: '/home/companyCanban', + }) + }, handleSizeChange(val) { console.log(`每页 ${val} 条`); this.pageNum = 1;