Merge pull request '企业档案样式修改' (#135) from lukeyan into master

Reviewed-on: #135
guomingxin
lukeyan 1 year ago
commit 20e3846343

@ -96,11 +96,11 @@ export default {
let dateTemp; let dateTemp;
let flag = 1; let flag = 1;
for (let i = 1; i < day; i++) { for (let i = 1; i < day; i++) {
dateTemp = year + "-" + month + myDate.getDate(); dateTemp = year + "-" + month + "-" + myDate.getDate();
dateArray.push(dateTemp); dateArray.push(dateTemp);
myDate.setDate(myDate.getDate() + flag); myDate.setDate(myDate.getDate() + flag);
} }
dateArray.push(year + "-" + month + myDate.getDate()); dateArray.push(year + "-" + month + "-" + myDate.getDate());
return dateArray; return dateArray;
}, },
// 7 // 7
@ -116,11 +116,11 @@ export default {
let dateTemp; let dateTemp;
let flag = 1; let flag = 1;
for (let i = 1; i < day; i++) { for (let i = 1; i < day; i++) {
dateTemp = year + "-" + month + myDate.getDate(); dateTemp = year + "-" + month + "-" + myDate.getDate();
dateArray.push(dateTemp); dateArray.push(dateTemp);
myDate.setDate(myDate.getDate() + flag); myDate.setDate(myDate.getDate() + flag);
} }
dateArray.push(year + "-" + month + myDate.getDate()); dateArray.push(year + "-" + month + "-" + myDate.getDate());
return dateArray; return dateArray;
}, },
init_chart() { init_chart() {
@ -183,18 +183,14 @@ export default {
axisLine: { axisLine: {
onZero: false, onZero: false,
lineStyle: { lineStyle: {
color: colors[4], color: "#fff",
}, },
}, },
axisPointer: { axisPointer: {
label: { label: {
color: "black",
formatter: function (params) { formatter: function (params) {
return ( return params.value;
params.value +
(params.seriesData.length
? ":" + params.seriesData[0].data
: "")
);
}, },
}, },
}, },
@ -209,18 +205,14 @@ export default {
axisLine: { axisLine: {
onZero: false, onZero: false,
lineStyle: { lineStyle: {
color: colors[4], color: "#fff",
}, },
}, },
axisPointer: { axisPointer: {
label: { label: {
color: "black",
formatter: function (params) { formatter: function (params) {
return ( return params.value;
params.value +
(params.seriesData.length
? ":" + params.seriesData[0].data
: "")
);
}, },
}, },
}, },
@ -249,7 +241,7 @@ export default {
emphasis: { emphasis: {
focus: "series", focus: "series",
}, },
data: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6], data: [141, 231, 155, 99, 75, 201, 63],
}, },
{ {
name: "今日出园区", name: "今日出园区",
@ -259,7 +251,7 @@ export default {
emphasis: { emphasis: {
focus: "series", focus: "series",
}, },
data: [2.6, 5.9, 9.0, 26, 27, 70.7, 175.6], data: [34, 45, 59, 44, 34, 61, 55],
}, },
{ {
name: "上月进园区", name: "上月进园区",
@ -268,7 +260,7 @@ export default {
emphasis: { emphasis: {
focus: "series", focus: "series",
}, },
data: [3.9, 5.9, 11.1, 18.7, 48.3, 69.2, 231.6], data: [79, 98, 101, 122, 97, 88, 72],
}, },
{ {
name: "上月出园区", name: "上月出园区",
@ -331,7 +323,7 @@ export default {
.in_car { .in_car {
width: 10vw; width: 10vw;
height: 5vh; height: 5vh;
// border: 0.1px solid #495e70; //
display: flex; display: flex;
.in_car_icon { .in_car_icon {
width: 2.5vw; width: 2.5vw;

@ -239,8 +239,8 @@ export default {
height: 8vh; height: 8vh;
.num_green { .num_green {
width: 6vw; width: 6vw;
height: 5vh; height: 4vh;
line-height: 5vh; line-height: 4vh;
background: linear-gradient(#fff, #00ffd4); background: linear-gradient(#fff, #00ffd4);
background-clip: text; background-clip: text;
color: transparent; color: transparent;
@ -250,8 +250,8 @@ export default {
} }
.num_orange { .num_orange {
width: 6vw; width: 6vw;
height: 5vh; height: 4vh;
line-height: 5vh; line-height: 4vh;
background: linear-gradient(#fff, #fef699); background: linear-gradient(#fff, #fef699);
background-clip: text; background-clip: text;
color: transparent; color: transparent;
@ -261,8 +261,8 @@ export default {
} }
.num_red { .num_red {
width: 6vw; width: 6vw;
height: 5vh; height: 4vh;
line-height: 5vh; line-height: 4vh;
background: linear-gradient(#fff, #ff4b4b); background: linear-gradient(#fff, #ff4b4b);
background-clip: text; background-clip: text;
color: transparent; color: transparent;

@ -3,13 +3,12 @@
<div class="notification_box"> <div class="notification_box">
<!-- 模块标题 --> <!-- 模块标题 -->
<div class="title"> <div class="title">
<div class="img_box"> <div class="img_box"></div>
</div>
<div class="title_text">警情通报</div> <div class="title_text">警情通报</div>
</div> </div>
<div class="carousel_box"> <div class="carousel_box">
<ul class="marquee-list" :class="{ 'animate-up': animateUp }"> <ul class="marquee-list" :class="{ 'animate-up': animateUp }">
<li v-for="(item, index) in this.notification_list" :key="index"> <li v-for="(item, index) in notification_list" :key="index">
<!-- {{ item.caseAddress }} --> <!-- {{ item.caseAddress }} -->
<div class="icon_box"> <div class="icon_box">
<div class="icon_item"></div> <div class="icon_item"></div>
@ -19,8 +18,12 @@
{{ item.caseName }} {{ item.caseName }}
</div> </div>
<div class="bottom_message"> <div class="bottom_message">
<div class="bottom_message_company">企业名称{{ item.caseAddress }}</div> <div class="bottom_message_company">
<div class="bottom_message_time">时间{{ item.registerTime }}</div> 企业名称{{ item.caseAddress }}
</div>
<div class="bottom_message_time">
时间{{ item.registerTime }}
</div>
</div> </div>
</div> </div>
</li> </li>
@ -49,7 +52,6 @@ export default {
getList() { getList() {
caseList().then((res) => { caseList().then((res) => {
this.notification_list = res.data; this.notification_list = res.data;
console.log("this.notification_list", this.notification_list);
}); });
}, },
// //
@ -126,6 +128,8 @@ export default {
font-size: 18px; font-size: 18px;
font-weight: 400; font-weight: 400;
display: flex; display: flex;
background: url("~@/assets/safetyIndex/0091.png") no-repeat;
background-size: 100% 100%;
.icon_box { .icon_box {
width: 3vw; width: 3vw;
height: 7vh; height: 7vh;

@ -101,11 +101,10 @@ export default {
height: calc(100% - 80px); height: calc(100% - 80px);
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
// border: 0.1px solid #495e70;
.iframeMap { .iframeMap {
margin-top: 0.5vh; // margin-top: 0.5vh;
z-index: 0; z-index: 0;
height: 90vh; height: 91vh;
} }
.left_box { .left_box {
position: absolute; position: absolute;
@ -116,7 +115,7 @@ export default {
.right_box { .right_box {
position: absolute; position: absolute;
width: 24vw; width: 24vw;
right: 20px; right: 14px;
top: 0vh; top: 0vh;
} }
.select_box { .select_box {

@ -1,257 +1,277 @@
<template> <template>
<div class="cardBox"> <div class="cardBox">
<div class="cardContent"> <div class="cardContent">
<!-- 卡片展示 --> <!-- 卡片展示 -->
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6" class="cardCol" v-for="(i, index) in cardListArr" :key="index" @click.native="goArchives(i)"> <el-col
<div class="cardList"> :span="6"
<div class="cardListHead"> class="cardCol"
<span>{{ i.companyName }}</span> v-for="(i, index) in cardListArr"
</div> :key="index"
<div class="cardListBody"> @click.native="goArchives(i)"
<div class="bodySign" :style="{ 'background': 'url('+ i.picUrl +')' }"> >
<!-- <img :src="i.picUrl"/> --> <div class="cardList">
<!-- 中间标签 --> <div class="cardListHead">
<div class="sign"> <span>{{ i.companyName }}</span>
<div class="impBtnList"> </div>
<div <div class="cardListBody">
:class="{ <div
shewei: a == '剧毒' || a == '易制毒', class="bodySign"
zhongdian: a == '消防重点' || a == '所管消防', :style="{ background: 'url(' + i.picUrl + ')' }"
zhibao: a == '放射源' || a == '易制爆', >
zhian: a == '治安重点' || a == '创安单位', <!-- <img :src="i.picUrl"/> -->
}" <!-- 中间标签 -->
v-for="a in i.companyTypes" <div class="sign">
:key="a" <div class="impBtnList">
> <div
{{ a }} :class="{
</div> shewei: a == '剧毒' || a == '易制毒',
</div> zhongdian: a == '消防重点' || a == '所管消防',
</div> zhibao: a == '放射源' || a == '易制爆',
</div> zhian: a == '治安重点' || a == '创安单位',
</div> }"
<div class="cardListFoot"> v-for="a in i.companyTypes"
<el-descriptions class="margin-top" :column="2"> :key="a"
<el-descriptions-item label="企业员工">{{ i.staffCount || 0}} </el-descriptions-item> >
<el-descriptions-item label="是否有过处罚"> {{ a }}
<span v-if="i.caseCount == 13"></span>
<span v-else></span>
</el-descriptions-item>
<el-descriptions-item label="企业安全责任人电话">{{ i.emergencyContactPhone }}</el-descriptions-item>
</el-descriptions>
<div class="address">
<img src="@/assets/enterpriseArchives/address.png" alt="">
<span>{{ i.companyAddress }}</span>
</div>
</div>
</div> </div>
</el-col> </div>
</el-row> </div>
</div> </div>
</div>
<div class="cardListFoot">
<el-descriptions class="margin-top" :column="2">
<el-descriptions-item label="企业员工"
>{{ i.staffCount || 0 }} </el-descriptions-item
>
<el-descriptions-item label="是否有过处罚">
<span v-if="i.caseCount == 13"></span>
<span v-else></span>
</el-descriptions-item>
<el-descriptions-item label="企业安全责任人电话">{{
i.emergencyContactPhone
}}</el-descriptions-item>
</el-descriptions>
<div class="address">
<img src="@/assets/enterpriseArchives/address.png" alt="" />
<span>{{ i.companyAddress }}</span>
</div>
</div>
</div>
</el-col>
</el-row>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
props:{ props: {
cardList:{ cardList: {
type:Array, type: Array,
default:()=> [] default: () => [],
}
},
watch:{
cardList:{
handler(val){
this.cardListArr =val
},
immediate:true
}
},
data() {
return {
cardListArr:[]
}
}, },
created() { },
watch: {
cardList: {
}, handler(val) {
mounted(){ this.cardListArr = val;
},
immediate: true,
}, },
methods: { },
goArchives(val) { data() {
console.log(val,'val'); return {
sessionStorage.setItem('companyID', val.id) cardListArr: [],
sessionStorage.setItem('companyName', val.companyName) };
this.$router.push({ },
name: 'archives', created() {},
mounted() {},
}) methods: {
}, goArchives(val) {
console.log(val, "val");
sessionStorage.setItem("companyID", val.id);
sessionStorage.setItem("companyName", val.companyName);
this.$router.push({
name: "archives",
});
}, },
} },
};
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.cardBox{ .cardBox {
width: 100%; width: 100%;
display: flex;
justify-content: center;
border: 0.1px solid #495e70;
height: 65vh;
.cardContent {
width: 80%;
height: 60vh;
// border:4px solid #fff;
}
.cardCol {
display: flex; display: flex;
justify-content: center; justify-content: center;
.cardContent { margin-bottom: 2vh;
width: 80%; }
.cardList {
width: 20vw;
cursor: pointer;
height: 30vh;
background: url("~@/assets/enterpriseArchives/cardBg.png") no-repeat;
background-size: 100% 100%;
.cardListHead {
height: 39px;
z-index: 99;
text-align: center;
position: absolute;
background: url("~@/assets/enterpriseArchives/cardTitle.png") no-repeat;
background-size: 100% 100%;
width: 382px;
} }
.cardCol{ .cardListHead span {
display: flex; color: #ffffff;
justify-content: center; display: inline-block;
margin-bottom: 2vh; margin-top: 2px;
} }
.cardList { .cardListBody {
width: 382px; width: 20vw;
cursor: pointer; display: flex;
height: 291px; height: 200px;
background: url("~@/assets/enterpriseArchives/cardBg.png") no-repeat; justify-content: center;
.cardListHead { }
height: 39px; .bodySign {
z-index: 99; width: 95%;
text-align: center; // background: url("~@/assets/enterpriseArchives/build.jpg") no-repeat;
position: absolute; background-size: cover;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAAAnCAYAAAAM2fNKAAAAAXNSR0IArs4c6QAADQhJREFUeF7tXV2sXUUV/mbPPrcFWkqgfwIxaMJfq4ZIApoG5EJEWtKkxIQYCf69tA8mxmdMGjT6YiIPYjC+SnwgQVGQYlOVyINUAw9AKfEBApFQKKGUUnrP/pkxa/asfdeee869vaWVe/ZZJ9l3z55Zs2bWNzPfXnv27DsGye8R7+2GQ4fO27Bu3czWyy/3AAwACyA/Bdi3gbwC7FFgcKIo8qo0+UlT2rnK5IVBXtW1PVnXg8LAztUmL5zLC1fnpTF5ZYwtKjcojbEVxRuTl97lpbG2dI7S88q7vPA+L7zJawtbepLxeUW6PaX7vMgyWzufl1QXA9JjvfMZqLZwjUWOLijsAR/jgoALUfFPcx1kQ6SQraMqys96Y/4gzz/SF/OHYmKZra4o60bFx3qNyh+QZ91UR66zyEM6M7aV6y5s4TJT+0fpakCLtlBY2i/wCzqpLN/0jKCbsaY6Z0BmAJsBxjY9x9C1BbIMsKa5pjDLZTbKyLwkR/mjbNAjrymd9FFeRN1UZiybdFN6qAD9+CzrG/sGtWftgDraQWGyq4521hELXzdyJE/pnI+woIPTQn7KE+NCGumSejxAWHK+Nn893zVDvckGtoX7XMSk7YMyndKoKSOWJEOYtLpCRIMZ6yZ5WRaH23wR3y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Qi3+57N4zOHd25eFCmnccY9G61ATl+qx7Xp0sMf5eUz8bPcUs+qk4aF1lcRmDYEmOR4LMs5eunVy+kcOZWzmKczaVgypwdMJn0KZxz4cmpHEjmFFyN9ObU1zoWetAbX+ioC04aAfIbhKQ326OVZhuXUB+HVy/E/as67T50jndph8pdTOjyvz087Mk+fsFBbFIFpQSCdg2fvXXr3FCeP9I1537BqPfy+Gcb2LPUClz19Jnr5JMBPP33FRu1SBPqOABM4T8/IufqU6Nm7l5j03sPvYwcYRfrSk+cpHhmnHn4fe4LaNG0ISBLnVTlyLp/DU0P20+LFStKX7y14vl569uk7jTTvtA0atVcRmEQE0ukZOY+frDvuzNX30quXDTgthDaK9AmHziI/8eXVtOAyiYNZ66wInA4C40g/9fxZV+/Jflo8/HE3uHFz/LLhlfhPZ2ipjCKwchBIx+844u/9fP2oJplGQhvn7fMNcCru9CtnfGpNFIFzhkC6PHNUQVM13qeR8KfxyeacjShVrAisUAT4o6vFqjdVZE9A/A8Y9zIClLo3hgAAAABJRU5ErkJggg==) no-repeat; position: relative;
width: 382px; .sign {
} position: absolute;
.cardListHead span{ bottom: 5px;
color: #FFFFFF; width: 100%;
display: inline-block; color: #fff;
margin-top: 2px; display: flex;
} justify-content: space-around;
.cardListBody{ .impBtnList {
width: 100%; height: 40px;
display: flex; width: 100%;
height: 200px; display: flex;
justify-content: center; align-items: center;
} overflow: hidden;
.bodySign { white-space: nowrap; //
width: 95%;
// background: url("~@/assets/enterpriseArchives/build.jpg") no-repeat;
background-size: cover;
position: relative;
.sign {
position: absolute;
bottom: 5px;
width: 100%;
color: #fff;
display: flex;
justify-content: space-around;
.impBtnList {
height: 40px;
width: 100%;
display: flex;
align-items: center;
overflow: hidden;
white-space: nowrap; //
text-overflow: ellipsis; //... text-overflow: ellipsis; //...
//margin-bottom: 5px; //margin-bottom: 5px;
.shewei { .shewei {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
width: auto; width: auto;
background: url("~@/assets/companyFile/编组 11991.png") background: url("~@/assets/companyFile/编组 11991.png") no-repeat;
no-repeat; background-size: 100% 100%;
padding: 0 5px; padding: 0 5px;
font-size: 14px; font-size: 14px;
color: #b5ebff; color: #b5ebff;
letter-spacing: 0.44px; letter-spacing: 0.44px;
font-weight: 400; font-weight: 400;
background-size: 100% 100%; background-size: 100% 100%;
margin-right: 10px; margin-right: 10px;
} }
.zhongdian { .zhongdian {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
width: auto; width: auto;
background: url("~@/assets/companyFile/编组 11222221.png") background: url("~@/assets/companyFile/编组 11222221.png") no-repeat;
no-repeat; background-size: 100% 100%;
padding: 0 5px; padding: 0 5px;
font-size: 14px; font-size: 14px;
color: #e3deff; color: #e3deff;
letter-spacing: 0.44px; letter-spacing: 0.44px;
font-weight: 400; font-weight: 400;
background-size: 100% 100%; background-size: 100% 100%;
margin-right: 10px; margin-right: 10px;
} }
.zhibao { .zhibao {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
width: auto; width: auto;
background: url("~@/assets/companyFile/编组 11991备份 10.png") background: url("~@/assets/companyFile/编组 11991备份 10.png")
no-repeat; no-repeat;
padding: 0 5px; background-size: 100% 100%;
font-size: 14px; padding: 0 5px;
color: #e3deff; font-size: 14px;
letter-spacing: 0.44px; color: #e3deff;
font-weight: 400; letter-spacing: 0.44px;
background-size: 100% 100%; font-weight: 400;
margin-right: 10px; background-size: 100% 100%;
} margin-right: 10px;
}
.zhian { .zhian {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
width: auto; width: auto;
background: url("~@/assets/companyFile/编组 11991备份 21.png") background: url("~@/assets/companyFile/编组 11991备份 21.png")
no-repeat; no-repeat;
padding: 0 5px; background-size: 100% 100%;
font-size: 14px; padding: 0 5px;
color: #e3deff; font-size: 14px;
letter-spacing: 0.44px; color: #e3deff;
font-weight: 400; letter-spacing: 0.44px;
background-size: 100% 100%; font-weight: 400;
margin-right: 10px; background-size: 100% 100%;
} margin-right: 10px;
} }
.signGreen{
font-size: 14px;
background: url("~@/assets/enterpriseArchives/signGreen.png") no-repeat;
}
.signRed{
background: url("~@/assets/enterpriseArchives/signRed.png") no-repeat;
}.signBlue{
background: url("~@/assets/enterpriseArchives/signBlue.png") no-repeat;
background-size: cover;
padding: 3px;
padding-left: 6px;
padding-right: 6px;
border-radius: 4px;
font-size: 14px;
}
}
} }
.cardListFoot{ .signGreen {
color: #fff; font-size: 14px;
padding: 0 10px 0 10px; background: url("~@/assets/enterpriseArchives/signGreen.png")
margin-top: 5px; no-repeat;
.address{ background-size: 100% 100%;
font-size: 14px;
margin-top: 4px;
img{
vertical-align: middle;
}
}
} }
::v-deep .el-descriptions{ .signRed {
width: 80%!important; background: url("~@/assets/enterpriseArchives/signRed.png") no-repeat;
background-size: 100% 100%;
} }
::v-deep .el-descriptions__body{ .signBlue {
color: #fff; background: url("~@/assets/enterpriseArchives/signBlue.png") no-repeat;
background-color: transparent!important; background-size: 100% 100%;
background-size: cover;
padding: 3px;
padding-left: 6px;
padding-right: 6px;
border-radius: 4px;
font-size: 14px;
} }
::v-deep .el-descriptions-item__cell{ }
padding-bottom: 3px!important; }
.cardListFoot {
color: #fff;
padding: 0 10px 0 10px;
margin-top: 5px;
.address {
font-size: 14px;
margin-top: 4px;
img {
vertical-align: middle;
} }
}
}
::v-deep .el-descriptions {
width: 80% !important;
}
::v-deep .el-descriptions__body {
color: #fff;
background-color: transparent !important;
}
::v-deep .el-descriptions-item__cell {
padding-bottom: 3px !important;
} }
}
} }
</style> </style>

@ -0,0 +1,224 @@
<template>
<div class="card_box">
<div
class="card_box_item"
v-for="(i, index) in cardList"
:key="index"
@click="change_item(i)"
>
<!-- 盒子头部企业公司名 -->
<div class="card_head" :title="i.companyName">
{{ i.companyName }}
</div>
<!-- 企业图片展示区域 -->
<div class="card_company">
<img :src="i.picUrl" alt="" @error="setDefaultImage" />
<!-- 企业类型标签 -->
<div class="company_type">
<div
:class="{
shewei: val == '剧毒' || val == '易制毒',
zhongdian: val == '消防重点' || val == '所管消防',
zhibao: val == '放射源' || val == '易制爆',
zhian:
val == '治安重点' || val == '创安单位' || val == '外资合资',
}"
v-for="(val, index) in i.companyTypes"
:key="index"
>
{{ val }}
</div>
</div>
</div>
<!-- 企业信息展示 -->
<div class="card_text">
<el-descriptions class="margin-top" :column="2">
<el-descriptions-item label="企业员工"
>{{ i.staffCount || 0 }} </el-descriptions-item
>
<el-descriptions-item label="是否有过处罚">
<span v-if="i.caseCount == 13"></span>
<span v-else></span>
</el-descriptions-item>
<el-descriptions-item label="企业安全责任人电话">{{
i.emergencyContactPhone
}}</el-descriptions-item>
</el-descriptions>
<div class="address">
<i class="el-icon-location-outline"></i>
<span>{{ i.companyAddress }}</span>
</div>
</div>
</div>
</div>
</template>
<script>
import defaultImage from "@/assets/companyFile/default.png";
export default {
props: {
//
cardList: {
type: Array,
default: () => [],
},
},
data() {
return {
cardListArr: [],
massage_title: "",
};
},
methods: {
setDefaultImage(e) {
//
e.target.src = defaultImage;
},
//
change_item(val) {
sessionStorage.setItem("companyID", val.id);
sessionStorage.setItem("companyName", val.companyName);
this.$router.push({
name: "archives",
});
},
},
};
</script>
<style lang="less" scoped>
.card_box {
width: 76vw;
height: 58vh;
margin-top: 2vh;
margin-left: 12vw;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
.card_box_item {
width: 17.5vw;
height: 27vh;
margin-top: 1vh;
margin-left: 1.2vw;
background: url("~@/assets/enterpriseArchives/cardBg.png") no-repeat;
background-size: 100% 100%;
cursor: pointer;
.card_head {
width: 17.5vw;
height: 4vh;
background: url("~@/assets/enterpriseArchives/cardTitle.png") no-repeat;
background-size: 100% 100%;
color: aliceblue;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.card_company {
width: 17.5vw;
height: 15vh;
position: relative;
img {
width: 17.5vw;
height: 15vh;
}
.company_type {
display: flex;
flex-wrap: wrap;
position: absolute;
z-index: 10;
left: 10px;
width: 16.4vw;
bottom: 5px;
background: #161325;
background-color: rgba(0, 0, 0, 0.4);
.shewei {
height: 26px;
line-height: 26px;
width: 60px;
background: url("~@/assets/companyFile/编组 11991.png") no-repeat;
padding: 0 5px;
font-size: 14px;
color: #b5ebff;
letter-spacing: 0.44px;
font-weight: 400;
background-size: 100% 100%;
margin-right: 5px;
margin-bottom: 5px;
text-align: center;
}
.zhongdian {
height: 26px;
line-height: 26px;
width: 80px;
background: url("~@/assets/companyFile/编组 11222221.png") no-repeat;
padding: 0 5px;
font-size: 14px;
color: #e3deff;
letter-spacing: 0.44px;
font-weight: 400;
background-size: 100% 100%;
margin-right: 5px;
margin-bottom: 5px;
text-align: center;
}
.zhibao {
height: 26px;
line-height: 26px;
width: 60px;
background: url("~@/assets/companyFile/编组 11991备份 10.png")
no-repeat;
padding: 0 5px;
font-size: 14px;
color: #e3deff;
letter-spacing: 0.44px;
font-weight: 400;
background-size: 100% 100%;
margin-right: 5px;
margin-bottom: 5px;
text-align: center;
}
.zhian {
height: 26px;
line-height: 26px;
width: 80px;
background: url("~@/assets/companyFile/编组 11991备份 21.png")
no-repeat;
padding: 0 5px;
font-size: 14px;
color: #e3deff;
letter-spacing: 0.44px;
font-weight: 400;
background-size: 100% 100%;
margin-right: 5px;
margin-bottom: 5px;
text-align: center;
}
}
}
.card_text {
margin-left: 0.5vw;
width: 17vw;
height: 8vh;
color: #fff;
.address {
font-size: 14px;
margin-top: 4px;
height: 2vh;
line-height: 2vh;
}
}
::v-deep .el-descriptions {
width: 80% !important;
}
::v-deep .el-descriptions__body {
color: #fff;
background-color: transparent !important;
}
::v-deep .el-descriptions-item__cell {
padding-bottom: 3px !important;
}
}
}
</style>

@ -1,266 +1,295 @@
<template> <template>
<div class="main"> <div class="main">
<div class="searchMain" v-show="!isShow"> <div class="searchMain" v-show="!isShow">
<div class="searchBox"> <div class="searchBox">
<div class="searchBody" > <div class="searchBody">
<div class="topLogo"> <div class="topLogo">
<img src="../../assets/companyFile/档案981.png" alt=""> <img src="../../assets/companyFile/档案981.png" alt="" />
企业档案 企业档案
</div> </div>
<div class="totalNum"> <div class="totalNum">
<span>共有</span><i class="numItem" v-for="(item, index) in numList" :key="index">{{ item <span>共有</span
}}</i><span>家企业</span> ><i class="numItem" v-for="(item, index) in numList" :key="index">{{
</div> item
<div class="zhcxBox"><input type="text" class="zhcxBoxIPT" placeholder="请输入企业名称/员工姓名/车牌号检索" }}</i
v-model.trim="searchVal"> ><span>家企业</span>
<el-button type="primary" icon="el-icon-search" class="ssBtn" @click="showResult(searchVal)"><span>搜索</span> </div>
</el-button> <div class="zhcxBox">
</div> <input
<div class="zjssBox"> type="text"
<span style="color: #37FDC7;">最近搜索 </span> class="zhcxBoxIPT"
<div class="ssgs" v-for="(item, index) in historyList" :key="index"><span class="hisSpan" @click="showResult(item)">{{ placeholder="请输入企业名称/员工姓名/车牌号检索"
item }}</span></div> v-model.trim="searchVal"
</div> />
</div> <el-button
type="primary"
icon="el-icon-search"
class="ssBtn"
@click="showResult(searchVal)"
><span>搜索</span>
</el-button>
</div>
<div class="zjssBox">
<span style="color: #37fdc7">最近搜索 </span>
<div class="ssgs" v-for="(item, index) in historyList" :key="index">
<span class="hisSpan" @click="showResult(item)">{{ item }}</span>
</div> </div>
<card :cardList="cardList"></card> </div>
</div> </div>
<result :searchVal="searchVal" :total="total" :historyList="historyList" :resultList="resultList" </div>
@clearInput="clearInput()" v-if="isShow"> <!-- <card :cardList="cardList"></card> -->
</result> <CardBox ref="cardBox" :cardList="cardList"></CardBox>
</div> </div>
<result
:searchVal="searchVal"
:total="total"
:historyList="historyList"
:resultList="resultList"
@clearInput="clearInput()"
v-if="isShow"
>
</result>
</div>
</template> </template>
<script> <script>
import result from './result.vue' import result from "./result.vue";
import card from './componets/card.vue' import CardBox from "./componets/cardBox"
import { listTotal, historyList, searchList,cardLists } from '@/api/enterpriseArchives' // import card from "./componets/card.vue";
import {
listTotal,
historyList,
searchList,
cardLists,
} from "@/api/enterpriseArchives";
export default { export default {
components: { components: {
result, result,
card // card,
CardBox
},
data() {
return {
cardList: [],
numList: [],
totalNum: "",
searchVal: "",
isShow: false,
resultList: [],
historyList: [],
resultList1: [],
total: 0,
};
},
created() {
this.getlistTotal();
this.gethistoryList();
this.resultList1 = JSON.parse(JSON.stringify(this.resultList));
},
mounted() {
this.getCardList();
},
methods: {
getCardList() {
//
this.cardList = [];
cardLists().then((res) => {
if (res.code == 200) {
this.cardList = res.data;
}
});
}, },
data() { showResult(val) {
return { if (!val) {
cardList:[], this.$message.warning("请输入要查询的关键词");
numList: [], return;
totalNum: '', }
searchVal: '', this.searchVal = val;
isShow: false, searchList({ searchValue: val }).then((res) => {
resultList: [], if (res.total || res.data.length) {
historyList: [], this.resultList = res.data;
resultList1: [], this.total = res.total;
total: 0, this.isShow = true;
} else {
this.$message.warning("未查询到相关数据");
} }
});
}, },
created() { clearInput() {
this.getlistTotal() this.resultList = JSON.parse(JSON.stringify(this.resultList1));
this.gethistoryList() this.isShow = false;
this.resultList1 = JSON.parse(JSON.stringify(this.resultList)) this.gethistoryList();
this.getCardList();
}, },
mounted(){ getlistTotal() {
this.getCardList() listTotal().then((res) => {
this.totalNum = res.data;
this.numList = this.totalNum.toString().split("");
});
}, },
methods: { gethistoryList() {
getCardList(){// historyList().then((res) => {
this.cardList = [] this.historyList = res.data;
cardLists().then((res) => { this.historyList = this.historyList.filter((item, index) => {
if(res.code == 200) { if (index < 5) {
this.cardList = res.data return item;
} }
}) });
}, });
showResult(val) {
if (!val) {
this.$message.warning('请输入要查询的关键词')
return
}
this.searchVal = val
searchList({ searchValue: val }).then(res => {
if (res.total || res.data.length) {
this.resultList = res.data
this.total = res.total
this.isShow = true
} else {
this.$message.warning('未查询到相关数据')
}
})
},
clearInput() {
this.resultList = JSON.parse(JSON.stringify(this.resultList1))
this.isShow = false
this.gethistoryList()
this.getCardList()
},
getlistTotal() {
listTotal().then((res) => {
this.totalNum = res.data
this.numList = this.totalNum.toString().split('')
})
},
gethistoryList() {
historyList().then((res) => {
this.historyList = res.data
this.historyList = this.historyList.filter((item, index) => {
if (index < 5) {
return item
}
})
})
},
}, },
} },
};
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.main { .main {
width: 100%;
height: calc(100% - 80px);
display: flex;
justify-content: center;
/deep/.el-scrollbar__view {
padding: 0;
}
/deep/.el-scrollbar__wrap {
margin: 0;
}
.searchMain {
width: 100%; width: 100%;
height: calc(100% - 80px); }
.searchBox {
display: flex; display: flex;
width: 100%;
justify-content: center; justify-content: center;
}
.searchBody {
width: 1050px;
height: 28vh;
// margin-top: 160px;
margin-top: 20px;
// border: 0.1px solid #495e70;
// border-bottom: 1px solid #6C8097;
/deep/.el-scrollbar__view { .topLogo {
padding: 0 width: 260px;
} height: 5vh;
margin: 0 auto;
font-size: 36px;
color: aliceblue;
display: flex;
align-items: center;
letter-spacing: 5px;
/deep/.el-scrollbar__wrap { img {
margin: 0; width: 35px;
height: 35px;
margin-right: 10px;
}
} }
.searchMain { }
width: 100%; .totalNum {
} margin-top: 2.5vh;
.searchBox { width: 100%;
display: flex; height: 5vh;
width: 100%; color: rgba(248, 251, 255, 0.7);
justify-content: center;
}
.searchBody {
width: 1050px;
height: 320px;
// margin-top: 160px;
margin-top: 60px;
// border-bottom: 1px solid #6C8097;
.topLogo { font-size: 22px;
width: 260px; word-spacing: 5px;
height: 50px; display: flex;
margin: 0 auto; align-items: center;
font-size: 36px; justify-content: center;
color: aliceblue; letter-spacing: 10px;
display: flex;
align-items: center;
letter-spacing: 5px;
img { .numItem {
width: 35px; width: 25px;
height: 35px; height: 40px;
margin-right: 10px; display: inline-block;
} background-image: linear-gradient(
} 180deg,
rgba(234, 241, 248, 0.1) 0%,
rgba(208, 222, 238, 0.1) 100%
);
border: 1px solid #33cccc;
font-family: DS-Digital-Bold;
font-size: 40px;
color: rgba(248, 251, 255, 0.89);
text-align: center;
line-height: 38px;
text-shadow: 0 0 8px rgba(44, 254, 211, 0.69);
font-weight: 700;
font-style: normal;
margin-right: 10px;
letter-spacing: 0;
} }
.totalNum { }
margin-top: 30px;
width: 100%;
height: 50px;
color: rgba(248, 251, 255, 0.7);
font-size: 22px; .zhcxBox {
word-spacing: 5px; width: 100%;
display: flex; height: 54px;
align-items: center; margin-top: 30px;
justify-content: center; display: flex;
letter-spacing: 10px;
.numItem { .zhcxBoxIPT {
width: 25px; height: 100%;
height: 40px; width: 900px;
display: inline-block; font-size: 20px;
background-image: linear-gradient(180deg, rgba(234, 241, 248, 0.10) 0%, rgba(208, 222, 238, 0.10) 100%); background: #121a18;
border: 1px solid #33CCCC; border: 1px solid rgba(108, 128, 151, 0.7);
font-family: DS-Digital-Bold; border-radius: 4px;
font-size: 40px; font-size: 18px;
color: rgba(248, 251, 255, 0.89); color: #f8fbff;
text-align: center; letter-spacing: 1.29px;
line-height: 38px; line-height: 16px;
text-shadow: 0 0 8px rgba(44, 254, 211, 0.69); font-weight: 400;
font-weight: 700; opacity: 0.95;
font-style: normal;
margin-right: 10px;
letter-spacing: 0;
}
} }
.zhcxBox { input:focus,
width: 100%; textarea:focus {
height: 54px; outline: none;
margin-top: 30px;
display: flex;
.zhcxBoxIPT {
height: 100%;
width: 900px;
font-size: 20px;
background: #121A18;
border: 1px solid rgba(108, 128, 151, 0.7);
border-radius: 4px;
font-size: 18px;
color: #F8FBFF;
letter-spacing: 1.29px;
line-height: 16px;
font-weight: 400;
opacity: 0.95;
}
input:focus,
textarea:focus {
outline: none;
}
.ssBtn {
margin-left: 20px;
display: inline-block;
height: 100%;
width: 100px;
color: #eee;
font-size: 20px;
text-align: center;
border: 0;
background: url('~@/assets/companyFile/2121.png') no-repeat;
background-size: 100% 100%;
}
} }
.zjssBox { .ssBtn {
height: 40px; margin-left: 20px;
margin-top: 20px; display: inline-block;
font-size: 14px; height: 100%;
color: rgba(208, 222, 238, 0.7); width: 100px;
letter-spacing: 1px; color: #eee;
line-height: 12px; font-size: 20px;
font-weight: 400; text-align: center;
display: flex; border: 0;
align-items: center; background: url("~@/assets/companyFile/2121.png") no-repeat;
background-size: 100% 100%;
}
}
.ssgs { .zjssBox {
margin-left: 10px; height: 40px;
height: 28px; margin-top: 20px;
border-radius: 2px; font-size: 14px;
width: auto; color: rgba(208, 222, 238, 0.7);
background: rgba(255, 255, 255, 0.2); letter-spacing: 1px;
display: flex; line-height: 12px;
align-items: center; font-weight: 400;
cursor: pointer; display: flex;
// background: url('~@/assets/companyFile/.png') no-repeat; align-items: center;
// background-size: 100% 100%;
.hisSpan {
padding: 0px 7px 0px 7px;
}
} .ssgs {
margin-left: 10px;
height: 28px;
border-radius: 2px;
width: auto;
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
cursor: pointer;
// background: url('~@/assets/companyFile/.png') no-repeat;
// background-size: 100% 100%;
.hisSpan {
padding: 0px 7px 0px 7px;
}
} }
}
} }
</style> </style>

@ -2,7 +2,10 @@
<div class="mainHD"> <div class="mainHD">
<div class="topHeader"> <div class="topHeader">
<div class="iconbg"> <div class="iconbg">
<img src="../assets/companyFile/police.png" style="width: 60px;height: 60px" /> <img
src="../assets/companyFile/police.png"
style="width: 60px; height: 60px"
/>
</div> </div>
<div class="headText">镇海平安企业园区</div> <div class="headText">镇海平安企业园区</div>
<el-menu <el-menu
@ -21,6 +24,10 @@
>安商惠企</el-menu-item >安商惠企</el-menu-item
> >
<div class="shu"></div> <div class="shu"></div>
<el-menu-item index="5" route="/home/enterpriseArchives"
>企业档案</el-menu-item
>
<div class="shu"></div>
<el-menu-item index="2" route="/home/realtimeWarning" <el-menu-item index="2" route="/home/realtimeWarning"
>实时预警</el-menu-item >实时预警</el-menu-item
> >
@ -33,15 +40,14 @@
>要素资源</el-menu-item >要素资源</el-menu-item
> >
<div class="shu"></div> <div class="shu"></div>
<el-menu-item index="5" route="/home/enterpriseArchives"
>企业档案</el-menu-item
>
<div class="shu"></div>
<el-menu-item index="7" route="/home/systemManagement/safeIndex" <el-menu-item index="7" route="/home/systemManagement/safeIndex"
>系统管理</el-menu-item >系统管理</el-menu-item
> >
<div class="shu"></div> <div class="shu"></div>
</el-menu> </el-menu>
<!-- <div class="time_box">
<div class="time_item">{{ this.get_time }}</div>
</div> -->
<div class="jingGuan"> <div class="jingGuan">
<div class="jgtx" @click="check_user"> <div class="jgtx" @click="check_user">
<img src="../assets/companyFile/12110.png" /> <img src="../assets/companyFile/12110.png" />
@ -76,6 +82,8 @@ export default {
? sessionStorage.getItem("activeIndex") ? sessionStorage.getItem("activeIndex")
: "1"; : "1";
}, },
computed: {
},
methods: { methods: {
handleSelect(key) { handleSelect(key) {
sessionStorage.setItem("activeIndex", key); sessionStorage.setItem("activeIndex", key);
@ -95,6 +103,23 @@ export default {
// //
this.$router.push("/login"); this.$router.push("/login");
}, },
get_time() {
let date = new Date();
let sign = ":";
let hour = date.getHours(); //
let minutes = date.getMinutes(); //
let seconds = date.getSeconds(); //
if (hour >= 0 && hour <= 9) {
hour = "0" + hour;
}
if (minutes >= 0 && minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds >= 0 && seconds <= 9) {
seconds = "0" + seconds;
}
return hour + sign + minutes + sign + seconds;
},
}, },
}; };
</script> </script>
@ -138,7 +163,20 @@ export default {
font-weight: 400; font-weight: 400;
margin-right: 30px; margin-right: 30px;
} }
.time_box {
width: 8.5vw;
height: 6vh;
border: 0.1px solid #33cccc;
.time_item {
width: 8.5vw;
height: 3.5vh;
text-align: center;
line-height: 3.5vh;
color: #37FDC7 ;
font-size: 24px;
font-weight: 600;
}
}
.jingGuan { .jingGuan {
position: absolute; position: absolute;
right: 30px; right: 30px;

@ -23,6 +23,7 @@
<span <span
>( <span class="redText">{{ total }}</span> )</span >( <span class="redText">{{ total }}</span> )</span
> >
<!-- 搜索框 -->
<div class="searchBox"> <div class="searchBox">
<el-form :model="formInline" class="search"> <el-form :model="formInline" class="search">
<el-form-item class="formItem"> <el-form-item class="formItem">
@ -37,6 +38,7 @@
</el-form> </el-form>
</div> </div>
</div> </div>
<!-- 公司展示区域 -->
<div class="bottomBody"> <div class="bottomBody">
<div <div
class="yujingItem" class="yujingItem"
@ -44,7 +46,11 @@
:key="index" :key="index"
> >
<div class="yujingTop"> <div class="yujingTop">
<div class="companyName">{{ item.companyName }}</div> <div class="companyName">
<div class="companyName_icon"></div>
<div class="companyName_text">{{ item.companyName }}</div>
</div>
<!-- <div class="companyName">{{ item.companyName }}</div> -->
<div class="impBtnList"> <div class="impBtnList">
<div <div
:class="{ :class="{
@ -421,15 +427,23 @@ export default {
padding: 0 14px 5px; padding: 0 14px 5px;
.companyName { .companyName {
font-size: 16px;
color: #30c4ff;
letter-spacing: 1.14px;
font-weight: 500;
margin-right: 20px;
width: 100%; width: 100%;
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
display: flex;
//white-space: nowrap; // //white-space: nowrap; //
.companyName_icon {
width: 6.5%;
background: url("~@/assets/safetyIndex/red02.png") no-repeat;
background-size: 100% 100%;
}
.companyName_text {
color: #30c4ff;
font-size: 16px;
letter-spacing: 1.14px;
font-weight: 500;
margin-left: 10px;
}
} }
.impBtnList { .impBtnList {

Loading…
Cancel
Save