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
提交
b280758b
提交
b280758b
编写于
10月 26, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
差异文件
paix
上级
dac277e1
dc1a9e39
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
11 行删除
+23
-11
serviceSchedule.js
src/api/serviceSchedule.js
+2
-2
newScheduling.vue
src/views/IM/diagnosis-admin/modal/newScheduling.vue
+6
-1
serviceSchedule.vue
src/views/IM/diagnosis-admin/serviceSchedule.vue
+15
-8
未找到文件。
src/api/serviceSchedule.js
浏览文件 @
b280758b
import
request
from
'mn-template/plugins/http'
;
import
request
from
'mn-template/plugins/http'
;
export
const
getFirstLevelLable
=
async
()
=>
{
export
const
getFirstLevelLable
=
async
()
=>
{
return
request
({
return
request
({
url
:
'/
contents/admin/label/getFirstLevelLable/1
'
,
url
:
'/
basic-data/constants/lvOne/P128
'
,
method
:
'get'
,
method
:
'get'
,
});
});
};
};
export
const
childLabelList
=
async
(
data
)
=>
{
export
const
childLabelList
=
async
(
data
)
=>
{
return
request
({
return
request
({
url
:
'/contents/admin/label/childLabelList'
,
url
:
`/basic-data/constants/subordinate/
${
data
}
`
,
params
:
data
,
params
:
data
,
method
:
'get'
,
method
:
'get'
,
});
});
...
...
src/views/IM/diagnosis-admin/modal/newScheduling.vue
浏览文件 @
b280758b
...
@@ -114,6 +114,7 @@
...
@@ -114,6 +114,7 @@
listDate
:
[],
listDate
:
[],
week
:
1
,
// 1:当前周 2:上一周 3:下一周
week
:
1
,
// 1:当前周 2:上一周 3:下一周
currentIndex
:
2
,
currentIndex
:
2
,
haveWeek
:
[
1
],
calendarOptions
:
{
calendarOptions
:
{
// 引入的插件,比如fullcalendar/daygrid,fullcalendar/timegrid引入后才可显示月,周,日
// 引入的插件,比如fullcalendar/daygrid,fullcalendar/timegrid引入后才可显示月,周,日
plugins
:
[
dayGridPlugin
,
interactionPlugin
,
timeGridPlugin
],
plugins
:
[
dayGridPlugin
,
interactionPlugin
,
timeGridPlugin
],
...
@@ -186,7 +187,10 @@
...
@@ -186,7 +187,10 @@
watch
:
{
watch
:
{
week
(
newV
)
{
week
(
newV
)
{
console
.
log
(
newV
);
console
.
log
(
newV
);
// this.handleInitSearch(true);
if
(
this
.
haveWeek
.
indexOf
(
newV
)
==
-
1
)
{
this
.
haveWeek
.
push
(
newV
);
this
.
handleInitSearch
();
}
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -401,3 +405,4 @@
...
@@ -401,3 +405,4 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
'index'
;
@import
'index'
;
</
style
>
</
style
>
d e c
src/views/IM/diagnosis-admin/serviceSchedule.vue
浏览文件 @
b280758b
...
@@ -79,8 +79,8 @@
...
@@ -79,8 +79,8 @@
v-model=
"searchParam.idNamePhone"
v-model=
"searchParam.idNamePhone"
clearable
clearable
class=
"serviceSchedule-idNamePhone"
class=
"serviceSchedule-idNamePhone"
placeholder=
"
输入问诊单号/
医生姓名/手机号"
placeholder=
"医生姓名/手机号"
style=
"width: 2
8
0px"
style=
"width: 2
5
0px"
/>
/>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -182,8 +182,8 @@
...
@@ -182,8 +182,8 @@
innerform
:
[],
innerform
:
[],
props
:
{
props
:
{
// props定义的值根据接口返回的数据定的
// props定义的值根据接口返回的数据定的
label
:
'
nam
e'
,
label
:
'
valu
e'
,
value
:
'
id
'
,
value
:
'
no
'
,
children
:
'interface'
,
children
:
'interface'
,
},
},
searchParam
:
{
searchParam
:
{
...
@@ -245,11 +245,16 @@
...
@@ -245,11 +245,16 @@
// 通过监听expand-change事件(当展开节点发生变化时触发)获取第二层数据,组装interfaceOptions数据
// 通过监听expand-change事件(当展开节点发生变化时触发)获取第二层数据,组装interfaceOptions数据
handleItemChange
(
val
)
{
handleItemChange
(
val
)
{
const
value
=
val
[
0
];
const
value
=
val
[
0
];
childLabelList
(
{
parentId
:
value
,
publish
:
1
}
).
then
((
res
)
=>
{
childLabelList
(
value
).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
)
{
if
(
res
.
code
===
'000000'
)
{
const
interfaceArr
=
res
.
data
||
[];
const
interfaceArr
=
(
res
.
data
||
[]).
map
((
item
)
=>
{
return
{
value
:
item
.
name
,
no
:
item
.
id
,
};
});
this
.
interfaceOptions
.
filter
((
item
)
=>
{
this
.
interfaceOptions
.
filter
((
item
)
=>
{
if
(
item
.
id
===
value
)
{
if
(
item
.
no
===
value
)
{
this
.
$set
(
item
,
'interface'
,
interfaceArr
);
this
.
$set
(
item
,
'interface'
,
interfaceArr
);
}
}
return
;
return
;
...
@@ -376,8 +381,10 @@
...
@@ -376,8 +381,10 @@
this
.
schedulingType
=
val
;
this
.
schedulingType
=
val
;
},
},
goBack
(
flag
)
{
goBack
(
flag
)
{
console
.
log
(
flag
);
this
.
ScheduleListShow
=
true
;
this
.
ScheduleListShow
=
true
;
if
(
flag
)
{
this
.
search
();
}
},
},
},
},
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录