centaline-data-driven 1.6.43 → 1.6.44
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 +11 -0
- package/src/SearchList.vue +3 -3
- package/src/centaline/loader/src/ctl/SearchTable.js +8 -5
- package/src/main.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js +8 -5
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# v1.6.44
|
|
2
|
+
2024-05-30
|
|
3
|
+
|
|
4
|
+
BUG
|
|
5
|
+
|
|
6
|
+
列表操作返回刷新时,必须禁用查询按钮,避免用户点查询按钮造成重复数据
|
|
7
|
+
|
|
1
8
|
# v1.6.43
|
|
2
9
|
2024-05-20
|
|
3
10
|
|
|
@@ -5,7 +12,11 @@ BUG
|
|
|
5
12
|
|
|
6
13
|
扫码上传,附件大小判断错误
|
|
7
14
|
|
|
15
|
+
优化
|
|
16
|
+
|
|
17
|
+
附件上传编辑的时候没有判断附件数量优化
|
|
8
18
|
|
|
19
|
+
表单页面计算滚动条添加是否有Element的判断
|
|
9
20
|
|
|
10
21
|
# v1.6.42
|
|
11
22
|
2024-05-07
|
package/src/SearchList.vue
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/invoice-apply/layout'" :searchDataApi="'/api/finance/invoice-apply/list'"></ct-searchlist> -->
|
|
16
16
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/approveManage/contractBatchOperation/getLayoutOfSearch'" :searchDataApi="'/api/approveManage/contractBatchOperation/getTableList'"></ct-searchlist> -->
|
|
17
17
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/distribution/standing-book/layout'" :searchDataApi="'/api/distribution/standing-book/list'"></ct-searchlist> -->
|
|
18
|
-
<ct-searchlist :apiParam="para" :searchConditionApi="'/api/commission-role-period/commissionRoleLayout'" :searchDataApi="'/api/commission-role-period/commissionRoleList'"></ct-searchlist>
|
|
18
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/commission-role-period/commissionRoleLayout'" :searchDataApi="'/api/commission-role-period/commissionRoleList'"></ct-searchlist> -->
|
|
19
19
|
|
|
20
20
|
<!-- CCES -->
|
|
21
21
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
27
27
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist> -->
|
|
28
28
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist> -->
|
|
29
|
-
|
|
29
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/customerfollowlist/getLayoutOfSearch'" :searchDataApi="'/customermanage/customerfollowlist/getList'"></ct-searchlist>
|
|
30
30
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
31
31
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
32
32
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
// appRootUrl:'http://10.88.22.13:6060/onecard-api/',
|
|
158
158
|
appRootUrl:'',
|
|
159
159
|
para:{
|
|
160
|
-
"
|
|
160
|
+
"type":"top"
|
|
161
161
|
},
|
|
162
162
|
}
|
|
163
163
|
},
|
|
@@ -506,15 +506,15 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
506
506
|
set listFooter(v1) {
|
|
507
507
|
source.content.bottomText = v1;
|
|
508
508
|
},
|
|
509
|
+
isdisabledSearchScreen: false,
|
|
509
510
|
apiData(callback) {
|
|
510
511
|
var self = this;
|
|
511
512
|
if(self.$vue && self.$vue.searchStrat && self.$vue.searchEnd){
|
|
512
513
|
self.$vue.searchStrat=Date.now();
|
|
513
514
|
}
|
|
514
515
|
this.isLoading = true;
|
|
515
|
-
if (self.
|
|
516
|
-
|
|
517
|
-
// self.searchModel.setBtnLoading(true);
|
|
516
|
+
if (self.isdisabledSearchScreen) {
|
|
517
|
+
self.searchModel.setBtnLoading(true);
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
var newSearchModel = this.getSearchData();
|
|
@@ -596,8 +596,9 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
596
596
|
callback(false);
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
-
if (self.
|
|
600
|
-
|
|
599
|
+
if (self.isdisabledSearchScreen) {
|
|
600
|
+
self.isdisabledSearchScreen = false;
|
|
601
|
+
self.searchModel.setBtnLoading(false);
|
|
601
602
|
}
|
|
602
603
|
})
|
|
603
604
|
.catch((error) => {
|
|
@@ -944,6 +945,8 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
944
945
|
break;
|
|
945
946
|
|
|
946
947
|
case Enum.ActionType.Refersh: //刷新
|
|
948
|
+
rtn.isdisabledSearchScreen = true;
|
|
949
|
+
rtn.searchModel.setBtnLoading(true);
|
|
947
950
|
rtn.$vue.getPage(1,true);
|
|
948
951
|
break;
|
|
949
952
|
|
package/src/main.js
CHANGED
|
@@ -29,7 +29,7 @@ Vue.use(centaline, {
|
|
|
29
29
|
// baseUrl: "http://10.25.10.67:9999/service-api/",
|
|
30
30
|
// baseUrl: "http://10.25.10.69:8080/",
|
|
31
31
|
// baseUrl: "https://ccesutest.centaline.com.cn/service-api/v1/form/router",
|
|
32
|
-
baseUrl: "http://10.88.22.80:8080/",
|
|
32
|
+
// baseUrl: "http://10.88.22.80:8080/",
|
|
33
33
|
// baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
34
34
|
// baseUrl: "http://10.1.245.111:38908/service-api/",
|
|
35
35
|
// baseUrl: "http://10.1.245.111:31574/service-api/",
|
|
@@ -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":{
|
|
79
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
78
|
+
authObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"7Y0R7s","time":1747898817322,"sign":"1504b27c1f85894e7455899feb027859","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%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%2FCCES%E7%BB%84"}',
|
|
79
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImEyNzAwZjdkLThiNmUtNDlmNS1iMzRhLTYzODcxOTYxZDc3MiJ9.6sBUgoPllhuhBcLespy8OuTj63cvTgJLEw6tRdmqTLi2A9xVyTyYTv_0HILD5AW6mqfzZOO8NhY6DKNOTusUvA',
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -59666,15 +59666,15 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
59666
59666
|
set listFooter(v1) {
|
|
59667
59667
|
source.content.bottomText = v1;
|
|
59668
59668
|
},
|
|
59669
|
+
isdisabledSearchScreen: false,
|
|
59669
59670
|
apiData: function apiData(callback) {
|
|
59670
59671
|
var self = this;
|
|
59671
59672
|
if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
|
|
59672
59673
|
self.$vue.searchStrat = Date.now();
|
|
59673
59674
|
}
|
|
59674
59675
|
this.isLoading = true;
|
|
59675
|
-
if (self.
|
|
59676
|
-
|
|
59677
|
-
// self.searchModel.setBtnLoading(true);
|
|
59676
|
+
if (self.isdisabledSearchScreen) {
|
|
59677
|
+
self.searchModel.setBtnLoading(true);
|
|
59678
59678
|
}
|
|
59679
59679
|
|
|
59680
59680
|
var newSearchModel = this.getSearchData();
|
|
@@ -59752,8 +59752,9 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
59752
59752
|
callback(false);
|
|
59753
59753
|
}
|
|
59754
59754
|
|
|
59755
|
-
if (self.
|
|
59756
|
-
|
|
59755
|
+
if (self.isdisabledSearchScreen) {
|
|
59756
|
+
self.isdisabledSearchScreen = false;
|
|
59757
|
+
self.searchModel.setBtnLoading(false);
|
|
59757
59758
|
}
|
|
59758
59759
|
}).catch(function (error) {
|
|
59759
59760
|
self.isLoading = false;
|
|
@@ -60095,6 +60096,8 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
60095
60096
|
|
|
60096
60097
|
case __WEBPACK_IMPORTED_MODULE_6__lib_Enum__["default"].ActionType.Refersh:
|
|
60097
60098
|
//刷新
|
|
60099
|
+
rtn.isdisabledSearchScreen = true;
|
|
60100
|
+
rtn.searchModel.setBtnLoading(true);
|
|
60098
60101
|
rtn.$vue.getPage(1, true);
|
|
60099
60102
|
break;
|
|
60100
60103
|
|