Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
40278a35
提交
40278a35
编写于
12月 18, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
PDF导出样式问题
上级
a04989e8
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
3 行删除
+15
-3
index.html
index.html
+0
-1
item-data-all.vue
src/views/learning/item-data-all.vue
+10
-0
item-list.vue
src/views/learning/item-list.vue
+5
-2
未找到文件。
index.html
浏览文件 @
40278a35
...
...
@@ -16,7 +16,6 @@
<div
id=
"app"
>
<router-view></router-view>
</div>
<script
src=
"https://html2canvas.hertzen.com/dist/html2canvas.js"
></script>
<script
src=
"https://unpkg.com/qiniu-js@2.2.0/dist/qiniu.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/downloadjs/1.4.8/download.min.js"
></script>
<script
src=
"https://pv.sohu.com/cityjson?ie=utf-8"
></script>
...
...
src/views/learning/item-data-all.vue
浏览文件 @
40278a35
...
...
@@ -157,6 +157,7 @@
<el-radio-button
label=
"3"
>
月
</el-radio-button>
<el-radio-button
label=
"4"
>
年
</el-radio-button>
</el-radio-group>
<!--
<div
class=
"change-radio"
>
日
</div>
-->
<el-table
:data=
"tableDateTime"
style=
"width: 100%"
>
<el-table-column
prop=
"date"
label=
"日期"
align=
"center"
min-width=
"100"
></el-table-column>
<el-table-column
prop=
"doctorCount"
label=
"应参与人数"
align=
"center"
></el-table-column>
...
...
@@ -1006,6 +1007,15 @@ export default {
background
:
#fff
;
overflow
:
hidden
;
// padding: 10px;
.change-radio
{
width
:
60px
;
height
:
34px
;
background
:rgba
(
68
,
146
,
132
,
1
)
;
border-radius
:
4px
0px
0px
4px
;
font-size
:
14px
;
line-height
:
34
;
text-align
:
center
;
}
.table-empty
{
img
{
height
:
24px
;
...
...
src/views/learning/item-list.vue
浏览文件 @
40278a35
...
...
@@ -223,7 +223,7 @@ import { openLoading, closeLoading } from "../../utils/utils";
import
*
as
commonUtil
from
"../../utils/utils"
;
import
*
as
operationData
from
"../../utils/operation"
;
import
{
log
}
from
"util"
;
//
import html2Canvas from 'html2canvas';
import
html2Canvas
from
'html2canvas'
;
import
JsPDF
from
'jspdf'
;
let
vm
=
null
;
...
...
@@ -869,7 +869,7 @@ export default {
};
console
.
log
(
'导出参数opts'
,
opts
);
setTimeout
(()
=>
{
window
.
html2c
anvas
(
element
,
opts
).
then
(
function
(
canvas
)
{
html2C
anvas
(
element
,
opts
).
then
(
function
(
canvas
)
{
let
contentWidth
=
canvas
.
width
;
let
contentHeight
=
canvas
.
height
;
...
...
@@ -921,6 +921,9 @@ export default {
.overflow-chart
{
overflow-x
:
auto
;
}
.el-radio-button
{
display
:
contents
;
}
.component-content
{
// position: relative;
// background: #fff;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录