|
@@ -1132,8 +1132,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(16) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(16) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1190,8 +1193,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(4) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(4) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1268,8 +1274,11 @@
|
|
|
></AskStatic>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(15) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(15) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1327,8 +1336,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(1) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(1) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1378,8 +1390,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(3) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(3) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1429,8 +1444,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(6) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(6) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1480,8 +1498,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(7) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(7) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -1531,8 +1552,11 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType && ((tType == 2 && sIsOpen == true) ||
|
|
|
- tType == 1) && tool.tool.indexOf(26) != -1"
|
|
|
+ v-if="
|
|
|
+ tType &&
|
|
|
+ ((tType == 2 && sIsOpen == true) || tType == 1) &&
|
|
|
+ tool.tool.indexOf(26) != -1
|
|
|
+ "
|
|
|
class="worksBox"
|
|
|
>
|
|
|
<div
|
|
@@ -2422,6 +2446,7 @@ export default {
|
|
|
isAnswer: false,
|
|
|
timer: null,
|
|
|
showType: 0,
|
|
|
+ pdfShow: false,
|
|
|
fileType: 0,
|
|
|
showPDF: false,
|
|
|
noteName: "",
|
|
@@ -3283,6 +3308,10 @@ export default {
|
|
|
) {
|
|
|
this.showType = 3;
|
|
|
this.pptImgUrl1 = _url;
|
|
|
+ this.pdfShow = false;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.pdfShow = true;
|
|
|
+ }, 0);
|
|
|
} else if (
|
|
|
this.isAssetTypeAnImage(
|
|
|
_url
|
|
@@ -3340,6 +3369,10 @@ export default {
|
|
|
) {
|
|
|
this.showType = 3;
|
|
|
this.pptImgUrl1 = _url;
|
|
|
+ this.pdfShow = false;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.pdfShow = true;
|
|
|
+ }, 0);
|
|
|
} else if (
|
|
|
this.isAssetTypeAnImage(
|
|
|
_url
|
|
@@ -3542,6 +3575,10 @@ export default {
|
|
|
this.pptImgUrl1 = f.url;
|
|
|
// this.dialogVisible3 = true;
|
|
|
this.showType = 3;
|
|
|
+ this.pdfShow = false;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.pdfShow = true;
|
|
|
+ }, 0);
|
|
|
} else {
|
|
|
window.open(this.file[i].url);
|
|
|
}
|
|
@@ -4737,7 +4774,7 @@ export default {
|
|
|
left: 110px;
|
|
|
height: 60px;
|
|
|
overflow: hidden;
|
|
|
- width:auto;
|
|
|
+ width: auto;
|
|
|
word-break: break-all;
|
|
|
}
|
|
|
.vedioTime {
|