提交 00f78bfd 编写于 作者: qian.jie's avatar qian.jie

优化样式及传参

上级 a23c7c65
<template>
<div class="depart-doctor">
<el-tabs v-model="activeMoutendName" @tab-click="handleClick">
<el-tabs v-model="activeMoutendName">
<el-tab-pane v-for="item in departDoctorList" :key="item.departmentId" :label="item.department + ' ' + item.checkDoctorIdListByDepartment.length + '/' +item.allNum" :name="item.departmentId">
<el-checkbox
v-model="item.checkAll"
......@@ -18,7 +18,7 @@
:label="itemChild.doctorId"
:disabled="itemChild.disabled"
>
{{ itemChild.doctorName + ' ' }}{{ ' ' +itemChild.doctorId}}
{{ itemChild.doctorName + ' ' }}{{ ' ' +itemChild.doctorId }}
</el-checkbox>
</el-checkbox-group>
</el-tab-pane>
......@@ -58,9 +58,6 @@
},
methods: {
handleClick(value) {
console.log(value, 'value');
},
handleCheckAllChange(value, item) {
let itemNameList = [];
if (value) {
......@@ -93,5 +90,19 @@
};
</script>
<style lang="scss" scoped>
<style lang="scss" >
.depart-doctor{
.el-checkbox__input.is-disabled .el-checkbox__inner{
border-color: #D9D9D9 !important;
background: #fff !important;
}
.el-checkbox.is-disabled .el-checkbox__label{
color: #D9D9D9 !important;
}
.el-radio__input.is-checked+.el-radio__label, .el-tabs__item.is-active {
color: #0D9078 !important;
font-size:16px !important ;
}
}
</style>
......@@ -154,7 +154,7 @@
currentCalListNew: [
{
id: 3,
name: '全部订单',
name: '医生认领',
},
{
id: 1,
......@@ -294,7 +294,6 @@
},
watch: {},
created() {
console.log('currentDiagList---------------------', this.currentDiagList);
this.operatId = this.$route.query.id;
this.tabPositionValue = this.$route.query.type || '3';
},
......@@ -378,7 +377,6 @@
confirmDoctorList() {
const userInfo = storejs.get('initSocketInfo');
const {userId, userName} = userInfo;
console.log(userId, userName, 'userInfo');
const params = {
cancelDoctorIdList:this.cancelCheckList || [],
insertDoctorIdList:this.newCheckList || [],
......@@ -387,20 +385,17 @@
};
doctorListAnd(params).then(res => {
if (res.code == '000000') {
console.log(res);
this.doctorDeparList();
}
});
},
initCard() {
console.log(this.isShowCardData);
const parms = {
bizType: this.tabPositionValue, // 1,异常的列表 2,不需要处理的列表
userId: this.userInfo.userId || this.operateUserId, // userId
condition: this.orderOrName || '',
};
// this.currentDiagList = this.mockData;
conditionNewList(parms)
.then((res) => {
if (res.code === '000000') {
......@@ -420,14 +415,12 @@
});
},
handleData(data) {
console.log(data, 'data');
this.currentDiagList = [];
data.forEach((item, index) => {
item.diagnoseLogId = '--' + Math.random() * 10;
item['definitionRandom'] = Math.random() * 10;
this.$set(this.currentDiagList, index, item);
});
console.log('this.currentDiagList', this.currentDiagList);
this.isShowCardData = true;
// this.$nextTick(() => {
// });
......@@ -435,12 +428,8 @@
getSerachValue(value) {
this.orderOrName = value;
},
handleCheckedCitiesChange(value) {
console.log(value, 'value11');
},
getSearchValue() {
if (!this.orderOrName) {
console.log(789, this.departmentId);
return this.$message({
message: '医生名字或订单号不能为空',
type: 'warning',
......@@ -451,7 +440,6 @@
}
},
tabChange(val) {
console.log(val, 'val1111====');
this.tabPositionValue = val;
if (val != 3) {
this.initCard();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册