centaline-data-driven 1.3.94 → 1.3.95
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/dynamicViewerFile/src/dynamicViewerFile.vue +1 -1
- package/src/centaline/dynamicViewerFile/src/dynamicViewerPDF.vue +6 -1
- package/src/centaline/loader/src/ctl/ContactList.js +2 -2
- package/src/main.js +1 -1
- 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
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
</a>
|
|
143
143
|
</template>
|
|
144
144
|
<a v-if="itemFile.rightDownload"
|
|
145
|
-
:href="resultObject.replace(/\/preview$/,'download')" target="_blank"
|
|
145
|
+
:href="resultObject.replace(/\/preview$/,'/download')" target="_blank"
|
|
146
146
|
class="magnify-btn el-icon-download"
|
|
147
147
|
title="下载"
|
|
148
148
|
:download="(itemFile.mediaLabelName || itemFile.fileName)"></a>
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
:height="displayAreaHeight - 78 + 'px'"
|
|
9
9
|
:width="displayAreaWidth + 'px'"
|
|
10
10
|
@load="complete()"
|
|
11
|
+
@contextmenu="handleMouse"
|
|
11
12
|
>
|
|
12
13
|
</iframe>
|
|
13
14
|
</div>
|
|
@@ -31,7 +32,10 @@ export default {
|
|
|
31
32
|
},
|
|
32
33
|
created() {
|
|
33
34
|
},
|
|
34
|
-
|
|
35
|
+
methods: {
|
|
36
|
+
handleMouse(e) {
|
|
37
|
+
e.preventDefault();
|
|
38
|
+
},
|
|
35
39
|
init(pdfUrl) {
|
|
36
40
|
var self = this;
|
|
37
41
|
self.fileUrl = 'r='+Math.random()+'&file='+encodeURIComponent(pdfUrl);
|
|
@@ -43,6 +47,7 @@ export default {
|
|
|
43
47
|
doc.getElementById("openFile").style.display = "none";
|
|
44
48
|
doc.getElementById("print").style.display = "none";
|
|
45
49
|
doc.getElementById("viewBookmark").style.display = "none";
|
|
50
|
+
doc.oncontextmenu = new Function("event.returnValue=false");
|
|
46
51
|
},
|
|
47
52
|
},
|
|
48
53
|
watch: {
|
|
@@ -361,10 +361,10 @@ const ContactList = function (source, para, callBack) {
|
|
|
361
361
|
}
|
|
362
362
|
else if (response.content.rows.length > 0) {
|
|
363
363
|
if (router.flagAddRowAfterAction) {
|
|
364
|
-
|
|
364
|
+
self.doNew(response.content.rows);
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
367
|
-
|
|
367
|
+
self.doUpdate(response.content.rows, searchValue1);
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
}
|
package/src/main.js
CHANGED
|
@@ -43,7 +43,7 @@ Vue.use(centaline, {
|
|
|
43
43
|
getRequestHeaders: function () {
|
|
44
44
|
return {
|
|
45
45
|
oldToken: '823894f8-bbf3-4d54-b3fb-4c697801c5c4',
|
|
46
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
46
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsOgkAQRf9laibZgdmZXTpdsPEjyK6sCVZGINEY_91HoKP3FKc4zb1PGOcENegCbmil8wu4oZWOiL2StLjzGpCFK3QUHAaWwIemrcK-gQLy_Qo1iagxymwLGOL0C-JLMt8wj_l2zI9_nLtMw2fWxZ6SV4tis0euJGI6O8IyUR8T5RMpw-sNAAD__w.Kj-DXXu0_dFUzNDItfwT2vTk9EA0Mxhszh4xBQqG7iY',
|
|
47
47
|
|
|
48
48
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
49
49
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|