centaline-data-driven 1.6.37 → 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 +18 -0
- package/src/SearchList.vue +5 -1
- 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 +9 -17
- package/src/centaline/dynamicForm/src/dynamicForm.vue +9 -5
- package/src/centaline/dynamicIti/src/dynamicIti.vue +5 -13
- 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/dynamicTags/src/dynamicTags.vue +2 -1
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +6 -1
- package/src/centaline/loader/src/ctl/Base.js +3 -0
- package/src/centaline/loader/src/ctl/Router.js +3 -0
- package/src/centaline/loader/src/ctl/SearchScreen.js +4 -4
- package/src/centaline/loader/src/ctl/lib/Enum.js +23 -0
- package/src/centaline/progress/src/progress.vue +11 -6
- package/src/main.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js +967 -905
- 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
|
@@ -33,15 +33,19 @@
|
|
|
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
|
-
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
37
36
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
|
|
38
37
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
|
|
38
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
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> -->
|
|
41
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
39
42
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
40
43
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
41
44
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/EntranceNoticeInfoList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/EntranceNoticeInfoList/getList'"></ct-searchlist> -->
|
|
42
45
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/commissionquery/properformanceszjjbreport/getLayoutOfSearch'" :searchDataApi="'/commissionquery/properformanceszjjbreport/getList'"></ct-searchlist> -->
|
|
43
46
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/employeelist/getLayoutOfSearch'" :searchDataApi="'/employeelist/getList'"></ct-searchlist> -->
|
|
44
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> -->
|
|
45
49
|
<!-- CCES -->
|
|
46
50
|
|
|
47
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
|
}
|
|
@@ -903,19 +901,7 @@ export default {
|
|
|
903
901
|
window.uploads = { count: 0, length: uploads.length };
|
|
904
902
|
}
|
|
905
903
|
if (uploads.length > 1) {
|
|
906
|
-
|
|
907
|
-
window.uploads.length = uploads.length;
|
|
908
|
-
|
|
909
|
-
if (window.uploads.count == window.uploads.length) {
|
|
910
|
-
window.uploads = null;
|
|
911
|
-
|
|
912
|
-
self.$message({
|
|
913
|
-
message: "存在多个上传组件,请点击上传!",
|
|
914
|
-
type: 'info',
|
|
915
|
-
showClose: true,
|
|
916
|
-
});
|
|
917
|
-
return false;
|
|
918
|
-
}
|
|
904
|
+
|
|
919
905
|
}
|
|
920
906
|
else if (uploads.length == 1) {
|
|
921
907
|
window.uploads = null;
|
|
@@ -926,6 +912,12 @@ export default {
|
|
|
926
912
|
},
|
|
927
913
|
beforeDestroy() {
|
|
928
914
|
clearTimeout(this.qrtimer);
|
|
915
|
+
if(this.timeoutHandle1){
|
|
916
|
+
clearTimeout(this.timeoutHandle1)
|
|
917
|
+
}
|
|
918
|
+
if(this.timeoutHandle2){
|
|
919
|
+
clearTimeout(this.timeoutHandle2)
|
|
920
|
+
}
|
|
929
921
|
window.removeEventListener('scroll', this.QRCodeLocate, true)
|
|
930
922
|
//销毁粘贴事件监听器
|
|
931
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;
|
|
@@ -1065,11 +1068,12 @@
|
|
|
1065
1068
|
fun(submitData, title, self.model);
|
|
1066
1069
|
}
|
|
1067
1070
|
}
|
|
1071
|
+
|
|
1072
|
+
if(typeof field.onClick !== 'undefined'){
|
|
1073
|
+
self.$common.excute.call(self.model.scripts, field.onClick)
|
|
1074
|
+
}
|
|
1068
1075
|
|
|
1069
1076
|
if (field.isSubmit && field.flagVerifyData) {
|
|
1070
|
-
if(typeof field.onClick !== 'undefined'){
|
|
1071
|
-
self.$common.excute.call(self.model.scripts, field.onClick)
|
|
1072
|
-
}
|
|
1073
1077
|
if(!self.validExcute()){
|
|
1074
1078
|
return;
|
|
1075
1079
|
}
|
|
@@ -1461,7 +1465,7 @@
|
|
|
1461
1465
|
timeOut = 300;//展开折叠有个时间并影响滚动条位置,故需要延迟
|
|
1462
1466
|
}
|
|
1463
1467
|
|
|
1464
|
-
setTimeout(function () {
|
|
1468
|
+
self.timeoutHandle=setTimeout(function () {
|
|
1465
1469
|
if (f.$el.offsetParent && f.$el.offsetParent.offsetParent) {
|
|
1466
1470
|
let total = f.$el.offsetParent.offsetParent.offsetTop;
|
|
1467
1471
|
if (f.$el.offsetParent.offsetParent.offsetParent === null
|
|
@@ -13,13 +13,7 @@
|
|
|
13
13
|
class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
14
14
|
<input style="text-align:left;width:100%" class="el-range-input" :placeholder="model.attrs.placeholder1"
|
|
15
15
|
v-model="model.value" @change="changeHandler($event)" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value','decimals')"
|
|
16
|
-
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
17
|
-
|
|
18
|
-
<!-- <span class="el-input__suffix el-input--mini" v-if="showClear.input1">
|
|
19
|
-
<span class="el-input__suffix-inner ct-close">
|
|
20
|
-
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input1','value')"></i>
|
|
21
|
-
</span>
|
|
22
|
-
</span> -->
|
|
16
|
+
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
23
17
|
</div>
|
|
24
18
|
<span style="width:5%" class="el-range-separator">-</span>
|
|
25
19
|
<div :style="{'width':model.unitName && model.unitName.length == 1 ? '45%':(model.unitName && model.unitName.length == 3) ?'50%':(model.unitName && model.unitName.length == 5) ?'60%': ''}" class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
@@ -27,7 +21,7 @@
|
|
|
27
21
|
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
|
|
28
22
|
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
29
23
|
</div>
|
|
30
|
-
<span
|
|
24
|
+
<span class="el-input__suffix el-input--mini is-show-Span" v-if="showClear.input2">
|
|
31
25
|
<span class="el-input__suffix-inner ct-close">
|
|
32
26
|
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input2')"></i>
|
|
33
27
|
</span>
|
|
@@ -58,7 +52,6 @@
|
|
|
58
52
|
return {
|
|
59
53
|
isFocus: false,
|
|
60
54
|
showClear:{input1:false,input2:false},
|
|
61
|
-
|
|
62
55
|
}
|
|
63
56
|
},
|
|
64
57
|
created() {
|
|
@@ -145,13 +138,12 @@
|
|
|
145
138
|
mouseOutHandle: function (id) {
|
|
146
139
|
this.showClear[id]=false;
|
|
147
140
|
},
|
|
148
|
-
isShowClear(id)
|
|
149
|
-
{
|
|
141
|
+
isShowClear(id){
|
|
150
142
|
if ((this.model['value'] !== '' || this.model['value1'] !== '') && this.model.clearable) {
|
|
151
143
|
this.showClear[id]=true;
|
|
152
144
|
}
|
|
153
145
|
else {
|
|
154
|
-
|
|
146
|
+
this.showClear[id]=false;
|
|
155
147
|
}
|
|
156
148
|
},
|
|
157
149
|
search() {
|
|
@@ -163,7 +155,7 @@
|
|
|
163
155
|
<style scoped>
|
|
164
156
|
.el-input__suffix {
|
|
165
157
|
right: -4px;
|
|
166
|
-
top:-
|
|
158
|
+
top:-7px;
|
|
167
159
|
}
|
|
168
160
|
|
|
169
161
|
span.ct-unitname.el-input__suffix.el-input__suffix-inner {
|
|
@@ -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() {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<ctSelectOptionVertical :model="model" @click="selectOption($event)" @dataUpdated="dataUpdated()"></ctSelectOptionVertical>
|
|
26
26
|
</div>
|
|
27
27
|
<input slot="reference" v-bind="model.attrs" :placeholder="tagsPlaceholder"
|
|
28
|
-
ref="ct-input" class="" :style="{height:inputHeight + 'px','line-height':inputLineHeight + 'px'}"
|
|
28
|
+
ref="ct-input" class="" :style="{height:inputHeight + 'px','line-height':inputLineHeight + 'px','font-size': 'small'}"
|
|
29
29
|
:class="model.lock ? 'ct-is-disabled' : 'ct-input_inner'"
|
|
30
30
|
@focus="focusHandle" @blur="blurHandle" @click="clickHandle"
|
|
31
31
|
:disabled="model.lock" />
|
|
@@ -461,6 +461,7 @@
|
|
|
461
461
|
}
|
|
462
462
|
.ct-tags-value-label {
|
|
463
463
|
/* padding-left: 15px; */
|
|
464
|
+
font-size: small;
|
|
464
465
|
}
|
|
465
466
|
.h26{
|
|
466
467
|
height: 26px;
|
|
@@ -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
|
},
|
|
@@ -770,11 +770,11 @@ const SearchScreen = function (source, callBack, screenPara, prevParam) {
|
|
|
770
770
|
//判断控件是否需要单独处理searchValue1
|
|
771
771
|
isHandle(type){
|
|
772
772
|
let result=false;
|
|
773
|
-
switch (type)
|
|
774
|
-
{
|
|
773
|
+
switch (type) {
|
|
775
774
|
case Enum.ControlType.CheckBoxList://复选列表
|
|
776
|
-
|
|
777
|
-
|
|
775
|
+
case Enum.ControlType.MultiSelectWithSearch:
|
|
776
|
+
result=true;
|
|
777
|
+
break;
|
|
778
778
|
default:
|
|
779
779
|
result=false;
|
|
780
780
|
break;
|
|
@@ -295,6 +295,21 @@ const Enum = {
|
|
|
295
295
|
/// 月份区间
|
|
296
296
|
/// </summary>
|
|
297
297
|
MonthRange: 59,
|
|
298
|
+
|
|
299
|
+
/// <summary>
|
|
300
|
+
/// 数值输入框带+/-按钮
|
|
301
|
+
/// </summary>
|
|
302
|
+
NumberWithPlusAndMinus: 60,
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* VUE 前端子定义组件,组件名在 Field.vueComponentName 属性里定义
|
|
306
|
+
*/
|
|
307
|
+
VueCustomizedComponent:61,
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* AI会话空间
|
|
311
|
+
*/
|
|
312
|
+
AIChat:62,
|
|
298
313
|
|
|
299
314
|
},
|
|
300
315
|
|
|
@@ -638,6 +653,14 @@ const Enum = {
|
|
|
638
653
|
* 在系统弹层打开
|
|
639
654
|
*/
|
|
640
655
|
LayerInSystem:120,
|
|
656
|
+
/**
|
|
657
|
+
* 在弹层打开 前端的VUE组件, 组件名称放在action参数里
|
|
658
|
+
*/
|
|
659
|
+
OpenVueComponentInLayer:121,
|
|
660
|
+
/**
|
|
661
|
+
* 在tab页打开 前端的VUE组件, 组件名称放在action参数里
|
|
662
|
+
*/
|
|
663
|
+
OpenVueComponentInTab:122,
|
|
641
664
|
},
|
|
642
665
|
|
|
643
666
|
/// <summary>
|
|
@@ -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
|
@@ -75,8 +75,8 @@ Vue.use(centaline, {
|
|
|
75
75
|
EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
|
|
76
76
|
estateId: '',
|
|
77
77
|
|
|
78
|
-
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","
|
|
79
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
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.eyJsb2dpbl91c2VyX2tleSI6ImYzMzE1YTYwLWU1ODctNDE0NS05NzlkLTJhOWE3NzY1ZDU4OCJ9.r7qyJcVjrHhVmC4y81xuKrVp_CbexX4D1hraycg188aOCBg0IDVkTQqJENmAOF3D_WtbGB1Lm8ntb1gPflIVYA',
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
// 请求完成事件,可判断是否登录过期执行响应操作
|