|
@@ -117,7 +117,7 @@
|
|
:visible.sync="pdf.open" width="1300px" height="800px" :center="true" append-to-body
|
|
:visible.sync="pdf.open" width="1300px" height="800px" :center="true" append-to-body
|
|
@close="handleClose">
|
|
@close="handleClose">
|
|
<div style="margin-top: -60px;float: right;margin-right: 40px;">
|
|
<div style="margin-top: -60px;float: right;margin-right: 40px;">
|
|
- <br/>累计学习时长:{{learnTime}} min
|
|
|
|
|
|
+ <br/>累计学习时长:{{learnTime == null ? "0" : learnTime}} min
|
|
</div>
|
|
</div>
|
|
<div style="margin-top: -30px">
|
|
<div style="margin-top: -30px">
|
|
<iframe id="iFrame" class="iframe-html" :src="pdf.pdfUrl" frameborder="0" width="100%" height="700px"
|
|
<iframe id="iFrame" class="iframe-html" :src="pdf.pdfUrl" frameborder="0" width="100%" height="700px"
|
|
@@ -421,8 +421,8 @@ export default {
|
|
timer = window.setInterval(function () {
|
|
timer = window.setInterval(function () {
|
|
updateLjLearnTime(row).then(res => {
|
|
updateLjLearnTime(row).then(res => {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.file.data.timer = res.data
|
|
|
|
- this.learnTime+=res.data;
|
|
|
|
|
|
+ _this.file.data.timer = res.data
|
|
|
|
+ _this.learnTime=res.data;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}, 60000);
|
|
}, 60000);
|
|
@@ -430,8 +430,8 @@ export default {
|
|
timer = window.setInterval(function () {
|
|
timer = window.setInterval(function () {
|
|
updateYsLearnTime(row).then(res => {
|
|
updateYsLearnTime(row).then(res => {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.file.data.timer = res.data
|
|
|
|
- this.learnTime+=res.data;
|
|
|
|
|
|
+ _this.file.data.timer = res.data
|
|
|
|
+ _this.learnTime=res.data;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}, 60000);
|
|
}, 60000);
|
|
@@ -439,8 +439,8 @@ export default {
|
|
timer = window.setInterval(function () {
|
|
timer = window.setInterval(function () {
|
|
updateFlLearnTime(row).then(res => {
|
|
updateFlLearnTime(row).then(res => {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.file.data.timer = res.data
|
|
|
|
- this.learnTime+=res.data;
|
|
|
|
|
|
+ _this.file.data.timer = res.data
|
|
|
|
+ _this.learnTime=res.data;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}, 60000);
|
|
}, 60000);
|
|
@@ -448,8 +448,8 @@ export default {
|
|
timer = window.setInterval(function () {
|
|
timer = window.setInterval(function () {
|
|
updateFtLearnTime(row).then(res => {
|
|
updateFtLearnTime(row).then(res => {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.file.data.timer = res.data
|
|
|
|
- this.learnTime+=res.data;
|
|
|
|
|
|
+ _this.file.data.timer = res.data
|
|
|
|
+ _this.learnTime=res.data;
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}, 60000);
|
|
}, 60000);
|
|
@@ -712,7 +712,7 @@ export default {
|
|
//合并单元格
|
|
//合并单元格
|
|
mergeMethod({row, column, rowIndex, columnIndex}) {
|
|
mergeMethod({row, column, rowIndex, columnIndex}) {
|
|
// console.log(row)
|
|
// console.log(row)
|
|
- if ([1, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14].includes(columnIndex)) {
|
|
|
|
|
|
+ if ([1, 3, 5,6, 7, 8, 9, 10, 11, 12, 13].includes(columnIndex)) {
|
|
const _row = this.setTable(this.dsdtList).merge[rowIndex];
|
|
const _row = this.setTable(this.dsdtList).merge[rowIndex];
|
|
const _col = _row > 0 ? 1 : 0;
|
|
const _col = _row > 0 ? 1 : 0;
|
|
return {
|
|
return {
|