|
@@ -470,15 +470,15 @@
|
|
|
>
|
|
|
{{ vitem.name }}.doc
|
|
|
</div>
|
|
|
- <!-- <div
|
|
|
+ <div
|
|
|
class="downIcon"
|
|
|
- @click="downloadFile(vitem.url)"
|
|
|
+ @click="checkFileFull1(vitem.type, vitem)"
|
|
|
>
|
|
|
<img
|
|
|
- src="../../assets/icon/newIcon/down.png"
|
|
|
+ src="../../assets/icon/newIcon/allScreen.png"
|
|
|
alt
|
|
|
/>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 8">
|
|
|
<div
|
|
@@ -488,15 +488,15 @@
|
|
|
>
|
|
|
{{ vitem.title ? vitem.title : vitem.url }}
|
|
|
</div>
|
|
|
- <!-- <div
|
|
|
+ <div
|
|
|
class="downIcon"
|
|
|
- @click="downloadFile(vitem.url)"
|
|
|
+ @click="checkFileFull1(vitem.type, vitem)"
|
|
|
>
|
|
|
<img
|
|
|
- src="../../assets/icon/newIcon/down.png"
|
|
|
+ src="../../assets/icon/newIcon/allScreen.png"
|
|
|
alt
|
|
|
/>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 3">
|
|
|
<div
|
|
@@ -507,24 +507,36 @@
|
|
|
<span v-if="vitem.text">{{ vitem.text }}-</span
|
|
|
>{{ vitem.name }}
|
|
|
</div>
|
|
|
- <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <div
|
|
|
+ class="downIcon"
|
|
|
+ @click="checkFileFull1(vitem.type, vitem)"
|
|
|
+ >
|
|
|
<img
|
|
|
- src="../../assets/icon/newIcon/down.png"
|
|
|
+ src="../../assets/icon/newIcon/allScreen.png"
|
|
|
alt
|
|
|
/>
|
|
|
</div>
|
|
|
+ <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <img src="../../assets/icon/newIcon/down.png" alt />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 12">
|
|
|
<div class="navText" @click="downloadFile2(vitem)">
|
|
|
<span v-if="vitem.text">{{ vitem.text }}-</span
|
|
|
>{{ vitem.name }}
|
|
|
</div>
|
|
|
- <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <div
|
|
|
+ class="downIcon"
|
|
|
+ @click="checkFileFull1(vitem.type, vitem)"
|
|
|
+ >
|
|
|
<img
|
|
|
- src="../../assets/icon/newIcon/down.png"
|
|
|
+ src="../../assets/icon/newIcon/allScreen.png"
|
|
|
alt
|
|
|
/>
|
|
|
</div>
|
|
|
+ <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <img src="../../assets/icon/newIcon/down.png" alt />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="navListItem" v-if="vitem.type == 13">
|
|
|
<div
|
|
@@ -559,13 +571,16 @@
|
|
|
</div>
|
|
|
<div
|
|
|
class="downIcon"
|
|
|
- @click="downloadFile2(vitem)"
|
|
|
+ @click="checkFileFull1(vitem.type, vitem)"
|
|
|
>
|
|
|
<img
|
|
|
- src="../../assets/icon/newIcon/down.png"
|
|
|
+ src="../../assets/icon/newIcon/allScreen.png"
|
|
|
alt
|
|
|
/>
|
|
|
</div>
|
|
|
+ <div class="downIcon" @click="downloadFile2(vitem)">
|
|
|
+ <img src="../../assets/icon/newIcon/down.png" alt />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -17099,6 +17114,26 @@ export default {
|
|
|
this.fulltype = type;
|
|
|
this.fullUrl = url;
|
|
|
},
|
|
|
+ checkFileFull1(t, f) {
|
|
|
+ this.fullDialogVisible = true;
|
|
|
+ if (t == 6) {
|
|
|
+ this.fulltype = 1;
|
|
|
+ this.fullUrl = f;
|
|
|
+ } else if (t == 8) {
|
|
|
+ this.fulltype = 2;
|
|
|
+ this.fullUrl = f.url;
|
|
|
+ } else if (
|
|
|
+ f.url.split(".")[f.url.split(".").length - 1].toLocaleUpperCase() ==
|
|
|
+ "PDF"
|
|
|
+ ) {
|
|
|
+ this.showType = 3;
|
|
|
+ this.fullUrl = f.url;
|
|
|
+ } else {
|
|
|
+ this.showType = 2;
|
|
|
+ this.fullUrl =
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
|
|
|
+ }
|
|
|
+ },
|
|
|
openSname(n, id, i, uid) {
|
|
|
this.snameWid = id;
|
|
|
this.worksSName = n;
|
|
@@ -19789,6 +19824,7 @@ export default {
|
|
|
.elist_input {
|
|
|
/* width: 40%; */
|
|
|
width: 100%;
|
|
|
+ margin: 20px;
|
|
|
}
|
|
|
|
|
|
.elist_input .elist_input_box input {
|