Browse Source

修改检查计划时间以及tab名称

v3
chenrui 2 years ago
parent
commit
cb20c7e232
  1. 11
      src/views/administrative/appointmentEdit.vue
  2. 2
      src/views/enforce/enforcementPlanAdd.vue
  3. 2
      src/views/enforce/enforcementPlanBase.vue

11
src/views/administrative/appointmentEdit.vue

@ -214,6 +214,7 @@
<van-popup v-model:show="data.showTimePicker" position="bottom" :style="{ height: '30%' }" >
<van-date-picker
type="time"
v-model="data.currentDate"
@confirm="onConfirm"
@cancel="data.showTimePicker = false"
/>
@ -448,6 +449,14 @@
data.deptChecked=true;
}
}
const currentDate =() => {
const now = new Date();
const year = now.getFullYear();
const month = (now.getMonth() + 1).toString().padStart(2, '0');
const day = now.getDate().toString().padStart(2, '0');
data.currentDate = [year, month, day]
data.minDate = new Date(year, month-1, day);
}
const dataFillIn = (id) => {
getByIdToDataFillIn(id,success =>{
@ -682,7 +691,7 @@
nameCorrect();
//
dataFillIn(route?.query?.id);
currentDate()
// getLinkageByValueAndParentId("check_item", "100");

2
src/views/enforce/enforcementPlanAdd.vue

@ -871,8 +871,8 @@
position: absolute;
top: 0.05rem;
right: 0;
color: #1367fe;
font-size: 0.3rem;
color: #fb710b !important;
}
.down-mod i {

2
src/views/enforce/enforcementPlanBase.vue

@ -54,7 +54,7 @@ const data = reactive({
value: '0'
},
{
title: '行政检查计划',
title: '查询检查计划',
value: '1'
},
],

Loading…
Cancel
Save