提交 5a63daa5 编写于 作者: qian.jie's avatar qian.jie

排班

上级 b3741bad
......@@ -264,4 +264,19 @@ export const opAck = async (data) => {
data: data,
method: 'post',
});
};
\ No newline at end of file
};
export const acceptsCeiling = async (data) => {
return request({
url: '/diagnose/admin/diagnose/accepts/ceiling',
params: data,
method: 'get',
});
};
export const getLeisureTime = async (data) => {
return request({
url: '/diagnose/doctor/work/getLeisureTime',
data: data,
method: 'post',
});
};
......@@ -72,3 +72,9 @@ export const setPlatformUpper = async (data) => {
method: 'post',
});
};
export const getPlatformUpper = async () => {
return request({
url: '/diagnose/doctor/work/getPlatformUpper',
method: 'post',
});
};
......@@ -441,6 +441,7 @@
:diagnose-type="diagnoseType"
:doctor-id="doctorId"
:range-time-data="rangeTimeData"
:doctor-info="doctorInfo"
@search="search"
@changeStartTime="changeStartTime"
/>
......@@ -621,6 +622,7 @@
},
timer: null,
fromType: 0, // 1或不传为为预约单列表 2为运营预约单列表 3为分诊台 4为接诊台
doctorInfo: {},
};
},
watch: {
......@@ -1106,11 +1108,13 @@
},
// 设为待确认时间
waitMatchTime(row) {
// debugger;
console.log(row, 'row');
this.doctorInfo = row;
this.rangeTimeData = row.assistantBeginTime;
this.diagnoseFlag = true;
this.diagnosisDoctorVisible = true;
// this.acceptsCeilings(row.doctorId);
this.diagnoseLogId = row.diagnoseLogId;
this.diagnoseType = row.diagnoseType;
if (row.doctorId == 0) {
......
......@@ -6,19 +6,31 @@
border-radius: 6px;
flex: 3.8;
}
.setMaxNum{
.setMaxNum {
display: flex;
justify-content: space-around;
}
.list-item{
.input-value {
width: 100px;
/deep/.el-input-number__decrease {
width: 20px;
}
/deep/.el-input-number__increase {
width: 20px;
}
/deep/.el-input__inner {
padding: 0;
}
}
.list-item {
width: 86px;
height: 25px;
background: #FFFFFF;
background: #ffffff;
border-radius: 16px;
border: 1px solid rgba(0, 0, 0, 0.15);
text-align: center;
}
.list-item-noth{
.list-item-noth {
width: 86px;
height: 25px;
background: red;
......@@ -26,21 +38,21 @@
border: 1px solid rgba(0, 0, 0, 0.15);
text-align: center;
}
.w2{
/deep/.fc-prev-button{
background:#f4f4f5;
cursor: not-allowed;
border:1px solid #d9d9d9;
}
}
.w3{
/deep/.fc-next-button{
background:#f4f4f5;
border:1px solid #d9d9d9;
cursor: not-allowed;
}
}
/deep/.fc-timegrid-event-harness{
.w2 {
/deep/.fc-prev-button {
background: #f4f4f5;
cursor: not-allowed;
border: 1px solid #d9d9d9;
}
}
.w3 {
/deep/.fc-next-button {
background: #f4f4f5;
border: 1px solid #d9d9d9;
cursor: not-allowed;
}
}
/deep/.fc-timegrid-event-harness {
// position: absolute !important;
left: 0 !important;
}
......@@ -82,7 +94,7 @@
overflow: hidden;
border-radius: 8px;
}
.agment-left-copy{
.agment-left-copy {
margin-top: 34px;
text-align: center;
}
......@@ -115,19 +127,19 @@
color: #02120f;
margin-top: 19px;
}
.agment-head-none{
.agment-head-none {
background: #fff;
pointer-events: none;
}
.agment-head-priority {
padding-top: 20px;
display: flex;
justify-content:center;
justify-content: center;
align-items: center;
.item {
width: 42px;
height: 32px;
margin-right:10px;
margin-right: 10px;
border: 1px solid #d9d9d9;
border-radius: 8px;
text-align: center;
......@@ -145,19 +157,19 @@
display: flex;
justify-content: center;
}
.copy-submit{
.copy-submit {
background: #fff;
border: 1px solid #0D9078;
border: 1px solid #0d9078;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #0D9078;
color: #0d9078;
}
.reset-submit{
.reset-submit {
background: #fff;
border: 1px solid #0D9078;
border: 1px solid #0d9078;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #0D9078;
color: #0d9078;
}
/deep/.fc-timegrid-event {
border-radius: 1px !important;
......@@ -175,15 +187,15 @@
}
/deep/.fc-header-toolbar {
position: absolute;
right:1%;
right: 1%;
top: 25px;
width: 20%;
}
/deep/.fc-toolbar-title {
font-size: 6px;
}
/deep/.fc-toolbar-chunk{
display:flex;
/deep/.fc-toolbar-chunk {
display: flex;
}
/deep/.fc-button-primary {
background: #fff;
......@@ -193,20 +205,20 @@
padding: 6px 16px;
flex-shrink: 0;
}
@media screen and (min-width: 1000px) and (max-width: 1300px){
@media screen and (min-width: 1000px) and (max-width: 1300px) {
/deep/.fc-header-toolbar {
right: 6%;
}
.ag-left1 {
width:12% !important;
width: 12% !important;
right: 18% !important;
border:1px solid red !important;
border: 1px solid red !important;
}
.ag-left2 {
width:12% !important;
right: 1% !important;
width: 12% !important;
right: 1% !important;
}
}
}
/deep/.fc-myCustomButton-button {
padding: 6px 24px;
}
......@@ -221,4 +233,3 @@
word-wrap: break-word;
white-space: normal;
}
......@@ -90,7 +90,8 @@
getFirstLevelLable,
childLabelList,
previewWork,
setPlatformUpper
setPlatformUpper,
getPlatformUpper,
} from '@/api/serviceSchedule';
export default {
name: 'Index',
......@@ -99,7 +100,7 @@
},
data() {
return {
maxDiaNum:100,
maxDiaNum: 100,
dateTime: '',
interfaceOptions: [],
innerform: [],
......@@ -163,16 +164,25 @@
watch: {},
created() {
this.getFirstLevelLable();
this.getPlatformUpper();
},
mounted() {},
methods: {
getPlatformUpper() {
getPlatformUpper().then((res) => {
if (res.code === '000000') {
console.log(res);
this.maxDiaNum = res.data;
}
});
},
setPlatformUpper() {
const params = {
num:this.maxDiaNum
num: this.maxDiaNum,
};
setPlatformUpper(params).then(res => {
if (res.code === '000000') {
console.log(res);
setPlatformUpper(params).then((res) => {
if (res.code === '000000') {
this.getPlatformUpper();
}
});
},
......@@ -335,40 +345,40 @@
align-items: center;
padding: 20px 0 10px 20px;
justify-content: space-between;
.agmentSelect-select-left{
display: flex;
align-items: center;
justify-content: flex-start;
.serviceSchedule-cascader {
background: #fff;
margin-right: 15px;
}
.serviceSchedule_dateTime {
margin-right: 15px;
}
.submit-btn {
height: 32px;
background: #0d9078;
border-radius: 16px;
display: flex;
align-items: center;
}
.agmentSelect-select-left {
display: flex;
align-items: center;
justify-content: flex-start;
.serviceSchedule-cascader {
background: #fff;
margin-right: 15px;
}
.serviceSchedule_dateTime {
margin-right: 15px;
}
.submit-btn {
height: 32px;
background: #0d9078;
border-radius: 16px;
display: flex;
align-items: center;
}
}
.agmentSelect-select-right{
.agmentSelect-select-right {
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 30px;
.el-input-number {
margin: 0 10px;
}
.submit-btn {
height: 32px;
background: #0d9078;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 30px;
.el-input-number{
margin: 0 10px;
}
.submit-btn {
height: 32px;
background: #0d9078;
border-radius: 16px;
display: flex;
align-items: center;
}
}
}
}
.fullCalendar-show {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册