Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
d1424303
提交
d1424303
编写于
10月 22, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改日历
上级
02d0be13
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
489 行增加
和
68 行删除
+489
-68
index.scss
src/views/IM/diagnosis-admin/modal/index.scss
+113
-0
newScheduling.vue
src/views/IM/diagnosis-admin/modal/newScheduling.vue
+303
-4
serviceSchedule.vue
src/views/IM/diagnosis-admin/serviceSchedule.vue
+73
-64
未找到文件。
src/views/IM/diagnosis-admin/modal/index.scss
0 → 100644
浏览文件 @
d1424303
.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
;
}
src/views/IM/diagnosis-admin/modal/newScheduling.vue
浏览文件 @
d1424303
此差异已折叠。
点击以展开。
src/views/IM/diagnosis-admin/serviceSchedule.vue
浏览文件 @
d1424303
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
clearable
clearable
>
>
<el-option
<el-option
v-for=
"(item,index) of createList"
v-for=
"(item,
index) of createList"
:key=
"index"
:key=
"index"
:label=
"item"
:label=
"item"
:value=
"item"
:value=
"item"
...
@@ -142,7 +142,14 @@
...
@@ -142,7 +142,14 @@
</
template
>
</
template
>
<
script
>
<
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
{
SERVICESCHEDUle_TABLE
}
from
'@/utils/GeneralData/serviceSchedule-table'
;
import
TableServiceSchedule
from
'@/components/list/table-serviceSchedule'
;
import
TableServiceSchedule
from
'@/components/list/table-serviceSchedule'
;
import
NewScheduling
from
'../diagnosis-admin/modal/newScheduling.vue'
;
import
NewScheduling
from
'../diagnosis-admin/modal/newScheduling.vue'
;
...
@@ -164,36 +171,36 @@
...
@@ -164,36 +171,36 @@
departmentId
:
''
,
departmentId
:
''
,
createType
:
''
,
createType
:
''
,
idNamePhone
:
''
,
idNamePhone
:
''
,
ScheduleStatus
:
''
,
ScheduleStatus
:
''
,
startRangeTime
:
''
,
startRangeTime
:
''
,
endRangeTime
:
''
,
endRangeTime
:
''
,
serviceOpen
:
''
,
serviceOpen
:
''
,
pageSize
:
15
,
pageSize
:
15
,
pageNo
:
1
,
pageNo
:
1
,
sort
:
''
,
sort
:
''
,
createRangeTime
:
[]
createRangeTime
:
[],
},
},
ScheduleStatusList
:[
ScheduleStatusList
:
[
{
{
value
:
'已排班'
,
value
:
'已排班'
,
id
:
1
id
:
1
,
},
},
{
{
value
:
'未排班'
,
value
:
'未排班'
,
id
:
2
id
:
2
,
},
},
],
],
serviceOpenList
:[
serviceOpenList
:
[
{
{
value
:
'开通'
,
value
:
'开通'
,
id
:
1
id
:
1
,
},
},
{
{
value
:
'未开通'
,
value
:
'未开通'
,
id
:
2
id
:
2
,
},
},
],
],
createList
:[],
createList
:
[],
interfaceOptions
:
[],
interfaceOptions
:
[],
createRangeTime
:
[],
createRangeTime
:
[],
pickerOptions
:
{
pickerOptions
:
{
...
@@ -202,18 +209,18 @@
...
@@ -202,18 +209,18 @@
},
},
},
},
ScheduleListShow
:
true
,
ScheduleListShow
:
true
,
showTableData
:
SERVICESCHEDUle_TABLE
,
showTableData
:
SERVICESCHEDUle_TABLE
,
tableData
:[],
tableData
:
[],
loading
:
false
,
loading
:
false
,
newCreateList
:[],
newCreateList
:
[],
// newCreateObj:{}
// newCreateObj:{}
};
};
},
},
watch
:
{},
watch
:
{},
created
()
{
created
()
{
this
.
getFirstLevelLable
();
this
.
getFirstLevelLable
();
this
.
getLevel
();
this
.
getLevel
();
this
.
search
();
this
.
search
();
},
},
methods
:
{
methods
:
{
// 通过监听expand-change事件(当展开节点发生变化时触发)获取第二层数据,组装interfaceOptions数据
// 通过监听expand-change事件(当展开节点发生变化时触发)获取第二层数据,组装interfaceOptions数据
...
@@ -261,16 +268,22 @@
...
@@ -261,16 +268,22 @@
const
params
=
{
const
params
=
{
departmentId
:
this
.
searchParam
.
departmentId
||
null
,
departmentId
:
this
.
searchParam
.
departmentId
||
null
,
workStatus
:
String
(
this
.
searchParam
.
ScheduleStatus
)
||
null
,
workStatus
:
String
(
this
.
searchParam
.
ScheduleStatus
)
||
null
,
startTime
:
this
.
searchParam
.
createRangeTime
.
length
>
0
?
this
.
searchParam
.
createRangeTime
[
0
]
:
null
,
startTime
:
endTime
:
this
.
searchParam
.
createRangeTime
.
length
>
0
?
this
.
searchParam
.
createRangeTime
[
1
]
:
null
,
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
,
condition
:
this
.
searchParam
.
idNamePhone
||
null
,
level
:
this
.
searchParam
.
createType
||
null
,
level
:
this
.
searchParam
.
createType
||
null
,
sort
:
this
.
searchParam
.
sort
||
null
,
sort
:
this
.
searchParam
.
sort
||
null
,
serviceOpen
:
String
(
this
.
searchParam
.
serviceOpen
)
||
null
,
serviceOpen
:
String
(
this
.
searchParam
.
serviceOpen
)
||
null
,
pageNo
:
this
.
searchParam
.
pageNo
,
pageNo
:
this
.
searchParam
.
pageNo
,
pageSize
:
this
.
searchParam
.
pageSize
,
pageSize
:
this
.
searchParam
.
pageSize
,
};
};
workQuery
(
params
).
then
(
res
=>
{
workQuery
(
params
).
then
(
(
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
tableData
=
res
.
data
.
list
||
[];
this
.
tableData
=
res
.
data
.
list
||
[];
...
@@ -291,18 +304,17 @@
...
@@ -291,18 +304,17 @@
changeSwitch
(
value
,
val
)
{
changeSwitch
(
value
,
val
)
{
console
.
log
(
value
,
val
,
'12321'
);
console
.
log
(
value
,
val
,
'12321'
);
switchOpen
({
switchOpen
({
id
:
val
.
id
,
id
:
val
.
id
,
switchOpen
:
val
.
delivery
?
'1'
:
'2'
switchOpen
:
val
.
delivery
?
'1'
:
'2'
,
}).
then
(
res
=>
{
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
console
.
log
(
res
);
console
.
log
(
res
);
this
.
search
();
this
.
search
();
}
}
});
});
},
},
searchInStep
()
{
searchInStep
()
{
workInStep
().
then
(
res
=>
{
workInStep
().
then
(
(
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
this
.
search
();
this
.
search
();
}
}
...
@@ -317,14 +329,14 @@
...
@@ -317,14 +329,14 @@
this
.
search
();
this
.
search
();
},
},
getLevel
()
{
getLevel
()
{
getLevel
().
then
(
res
=>
{
getLevel
().
then
(
(
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
console
.
log
(
res
,
'getLevel'
);
console
.
log
(
res
,
'getLevel'
);
this
.
createList
=
res
.
data
||
[];
this
.
createList
=
res
.
data
||
[];
this
.
createList
.
forEach
(
item
=>
{
this
.
createList
.
forEach
(
(
item
)
=>
{
const
newCreateObj
=
{
const
newCreateObj
=
{
value
:
''
,
value
:
''
,
text
:
''
text
:
''
,
};
};
newCreateObj
.
value
=
item
;
newCreateObj
.
value
=
item
;
newCreateObj
.
text
=
item
;
newCreateObj
.
text
=
item
;
...
@@ -338,7 +350,7 @@
...
@@ -338,7 +350,7 @@
console
.
log
(
data
,
'data'
);
console
.
log
(
data
,
'data'
);
if
(
data
.
prop
===
'"modifiedTime"'
&&
data
.
order
===
'descending'
)
{
if
(
data
.
prop
===
'"modifiedTime"'
&&
data
.
order
===
'descending'
)
{
this
.
searchParam
.
sort
=
'1'
;
this
.
searchParam
.
sort
=
'1'
;
}
else
{
}
else
{
this
.
searchParam
.
sort
=
'2'
;
this
.
searchParam
.
sort
=
'2'
;
}
}
this
.
search
();
this
.
search
();
...
@@ -346,7 +358,7 @@
...
@@ -346,7 +358,7 @@
addSchedule
(
value
,
val
)
{
addSchedule
(
value
,
val
)
{
console
.
log
(
value
,
val
,
'value,val'
);
console
.
log
(
value
,
val
,
'value,val'
);
this
.
ScheduleListShow
=
false
;
this
.
ScheduleListShow
=
false
;
}
}
,
},
},
};
};
</
script
>
</
script
>
...
@@ -365,7 +377,6 @@
...
@@ -365,7 +377,6 @@
.serviceSchedule-containerInfo
{
.serviceSchedule-containerInfo
{
position
:
relative
;
position
:
relative
;
min-width
:
1200px
;
min-width
:
1200px
;
background
:
#ffffff
;
height
:
73px
;
height
:
73px
;
border-radius
:
8px
;
border-radius
:
8px
;
display
:
flex
;
display
:
flex
;
...
@@ -400,35 +411,34 @@
...
@@ -400,35 +411,34 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
}
}
.synchro-btn-icon
{
.synchro-btn-icon
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
position
:
absolute
;
position
:
absolute
;
right
:
20px
;
right
:
20px
;
.synchro-btn
{
.synchro-btn
{
width
:
110px
;
width
:
110px
;
height
:
32px
;
height
:
32px
;
border-radius
:
18px
;
border-radius
:
18px
;
border
:
1px
solid
#0D
9078
;
border
:
1px
solid
#0d
9078
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
background
:
#FFFFFF
;
background
:
#ffffff
;
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#0D
9078
;
color
:
#0d
9078
;
}
}
.el-icon-s-question
{
.el-icon-s-question
{
margin-left
:
10px
;
margin-left
:
10px
;
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
}
}
}
}
}
}
.serviceSchedule-table
{
.serviceSchedule-table
{
min-width
:
1200px
;
min-width
:
1200px
;
padding-top
:
15px
;
padding-top
:
15px
;
}
}
...
@@ -445,12 +455,11 @@
...
@@ -445,12 +455,11 @@
width
:
100%
;
width
:
100%
;
padding
:
0
14px
;
padding
:
0
14px
;
.serviceSchedule-containerInfo
{
.serviceSchedule-containerInfo
{
background
:
#ffffff
;
border-radius
:
8px
;
border-radius
:
8px
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
21px
18px
20px
18px
;
//
padding: 21px 18px 20px 18px;
}
}
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录