Browse Source

1. 不扫码投诉内容

2. 计划名称格式
v3
蟑螂恶霸 2 years ago
parent
commit
0365db6574
  1. 16
      src/views/administrative/appointment.vue
  2. 74
      src/views/enforce/enforcementPlanAdd.vue
  3. 4
      src/views/enterprise/complaintNoScan.vue

16
src/views/administrative/appointment.vue

@ -890,16 +890,8 @@
white-space: nowrap; white-space: nowrap;
} }
.flex-div::before, .flex-div::after {
position: absolute;
bottom: 0;
width: 100%;
height: 1px;
border-bottom: 1px solid #fff;
content: "";
}
.flex-div::after { .flex-div::after {
position: absolute;
left: 0.43rem; left: 0.43rem;
bottom: 0; bottom: 0;
width: calc(100% - 0.86rem); width: calc(100% - 0.86rem);
@ -907,12 +899,14 @@
content: ""; content: "";
} }
.flex-div .van-cell::after {
border-bottom: 0;
}
.flex-div .van-field { .flex-div .van-field {
float: right; float: right;
margin-bottom: -1px;
padding-right: 0; padding-right: 0;
width: 38%; width: 38%;
border-bottom: 1px solid #f5f6f7;
} }
.flex-div .van-field:first-child { .flex-div .van-field:first-child {

74
src/views/enforce/enforcementPlanAdd.vue

@ -43,25 +43,36 @@
/>--> />-->
<div class="flex-div"> <div class="flex-div">
<van-field <van-field
v-model="submitData.planName"
label="计划名称" label="计划名称"
v-model="submitData.planYear"
is-link is-link
placeholder="年份" placeholder="选择年份"
required required
/> />
<div class="right-txt"> <div class="right-txt">
<span>年</span> <van-field
<van-field v-model="submitData.planTime"
v-model="data.fieldValue" placeholder="请输入季度/月度"
is-link />
readonly </div>
@click="data.dateShowPicker = true" </div>
/> <div class="flex-div">
<span>行政检查计划</span> <van-field
label=" "
v-model="data.fieldValue"
is-link
readonly
@click="data.dateShowPicker = true"
/>
<div class="right-txt">
<van-field
v-model="submitData.planName"
placeholder="行政检查计划"
/>
</div> </div>
</div> </div>
<div class="warning-rule"> <div class="warning-rule">
<span><van-icon name="warning-o" /></span><span>格式:"执法部门"+"年份"+"年度/月度/季度"+行政检查计划</span> <span><van-icon name="warning-o" /></span><span>"执法部门"+"年份"+"年度/月度/季度"+行政检查计划</span>
</div> </div>
<van-popup v-model:show="data.dateShowPicker" round position="bottom"> <van-popup v-model:show="data.dateShowPicker" round position="bottom">
<van-picker <van-picker
@ -584,6 +595,7 @@
color: #fb710b; color: #fb710b;
font-size: 0.3rem; font-size: 0.3rem;
line-height: 1.25; line-height: 1.25;
clear: both;
} }
.warning-rule i { .warning-rule i {
@ -596,22 +608,16 @@
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: right;
margin-top: -1px;
padding: 0 0.43rem 0 0.23rem; padding: 0 0.43rem 0 0.23rem;
color: #666; color: #666;
font-size: 0.37rem; font-size: 0.37rem;
white-space: nowrap; white-space: nowrap;
} }
.flex-div::before, .flex-div::after {
position: absolute;
bottom: 0;
width: 100%;
height: 1px;
border-bottom: 1px solid #fff;
content: "";
}
.flex-div::after { .flex-div::after {
position: absolute;
left: 0.43rem; left: 0.43rem;
bottom: 0; bottom: 0;
width: calc(100% - 0.86rem); width: calc(100% - 0.86rem);
@ -619,24 +625,34 @@
content: ""; content: "";
} }
.flex-div .van-field { .flex-div:first-child::after {
margin-bottom: -1px; border-bottom: 0;
padding-right: 0; }
border-bottom: 1px solid #f5f6f7;
.flex-div .van-cell::after {
border-bottom: 0;
} }
.flex-div > .van-field { .flex-div > .van-field {
float: left;
padding-left: 0; padding-left: 0;
width: 50%; padding-right: 0;
width: 55%;
} }
.right-txt { .right-txt {
display: flex; width: 45%;
align-items: center;
width: 50%;
} }
/deep/ .right-txt > .van-field {
float: right;
padding-right: 0;
}
/*/deep/ .flex-div:first-child .right-txt > .van-field .van-field__control {
text-align: right;
padding-right: 20%;
}*/
/deep/ .flex-div .van-field__label--required:before { /deep/ .flex-div .van-field__label--required:before {
margin-left: 0; margin-left: 0;
} }

4
src/views/enterprise/complaintNoScan.vue

@ -85,6 +85,8 @@
<van-field <van-field
label="投诉内容" label="投诉内容"
required required
readonly
placeholder="入企不扫码"
/> />
<van-field class="complaint-cont" <van-field class="complaint-cont"
v-model="submitData.problemDescription" v-model="submitData.problemDescription"
@ -93,7 +95,7 @@
type="textarea" type="textarea"
maxlength="100" maxlength="100"
show-word-limit show-word-limit
placeholder="请输入投诉内容" placeholder="请输入补充投诉内容"
:rules="[{ required: true, message: '请输入投诉内容' }]" :rules="[{ required: true, message: '请输入投诉内容' }]"
/> />

Loading…
Cancel
Save