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
提交
5eb6490b
提交
5eb6490b
编写于
10月 27, 2021
作者:
qian.jie
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/jq' into 'develop'
Feature/jq See merge request
!169
上级
e9385b58
a9e2be34
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
103 行增加
和
16 行删除
+103
-16
index.js
src/router/index.js
+10
-0
addEditSchedule.vue
src/views/IM/diagnosis-admin/addEditSchedule.vue
+64
-0
newScheduling.vue
src/views/IM/diagnosis-admin/modal/newScheduling.vue
+4
-1
serviceSchedule.vue
src/views/IM/diagnosis-admin/serviceSchedule.vue
+25
-15
未找到文件。
src/router/index.js
浏览文件 @
5eb6490b
...
...
@@ -68,6 +68,12 @@ const serviceSchedule = (r) =>
()
=>
r
(
require
(
'@/views/IM/diagnosis-admin/serviceSchedule.vue'
)),
'serviceSchedule'
);
const
addEditSchedule
=
(
r
)
=>
require
.
ensure
(
[],
()
=>
r
(
require
(
'@/views/IM/diagnosis-admin/addEditSchedule.vue'
)),
'addEditSchedule'
);
const
administrators
=
(
r
)
=>
require
.
ensure
(
[],
...
...
@@ -134,6 +140,10 @@ const routerConfig = [
path
:
'/serviceSchedule'
,
component
:
serviceSchedule
,
},
{
path
:
'/addEditSchedule'
,
component
:
addEditSchedule
,
},
{
path
:
'/administrators'
,
component
:
administrators
,
...
...
src/views/IM/diagnosis-admin/addEditSchedule.vue
0 → 100644
浏览文件 @
5eb6490b
<
template
>
<div
class=
"newScheduling"
>
<div
class=
"header"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item>
首页
</el-breadcrumb-item>
<el-breadcrumb-item
class=
"breadcrumb-serviceSchedule"
>
服务排班表
</el-breadcrumb-item>
<el-breadcrumb-item>
新增排班
</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div
class=
"serviceSchedule-container"
>
<div
class=
"serviceSchedule-containerInfo"
>
<NewScheduling
/>
</div>
</div>
</div>
</
template
>
<
script
>
import
NewScheduling
from
'../diagnosis-admin/modal/newScheduling.vue'
;
export
default
{
components
:
{
NewScheduling
,
},
data
()
{
return
{
name
:
111
,
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.newScheduling
{
height
:
calc
(
100%
-
76px
);
.header
{
padding
:
30px
;
width
:
100%
;
.el-breadcrumb
{
.breadcrumb-serviceSchedule
{
/
deep
/
.breadcrumb-back
{
font-weight
:
400
!
important
;
color
:
#606266
;
cursor
:
text
;
cursor
:
pointer
;
}
}
}
}
.serviceSchedule-container
{
// height: 100%;
width
:
100%
;
padding
:
0
14px
;
.serviceSchedule-containerInfo
{
border-radius
:
8px
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
//padding: 21px 18px 20px 18px;
}
}
}
</
style
>
\ No newline at end of file
src/views/IM/diagnosis-admin/modal/newScheduling.vue
浏览文件 @
5eb6490b
...
...
@@ -199,8 +199,11 @@
},
},
mounted
()
{
console
.
log
(
this
.
$route
.
query
.
doctorId
,
'doctorId'
);
console
.
log
(
this
.
$route
.
query
.
type
,
'type'
);
console
.
log
(
this
.
$route
.
query
.
id
,
'id'
);
this
.
scrollerHeight
=
this
.
$refs
.
agment
.
clientHeight
+
'px'
;
// console.log(this.$refs.agment.clientHeight, 'this.$refs.agment.offsetHeight;')
;
this
.
schedulingType
=
this
.
$route
.
query
.
type
;
this
.
init
();
},
methods
:
{
...
...
src/views/IM/diagnosis-admin/serviceSchedule.vue
浏览文件 @
5eb6490b
...
...
@@ -131,7 +131,7 @@
</div>
</div>
</div>
<div
<
!--
<
div
v-else
class=
"newScheduling"
>
...
...
@@ -157,7 +157,13 @@
/>
</div>
</div>
</div>
</div>
-->
<a
ref=
"target"
class=
"target"
href=
""
target=
"_blank"
/>
</div>
</
template
>
...
...
@@ -171,10 +177,10 @@
getLevel
,
}
from
'@/api/serviceSchedule'
;
import
TableServiceSchedule
from
'@/components/list/table-serviceSchedule'
;
import
NewScheduling
from
'../diagnosis-admin/modal/newScheduling.vue'
;
//
import NewScheduling from '../diagnosis-admin/modal/newScheduling.vue';
export
default
{
components
:
{
NewScheduling
,
//
NewScheduling,
TableServiceSchedule
,
},
data
()
{
...
...
@@ -231,8 +237,8 @@
tableData
:
[],
loading
:
false
,
newCreateList
:
[],
schedulingTypeValue
:
{},
schedulingType
:
''
,
//
schedulingTypeValue: {},
//
schedulingType: '',
};
},
watch
:
{},
...
...
@@ -378,16 +384,20 @@
this
.
search
();
},
addSchedule
(
value
,
val
)
{
this
.
ScheduleListShow
=
false
;
this
.
schedulingTypeValue
=
value
;
this
.
schedulingType
=
val
;
},
goBack
(
flag
)
{
this
.
ScheduleListShow
=
true
;
if
(
flag
)
{
this
.
search
();
}
// this.ScheduleListShow = false;
// this.schedulingType = val;
const
target
=
this
.
$refs
.
target
;
const
{
origin
}
=
window
.
location
;
const
u
=
`
${
origin
}
/consultation/pica-admin-consultation/addEditSchedule?type=
${
val
}
&doctorId=
${
value
.
doctorId
}
&id=
${
value
.
id
}
`
;
target
.
setAttribute
(
'href'
,
u
);
target
.
click
();
},
// goBack(flag) {
// this.ScheduleListShow = true;
// if (flag) {
// this.search();
// }
// },
},
};
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录