Browse Source

添加“全部/本部门预警"按钮

v2
蟑螂恶霸 2 years ago
parent
commit
6c3062c7b7
  1. 18
      src/views/enforce/enterpriseBaseInfo.vue
  2. 61
      src/views/enforce/enterpriseWarningInfo.vue

18
src/views/enforce/enterpriseBaseInfo.vue

@ -35,19 +35,17 @@
readonly readonly
/>--> />-->
<!--
<van-field <van-field
label="企业地址:" label="企业地址:"
/> />
<van-text-ellipsis :content="data.enterpriseInfo.enterpriseAddress" rows="2"/> <van-text-ellipsis :content="data.enterpriseInfo.enterpriseAddress" rows="2"/>
--> <!-- <van-field
<van-field
v-model="data.enterpriseInfo.enterpriseAddress" v-model="data.enterpriseInfo.enterpriseAddress"
rows="2" rows="2"
autosize autosize
label="企业地址:" label="企业地址:"
type="textarea" type="textarea"
/> />-->
<van-field <van-field
v-model="data.enterpriseInfo.legalPerson" v-model="data.enterpriseInfo.legalPerson"
label="法人代表:" label="法人代表:"
@ -73,19 +71,11 @@
label="营业期限:" label="营业期限:"
readonly readonly
/> />
<!-- <van-field <van-field
label="经营范围:" label="经营范围:"
/> />
<van-text-ellipsis :content="data.enterpriseInfo.businessScope" rows="2" expand-text="展开" <van-text-ellipsis :content="data.enterpriseInfo.businessScope" rows="2" expand-text="展开"
collapse-text="收起"/>--> collapse-text="收起"/>
<van-field
v-model="data.enterpriseInfo.enterpriseAddress"
rows="2"
label="经营范围:"
type="textarea"
expand-text="展开"
collapse-text="收起"
/>
</van-cell-group> </van-cell-group>

61
src/views/enforce/enterpriseWarningInfo.vue

@ -6,8 +6,8 @@
<!-- <header-nav :leftArrow="false" titelText="企业预警信息" />--> <!-- <header-nav :leftArrow="false" titelText="企业预警信息" />-->
<!-- </div>--> <!-- </div>-->
<div class="search-button-date"> <!-- <div class="search-button-date">
<div style="border-color: black;" class="van-hairline--bottom"></div> <div style="border-color: black;" class="van-hairline&#45;&#45;bottom"></div>
<van-popup v-model:show="data.showDatePicker" position="bottom"> <van-popup v-model:show="data.showDatePicker" position="bottom">
<van-date-picker <van-date-picker
title="选择日期" title="选择日期"
@ -330,7 +330,7 @@
} }
} }
.search-button-list{ /*.search-button-list{
height: 0.7rem; height: 0.7rem;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -345,27 +345,50 @@
color: #4c4c4c; color: #4c4c4c;
font-size: 0.3rem; font-size: 0.3rem;
} }
} }*/
.search-button-list {
height: 0.85rem;
display: flex;
flex-direction: row;
padding-left: 0.27rem;
margin: 0.35rem 0;
align-items: end;
.search-button {
width: 30%;
height: 100%;
background: #e3e0e0;
border-color: #e3e0e0;
color: #4c4c4c;
font-size: 0.3rem;
}
.search-button.active {
background-color: #1367fe;
border-color: #1367fe;
color: #fff;
}
}
.search-button-date { .search-button-date {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: end; align-items: end;
position: relative; position: relative;
.date-select { .date-select {
font-size: 0.52rem; font-size: 0.52rem;
margin: 3% 0 0 4%; margin: 3% 0 0 4%;
i { i {
transform: rotate(90deg); transform: rotate(90deg);
font-size: 0.4rem; font-size: 0.4rem;
} }
} }
.search-button{ .search-button{
width: 15%; width: 15%;
height: 80%; height: 80%;
position: absolute; position: absolute;
top: 1%; top: 1%;
right: 1%; right: 1%;
} }
} }

Loading…
Cancel
Save