diff --git a/src/assets/companyFile/921.png b/src/assets/companyFile/921.png new file mode 100644 index 0000000..8347485 Binary files /dev/null and b/src/assets/companyFile/921.png differ diff --git a/src/assets/companyFile/menu01.png b/src/assets/companyFile/menu01.png new file mode 100644 index 0000000..1f04a30 Binary files /dev/null and b/src/assets/companyFile/menu01.png differ diff --git a/src/assets/companyFile/menu02.png b/src/assets/companyFile/menu02.png new file mode 100644 index 0000000..f304a9a Binary files /dev/null and b/src/assets/companyFile/menu02.png differ diff --git a/src/assets/companyFile/menu03.png b/src/assets/companyFile/menu03.png new file mode 100644 index 0000000..80b5f46 Binary files /dev/null and b/src/assets/companyFile/menu03.png differ diff --git a/src/assets/companyFile/menu04.png b/src/assets/companyFile/menu04.png new file mode 100644 index 0000000..f420da1 Binary files /dev/null and b/src/assets/companyFile/menu04.png differ diff --git a/src/router/index.js b/src/router/index.js index 213d3db..5dfb269 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -34,17 +34,29 @@ const routes = [ name: 'systemManagement', component: () => import('@/views/systemManagement'), children: [ - // 关联设备 + // 平安指数 { - path: 'correlationEquipment', - name: 'correlationEquipment', - component: () => import('@/views/systemManagement/correlationEquipment'), + path: 'safeIndex', + name: 'safeIndex', + component: () => import('@/views/systemManagement/safeIndex'), }, - // 企业名单 - { + // 企业赋分 + { + path: 'companyScore', + name: 'companyScore', + component: () => import('@/views/systemManagement/companyScore'), + }, + // 企业名单 + { path: 'companyList', name: 'companyList', component: () => import('@/views/systemManagement/companyList'), + }, + // 关联设备 + { + path: 'correlationEquipment', + name: 'correlationEquipment', + component: () => import('@/views/systemManagement/correlationEquipment'), } ] } diff --git a/src/views/systemManagement/companyList/components/companyDataDialog.vue b/src/views/systemManagement/companyList/components/companyDataDialog.vue index a7fb45e..6bc3bd8 100644 --- a/src/views/systemManagement/companyList/components/companyDataDialog.vue +++ b/src/views/systemManagement/companyList/components/companyDataDialog.vue @@ -18,38 +18,38 @@ class="commerceMessage_form" > - + - + - + - + - + @@ -72,26 +72,26 @@ > - - - - - - - - - - + + + + + + + + + + @@ -106,10 +106,10 @@ class="company_person_message_form" > - + - + @@ -124,14 +124,14 @@ > @@ -250,26 +250,26 @@ export default { visible: false, // 企业工商信息上半部分 commerceMessage_form: { - name: "", - credit: "", - property: "", - time_limit: "", - publish_time: "", - establish_time: "", - register_capital: "", - registration_authority: "", - operating_status: "", + companyName: "", + socialCreditCode: "", + companyNature: "", + businessTermDate: "", + businessLicenseDate: "", + establishDate: "", + registerCapital: "", + registerAuthority: "", + businessStatus: "", }, // 企业工商信息下半部分 commerceMessage_form_two: { - register_poisition: "", - company_type: [], - business_scope: "", + registerAddress: "", + companyType: [], + businessStatus: "", }, // 企业联系人信息表单 company_person_message_form: { - person: "", - phone: "", + emergencyContact: "", + emergencyContactPhone: "", }, // 企业位置信息表单 company_position_form: { diff --git a/src/views/systemManagement/companyList/index.vue b/src/views/systemManagement/companyList/index.vue index a69699a..bb0caa6 100644 --- a/src/views/systemManagement/companyList/index.vue +++ b/src/views/systemManagement/companyList/index.vue @@ -4,6 +4,8 @@
+
+
企业名单
@@ -35,7 +37,7 @@
{{ val }} @@ -88,16 +90,16 @@ export default { return { searchCompany: "", company_data: [ - // { - // value: "1", - // name: "宁波镇海兴达化工有限公司", - // unit: "宁波镇海兴达化工有限公司工业园", - // }, - // { value: "2" }, - // { value: "3" }, - // { value: "4" }, - // { value: "5" }, - // { value: "6" }, + { + value: "1", + name: "宁波镇海兴达化工有限公司", + unit: "宁波镇海兴达化工有限公司工业园", + }, + { value: "2" }, + { value: "3" }, + { value: "4" }, + { value: "5" }, + { value: "6" }, ], pageSize: 6, pageNum: 1, @@ -126,7 +128,7 @@ export default { }; getCompanyList(params).then((res) => { console.log("res.data", res.data); - this.company_data = res.data; + // this.company_data = res.data; }); }, }, @@ -136,6 +138,7 @@ export default { /* card统一样式 */ .el-card.box-card.is-always-shadow { height: calc(100vh - 116px); /* 控制card布局高度,用于适配 */ + position: relative; /* card统一样式 */ /deep/.el-card__header { border-bottom: 1px solid #a1a1a1 !important; @@ -144,6 +147,7 @@ export default { font-size: 17px; font-weight: 400; color: #fff; + text-shadow: 0 0 9px rgba(21, 255, 198, 0.64); } } } @@ -206,6 +210,7 @@ export default { .top_add_btn { width: 10%; .el-button { + width: 82%; border: 1px solid #4a6072; color: #fff; border-radius: 0px !important; @@ -222,7 +227,7 @@ export default { /* 公司图片展示区域 */ .center { width: 100%; - height: 640px; + height: 775px; margin-top: 22px; ul { display: flex; @@ -234,12 +239,14 @@ export default { position: relative; list-style: none; width: 30%; - height: 45%; + height: 47%; background: #1b3736; border: 1px solid #fff; img { - width: 100%; - height: 100%; + margin-left: 1%; + margin-top: 1.2%; + width: 98%; + height: 97%; } /* 公司图片相关信息区域 */ .company_name { @@ -286,11 +293,11 @@ export default { /* 图片鼠标经过按钮 */ .btn { margin-left: 25%; - margin-top: 28%; + margin-top: 30%; button { - height: 35px; - margin-right: 15px; - font-size: 20px; + height: 40px; + margin-right: 25px; + font-size: 24px; color: #fff; border: 1px; border-radius: 0px; @@ -329,7 +336,7 @@ export default { /* 底部分页展示区域 */ .footer { .el-pagination { - margin-left: 75%; + margin-left: 82%; /deep/.el-input__inner { border-radius: 0px; background: #3c4b4a; diff --git a/src/views/systemManagement/companyScore/index.vue b/src/views/systemManagement/companyScore/index.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/systemManagement/components/leftNav.vue b/src/views/systemManagement/components/leftNav.vue index 4d08f7d..91de85e 100644 --- a/src/views/systemManagement/components/leftNav.vue +++ b/src/views/systemManagement/components/leftNav.vue @@ -1,7 +1,7 @@