centaline-data-driven 1.6.38 → 1.6.39
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/release-log.md +7 -0
- package/src/SearchList.vue +3 -2
- package/src/centaline/browseIframe/src/browseIframe.vue +3 -0
- package/src/centaline/dynamicContact/src/dynamicContact.vue +4 -3
- package/src/centaline/dynamicFile/src/dynamicFile.vue +8 -4
- package/src/centaline/dynamicForm/src/dynamicForm.vue +5 -2
- package/src/centaline/dynamicMapBaidu/src/dynamicMapBaidu.vue +7 -2
- package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +6 -1
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +4 -1
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +10 -6
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +3 -0
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListTab.vue +3 -0
- package/src/centaline/dynamicT/src/dynamicT.vue +3 -0
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +6 -1
- package/src/centaline/loader/src/ctl/lib/Enum.js +5 -0
- package/src/centaline/progress/src/progress.vue +11 -6
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +925 -867
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
|
|
32
32
|
<!-- CCES -->
|
|
33
33
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
34
|
-
|
|
34
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist>
|
|
35
35
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/sunexpensemanage/sunexpenserecordlist/getLayoutOfSearch'" :searchDataApi="'/sunexpensemanage/sunexpenserecordlist/getList'"></ct-searchlist> -->
|
|
36
36
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
|
|
37
37
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
|
|
38
38
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
39
39
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist> -->
|
|
40
|
-
<ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist>
|
|
40
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist> -->
|
|
41
41
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
42
42
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
43
43
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/commissionquery/properformanceszjjbreport/getLayoutOfSearch'" :searchDataApi="'/commissionquery/properformanceszjjbreport/getList'"></ct-searchlist> -->
|
|
46
46
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/employeelist/getLayoutOfSearch'" :searchDataApi="'/employeelist/getList'"></ct-searchlist> -->
|
|
47
47
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/estatemanage/estatlist/getLayoutOfSearch'" :searchDataApi="'/estatemanage/estatlist/getList'"></ct-searchlist> -->
|
|
48
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/system/AreaList/getLayoutOfSearch'" :searchDataApi="'/system/AreaList/getList'"></ct-searchlist> -->
|
|
48
49
|
<!-- CCES -->
|
|
49
50
|
|
|
50
51
|
<!-- <ct-searchlist :apiParam="para"
|
|
@@ -84,6 +84,9 @@ export default {
|
|
|
84
84
|
this.setCss();
|
|
85
85
|
})
|
|
86
86
|
},
|
|
87
|
+
destroyed (){
|
|
88
|
+
window.removeEventListener('resize', this.setCss);
|
|
89
|
+
},
|
|
87
90
|
methods: {
|
|
88
91
|
load(data) {
|
|
89
92
|
var self = this;
|
|
@@ -95,9 +98,7 @@ export default {
|
|
|
95
98
|
}
|
|
96
99
|
this.setCss();
|
|
97
100
|
this.$nextTick(() => {
|
|
98
|
-
window.addEventListener(
|
|
99
|
-
self.setCss();
|
|
100
|
-
});
|
|
101
|
+
window.addEventListener('resize', this.setCss);
|
|
101
102
|
});
|
|
102
103
|
},
|
|
103
104
|
focusHandle: function () {
|
|
@@ -330,11 +330,9 @@ export default {
|
|
|
330
330
|
},
|
|
331
331
|
deactivated() {
|
|
332
332
|
document.addEventListener('paste', this.ListenerPaste);
|
|
333
|
-
|
|
334
333
|
},
|
|
335
334
|
mounted() {
|
|
336
335
|
document.addEventListener('paste', this.ListenerPaste);
|
|
337
|
-
|
|
338
336
|
},
|
|
339
337
|
created() {
|
|
340
338
|
var self = this;
|
|
@@ -385,7 +383,7 @@ export default {
|
|
|
385
383
|
}).then(() => {
|
|
386
384
|
this.model.deleteFile(file, false);
|
|
387
385
|
this.selfValidExcute("remove");
|
|
388
|
-
setTimeout(() => {
|
|
386
|
+
this.timeoutHandle1=setTimeout(() => {
|
|
389
387
|
this.QRCodeLocate();
|
|
390
388
|
}, 1080);
|
|
391
389
|
|
|
@@ -505,7 +503,7 @@ export default {
|
|
|
505
503
|
file.loadProgress = parseInt(event.percent); // 动态获取文件上传进度
|
|
506
504
|
if (file.loadProgress >= 100) {
|
|
507
505
|
file.loadProgress = 100;
|
|
508
|
-
setTimeout(() => {
|
|
506
|
+
this.timeoutHandle2=setTimeout(() => {
|
|
509
507
|
file.progressFlag = false;
|
|
510
508
|
}, 1000); // 一秒后关闭进度条
|
|
511
509
|
}
|
|
@@ -914,6 +912,12 @@ export default {
|
|
|
914
912
|
},
|
|
915
913
|
beforeDestroy() {
|
|
916
914
|
clearTimeout(this.qrtimer);
|
|
915
|
+
if(this.timeoutHandle1){
|
|
916
|
+
clearTimeout(this.timeoutHandle1)
|
|
917
|
+
}
|
|
918
|
+
if(this.timeoutHandle2){
|
|
919
|
+
clearTimeout(this.timeoutHandle2)
|
|
920
|
+
}
|
|
917
921
|
window.removeEventListener('scroll', this.QRCodeLocate, true)
|
|
918
922
|
//销毁粘贴事件监听器
|
|
919
923
|
document.removeEventListener('paste', this.ListenerPaste)
|
|
@@ -259,7 +259,10 @@
|
|
|
259
259
|
this.computeScroll();
|
|
260
260
|
},
|
|
261
261
|
destroyed (){
|
|
262
|
-
this.$off();
|
|
262
|
+
this.$off();
|
|
263
|
+
if(this.timeoutHandle){
|
|
264
|
+
clearTimeout(this.timeoutHandle)
|
|
265
|
+
}
|
|
263
266
|
if(this.$el.parentNode)this.$el.parentNode.removeChild(this.$el);
|
|
264
267
|
if (typeof this.model.scripts !== 'undefined') {
|
|
265
268
|
this.model.scripts.formData.form = null;
|
|
@@ -1462,7 +1465,7 @@
|
|
|
1462
1465
|
timeOut = 300;//展开折叠有个时间并影响滚动条位置,故需要延迟
|
|
1463
1466
|
}
|
|
1464
1467
|
|
|
1465
|
-
setTimeout(function () {
|
|
1468
|
+
self.timeoutHandle=setTimeout(function () {
|
|
1466
1469
|
if (f.$el.offsetParent && f.$el.offsetParent.offsetParent) {
|
|
1467
1470
|
let total = f.$el.offsetParent.offsetParent.offsetTop;
|
|
1468
1471
|
if (f.$el.offsetParent.offsetParent.offsetParent === null
|
|
@@ -58,6 +58,11 @@
|
|
|
58
58
|
rtnPoint:null,
|
|
59
59
|
};
|
|
60
60
|
},
|
|
61
|
+
destroyed (){
|
|
62
|
+
if(this.timeoutHandle){
|
|
63
|
+
clearTimeout(this.timeoutHandle)
|
|
64
|
+
}
|
|
65
|
+
},
|
|
61
66
|
methods: {
|
|
62
67
|
handler ({BMap, map}) {
|
|
63
68
|
var self=this;
|
|
@@ -93,8 +98,8 @@
|
|
|
93
98
|
this.markerLabel=this.apiParam.address;
|
|
94
99
|
}
|
|
95
100
|
|
|
96
|
-
if(this.apiParam.lng && this.apiParam.lat){
|
|
97
|
-
setTimeout(() => {
|
|
101
|
+
if(this.apiParam.lng && this.apiParam.lat){
|
|
102
|
+
self.timeoutHandle=setTimeout(() => {
|
|
98
103
|
//偏移处理
|
|
99
104
|
self.center.lng = self.apiParam.lng;
|
|
100
105
|
self.center.lat = self.apiParam.lat;
|
|
@@ -116,6 +116,11 @@ export default {
|
|
|
116
116
|
}
|
|
117
117
|
//});
|
|
118
118
|
},
|
|
119
|
+
destroyed (){
|
|
120
|
+
if(this.timeoutHandle){
|
|
121
|
+
clearTimeout(this.timeoutHandle)
|
|
122
|
+
}
|
|
123
|
+
},
|
|
119
124
|
methods: {
|
|
120
125
|
load(data) {
|
|
121
126
|
this.max = data.max ? data.max : 99999;
|
|
@@ -175,7 +180,7 @@ export default {
|
|
|
175
180
|
showClose:true,
|
|
176
181
|
});
|
|
177
182
|
self.valid = false;
|
|
178
|
-
setTimeout(() => {
|
|
183
|
+
self.timeoutHandle=setTimeout(() => {
|
|
179
184
|
self.valid = true;
|
|
180
185
|
}, 3000);
|
|
181
186
|
photoList = photoList.slice(0, this.model.max);
|
|
@@ -53,7 +53,10 @@
|
|
|
53
53
|
elTableHeight: 0,
|
|
54
54
|
selectCount:0
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
},
|
|
57
|
+
destroyed (){
|
|
58
|
+
if(this.$refs.multipleTable.bodyWrapper)this.$refs.multipleTable.bodyWrapper.removeEventListener('scroll', this.scrollHandle);
|
|
59
|
+
},
|
|
57
60
|
methods: {
|
|
58
61
|
load(data) {
|
|
59
62
|
this.loadingOne=false;
|
|
@@ -123,12 +123,12 @@ export default {
|
|
|
123
123
|
iconSort: require("../../../assets/sort.png"),
|
|
124
124
|
};
|
|
125
125
|
},
|
|
126
|
+
destroyed (){
|
|
127
|
+
window.removeEventListener('resize', this.resize);
|
|
128
|
+
},
|
|
126
129
|
mounted() {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
window.addEventListener('resize', function () {
|
|
130
|
-
self.showWidth = self.$refs.tableStatistics && self.$refs.tableStatistics.offsetWidth || document.body.clientWidth;
|
|
131
|
-
});
|
|
130
|
+
this.resize();
|
|
131
|
+
window.addEventListener('resize', this.resize);
|
|
132
132
|
},
|
|
133
133
|
methods: {
|
|
134
134
|
replabel(labelName) {
|
|
@@ -293,7 +293,11 @@ export default {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
return model;
|
|
296
|
-
}
|
|
296
|
+
},
|
|
297
|
+
resize(){
|
|
298
|
+
var self = this;
|
|
299
|
+
self.showWidth = self.$refs.tableStatistics && self.$refs.tableStatistics.offsetWidth || document.body.clientWidth;
|
|
300
|
+
},
|
|
297
301
|
},
|
|
298
302
|
watch: {
|
|
299
303
|
showWidth: function (newVal, oldVal) {
|
|
@@ -121,6 +121,9 @@
|
|
|
121
121
|
this.$el = null;
|
|
122
122
|
if(this.timeoutHandle){
|
|
123
123
|
clearTimeout(this.timeoutHandle)
|
|
124
|
+
}
|
|
125
|
+
if(this.model && this.model.forbiddenWords){
|
|
126
|
+
this.$refs.inputText.$el.removeEventListener('scroll',this.scrollHandler,true);
|
|
124
127
|
}
|
|
125
128
|
},
|
|
126
129
|
mounted() {
|
|
@@ -233,6 +233,11 @@
|
|
|
233
233
|
});
|
|
234
234
|
});
|
|
235
235
|
},
|
|
236
|
+
destroyed (){
|
|
237
|
+
if(this.timeoutHandle){
|
|
238
|
+
clearTimeout(this.timeoutHandle)
|
|
239
|
+
}
|
|
240
|
+
},
|
|
236
241
|
deactivated(){
|
|
237
242
|
this.downloadUrl="";
|
|
238
243
|
},
|
|
@@ -294,7 +299,7 @@
|
|
|
294
299
|
else {
|
|
295
300
|
self.downloadUrl = self.getDownloadUrl(url) + "?download=1&" + Math.random();
|
|
296
301
|
}
|
|
297
|
-
setTimeout(function () {
|
|
302
|
+
self.timeoutHandle=setTimeout(function () {
|
|
298
303
|
self.downloadLoading = false;
|
|
299
304
|
}, 1000);
|
|
300
305
|
},
|
|
@@ -44,6 +44,14 @@ export default {
|
|
|
44
44
|
deactivated(){
|
|
45
45
|
this.downloadUrl="";
|
|
46
46
|
},
|
|
47
|
+
destroyed (){
|
|
48
|
+
if(this.timeoutHandle1){
|
|
49
|
+
clearTimeout(this.timeoutHandle1)
|
|
50
|
+
}
|
|
51
|
+
if(this.timeoutHandle2){
|
|
52
|
+
clearTimeout(this.timeoutHandle2)
|
|
53
|
+
}
|
|
54
|
+
},
|
|
47
55
|
methods: {
|
|
48
56
|
load() {
|
|
49
57
|
},
|
|
@@ -89,11 +97,8 @@ export default {
|
|
|
89
97
|
else {
|
|
90
98
|
self.downloadUrl = data.content + "?" + Math.random();
|
|
91
99
|
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// window.open(data.content, "_blank");
|
|
95
|
-
// });
|
|
96
|
-
setTimeout(() => {
|
|
100
|
+
}
|
|
101
|
+
self.timeoutHandle1=setTimeout(() => {
|
|
97
102
|
self.$emit('finished', data);
|
|
98
103
|
}, 800);
|
|
99
104
|
}
|
|
@@ -102,7 +107,7 @@ export default {
|
|
|
102
107
|
}
|
|
103
108
|
}
|
|
104
109
|
else {
|
|
105
|
-
setTimeout(() => {
|
|
110
|
+
self.timeoutHandle2=setTimeout(() => {
|
|
106
111
|
self.getApiData();
|
|
107
112
|
}, 1000);
|
|
108
113
|
}
|
package/src/main.js
CHANGED
|
@@ -76,7 +76,7 @@ Vue.use(centaline, {
|
|
|
76
76
|
estateId: '',
|
|
77
77
|
|
|
78
78
|
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"FLNd7t","time":1742453755758,"sign":"dcf9d289a261a3a63bfb8f29a699ac1e","systemSource":"CCESU","empNo":"maopp","empId":"2411120940038E8B1C87525447179987","clientVersion":"24.11.4.1","empName":"%E6%AF%9B%E7%AE%A1%E7%90%86","roleName":"%E9%9B%86%E5%9B%A2IT%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E6%9C%AA%E5%8C%B9%E9%85%8DCCHR%E4%B8%ADHROC%E9%83%A8%E9%97%A8%2F%E9%9B%86%E5%9B%A2IT"}',
|
|
79
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
79
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImYzMzE1YTYwLWU1ODctNDE0NS05NzlkLTJhOWE3NzY1ZDU4OCJ9.r7qyJcVjrHhVmC4y81xuKrVp_CbexX4D1hraycg188aOCBg0IDVkTQqJENmAOF3D_WtbGB1Lm8ntb1gPflIVYA',
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
// 请求完成事件,可判断是否登录过期执行响应操作
|