|
@@ -6,13 +6,7 @@
|
|
|
<i class="iconfont icon-ppt" v-if="item.type === 'ppt'"></i>
|
|
|
<i class="iconfont icon-wenjian" v-if="item.type === 'wenjian'"></i>
|
|
|
<i class="el-icon-picture" v-if="item.type === 'png'"></i>
|
|
|
- <el-tooltip
|
|
|
- class="item"
|
|
|
- effect="dark"
|
|
|
- :content="item.fileName"
|
|
|
- placement="right"
|
|
|
- :enterable="false"
|
|
|
- >
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.fileName" placement="right" :enterable="false">
|
|
|
<span class="tab-long">{{ item.fileName }}</span>
|
|
|
</el-tooltip>
|
|
|
<div class="seedown" v-if="datalist.type === 2">
|
|
@@ -44,8 +38,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
uploadsee(v) {
|
|
|
- let url = encodeURIComponent(v.callPath);
|
|
|
- this.srcsc = "http://114.215.71.182:8012/onlinePreview?url=" + url;
|
|
|
+ console.log(v);
|
|
|
+ let url = encodeURIComponent(Base64.encode(v.callPath));
|
|
|
+ console.log(url);
|
|
|
+ this.srcsc = 'http://10.230.15.228:8012/onlinePreview?url=' + url;
|
|
|
+ // this.srcsc = 'http:///114.215.71.182:8012/onlinePreview?url=' + url;
|
|
|
this.ifrshow = true;
|
|
|
// window.open('http://114.215.71.182:8012/onlinePreview?url=' + url);
|
|
|
},
|
|
@@ -111,7 +108,7 @@ export default {
|
|
|
this.dataHandle();
|
|
|
console.log(this.infolist);
|
|
|
},
|
|
|
- created() {},
|
|
|
+ created() { },
|
|
|
watch: {
|
|
|
dialogStatus() {
|
|
|
this.$forceUpdate();
|
|
@@ -178,9 +175,12 @@ export default {
|
|
|
margin: 0 10px;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
|
|
|
- -webkit-line-clamp: 1; /* 控制最多显示几行 */
|
|
|
- -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */
|
|
|
+ display: -webkit-box;
|
|
|
+ /* 将对象作为弹性伸缩盒子模型显示 */
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
+ /* 控制最多显示几行 */
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ /* 设置或检索伸缩盒对象的子元素的排列方式 */
|
|
|
}
|
|
|
}
|
|
|
|