Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
dfcd30a3
提交
dfcd30a3
编写于
6月 28, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
学期报告静态页面update
上级
0cddd4f3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
64 行增加
和
60 行删除
+64
-60
item-list.vue
src/views/learning/item-list.vue
+62
-59
report-list.vue
src/views/learning/report-list.vue
+2
-1
未找到文件。
src/views/learning/item-list.vue
浏览文件 @
dfcd30a3
...
@@ -2,57 +2,49 @@
...
@@ -2,57 +2,49 @@
<div
class=
"course-analysis-wrap"
>
<div
class=
"course-analysis-wrap"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
></bread-crumb>
<bread-crumb
:curmbFirst=
"curmbFirst"
:curmbSecond=
"curmbSecond"
></bread-crumb>
<div
class=
"component-content screenSet"
id=
"screenSet"
>
<div
class=
"component-content screenSet"
id=
"screenSet"
>
<el-row
:gutter=
"30"
class=
"row"
type=
"flex"
style=
"margin-top: 10px;"
>
<el-form
ref=
"formInline"
:model=
"formInline"
label-width=
"75px"
style=
"width:100%;"
>
<el-form
ref=
"formInline"
:model=
"formInline"
label-width=
"80px"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"选择地区:"
>
<el-form-item
label=
"选择地区:"
>
<el-cascader
<el-cascader
size=
"small"
:options=
"optionsRegion"
:options=
"optionsRegion"
v-model=
"formInline.region"
v-model=
"formInline.region"
@
change=
"handleChange"
@
change=
"handleChange"
></el-cascader>
filterable
</el-form-item>
change-on-select
</el-col>
style=
"width:330px"
<el-col
:span=
"6"
>
></el-cascader>
<el-form-item
label=
"选择日期:"
>
</el-form-item>
<el-date-picker
<el-form-item
label=
"选择机构:"
>
v-model=
"formInline.date"
<el-select
size=
"small"
size=
"small"
type=
"daterange"
v-model=
"formInline.organization"
placeholder=
"请选择开始时间"
placeholder=
"请选择发布状态"
range-separator=
"~"
@
change=
"changeOrganization"
value-format=
"yyyy-MM-dd 00:00:00"
multiple
></el-date-picker>
collapse-tags
</el-form-item>
style=
"width:330px"
</el-col>
>
<el-col
:span=
"8"
style=
"padding:0;text-align:right;padding-right:15px;"
>
<el-option
<el-button
type=
"default"
size=
"small"
@
click=
"reset"
>
重置
</el-button>
v-for=
"item in organizationList"
<el-button
type=
"primary"
size=
"small"
@
click=
"search"
style=
"margin-left:0;"
>
查询
</el-button>
:key=
"item.value"
</el-col>
:label=
"item.label"
</el-form>
:value=
"item.value"
</el-row>
></el-option>
<el-row>
</el-select>
<el-col
:span=
"5"
>
</el-form-item>
<el-form
ref=
"formInline"
:model=
"formInline"
label-width=
"75px"
style=
"width:100%;"
>
<div
class=
"choose"
>
{{
chooseOrganization
}}
</div>
<el-form-item
label=
"选择机构:"
>
<el-tag
<el-select
v-for=
"tag in tags"
size=
"small"
:key=
"tag.name"
v-model=
"formInline.organization"
closable
>
placeholder=
"请选择发布状态"
{{
tag
}}
@
change=
"changeOrganization"
</el-tag>
>
<el-form-item
label=
""
>
<el-option
<el-checkbox
size=
"small"
v-model=
"formInline.checked"
>
查看原始数据
</el-checkbox>
v-for=
"item in organizationList"
</el-form-item>
:key=
"item.value"
</el-form>
:label=
"item.label"
<!--
<div
class=
"choose"
>
{{
chooseOrganization
}}
</div>
-->
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
</el-form>
</el-col>
</el-row>
<div
class=
"choose"
>
{{
chooseOrganization
}}
</div>
<div
class=
"button-group"
>
<div
class=
"button-group"
>
<el-button
type=
"default"
size=
"small"
@
click=
"exportExcel"
>
导出Excel
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"exportExcel"
>
导出Excel
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"changeDate"
v-if=
"activeName=='first'"
>
数据调整
</el-button>
<el-button
type=
"default"
size=
"small"
@
click=
"changeDate"
v-if=
"activeName=='first'"
>
数据调整
</el-button>
...
@@ -110,13 +102,17 @@ export default {
...
@@ -110,13 +102,17 @@ export default {
curmbFirst
:
"学情报告"
,
curmbFirst
:
"学情报告"
,
curmbSecond
:
"项目列表"
,
curmbSecond
:
"项目列表"
,
organizationList
:
[
organizationList
:
[
{
label
:
'全部'
,
value
:
0
,
},
{
{
label
:
"西湖区第二人民医院"
,
label
:
"西湖区第二人民医院"
,
value
:
"1"
value
:
1
,
},
},
{
{
label
:
"杭州市中医院"
,
label
:
"杭州市中医院"
,
value
:
"2"
value
:
2
,
}
}
],
],
chooseOrganization
:
""
,
chooseOrganization
:
""
,
...
@@ -124,18 +120,18 @@ export default {
...
@@ -124,18 +120,18 @@ export default {
formInline
:
{
formInline
:
{
region
:
[],
region
:
[],
date
:
""
,
date
:
""
,
organization
:
""
,
organization
:
[],
checked
:
false
,
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
pageSize
:
10
},
},
activeName
:
"first"
tags
:
[],
activeName
:
"first"
,
};
};
},
},
computed
:
{
computed
:
{
...
mapGetters
([
...
mapGetters
([
"_token"
"_token"
// "idType",
// "masterAdministratorFlag"
])
])
},
},
created
()
{
created
()
{
...
@@ -158,9 +154,16 @@ export default {
...
@@ -158,9 +154,16 @@ export default {
console
.
log
(
value
);
console
.
log
(
value
);
},
},
changeOrganization
(
value
)
{
changeOrganization
(
value
)
{
console
.
log
(
value
);
this
.
chooseOrganization
=
""
;
this
.
tags
=
[];
for
(
let
i
=
0
;
i
<
this
.
organizationList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
organizationList
.
length
;
i
++
)
{
if
(
value
==
this
.
organizationList
[
i
].
value
)
{
for
(
let
j
=
0
;
j
<
value
.
length
;
j
++
)
{
this
.
chooseOrganization
=
this
.
organizationList
[
i
].
label
;
if
(
value
[
j
]
==
this
.
organizationList
[
i
].
value
)
{
console
.
log
(
'value[j]'
,
j
,
value
[
j
],
this
.
organizationList
[
i
].
label
)
this
.
chooseOrganization
+=
this
.
organizationList
[
i
].
label
+
' '
;
this
.
tags
.
push
(
this
.
organizationList
[
i
].
label
);
}
}
}
}
}
},
},
...
...
src/views/learning/report-list.vue
浏览文件 @
dfcd30a3
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
tableData
:
[
tableData
:
[
// table数据
// table数据
{
{
id
:
53
,
name
:
"one"
,
name
:
"one"
,
status
:
1
,
status
:
1
,
startTime
:
1561707289000
,
startTime
:
1561707289000
,
...
@@ -171,7 +172,7 @@ export default {
...
@@ -171,7 +172,7 @@ export default {
},
},
//跳转到报告详情页
//跳转到报告详情页
go
(
row
)
{
go
(
row
)
{
vm
.
$router
.
push
({
path
:
"/item-list
"
,
params
:
row
})
vm
.
$router
.
push
({
path
:
"/item-list
?id="
+
row
.
id
,
params
:
row
})
}
}
}
}
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录