centaline-data-driven 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +2 -3
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +3 -7
- package/src/centaline/dynamicViewerFile/src/dynamicViewerImage.vue +7 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
@@ -764,14 +764,13 @@
|
|
|
764
764
|
else if (field.isSeeVoice) {//看视频
|
|
765
765
|
self.$common.browseVideo(field,submitData)
|
|
766
766
|
}
|
|
767
|
-
else if (field.isUrlInLayer) {//URL页面(弹层)
|
|
767
|
+
else if (field.isUrlInLayer) {//URL页面(弹层)
|
|
768
768
|
var dialogOption = {
|
|
769
769
|
title: field.pageTitle,
|
|
770
770
|
pane: self.$common.getParentPane(self),
|
|
771
771
|
content: [{
|
|
772
772
|
attrs: {
|
|
773
|
-
|
|
774
|
-
src: 'http://localhost/BAgency/Test/TestPropertyAll.aspx',
|
|
773
|
+
src: submitData[field.submitListField],
|
|
775
774
|
width: field.dialogWidth + 'px',
|
|
776
775
|
height: field.dialogHeight + 'px'
|
|
777
776
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</el-aside>
|
|
41
41
|
<el-main ref="displayArea">
|
|
42
42
|
<div
|
|
43
|
-
style="position: relative; width: 100%; height:
|
|
43
|
+
style="position: relative; width: 100%;" :style="{'height':displayAreaHeight-78+'px'}"
|
|
44
44
|
v-if="resultObject"
|
|
45
45
|
>
|
|
46
46
|
<!--VR-->
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
>
|
|
107
107
|
<div
|
|
108
108
|
class="viewerContent"
|
|
109
|
-
style="height:
|
|
109
|
+
style=" max-height: 200px; text-align: center"
|
|
110
110
|
>
|
|
111
111
|
<a :href="resultObject">
|
|
112
112
|
<img :src="itemFile.thumbnailUrl" /><br />{{
|
|
@@ -404,11 +404,7 @@ export default {
|
|
|
404
404
|
this.$refs.viewerImage.zoom(n);
|
|
405
405
|
},
|
|
406
406
|
},
|
|
407
|
-
};
|
|
408
|
-
// 禁止右键菜单
|
|
409
|
-
// document.oncontextmenu = function () {
|
|
410
|
-
// return false;
|
|
411
|
-
// };
|
|
407
|
+
};
|
|
412
408
|
</script>
|
|
413
409
|
|
|
414
410
|
<style>
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
<template>
|
|
3
3
|
<div class="Imagebox" @mousewheel="bagimg($event)">
|
|
4
4
|
<img
|
|
5
|
+
v-loading="loading"
|
|
5
6
|
id="ViewerImage"
|
|
6
7
|
class="scaleimg"
|
|
7
8
|
border="0"
|
|
9
|
+
@load="complete()"
|
|
8
10
|
v-bind:style="{
|
|
9
11
|
transform:
|
|
10
12
|
'scale(' +
|
|
@@ -25,6 +27,7 @@ export default {
|
|
|
25
27
|
},
|
|
26
28
|
data() {
|
|
27
29
|
return {
|
|
30
|
+
loading: true,
|
|
28
31
|
params: {
|
|
29
32
|
zoomVal: 1,
|
|
30
33
|
left: 0,
|
|
@@ -36,12 +39,16 @@ export default {
|
|
|
36
39
|
};
|
|
37
40
|
},
|
|
38
41
|
mounted() {
|
|
42
|
+
this.loading = true;
|
|
39
43
|
this.startDrag(
|
|
40
44
|
document.getElementById("ViewerImage"),
|
|
41
45
|
document.getElementById("ViewerImage")
|
|
42
46
|
);
|
|
43
47
|
},
|
|
44
48
|
methods: {
|
|
49
|
+
complete() {
|
|
50
|
+
this.loading = false;
|
|
51
|
+
},
|
|
45
52
|
zoom(n) {
|
|
46
53
|
this.params.zoomVal += n;
|
|
47
54
|
},
|