Commit 8abd4c0d authored by zhengke's avatar zhengke

1

parent 15a8e232
......@@ -3,7 +3,6 @@
</style>
<template>
<div>
<div style="margin-top:30px;">
<q-btn label="新增" color="accent q-mb-lg" size="sm" @click="isShowAdd=true" />
<template v-if="isShowAdd">
<div class="row wrap">
......@@ -74,9 +73,8 @@
</div>
</div>
<div style="margin:20px 0;">
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary"
:max="page_Count" input @input="changePage" />
</div>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="page_Count" input
@input="changePage" />
</div>
</div>
</template>
......@@ -167,11 +165,24 @@
position: 'top'
})
this.getList();
this.clearMsg();
}
}).catch(() => {
})
},
//清除数据
clearMsg() {
this.VisitMsg.Id = 0;
this.VisitMsg.StuId = 0;
this.VisitMsg.School_Id = 0;
this.VisitMsg.Date = '';
this.VisitMsg.VisitTime = '';
this.VisitMsg.ReceptionPersion = '';
this.VisitMsg.Remark = '';
this.VisitMsg.Feedback = '';
this.isShowAdd = false;
},
//删除到访
delVisit(Id) {
let that = this
......@@ -196,7 +207,7 @@
})
}).onCancel(() => {});
},
changePage(val){
changePage(val) {
this.msg.pageIndex = val;
this.getList();
}
......
......@@ -28,6 +28,12 @@
</div>
</template>
<script>
import {
saveStudentAppointment,
queryStudentAppointmentPage,
deleteStudentAppointment
} from '../../../api/customerstudent/customerstudent';
export default {
meta: {
title: ""
......
......@@ -32,7 +32,7 @@
<q-tab name="3" label="订单" />
<q-tab name="4" label="合同" />
</q-tabs>
<div style="flex:1;overflow:hidden;">
<div style="flex:1;overflow:auto" >
<div class="detail_Main">
<div class="tripTypeContent" style="flex-shrink:0" v-if="ckedTab==2">
<div v-for="(qItem,qIndex) in visitList" :key="qIndex"
......@@ -45,7 +45,7 @@
</template>
<!-- 操作 -->
<template v-if="ckedTab==2">
<div style="overflow:auto;">
<div class="operate_Content">
<student-visit :save-obj="baseObj" :StuId="baseObj.StuId" v-if="secondType==1"></student-visit>
<student-yuefang :save-obj="baseObj" v-if="secondType==2"></student-yuefang>
<student-genjin :save-obj="baseObj" v-if="secondType==3"></student-genjin>
......@@ -397,4 +397,23 @@
font-size:14px;
cursor: pointer;
}
.operate_Content{
overflow: auto;
margin-top: 30px;
padding-right:20px;
}
.operate_Content::-webkit-scrollbar{
width: 6px;
height: 8px;
}
.operate_Content::-webkit-scrollbar-thumb {
border-radius: 4px;
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
background: #c9c9c9;
}
.operate_Content::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
border-radius: 4px;
background: #EDEDED;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment