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

排班

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