14 changed files with 1599 additions and 35 deletions
@ -0,0 +1,402 @@ |
|||
<template> |
|||
<div class="address_edit"> |
|||
<!-- 导航栏 --> |
|||
<div class="header_body"> |
|||
<header-nav :slefBack="true" @goBack="goBack" :titelText="`企业相关信息`"></header-nav> |
|||
</div> |
|||
<!-- 中间 --> |
|||
<div class="warp_body"> |
|||
<van-form @failed="onFailed" @submit="submit"> |
|||
|
|||
<van-cell-group> |
|||
<div style="padding-top:10px; font-size:large" class="qy-name">企业信息</div> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.enterpriseName" |
|||
label="企业名称:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.enterpriseNumber" |
|||
label="统一社会信用代码:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.enterpriseType" |
|||
label="企业类型:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.enterpriseAddress" |
|||
label="企业地址:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.legalPerson" |
|||
label="法人代表:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.registeredCapital" |
|||
label="注册资本(元):" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.establishmentTime" |
|||
label="成立日期:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.operatingTerm" |
|||
label="营业期限:" |
|||
/> |
|||
<van-field |
|||
v-model="data.enterpriseInfo.businessScope" |
|||
label="经营范围:" |
|||
/> |
|||
|
|||
|
|||
</van-cell-group> |
|||
|
|||
<van-divider class="divdsty" /> |
|||
|
|||
<van-cell-group> |
|||
<div style="padding-top:10px; font-size:large" class="qy-name">案件信息</div> |
|||
<div class="search-button-list"> |
|||
<span v-for="(item, index) in data?.optionList" :key="index"> |
|||
<van-button plain hairline @click="searchDateType(item)" round type="primary" size="mini" |
|||
:style="item.selected == true ? 'background-color:yellow':'background-color:white'">{{item.name}}</van-button> |
|||
</span> |
|||
</div> |
|||
<div class="refresh_content" v-if="data?.checkDataList.length && data?.show == 1"> |
|||
<div class="goods_box" v-for="(item, index) in data?.checkDataList" :key="index"> |
|||
<van-swipe-cell class="swipe_cell"> |
|||
<div class="card_box" @click="toDetailView(item.id)"> |
|||
|
|||
<div style="background-color: aqua; border: 2px; height: .1px;" class="van-hairline--bottom"></div> |
|||
<div class="card_box_span"> |
|||
<p style="font-size: 16px;font-weight: bold;">{{ item.lawEnforcementItem }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">执法部门:</span> {{ item.lawEnforcement }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">执法人员:</span> {{ item.lawEnforcer }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">备注:</span> {{ item.remark }}</p> |
|||
</div> |
|||
</div> |
|||
</van-swipe-cell> |
|||
</div> |
|||
</div> |
|||
<div class="refresh_content" v-if="data?.punishDataList.length && data?.show == 2"> |
|||
<div class="goods_box" v-for="(item, index) in data?.punishDataList" :key="index"> |
|||
<van-swipe-cell class="swipe_cell"> |
|||
<!-- <div class="card_box" @click="toDetailView(item.id)"> --> |
|||
<div class="card_box"> |
|||
<div style="background-color: aqua; border: 2px; height: .1px;" class="van-hairline--bottom"></div> |
|||
<div class="card_box_span"> |
|||
<p style="font-size: 16px;font-weight: bold;">{{ item.lawEnforcementItem }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">处罚行政机关:</span> {{ item.lawEnforcement }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">处罚种类:</span> {{ item.lawKind }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">备注:</span> {{ item.remark }}</p> |
|||
</div> |
|||
</div> |
|||
</van-swipe-cell> |
|||
</div> |
|||
</div> |
|||
<div class="refresh_content" v-if="data?.forceDataList.length && data?.show == 3"> |
|||
<div class="goods_box" v-for="(item, index) in data?.forceDataList" :key="index"> |
|||
<van-swipe-cell class="swipe_cell"> |
|||
<!-- <div class="card_box" @click="toDetailView(item.id)"> --> |
|||
<div class="card_box"> |
|||
|
|||
<div style="background-color: aqua; border: 2px; height: .1px;" class="van-hairline--bottom"></div> |
|||
<div class="card_box_span"> |
|||
<p style="font-size: 16px;font-weight: bold;">{{ item.lawEnforcementItem }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">处罚行政:</span> {{ item.lawEnforcement }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">执行时间:</span> {{ item.lawDate }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">备注:</span> {{ item.remark }}</p> |
|||
</div> |
|||
</div> |
|||
</van-swipe-cell> |
|||
</div> |
|||
</div> |
|||
</van-cell-group> |
|||
|
|||
</van-form> |
|||
</div> |
|||
|
|||
<Popup :visible="data.popupVisible" :content="data.popupContent" @close="closePopup" @reciveData="reciveData" /> |
|||
<Popup :visible="data.popupVisible2" :content="data.popupContent2" @close="closePopup" @reciveData="reciveData2" /> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup name="register"> |
|||
|
|||
import { showSuccessToast } from 'vant'; |
|||
import {addEnforcementRegistration,queryUserInfo,queryRegistrationList} from '../../api/enforce' |
|||
import {getEnterpriseInformation} from '../../api/enterprise' |
|||
import {getDict} from '../../api/Home' |
|||
import { reactive, ref } from "vue"; |
|||
import {uploadFile} from "../../util/fileUpload"; |
|||
//用户筛选弹窗 |
|||
import Popup from './userFilter.vue'; |
|||
|
|||
const { useMy } = $globalStore |
|||
|
|||
const router = useRouter(); |
|||
//路由参数 |
|||
const route = useRoute(); |
|||
let queryaddressId = ref(""); |
|||
const data = reactive({ |
|||
optionList:[ |
|||
{name:"历史检查案件",val:1,selected:true}, |
|||
{name:"历史处罚案件",val:2,selected:false}, |
|||
{name:"历史强制案件",val:3,selected:false}], |
|||
show:1, |
|||
searchParam:{}, |
|||
enterpriseInfo: {}, |
|||
checkDataList:[], |
|||
punishDataList:[ |
|||
{lawEnforcementItem:"安全生产违法",lawEnforcement:"深圳市福田区应急管理局",lawKind:"罚款",remark:"当日执行"}], |
|||
forceDataList:[ |
|||
{lawEnforcementItem:"经济纠纷",lawEnforcement:"深圳市福田区应急管理局",lawDate:"2024-04-12",remark:""}], |
|||
showLawEnforcerFlag:false, |
|||
currentPage: 1, |
|||
good:"#7FFFD4", |
|||
bad:"#D3D3D3", |
|||
|
|||
popupVisible: false, |
|||
popupContent: '', |
|||
popupVisible2: false, |
|||
popupContent2: '', |
|||
}); |
|||
|
|||
|
|||
const searchDateType = (item) =>{ |
|||
if(item.selected === false){ |
|||
data.optionList.forEach(item=>{item.selected = false}) |
|||
item.selected = true |
|||
data.show = item.val |
|||
} |
|||
} |
|||
|
|||
const queryList = () =>{ |
|||
queryEnforcementInspectionProgramList(searchParam,success =>{ |
|||
console.log(success) |
|||
data.dataList = success.data; |
|||
freshMap.refreshLoad = false; |
|||
freshMap.listLoading = false; |
|||
freshMap.listFinished = true; |
|||
isLodding.value = false; |
|||
},error =>{ |
|||
|
|||
}) |
|||
} |
|||
//3a0096181c184e5aa56f70923680856d$6e74ceda1463c165fd43eeeadce4f7cd |
|||
//初始化参数,获取扫码的企业统一信用编码 |
|||
onMounted(() =>{ |
|||
//查询企业信息 |
|||
getEnterpriseInformation(route?.query?.enterpriseNumber,success =>{ |
|||
if (null != success.data) { |
|||
data.enterpriseInfo.enterpriseName = success.data.enterpriseName |
|||
data.enterpriseInfo.enterpriseNumber = success.data.enterpriseNumber |
|||
data.enterpriseInfo.enterpriseType = success.data.enterpriseType |
|||
data.enterpriseInfo.enterpriseAddress = success.data.enterpriseAddress |
|||
data.enterpriseInfo.legalPerson = success.data.legalPerson |
|||
data.enterpriseInfo.registeredCapital = success.data.registeredCapital |
|||
data.enterpriseInfo.establishmentTime = success.data.establishmentTime |
|||
data.enterpriseInfo.operatingTerm = success.data.operatingTerm |
|||
data.enterpriseInfo.businessScope = success.data.businessScope |
|||
//查询企业类型 |
|||
getDict({"dictType": "enterpriseType"},success =>{ |
|||
if (success.data !=null) { |
|||
success.data.forEach(res =>{ |
|||
if (data.enterpriseInfo.enterpriseType === res.dictValue) { |
|||
data.enterpriseInfo.enterpriseType = res.dictLabel |
|||
} |
|||
}) |
|||
} |
|||
},error =>{ |
|||
|
|||
}) |
|||
//查询企业历史检查案件 |
|||
data.searchParam.enterpriseNumber = data.enterpriseInfo.enterpriseNumber; |
|||
queryRegistrationList(data.searchParam,success =>{ |
|||
data.checkDataList = success.data; |
|||
},error =>{ |
|||
|
|||
}) |
|||
} |
|||
},error=>{ |
|||
|
|||
}) |
|||
|
|||
}) |
|||
|
|||
// 返回 |
|||
const goBack = () => { |
|||
router.go(-1); |
|||
}; |
|||
|
|||
const toDetailView = (id) =>{ |
|||
console.log(id) |
|||
router.push( |
|||
{ |
|||
path: "/registrationDetail", |
|||
query: { |
|||
id: id, |
|||
} |
|||
}); |
|||
} |
|||
|
|||
const showPopup = () =>{ |
|||
data.popupVisible = true; |
|||
} |
|||
const showPopup2 = () =>{ |
|||
data.popupVisible2 = true; |
|||
} |
|||
const closePopup = () =>{ |
|||
data.popupVisible = false; |
|||
data.popupVisible2 = false; |
|||
} |
|||
const reciveData = (item) =>{ |
|||
submitData.lawEnforcerTwo = item.userName; |
|||
submitData.lawEnforcerIdTwo = item.userId; |
|||
} |
|||
const reciveData2 = (item) =>{ |
|||
submitData.subsidiaryer = item.userName; |
|||
submitData.subsidiaryerId = item.userId; |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style lang="less" scoped> |
|||
.address_edit { |
|||
display: flex; |
|||
flex-direction: column; |
|||
height: 100%; |
|||
overflow: hidden; |
|||
background-color: #ebf3fb; |
|||
} |
|||
|
|||
.warp_body { |
|||
margin: 0 3%; |
|||
padding-bottom: 3rem; |
|||
width: 94%; |
|||
height: 100%; |
|||
//border-radius: 0.25rem; |
|||
background-image: linear-gradient(to bottom, #ebf3fb, #fff); |
|||
overflow-y: auto; |
|||
} |
|||
|
|||
.qy-name{ |
|||
font-size: large; |
|||
margin-left: 5%; |
|||
height: 34px; |
|||
margin-top: 0%; |
|||
font-weight: 600; |
|||
} |
|||
.zf-name{ |
|||
font-size: 15px; |
|||
height: 33px; |
|||
background-color: white; |
|||
padding-left: 4%; |
|||
padding-top: 2%; |
|||
font-weight: 600; |
|||
} |
|||
|
|||
/* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */ |
|||
.van-popup.van-toast{ |
|||
background: var(--van-toast-background) !important; |
|||
box-sizing: content-box !important; |
|||
/* 下面3条css,影响不大 */ |
|||
transition: all var(--van-duration-fast) !important; |
|||
width: var(--van-toast-default-width) !important; |
|||
max-width: var(--van-toast-max-width) !important; |
|||
} |
|||
.van-popup.van-toast .van-toast__icon{ |
|||
font-size: var(--van-toast-icon-size) !important; |
|||
} |
|||
|
|||
.divdsty { |
|||
margin: auto; |
|||
width: 100%; |
|||
height: 0.25rem; |
|||
background-color: #f4f4f4; |
|||
border: 0; |
|||
} |
|||
.file-upload{ |
|||
min-height: 4.5rem; |
|||
position: relative; |
|||
} |
|||
.file-upload-center{ |
|||
position: absolute; |
|||
height: 20%; |
|||
top: 10%; |
|||
left: 2%; |
|||
font-size: 0.38rem; |
|||
span { |
|||
font-size: 0.32rem; |
|||
color: rgb(221, 229, 227); |
|||
} |
|||
} |
|||
.file{ |
|||
position: absolute; |
|||
bottom: 10%; |
|||
left: 2%; |
|||
} |
|||
|
|||
.preview-cover { |
|||
position: absolute; |
|||
bottom: 0; |
|||
box-sizing: border-box; |
|||
width: 100%; |
|||
padding: 4px; |
|||
color: #fff; |
|||
font-size: 0.32rem; |
|||
text-align: center; |
|||
background: rgba(0, 0, 0, 0.3); |
|||
} |
|||
|
|||
.goods_box { |
|||
display: flex; |
|||
background-color: #fff; |
|||
margin: 6px; |
|||
border-radius: 10px; |
|||
|
|||
.swipe_cell { |
|||
width: 100%; |
|||
} |
|||
|
|||
.card_box { |
|||
display: flex; |
|||
width: 100%; |
|||
padding: 10px,0px; |
|||
flex-direction: column; |
|||
.card_body { |
|||
background-color: #fff; |
|||
border-radius: 10px; |
|||
flex: 1; |
|||
} |
|||
.card_box_span{ |
|||
font-size: 13px; |
|||
padding-left: 5%; |
|||
height: 35px; |
|||
align-items: center; |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
.card_box_action{ |
|||
position: absolute; |
|||
right: 4%; |
|||
} |
|||
} |
|||
} |
|||
</style> |
|||
@ -0,0 +1,275 @@ |
|||
<template> |
|||
<div class="home app_content"> |
|||
<!-- 导航栏 --> |
|||
<div class="header_body"> |
|||
|
|||
<header-nav |
|||
:slefBack="true" |
|||
@goBack="goBack" |
|||
:titelText="`企业详情查看`" |
|||
> |
|||
</header-nav> |
|||
</div> |
|||
|
|||
<!-- 中间 --> |
|||
<div class="warp_body"> |
|||
<div class="white-body"> |
|||
<div class="carousel_box"> |
|||
<div class="box-scan-one"> |
|||
|
|||
<span class="box-scan-text" @click="toEnterpriseBaseInfo">企业画像</span> |
|||
</div> |
|||
<div class="box-scan-two"> |
|||
<span class="box-scan-text" @click="toEnterpriseWarningInfo"> |
|||
<div class="card_box_span" style="padding-left: 1%;"> |
|||
<van-icon v-if="data.warningInfo.warningLevel==1" name="warning" color="red" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else-if="data.warningInfo.warningLevel==2" name="warning" color="orange" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else-if="data.warningInfo.warningLevel==3" name="warning" color="#fed200" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else name="info" size="30" color="#fed200" />企业预警 |
|||
</div> |
|||
</span> |
|||
</div> |
|||
</div> |
|||
<div class="boutique_box"> |
|||
<div class="boutique_body"> |
|||
|
|||
<div class="box-qr-code" @click="toSign"> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup name="Home"> |
|||
import {getEnterpriseMerchantAuthorization} from '@/api/Home'; |
|||
import {queryEarlyWarning} from '../../api/enforce'; |
|||
import {getEnterpriseInformation} from '../../api/enterprise' |
|||
const { useCommon } = $globalStore; |
|||
const router = useRouter(); |
|||
let freshMap = reactive({ |
|||
refreshLoad: false, // 是否刷新 |
|||
listLoading: false, // 是否加载中 |
|||
listFinished: false, // 是否加载完成标识 |
|||
}); |
|||
const data = reactive({ |
|||
enterpriseNumber:"a7cbb677c11e4dffa810b4ad3abedc09$eb020e1a24a8a19a0bdc07b191aa9ce7", |
|||
// enterpriseNumber:route?.query?.enterpriseNumber, |
|||
warningInfo:{}, |
|||
searchParam:{} |
|||
}); |
|||
const boutiqueAttr = reactive({ |
|||
columnNum: 4, |
|||
itemClass: "boutique_item", |
|||
goodsCradclass: "boutique-crad", |
|||
}); // 商品卡片展示 |
|||
|
|||
|
|||
const toSign = async() =>{ |
|||
router.push({ |
|||
path: "/sign", |
|||
query:{ |
|||
enterpriseNumber: data.enterpriseNumber |
|||
} |
|||
}); |
|||
}; |
|||
|
|||
const toEnterpriseBaseInfo = async() =>{ |
|||
router.push({ |
|||
path: "/enterpriseBaseInfo", |
|||
query:{ |
|||
enterpriseNumber: data.enterpriseNumber |
|||
} |
|||
}); |
|||
}; |
|||
|
|||
const toEnterpriseWarningInfo = async() =>{ |
|||
router.push({ |
|||
path: "/enterpriseWarningInfo", |
|||
query:{ |
|||
enterpriseNumber: data.enterpriseNumber |
|||
} |
|||
}); |
|||
}; |
|||
|
|||
const toRegistrationListView = async() =>{ |
|||
router.push({ |
|||
path: "/enterprise/registrationList", |
|||
}); |
|||
} |
|||
const toComplaintView = async() =>{ |
|||
router.push({ |
|||
path: "/enterprise/complaint", |
|||
}); |
|||
} |
|||
|
|||
// 触底加载 |
|||
const onLoad = () => { |
|||
// recommendGoods(true); |
|||
}; |
|||
|
|||
onMounted(() => { |
|||
|
|||
getEnterpriseInformation(data.enterpriseNumber,success =>{ |
|||
if (null != success.data) { |
|||
data.searchParam.enterpriseNumber = success.data.enterpriseNumber; |
|||
//查询企业历史检查案件 |
|||
queryEarlyWarning(data.searchParam,success =>{ |
|||
data.warningInfo = success.data[0]; |
|||
},error =>{ |
|||
|
|||
}) |
|||
} |
|||
},error=>{ |
|||
|
|||
}) |
|||
getEnterpriseMerchantAuthorization({merchantTel: useCommon.phonenumber},success =>{ |
|||
if(!(success.data == null && success.data.length == 0)){ |
|||
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data[0].enterpriseNumber); |
|||
} |
|||
},error =>{ |
|||
}) |
|||
}) |
|||
// 返回 |
|||
const goBack = () => { |
|||
router.go(-1); |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="less" scoped> |
|||
.home { |
|||
display: flex; |
|||
flex-direction: column; |
|||
height: 100%; |
|||
overflow: hidden; |
|||
background-color: #ebf3fb; |
|||
|
|||
.warp_body { |
|||
background-image: linear-gradient(to bottom, #ebf3fb, transparent); |
|||
background-size: cover; |
|||
position: relative; |
|||
.carousel_box { |
|||
position: relative; |
|||
top: 2%; |
|||
height: 150px; |
|||
width: 100%; |
|||
background: url("/src/assets/images/scan-mean.jpg") no-repeat center center; |
|||
background-size: 60%; |
|||
opacity: 0.75; |
|||
|
|||
.box-scan-one , .box-scan-two{ |
|||
position: absolute; |
|||
top: 30%; |
|||
left: 15%; |
|||
height: 100px; |
|||
width: 30%; |
|||
font-size: 0.4rem; |
|||
color: #999; |
|||
.box-scan-text{ |
|||
margin-top: 70%; |
|||
display: block; |
|||
width: 100%; |
|||
text-align: center |
|||
} |
|||
} |
|||
.box-scan-two{ |
|||
left: auto; |
|||
right: 12.5%; |
|||
} |
|||
} |
|||
|
|||
} |
|||
|
|||
.boutique_box { |
|||
position: relative; |
|||
top: 10%; |
|||
z-index: 100; |
|||
width: 100%; |
|||
|
|||
.boutique_body { |
|||
padding: 0px 0px 10px 0px; |
|||
display: flex; |
|||
justify-content: center; |
|||
}; |
|||
.box-qr-code{ |
|||
width: 52%; |
|||
text-align: right; |
|||
height: 7rem; |
|||
//background-color: var(--van-primary-color); |
|||
background: url("../../assets/images/scan-btn.jpg") no-repeat center center; |
|||
background-size: 100%; |
|||
// border-radius: 0.26667rem; |
|||
// background-size: cover; |
|||
// border-radius: 50%; |
|||
// background-image: url("@/assets/images/scan.png"); |
|||
.box-qr-code-text{ |
|||
margin-right: 25%; |
|||
margin-top: 70%; |
|||
display: block; |
|||
font-size: 0.45333rem; |
|||
} |
|||
img{ |
|||
position: absolute; |
|||
top: 0%; |
|||
left: 34%; |
|||
} |
|||
} |
|||
.box-info{ |
|||
width: 52%; |
|||
text-align: right; |
|||
height: 3.66667rem; |
|||
background-color: #ff976a; |
|||
border-radius: 10px; |
|||
background: url("@/assets/images/item_check.png"); |
|||
background-size: cover; |
|||
|
|||
.box-info-text{ |
|||
margin-right: 3%; |
|||
margin-top: 2%; |
|||
display: block; |
|||
font-size: 17px |
|||
} |
|||
} |
|||
.box-complaint{ |
|||
width: 36%; |
|||
text-align: right; |
|||
height: 3.66667rem; |
|||
background-color: #ff976a; |
|||
border-radius: 10px; |
|||
margin-left: 2%; |
|||
background: url("@/assets/images/item_complain.png"); |
|||
background-size: cover; |
|||
.box-complaint-text{ |
|||
margin-right: 5%; |
|||
margin-top: 3%; |
|||
display: block; |
|||
font-size: 17px |
|||
} |
|||
} |
|||
} |
|||
|
|||
.recommend_box { |
|||
.recommend_body { |
|||
width: 100%; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.white-body { |
|||
margin: 0 4%; |
|||
width: 92%; |
|||
height: 96%; |
|||
background-color: #fff; |
|||
border-radius: 0.25rem; |
|||
} |
|||
|
|||
.nocode { |
|||
width: 100%; |
|||
color: #fb7905; |
|||
font-size: 0.45rem; |
|||
text-align: center; |
|||
line-height: 3; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,345 @@ |
|||
|
|||
<template> |
|||
<div class="shop app_content"> |
|||
<!-- 导航栏 --> |
|||
<div class="header_body"> |
|||
<header-nav :leftArrow="false" titelText="企业预警信息" /> |
|||
</div> |
|||
|
|||
<div class="search-button-date"> |
|||
<div style="border-color: black;" class="van-hairline--bottom"></div> |
|||
<van-popup v-model:show="data.showDatePicker" position="bottom"> |
|||
<van-date-picker |
|||
title="选择日期" |
|||
v-model="data.currentDate" |
|||
:min-date="data.minDate" |
|||
:max-date="data.maxDate" |
|||
:columns-type="data.columnsType" |
|||
@confirm="onDateConfirm" |
|||
@cancel="cancelSelectDate" |
|||
/> |
|||
</van-popup> |
|||
</div> |
|||
<!-- 中间 --> |
|||
<div class="shop-center"> |
|||
<lodding-card :isLodding="isLodding"> |
|||
<refresh-list v-model:freshMap="freshMap" :classMap="classMap" @refresh="onRefresh" @onLoad="onLoad" |
|||
:resetScroll="resetScroll" class="refresh_box"> |
|||
<div class="refresh_content" v-if="data?.dataList.length"> |
|||
<div class="goods_box" v-for="(item, index) in data?.dataList" :key="index"> |
|||
<van-swipe-cell class="swipe_cell"> |
|||
<div class="card_box"> |
|||
|
|||
<div class="card_box_span"> |
|||
<p>{{ item.createTime }} |
|||
</p> |
|||
</div> |
|||
<!-- <van-divider :style="{ color: '#1989fa', borderColor: '#1989fa',padding: '0 5px' }" />--> |
|||
<div style="border-color: aqua; border: 2px;" class="van-hairline--bottom"></div> |
|||
<div class="card_box_span" style="padding-left: 1%;"> |
|||
<van-icon v-if="item.level==1" name="warning" color="red" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else-if="item.level==2" name="warning" color="orange" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else-if="item.level==3" name="warning" color="#fed200" size="30" style="margin-top: 2%;" /> |
|||
<van-icon v-else name="info" size="30" color="#fed200" style="margin-top: 2%;" /> |
|||
<p style="padding-left: 15px; font-size: 16px;font-weight: bold;">{{ item.enterpriseName }}</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p style="padding-left: 30px;"><span class="card_box_label">预警原因:</span> 本月对其行政检查{{ item.num }}次</p> |
|||
</div> |
|||
<div class="card_box_span"> |
|||
<p style="padding-left: 30px;"><span class="card_box_label">预警级别:</span> |
|||
{{ item.level==1?"Ⅰ级 (特别严重)":item.level==2?"Ⅱ级 (严重)": item.level==3?"Ⅲ级 (较重)": "Ⅳ (一般)"}} |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</van-swipe-cell> |
|||
</div> |
|||
</div> |
|||
<van-empty v-else class="no_data" description="暂无数据" /> |
|||
</refresh-list> |
|||
</lodding-card> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup name="registrationList"> |
|||
import { showToast } from "vant"; |
|||
import {queryEarlyWarning} from '../../api/enforce'; |
|||
import { setGoodsNum } from "@/util/util"; |
|||
const { useCommon, useShopCard } = $globalStore; |
|||
|
|||
const router = useRouter(); |
|||
let allchecked = ref(false); // 是否全选 |
|||
let refreshLoad = ref(false); // 是否加载中 |
|||
let value = ref('') |
|||
let totalPrice = ref(0); // 总钱数 |
|||
|
|||
let searchParam = reactive({ |
|||
//执法事件 |
|||
// lawEnforcementIncident:"", |
|||
//执法部门 |
|||
lawEnforcement:"", |
|||
//搜索框 |
|||
searchValue: ref(''), |
|||
//时间类型 |
|||
dateType: null, |
|||
//是否投诉 |
|||
isComplaint: null, |
|||
//企业统一信用码 |
|||
enterpriseNumber: ref(useCommon.enterpriseNumber), |
|||
//搜索时间 |
|||
searchDate: ref() |
|||
}); |
|||
|
|||
const data = reactive({ |
|||
cartList: [], |
|||
dataList: [], |
|||
dateSearch: ref(), |
|||
showDatePicker:false, |
|||
currentDate:ref(['2024', '01']), |
|||
minDate: new Date(2020, 0, 1), |
|||
maxDate: new Date(2125, 5, 1), |
|||
columnsType :['year', 'month'], |
|||
}); |
|||
|
|||
// 设置初始值为当前时间 |
|||
onMounted(() => { |
|||
// getCard(); |
|||
searchParam.enterpriseNumber = useCommon.enterpriseNumber; |
|||
queryList(); |
|||
data.dateSearch = nowDate(new Date()); |
|||
}); |
|||
const queryList = () =>{ |
|||
queryEarlyWarning(searchParam,success =>{ |
|||
data.dataList = success.data; |
|||
},error =>{ |
|||
|
|||
}) |
|||
} |
|||
|
|||
const onSearch = (val) => { |
|||
queryEarlyWarning( |
|||
{ |
|||
"searchValue": searchParam.searchValue |
|||
} |
|||
,success =>{ |
|||
data.dataList = success.data; |
|||
},error =>{ |
|||
|
|||
}) |
|||
}; |
|||
const onClickButton = () =>{ |
|||
queryList(); |
|||
} |
|||
|
|||
const toComplaintView = (id,name) =>{ |
|||
router.push( |
|||
{ |
|||
path: "/enterprise/complaint", |
|||
query: { |
|||
id: id, |
|||
lawEnforcementIncident: name |
|||
} |
|||
}); |
|||
} |
|||
onActivated(() => { |
|||
}); |
|||
|
|||
onDeactivated(() => { |
|||
|
|||
}); |
|||
|
|||
// 返回 |
|||
const goBack = () => { |
|||
router.push({ |
|||
path:"/enforceHome" |
|||
}); |
|||
}; |
|||
|
|||
let resetScroll = ref(0); // 滚动记录 |
|||
let isLodding = ref(true); // 是否加载中 |
|||
let freshMap = reactive({ |
|||
refreshLoad: false, // 是否刷新 |
|||
listLoading: false, // 是否加载中 |
|||
listFinished: false, // 是否加载完成标识 |
|||
}); |
|||
|
|||
|
|||
//下拉刷新 |
|||
const onRefresh = () => { |
|||
freshMap.listFinished = false; |
|||
freshMap.listLoading = true; |
|||
getGoodslist(); |
|||
}; |
|||
|
|||
// 触底加载 |
|||
const onLoad = () => { |
|||
freshMap.listFinished = true; |
|||
getGoodslist(true); |
|||
}; |
|||
|
|||
|
|||
|
|||
//获取分类下的商品列表 |
|||
const getGoodslist = async (onLoad) => { |
|||
// const res = await useClassify.classifyGoods(); |
|||
// if (res?.code === 20000) { |
|||
// goodsList = onLoad ? goodsList.concat(res?.data) : res?.data; |
|||
// freshMap.refreshLoad = false; |
|||
// freshMap.listLoading = false; |
|||
// freshMap.listFinished = res?.listFinished; |
|||
// if (goodsList.length > 50) { |
|||
// freshMap.listFinished = true; |
|||
// } |
|||
// } |
|||
freshMap.refreshLoad = false; |
|||
freshMap.listLoading = false; |
|||
freshMap.listFinished = true; |
|||
isLodding.value = false; |
|||
}; |
|||
|
|||
onMounted(async () => { |
|||
queryList(); |
|||
isLodding.value = false; |
|||
}); |
|||
|
|||
const selectDate = () =>{ |
|||
data.showDatePicker = true; |
|||
console.log(data.showDatePicker) |
|||
} |
|||
|
|||
const onDateConfirm = (value)=> { |
|||
console.log(value); |
|||
value.selectedValues.forEach((item,index) => { |
|||
console.log(item); |
|||
}); |
|||
data.dateSearch = value.selectedValues[0] + "/" + value.selectedValues[1] |
|||
data.showDatePicker = false; |
|||
searchParam.searchDate = value.selectedValues[0] + "-" + value.selectedValues[1] |
|||
queryList(); |
|||
} |
|||
const nowDate = (time) => { |
|||
var year = time.getFullYear(); // 年 |
|||
var month = (time.getMonth() + 1).toString().padStart(2, '0'); // 月 |
|||
var date = time.getDate().toString().padStart(2, '0'); // 日 |
|||
var hour = time.getHours().toString().padStart(2, '0'); // 时 |
|||
var minute = time.getMinutes().toString().padStart(2, '0'); // 分 |
|||
var second = time.getSeconds().toString().padStart(2, '0'); // 秒 |
|||
return ( |
|||
year + "/" + month |
|||
) |
|||
} |
|||
|
|||
|
|||
const searchDateType = (val) =>{ |
|||
searchParam.dateType = val; |
|||
searchParam.isComplaint = null; |
|||
queryList(); |
|||
} |
|||
const searchComplaint = (val) =>{ |
|||
searchParam.isComplaint = val; |
|||
searchParam.dateType = null; |
|||
queryList(); |
|||
} |
|||
</script> |
|||
|
|||
<style lang="less" scoped> |
|||
.card_box_label { |
|||
color: rgba(128, 128, 128, 0.5); |
|||
} |
|||
.shop { |
|||
height: 100%; |
|||
display: flex; |
|||
flex-direction: column; |
|||
overflow: hidden; |
|||
background-color: #f4f4f4; |
|||
|
|||
.header_body { |
|||
height: 50px; |
|||
} |
|||
|
|||
.shop-center { |
|||
flex: 1; |
|||
overflow-y: scroll; |
|||
position: relative; |
|||
|
|||
.goods_box { |
|||
display: flex; |
|||
background-color: #fff; |
|||
margin: 6px; |
|||
border-radius: 10px; |
|||
|
|||
.swipe_cell { |
|||
width: 100%; |
|||
} |
|||
|
|||
.card_box { |
|||
display: flex; |
|||
width: 100%; |
|||
padding: 10px,0px; |
|||
flex-direction: column; |
|||
.card_body { |
|||
background-color: #fff; |
|||
border-radius: 10px; |
|||
flex: 1; |
|||
} |
|||
.card_box_span{ |
|||
font-size: 13px; |
|||
padding-left: 5%; |
|||
height: 35px; |
|||
align-items: center; |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
.card_box_action{ |
|||
position: absolute; |
|||
right: 4%; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
.shop_footer_body { |
|||
height: 101px; |
|||
position: relative; |
|||
.footer-one-btn { |
|||
height: 50px; |
|||
bottom: 51px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.search-button-list{ |
|||
height: 3%; |
|||
display: flex; |
|||
flex-direction: row; |
|||
padding-left: 10px; |
|||
margin-top: 6px; |
|||
align-items: end; |
|||
.search-button{ |
|||
width: 15%; |
|||
height: 80%; |
|||
} |
|||
} |
|||
.search-button-date{ |
|||
height: 3%; |
|||
display: flex; |
|||
flex-direction: row; |
|||
padding-left: 10px; |
|||
margin-top: 6px; |
|||
align-items: end; |
|||
position: relative; |
|||
.date-select{ |
|||
font-size: 20px; |
|||
margin-left: 2%; |
|||
} |
|||
.search-button{ |
|||
width: 15%; |
|||
height: 80%; |
|||
position: absolute; |
|||
top: 1%; |
|||
right: 1%; |
|||
} |
|||
} |
|||
|
|||
</style> |
|||
@ -0,0 +1,394 @@ |
|||
|
|||
<template> |
|||
<div class="shop app_content"> |
|||
<!-- 导航栏 --> |
|||
<div class="header_body"> |
|||
<header-nav :leftArrow="false" titelText="二维码管理"></header-nav> |
|||
</div> |
|||
<van-search |
|||
v-model="searchParam.searchValue" |
|||
show-action |
|||
placeholder="请输入关键字查询" |
|||
@search="onSearch" |
|||
> |
|||
<template #action> |
|||
<div @click="onClickButton">搜索</div> |
|||
</template> |
|||
</van-search> |
|||
|
|||
|
|||
<!-- 顶部弹出 --> |
|||
<van-popup v-model:show="data.showTop" position="top" :style="{ height: '30%' }" > |
|||
<van-cell-group> |
|||
<van-field |
|||
v-model="searchParam.beginTime" |
|||
label="时间范围" |
|||
@click="" |
|||
readonly |
|||
/> |
|||
</van-cell-group> |
|||
</van-popup> |
|||
<!-- <div class="search-button-list"> |
|||
<van-button plain hairline class="search-button" @click="searchDateType()" round type="primary" size="mini">全部</van-button> |
|||
<van-button plain hairline class="search-button" @click="searchDateType(1)" round type="primary" size="mini">本月</van-button> |
|||
<van-button plain hairline class="search-button" @click="searchDateType(2)" round type="primary" size="mini">本季度</van-button> |
|||
<van-button plain hairline class="search-button" @click="searchDateType(3)" round type="primary" size="mini">本年度</van-button> |
|||
<van-button plain hairline class="search-button" @click="searchFilter" round type="primary" size="mini">筛选</van-button> |
|||
</div> --> |
|||
<div class="search-button-date"> |
|||
<span class="date-select" @click="selectDate">{{ data.dateSearch }}</span> |
|||
<div style="border-color: black;" class="van-hairline--bottom"></div> |
|||
<!-- <van-button class="search-button" type="primary" size="mini">统计分析</van-button> --> |
|||
<van-popup v-model:show="data.showDatePicker" position="bottom"> |
|||
<van-date-picker |
|||
title="选择日期" |
|||
v-model="data.currentDate" |
|||
:min-date="data.minDate" |
|||
:max-date="data.maxDate" |
|||
:columns-type="data.columnsType" |
|||
@confirm="onDateConfirm" |
|||
@cancel="cancelSelectDate" |
|||
/> |
|||
</van-popup> |
|||
</div> |
|||
|
|||
<!-- 中间 --> |
|||
<div class="shop-center"> |
|||
<lodding-card :isLodding="isLodding"> |
|||
<refresh-list v-model:freshMap="freshMap" @refresh="onRefresh" @onLoad="onLoad" |
|||
:resetScroll="resetScroll" class="refresh_box"> |
|||
<div class="refresh_content" v-if="data?.dataList.length"> |
|||
<div class="goods_box" v-for="(item, index) in data?.dataList" :key="index"> |
|||
<van-swipe-cell class="swipe_cell"> |
|||
<div class="card_box"> |
|||
<div class="card_box_span"> |
|||
<p>生成时间:{{ item.generateTime }} <span class="card_box_action"> |
|||
<!-- <van-button @click="toComplaintView(item.id,item.lawEnforcementIncident)" type="primary" size="mini">投诉</van-button> --> |
|||
</span></p> |
|||
</div> |
|||
<!-- <van-divider :style="{ color: '#1989fa', borderColor: '#1989fa',padding: '0 5px' }" /> --> |
|||
<div style="border-color: aqua; border: 2px;" class="van-hairline--bottom"></div> |
|||
<!-- <div class="card_box_span"> |
|||
<p style="font-size: 16px;font-weight: bold;">{{ item.checkItem }}</p> |
|||
</div> --> |
|||
|
|||
<div class="card_box_span"> |
|||
<p><span class="card_box_label">变更原因:</span> {{ item.reasonsChange }}</p> |
|||
</div> |
|||
</div> |
|||
</van-swipe-cell> |
|||
</div> |
|||
</div> |
|||
<van-empty v-else class="no_data" description="暂无数据" /> |
|||
</refresh-list> |
|||
</lodding-card> |
|||
</div> |
|||
|
|||
<!-- 底部 --> |
|||
<div class="shop_footer_body"> |
|||
<footer-nav></footer-nav> |
|||
</div> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup name="registrationList"> |
|||
import { showToast } from "vant"; |
|||
import {queryHistoryQrCodeList} from '../../api/enterprise'; |
|||
import { setGoodsNum } from "@/util/util"; |
|||
const { useCommon, useShopCard } = $globalStore; |
|||
|
|||
const router = useRouter(); |
|||
let allchecked = ref(false); // 是否全选 |
|||
let refreshLoad = ref(false); // 是否加载中 |
|||
let value = ref('') |
|||
let totalPrice = ref(0); // 总钱数 |
|||
|
|||
let searchParam = reactive({ |
|||
//执法事件 |
|||
lawEnforcementIncident:"", |
|||
//执法部门 |
|||
lawEnforcement:"", |
|||
//搜索框 |
|||
searchText: ref(''), |
|||
//时间类型 |
|||
dateType: null, |
|||
//是否投诉 |
|||
isComplaint: null, |
|||
//企业统一信用码 |
|||
enterpriseNumber: ref(useCommon.enterpriseNumber), |
|||
//查询日期 |
|||
searchDate:null, |
|||
beginTime:"", |
|||
endTime:"" |
|||
|
|||
}); |
|||
|
|||
const data = reactive({ |
|||
cartList: [], |
|||
dataList: [], |
|||
dateSearch: ref(), |
|||
showDatePicker:false, |
|||
currentDate:ref(['2024', '01']), |
|||
minDate: new Date(2020, 0, 1), |
|||
maxDate: new Date(2125, 5, 1), |
|||
columnsType :['year', 'month'], |
|||
showTop:false, |
|||
}); |
|||
|
|||
// 设置初始值为当前时间 |
|||
onMounted(() => { |
|||
console.log(useCommon.enterpriseNumber); |
|||
// getCard(); |
|||
searchParam.enterpriseNumber = useCommon.enterpriseNumber; |
|||
console.log(useCommon.enterpriseNumber) |
|||
queryList(); |
|||
data.dateSearch = nowDate(new Date()); |
|||
}); |
|||
const queryList = () =>{ |
|||
queryHistoryQrCodeList(searchParam,success =>{ |
|||
console.log(success) |
|||
data.dataList = success.data; |
|||
},error =>{ |
|||
|
|||
}) |
|||
|
|||
} |
|||
|
|||
const onSearch = (val) => { |
|||
queryRegistrationList( |
|||
{ |
|||
"searchValue": searchParam.searchValue |
|||
} |
|||
,success =>{ |
|||
console.log(success) |
|||
data.dataList = success.data; |
|||
},error =>{ |
|||
|
|||
}) |
|||
}; |
|||
const onClickButton = () =>{ |
|||
console.log(searchParam.searchValue) |
|||
queryList(); |
|||
} |
|||
|
|||
const toDetailView = (id) =>{ |
|||
console.log(id) |
|||
router.push( |
|||
{ |
|||
path: "/enterprise/enterpriseInspectionDetail", |
|||
query: { |
|||
id: id, |
|||
} |
|||
}); |
|||
} |
|||
onActivated(() => { |
|||
}); |
|||
|
|||
onDeactivated(() => { |
|||
|
|||
}); |
|||
|
|||
// 返回 |
|||
const goBack = () => { |
|||
router.go(-1); |
|||
}; |
|||
|
|||
let resetScroll = ref(0); // 滚动记录 |
|||
let isLodding = ref(true); // 是否加载中 |
|||
let freshMap = reactive({ |
|||
refreshLoad: false, // 是否刷新 |
|||
listLoading: false, // 是否加载中 |
|||
listFinished: false, // 是否加载完成标识 |
|||
}); |
|||
|
|||
|
|||
//下拉刷新 |
|||
const onRefresh = () => { |
|||
freshMap.listFinished = false; |
|||
freshMap.listLoading = true; |
|||
getGoodslist(); |
|||
}; |
|||
|
|||
// 触底加载 |
|||
const onLoad = () => { |
|||
freshMap.listFinished = true; |
|||
getGoodslist(true); |
|||
}; |
|||
|
|||
|
|||
|
|||
//获取分类下的商品列表 |
|||
const getGoodslist = async (onLoad) => { |
|||
// const res = await useClassify.classifyGoods(); |
|||
// if (res?.code === 20000) { |
|||
// goodsList = onLoad ? goodsList.concat(res?.data) : res?.data; |
|||
// freshMap.refreshLoad = false; |
|||
// freshMap.listLoading = false; |
|||
// freshMap.listFinished = res?.listFinished; |
|||
// if (goodsList.length > 50) { |
|||
// freshMap.listFinished = true; |
|||
// } |
|||
// } |
|||
freshMap.refreshLoad = false; |
|||
freshMap.listLoading = false; |
|||
freshMap.listFinished = true; |
|||
isLodding.value = false; |
|||
}; |
|||
|
|||
onMounted(async () => { |
|||
// let res = await getClassify(); |
|||
// if (res && res?.length) { |
|||
// classifyId = res?.[0]?.id; |
|||
// classifyId && getGoodslist(); |
|||
// } else { |
|||
// isLodding.value = false; |
|||
// } |
|||
queryList(); |
|||
isLodding.value = false; |
|||
}); |
|||
|
|||
const selectDate = () =>{ |
|||
data.showDatePicker = true; |
|||
console.log(data.showDatePicker) |
|||
} |
|||
|
|||
const onDateConfirm = (value)=> { |
|||
console.log(value); |
|||
value.selectedValues.forEach((item,index) => { |
|||
console.log(item); |
|||
}); |
|||
data.dateSearch = value.selectedValues[0] + "/" + value.selectedValues[1]; |
|||
searchParam.searchDate = value.selectedValues[0] + "-" + value.selectedValues[1]; |
|||
data.showDatePicker = false; |
|||
//查询数据 |
|||
queryList(); |
|||
} |
|||
const nowDate = (time) => { |
|||
var year = time.getFullYear(); // 年 |
|||
var month = (time.getMonth() + 1).toString().padStart(2, '0'); // 月 |
|||
var date = time.getDate().toString().padStart(2, '0'); // 日 |
|||
var hour = time.getHours().toString().padStart(2, '0'); // 时 |
|||
var minute = time.getMinutes().toString().padStart(2, '0'); // 分 |
|||
var second = time.getSeconds().toString().padStart(2, '0'); // 秒 |
|||
return ( |
|||
year + "/" + month |
|||
) |
|||
} |
|||
|
|||
|
|||
const searchDateType = (val) =>{ |
|||
searchParam.dateType = val; |
|||
searchParam.isComplaint = null; |
|||
queryList(); |
|||
} |
|||
const searchFilter = () =>{ |
|||
data.showTop = true; |
|||
queryList(); |
|||
} |
|||
const searchComplaint = (val) =>{ |
|||
searchParam.isComplaint = val; |
|||
searchParam.dateType = null; |
|||
queryList(); |
|||
} |
|||
const cancelSelectDate = () =>{ |
|||
data.showDatePicker = false; |
|||
} |
|||
</script> |
|||
|
|||
<style lang="less" scoped> |
|||
.shop { |
|||
height: 100%; |
|||
display: flex; |
|||
flex-direction: column; |
|||
overflow: hidden; |
|||
background-color: #f4f4f4; |
|||
|
|||
.header_body { |
|||
height: 50px; |
|||
} |
|||
|
|||
.shop-center { |
|||
flex: 1; |
|||
overflow-y: scroll; |
|||
position: relative; |
|||
|
|||
.goods_box { |
|||
display: flex; |
|||
background-color: #fff; |
|||
margin: 6px; |
|||
border-radius: 10px; |
|||
|
|||
.swipe_cell { |
|||
width: 100%; |
|||
} |
|||
|
|||
.card_box { |
|||
display: flex; |
|||
width: 100%; |
|||
padding: 10px,0px; |
|||
flex-direction: column; |
|||
.card_body { |
|||
background-color: #fff; |
|||
border-radius: 10px; |
|||
flex: 1; |
|||
} |
|||
.card_box_span{ |
|||
font-size: 13px; |
|||
padding-left: 5%; |
|||
height: 35px; |
|||
align-items: center; |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
.card_box_action{ |
|||
position: absolute; |
|||
right: 4%; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
.shop_footer_body { |
|||
height: 101px; |
|||
position: relative; |
|||
.footer-one-btn { |
|||
height: 50px; |
|||
bottom: 51px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.search-button-list{ |
|||
height: 3%; |
|||
display: flex; |
|||
flex-direction: row; |
|||
padding-left: 10px; |
|||
margin-top: 6px; |
|||
align-items: end; |
|||
.search-button{ |
|||
width: 15%; |
|||
height: 80%; |
|||
} |
|||
} |
|||
.search-button-date{ |
|||
height: 3%; |
|||
display: flex; |
|||
flex-direction: row; |
|||
padding-left: 10px; |
|||
margin-top: 6px; |
|||
align-items: end; |
|||
position: relative; |
|||
.date-select{ |
|||
font-size: 20px; |
|||
margin-left: 2%; |
|||
} |
|||
.search-button{ |
|||
width: 15%; |
|||
height: 80%; |
|||
position: absolute; |
|||
top: 1%; |
|||
right: 1%; |
|||
} |
|||
} |
|||
|
|||
</style> |
|||
Loading…
Reference in new issue