提交 d1424303 编写于 作者: xiaoping.di's avatar xiaoping.di

修改日历

上级 02d0be13
.agment-box {
height: 100%;
background: #fff;
overflow: hidden;
padding: 20px;
border-radius: 6px;
flex: 3.8;
}
.agment-box-left {
flex: 1;
height: 100%;
padding: 20px;
margin-left: 12px;
background: #fff;
border-radius: 6px;
}
.agment-left-con {
margin-top: 70px;
background: #f0f2f5;
height: auto;
padding: 20px;
overflow: hidden;
border-radius: 8px;
}
.agment-head {
border-radius: 5px;
display: flex;
justify-content: flex-start;
align-items: flex-end;
}
.agment-head-name {
font-size: 20px;
color: #02120f;
font-weight: 600;
}
.agment-head-phone {
font-size: 18px;
margin-left: 16px;
}
.agment-hospital {
color: #89888b;
font-size: 16px;
margin-top: 14px;
line-height: 24px;
}
.agment-hospital-ks {
margin-top: 8px;
}
.agment-head-title {
font-size: 14px;
color: #02120f;
margin-top: 19px;
}
.agment-head-priority {
padding-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
.item {
width: 42px;
height: 32px;
border: 1px solid #d9d9d9;
border-radius: 8px;
text-align: center;
line-height: 32px;
cursor: pointer;
}
.active {
color: #fff;
background: #0d9078;
border: none;
}
}
.agment-left-button {
margin-top: 34px;
display: flex;
justify-content: space-around;
}
/deep/.fc-timegrid-event {
border-radius: 1px !important;
}
/deep/thead .fc-scroller-harness {
background: #fcfbff;
}
/deep/.fc-col-header-cell-cushion {
color: #333;
height: 45px;
line-height: 45px;
}
/deep/.fc .fc-highlight {
background: transparent;
}
/deep/.fc-header-toolbar {
position: absolute;
right: 0;
top: 25px;
width: 20%;
display: flex;
}
/deep/.fc-toolbar-title {
font-size: 6px;
}
/deep/.fc-button-primary {
background: #fff;
color: #02120f;
border-color: #d9d9d9;
border-radius: 8px;
padding: 1.3px 5px;
}
/deep/.fc-button-primary:hover {
background: #fff;
color: #02120f;
}
......@@ -31,7 +31,7 @@
clearable
>
<el-option
v-for="(item,index) of createList"
v-for="(item, index) of createList"
:key="index"
:label="item"
:value="item"
......@@ -142,7 +142,14 @@
</template>
<script>
import { getFirstLevelLable, childLabelList, workQuery, switchOpen, workInStep, getLevel} from '@/api/serviceSchedule';
import {
getFirstLevelLable,
childLabelList,
workQuery,
switchOpen,
workInStep,
getLevel,
} from '@/api/serviceSchedule';
import { SERVICESCHEDUle_TABLE } from '@/utils/GeneralData/serviceSchedule-table';
import TableServiceSchedule from '@/components/list/table-serviceSchedule';
import NewScheduling from '../diagnosis-admin/modal/newScheduling.vue';
......@@ -164,36 +171,36 @@
departmentId: '',
createType: '',
idNamePhone: '',
ScheduleStatus:'',
startRangeTime:'',
endRangeTime:'',
serviceOpen:'',
ScheduleStatus: '',
startRangeTime: '',
endRangeTime: '',
serviceOpen: '',
pageSize: 15,
pageNo: 1,
sort:'',
createRangeTime:[]
sort: '',
createRangeTime: [],
},
ScheduleStatusList:[
ScheduleStatusList: [
{
value:'已排班',
id:1
value: '已排班',
id: 1,
},
{
value:'未排班',
id:2
value: '未排班',
id: 2,
},
],
serviceOpenList:[
serviceOpenList: [
{
value:'开通',
id:1
value: '开通',
id: 1,
},
{
value:'未开通',
id:2
value: '未开通',
id: 2,
},
],
createList:[],
createList: [],
interfaceOptions: [],
createRangeTime: [],
pickerOptions: {
......@@ -202,10 +209,10 @@
},
},
ScheduleListShow: true,
showTableData:SERVICESCHEDUle_TABLE,
tableData:[],
showTableData: SERVICESCHEDUle_TABLE,
tableData: [],
loading: false,
newCreateList:[],
newCreateList: [],
// newCreateObj:{}
};
},
......@@ -261,16 +268,22 @@
const params = {
departmentId: this.searchParam.departmentId || null,
workStatus: String(this.searchParam.ScheduleStatus) || null,
startTime: this.searchParam.createRangeTime.length > 0 ? this.searchParam.createRangeTime[0] : null,
endTime: this.searchParam.createRangeTime.length > 0 ? this.searchParam.createRangeTime[1] : null,
startTime:
this.searchParam.createRangeTime.length > 0
? this.searchParam.createRangeTime[0]
: null,
endTime:
this.searchParam.createRangeTime.length > 0
? this.searchParam.createRangeTime[1]
: null,
condition: this.searchParam.idNamePhone || null,
level: this.searchParam.createType || null,
sort:this.searchParam.sort || null,
sort: this.searchParam.sort || null,
serviceOpen: String(this.searchParam.serviceOpen) || null,
pageNo: this.searchParam.pageNo,
pageSize: this.searchParam.pageSize,
};
workQuery(params).then(res => {
workQuery(params).then((res) => {
this.loading = false;
if (res.code === '000000') {
this.tableData = res.data.list || [];
......@@ -291,18 +304,17 @@
changeSwitch(value, val) {
console.log(value, val, '12321');
switchOpen({
id:val.id,
switchOpen:val.delivery ? '1' : '2'
}).then(res => {
id: val.id,
switchOpen: val.delivery ? '1' : '2',
}).then((res) => {
if (res.code === '000000') {
console.log(res);
this.search();
}
});
},
searchInStep() {
workInStep().then(res => {
workInStep().then((res) => {
if (res.code === '000000') {
this.search();
}
......@@ -317,14 +329,14 @@
this.search();
},
getLevel() {
getLevel().then(res => {
getLevel().then((res) => {
if (res.code === '000000') {
console.log(res, 'getLevel');
this.createList = res.data || [];
this.createList.forEach(item => {
this.createList.forEach((item) => {
const newCreateObj = {
value:'',
text:''
value: '',
text: '',
};
newCreateObj.value = item;
newCreateObj.text = item;
......@@ -338,7 +350,7 @@
console.log(data, 'data');
if (data.prop === '"modifiedTime"' && data.order === 'descending') {
this.searchParam.sort = '1';
} else{
} else {
this.searchParam.sort = '2';
}
this.search();
......@@ -346,7 +358,7 @@
addSchedule(value, val) {
console.log(value, val, 'value,val');
this.ScheduleListShow = false;
}
},
},
};
</script>
......@@ -365,7 +377,6 @@
.serviceSchedule-containerInfo {
position: relative;
min-width: 1200px;
background: #ffffff;
height: 73px;
border-radius: 8px;
display: flex;
......@@ -400,35 +411,34 @@
display: flex;
align-items: center;
}
.synchro-btn-icon{
.synchro-btn-icon {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
right: 20px;
.synchro-btn{
.synchro-btn {
width: 110px;
height: 32px;
border-radius: 18px;
border: 1px solid #0D9078;
border: 1px solid #0d9078;
display: flex;
align-items: center;
justify-content: center;
background: #FFFFFF;
background: #ffffff;
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #0D9078;
color: #0d9078;
}
.el-icon-s-question{
margin-left:10px;
.el-icon-s-question {
margin-left: 10px;
width: 16px;
height: 16px;
}
}
}
.serviceSchedule-table{
.serviceSchedule-table {
min-width: 1200px;
padding-top: 15px;
}
......@@ -445,12 +455,11 @@
width: 100%;
padding: 0 14px;
.serviceSchedule-containerInfo {
background: #ffffff;
border-radius: 8px;
height: 100%;
display: flex;
align-items: center;
padding: 21px 18px 20px 18px;
//padding: 21px 18px 20px 18px;
}
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册