centaline-data-driven 1.6.42 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.6.42",
3
+ "version": "1.6.44",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,23 @@
1
+ # v1.6.44
2
+ 2024-05-30
3
+
4
+ BUG
5
+
6
+ 列表操作返回刷新时,必须禁用查询按钮,避免用户点查询按钮造成重复数据
7
+
8
+ # v1.6.43
9
+ 2024-05-20
10
+
11
+ BUG
12
+
13
+ 扫码上传,附件大小判断错误
14
+
15
+ 优化
16
+
17
+ 附件上传编辑的时候没有判断附件数量优化
18
+
19
+ 表单页面计算滚动条添加是否有Element的判断
20
+
1
21
  # v1.6.42
2
22
  2024-05-07
3
23
 
@@ -2,32 +2,20 @@
2
2
  <div id="app-search" style="width:100%;height:100%;position: fixed;">
3
3
 
4
4
  <!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlist> -->
5
-
6
- <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
7
-
5
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
8
6
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/third-dept-tran/profit-return/layout'" :searchDataApi="'/api/third-dept-tran/profit-return'"></ct-searchlist> -->
9
-
10
7
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/third-dept-tran/tran-list/tran-emp-achievement-layout'" :searchDataApi="'/api/third-dept-tran/tran-list/tran-emp-achievement-list'"></ct-searchlist> -->
11
-
12
8
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/tran-commission-allocate/process-layout'" :searchDataApi="'/api/finance/tran-commission-allocate/process-list'"></ct-searchlist> -->
13
-
14
9
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/shift-approver/layout'" :searchDataApi="'/api/shift-approver/list'"></ct-searchlist> -->
15
-
16
- <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/api/necessaryFile/importTransFile/getLayoutOfSearch'" :searchDataApi="'/api/necessaryFile/importTransFile/getTableList'"></ct-searchlist> -->
17
-
10
+ <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/api/necessaryFile/importTransFile/getLayoutOfSearch'" :searchDataApi="'/api/necessaryFile/importTransFile/getTableList'"></ct-searchlist> -->
18
11
  <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/taskManagement/WorkingCalendarList/getLayoutOfSearch'" :searchDataApi="'//taskManagement/WorkingCalendarList/getList'"></ct-searchlist> -->
19
-
20
12
  <!-- <ct-searchlist :searchConditionApi="'/mainlandsecond/CustAndContractRegSumList/getLayoutOfSearch'" :searchDataApi="'/mainlandsecond/CustAndContractRegSumList/getList'"></ct-searchlist> -->
21
-
22
- <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/filemanage/batchdownlist/getLayoutOfSearch'" :searchDataApi="'/filemanage/batchdownlist/getList'"></ct-searchlist> -->
23
-
13
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/filemanage/batchdownlist/getLayoutOfSearch'" :searchDataApi="'/filemanage/batchdownlist/getList'"></ct-searchlist> -->
24
14
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/tran-commission-allocate/process-layout'" :searchDataApi="'/api/finance/tran-commission-allocate/process-list'"></ct-searchlist> -->
25
-
26
15
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/invoice-apply/layout'" :searchDataApi="'/api/finance/invoice-apply/list'"></ct-searchlist> -->
27
-
28
16
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/approveManage/contractBatchOperation/getLayoutOfSearch'" :searchDataApi="'/api/approveManage/contractBatchOperation/getTableList'"></ct-searchlist> -->
29
-
30
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> -->
31
19
 
32
20
  <!-- CCES -->
33
21
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
@@ -38,6 +26,7 @@
38
26
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
39
27
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist> -->
40
28
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist> -->
29
+ <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/customerfollowlist/getLayoutOfSearch'" :searchDataApi="'/customermanage/customerfollowlist/getList'"></ct-searchlist>
41
30
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
42
31
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
43
32
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
@@ -46,7 +35,7 @@
46
35
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/employeelist/getLayoutOfSearch'" :searchDataApi="'/employeelist/getList'"></ct-searchlist> -->
47
36
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/estatemanage/estatlist/getLayoutOfSearch'" :searchDataApi="'/estatemanage/estatlist/getList'"></ct-searchlist> -->
48
37
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/system/AreaList/getLayoutOfSearch'" :searchDataApi="'/system/AreaList/getList'"></ct-searchlist> -->
49
- <ct-searchlist :apiParam="para" :searchConditionApi="'/selectionactivitymanage/EvaluationActWorksList/getLayoutOfSearch'" :searchDataApi="'/selectionactivitymanage/EvaluationActWorksList/getListOfSearchModel'"></ct-searchlist>
38
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/selectionactivitymanage/EvaluationActWorksList/getLayoutOfSearch'" :searchDataApi="'/selectionactivitymanage/EvaluationActWorksList/getListOfSearchModel'"></ct-searchlist> -->
50
39
  <!-- CCES -->
51
40
 
52
41
  <!-- <ct-searchlist :apiParam="para"
@@ -168,18 +157,7 @@
168
157
  // appRootUrl:'http://10.88.22.13:6060/onecard-api/',
169
158
  appRootUrl:'',
170
159
  para:{
171
- type: "left",
172
- "deleteRight": 0,
173
- "editRight": 0,
174
- "browseRight": 0,
175
- "auditRight": 0,
176
- "addRight": 0,
177
- "deptId": "E5A389CB-8665-4BFD-8C97-3A70CEA28604",
178
- "cityName": "深圳",
179
- "name": "深圳中原",
180
- "path": "001",
181
- "code": "001",
182
- "new": false
160
+ "type":"top"
183
161
  },
184
162
  }
185
163
  },
@@ -347,8 +347,11 @@ export default {
347
347
  });
348
348
  }
349
349
  this.disableUpload = this.model.lock;
350
-
351
-
350
+ if (!this.disableUpload && this.model.max && this.model.max > 0) {
351
+ if (this.model.getfileListLength() >= this.model.max) {
352
+ this.disableUpload = true;
353
+ }
354
+ }
352
355
  });
353
356
  },
354
357
  methods: {
@@ -383,7 +386,7 @@ export default {
383
386
  }).then(() => {
384
387
  this.model.deleteFile(file, false);
385
388
  this.selfValidExcute("remove");
386
- this.timeoutHandle1=setTimeout(() => {
389
+ this.timeoutHandle1 = setTimeout(() => {
387
390
  this.QRCodeLocate();
388
391
  }, 1080);
389
392
 
@@ -490,7 +493,7 @@ export default {
490
493
  handleDownload(file) {
491
494
  },
492
495
  handleChange(file, fileList) {
493
- if (this.model.maxSize && file.size > this.model.maxSize) {
496
+ if (file && this.model.maxSize && file.size > this.model.maxSize) {
494
497
  this.$message.error(`文件大小不能超过 ${this.model.maxSize / (1024 * 1024)}MB`);
495
498
  fileList.pop(); // 移除不符合要求的文件
496
499
  }
@@ -507,7 +510,7 @@ export default {
507
510
  file.loadProgress = parseInt(event.percent); // 动态获取文件上传进度
508
511
  if (file.loadProgress >= 100) {
509
512
  file.loadProgress = 100;
510
- this.timeoutHandle2=setTimeout(() => {
513
+ this.timeoutHandle2 = setTimeout(() => {
511
514
  file.progressFlag = false;
512
515
  }, 1000); // 一秒后关闭进度条
513
516
  }
@@ -872,12 +875,12 @@ export default {
872
875
  let fileSum = 0;
873
876
 
874
877
  for (let index in items) {
875
- const item = items[index];
878
+ const item = items[index];
876
879
  if (item.kind === 'file') {
877
880
  ++fileSum;
878
881
  }
879
882
  }
880
-
883
+
881
884
  if (fileSum == items.length) {
882
885
 
883
886
  for (let index in items) {
@@ -905,7 +908,7 @@ export default {
905
908
  window.uploads = { count: 0, length: uploads.length };
906
909
  }
907
910
  if (uploads.length > 1) {
908
-
911
+
909
912
  }
910
913
  else if (uploads.length == 1) {
911
914
  window.uploads = null;
@@ -916,10 +919,10 @@ export default {
916
919
  },
917
920
  beforeDestroy() {
918
921
  clearTimeout(this.qrtimer);
919
- if(this.timeoutHandle1){
922
+ if (this.timeoutHandle1) {
920
923
  clearTimeout(this.timeoutHandle1)
921
924
  }
922
- if(this.timeoutHandle2){
925
+ if (this.timeoutHandle2) {
923
926
  clearTimeout(this.timeoutHandle2)
924
927
  }
925
928
  window.removeEventListener('scroll', this.QRCodeLocate, true)
@@ -283,10 +283,12 @@
283
283
  methods: {
284
284
  computeScroll(){
285
285
  this.$nextTick(() => {
286
- let parentDom=this.$el.parentElement;
287
- if (parentDom && parentDom.scrollHeight > parentDom.clientHeight
288
- && this.model && (!this.model.isHorizontalLayout || this.flagScroll)) {
289
- this.isScroll = true;
286
+ if(this.$el){
287
+ let parentDom=this.$el.parentElement;
288
+ if (parentDom && parentDom.scrollHeight > parentDom.clientHeight
289
+ && this.model && (!this.model.isHorizontalLayout || this.flagScroll)) {
290
+ this.isScroll = true;
291
+ }
290
292
  }
291
293
  });
292
294
  },
@@ -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.searchModel) {
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.searchModel) {
600
- // self.searchModel.setBtnLoading(false);
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.69: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/",
@@ -67,7 +67,7 @@ Vue.use(centaline, {
67
67
  // 获取请求头
68
68
  getRequestHeaders: function () {
69
69
  return {
70
- oldToken: 'da18df1e-9ee2-49fd-a5ca-a3e17c8947e5',
70
+ oldToken: 'c827efdb-95fd-4b50-9b65-4e3f736acb53',
71
71
  token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
72
72
  // authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjktqAzEQBe-itRv6Oy15J3mkTQ5hxnEPOKsQ25AQcveIXCK7R_Gg6jvdn5d0TOxr174QtE4CyipzCQOi2drq6M35XEa1vKICc2mgwwfk4gJGRSrm3HrTcz4hMTKBnaqDejWoNgpIX9Qz-oqN0yHF53s6kouhEGU9pNv2-ANadP4meN7j4yW-_iPu7XGbWovd46oIsV9tatEgRwmg14V1l4tssaWfXwAAAP__.sF1LYLtwnVq8_fFcoq7FA9hy44G1H7SMCYBmZqeKnLY"}',
73
73
 
@@ -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":{"estateId":"241113105409757BFF2887A7472E99D2","estateName":"U%E7%89%88%E6%A5%BC%E7%9B%98%E6%8C%89%E7%82%B9%E4%BD%8D","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"jijlB","time":1744183725353,"sign":"528fb9ea127871dacfda5d2e56abe364","systemSource":"CCESU","empNo":"maopp","empId":"2411120940038E8B1C87525447179987","clientVersion":"12.5","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.eyJsb2dpbl91c2VyX2tleSI6IjI1ZjYwYTJkLWEwNmMtNGRmNy1iNTQ1LTY1YTAwNjk5ZGI2OSJ9.8J9_ATCF2DYDE1wVr5cGoJgT9kNf1kajqkYtcr2se6s44PPMWOGaIzmpzVQTm1_Q9WD9laGM2BtKcfK2n2_aiw',
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
  // 请求完成事件,可判断是否登录过期执行响应操作
@@ -11307,7 +11307,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
11307
11307
  "use strict";
11308
11308
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__ = __webpack_require__(186);
11309
11309
  /* unused harmony namespace reexport */
11310
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_d0cef60e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(618);
11310
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aacd9528_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(618);
11311
11311
  function injectStyle (ssrContext) {
11312
11312
  __webpack_require__(612)
11313
11313
  }
@@ -11327,7 +11327,7 @@ var __vue_scopeId__ = null
11327
11327
  var __vue_module_identifier__ = null
11328
11328
  var Component = normalizeComponent(
11329
11329
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__["a" /* default */],
11330
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_d0cef60e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
11330
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_aacd9528_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
11331
11331
  __vue_template_functional__,
11332
11332
  __vue_styles__,
11333
11333
  __vue_scopeId__,
@@ -29089,9 +29089,11 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
29089
29089
  var _this2 = this;
29090
29090
 
29091
29091
  this.$nextTick(function () {
29092
- var parentDom = _this2.$el.parentElement;
29093
- if (parentDom && parentDom.scrollHeight > parentDom.clientHeight && _this2.model && (!_this2.model.isHorizontalLayout || _this2.flagScroll)) {
29094
- _this2.isScroll = true;
29092
+ if (_this2.$el) {
29093
+ var parentDom = _this2.$el.parentElement;
29094
+ if (parentDom && parentDom.scrollHeight > parentDom.clientHeight && _this2.model && (!_this2.model.isHorizontalLayout || _this2.flagScroll)) {
29095
+ _this2.isScroll = true;
29096
+ }
29095
29097
  }
29096
29098
  });
29097
29099
  },
@@ -54073,6 +54075,11 @@ if (typeof window !== "undefined" && "Vue" in window) {
54073
54075
  });
54074
54076
  }
54075
54077
  this.disableUpload = this.model.lock;
54078
+ if (!this.disableUpload && this.model.max && this.model.max > 0) {
54079
+ if (this.model.getfileListLength() >= this.model.max) {
54080
+ this.disableUpload = true;
54081
+ }
54082
+ }
54076
54083
  });
54077
54084
  },
54078
54085
 
@@ -54216,7 +54223,7 @@ if (typeof window !== "undefined" && "Vue" in window) {
54216
54223
  },
54217
54224
  handleDownload: function handleDownload(file) {},
54218
54225
  handleChange: function handleChange(file, fileList) {
54219
- if (this.model.maxSize && file.size > this.model.maxSize) {
54226
+ if (file && this.model.maxSize && file.size > this.model.maxSize) {
54220
54227
  this.$message.error("\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 " + this.model.maxSize / (1024 * 1024) + "MB");
54221
54228
  fileList.pop(); // 移除不符合要求的文件
54222
54229
  }
@@ -59659,15 +59666,15 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
59659
59666
  set listFooter(v1) {
59660
59667
  source.content.bottomText = v1;
59661
59668
  },
59669
+ isdisabledSearchScreen: false,
59662
59670
  apiData: function apiData(callback) {
59663
59671
  var self = this;
59664
59672
  if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
59665
59673
  self.$vue.searchStrat = Date.now();
59666
59674
  }
59667
59675
  this.isLoading = true;
59668
- if (self.searchModel) {
59669
- //不需要禁用查询按钮
59670
- // self.searchModel.setBtnLoading(true);
59676
+ if (self.isdisabledSearchScreen) {
59677
+ self.searchModel.setBtnLoading(true);
59671
59678
  }
59672
59679
 
59673
59680
  var newSearchModel = this.getSearchData();
@@ -59745,8 +59752,9 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
59745
59752
  callback(false);
59746
59753
  }
59747
59754
 
59748
- if (self.searchModel) {
59749
- // self.searchModel.setBtnLoading(false);
59755
+ if (self.isdisabledSearchScreen) {
59756
+ self.isdisabledSearchScreen = false;
59757
+ self.searchModel.setBtnLoading(false);
59750
59758
  }
59751
59759
  }).catch(function (error) {
59752
59760
  self.isLoading = false;
@@ -60088,6 +60096,8 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
60088
60096
 
60089
60097
  case __WEBPACK_IMPORTED_MODULE_6__lib_Enum__["default"].ActionType.Refersh:
60090
60098
  //刷新
60099
+ rtn.isdisabledSearchScreen = true;
60100
+ rtn.searchModel.setBtnLoading(true);
60091
60101
  rtn.$vue.getPage(1, true);
60092
60102
  break;
60093
60103
 
@@ -79280,7 +79290,7 @@ var content = __webpack_require__(613);
79280
79290
  if(typeof content === 'string') content = [[module.i, content, '']];
79281
79291
  if(content.locals) module.exports = content.locals;
79282
79292
  // add the styles to the DOM
79283
- var update = __webpack_require__(3)("70a937e1", content, true, {});
79293
+ var update = __webpack_require__(3)("445bf0d1", content, true, {});
79284
79294
 
79285
79295
  /***/ }),
79286
79296
  /* 613 */
@@ -84839,7 +84849,7 @@ if (typeof window !== 'undefined' && window.Vue) {
84839
84849
  "use strict";
84840
84850
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFile_vue__ = __webpack_require__(343);
84841
84851
  /* unused harmony namespace reexport */
84842
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_50551f2e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFile_vue__ = __webpack_require__(709);
84852
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_565f8eaa_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFile_vue__ = __webpack_require__(709);
84843
84853
  function injectStyle (ssrContext) {
84844
84854
  __webpack_require__(702)
84845
84855
  }
@@ -84859,7 +84869,7 @@ var __vue_scopeId__ = null
84859
84869
  var __vue_module_identifier__ = null
84860
84870
  var Component = normalizeComponent(
84861
84871
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFile_vue__["a" /* default */],
84862
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_50551f2e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFile_vue__["a" /* default */],
84872
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_565f8eaa_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFile_vue__["a" /* default */],
84863
84873
  __vue_template_functional__,
84864
84874
  __vue_styles__,
84865
84875
  __vue_scopeId__,
@@ -84880,7 +84890,7 @@ var content = __webpack_require__(703);
84880
84890
  if(typeof content === 'string') content = [[module.i, content, '']];
84881
84891
  if(content.locals) module.exports = content.locals;
84882
84892
  // add the styles to the DOM
84883
- var update = __webpack_require__(3)("597d5519", content, true, {});
84893
+ var update = __webpack_require__(3)("588c06d5", content, true, {});
84884
84894
 
84885
84895
  /***/ }),
84886
84896
  /* 703 */