centaline-data-driven 1.6.40 → 1.6.42

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.6.40",
3
+ "version": "1.6.42",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,17 @@
1
+ # v1.6.42
2
+ 2024-05-07
3
+
4
+ 优化
5
+
6
+ 附件上传添加上传文件大小的限制[code2,单位M],默认不限制
7
+
8
+ # v1.6.41
9
+ 2024-05-07
10
+
11
+ 优化
12
+
13
+ 样式使用 ::v-deep 替代 >>>
14
+
1
15
  # v1.6.40
2
16
  2024-04-10
3
17
 
@@ -36,7 +36,7 @@
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
- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist>
39
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist> -->
40
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> -->
@@ -46,6 +46,7 @@
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
48
  <!-- <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>
49
50
  <!-- CCES -->
50
51
 
51
52
  <!-- <ct-searchlist :apiParam="para"
@@ -1610,11 +1610,11 @@ export default {
1610
1610
  background-clip: content-box;
1611
1611
  cursor: pointer;
1612
1612
  }
1613
- >>>.el-tabs__nav-prev {
1613
+ ::v-deep.el-tabs__nav-prev {
1614
1614
  display: none;
1615
1615
  }
1616
1616
 
1617
- >>>.el-tabs__nav-next {
1617
+ ::v-deep.el-tabs__nav-next {
1618
1618
  display: none;
1619
1619
  }
1620
1620
 
@@ -1647,10 +1647,10 @@ export default {
1647
1647
  border-bottom: 3px solid var(--chinaRed);
1648
1648
  }
1649
1649
 
1650
- >>>.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1651
- >>>.el-tabs--bottom .el-tabs__item.is-top:last-child,
1652
- >>>.el-tabs--top .el-tabs__item.is-bottom:last-child,
1653
- >>>.el-tabs--top .el-tabs__item.is-top:last-child {
1650
+ ::v-deep.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1651
+ ::v-deep.el-tabs--bottom .el-tabs__item.is-top:last-child,
1652
+ ::v-deep.el-tabs--top .el-tabs__item.is-bottom:last-child,
1653
+ ::v-deep.el-tabs--top .el-tabs__item.is-top:last-child {
1654
1654
  padding-right: 15px;
1655
1655
  }
1656
1656
 
@@ -1835,11 +1835,11 @@ export default {
1835
1835
  background-clip: content-box;
1836
1836
  cursor: pointer;
1837
1837
  }
1838
- >>>.el-tabs__nav-prev {
1838
+ ::v-deep.el-tabs__nav-prev {
1839
1839
  display: none;
1840
1840
  }
1841
1841
 
1842
- >>>.el-tabs__nav-next {
1842
+ ::v-deep.el-tabs__nav-next {
1843
1843
  display: none;
1844
1844
  }
1845
1845
 
@@ -1872,10 +1872,10 @@ export default {
1872
1872
  border-bottom: 3px solid var(--chinaRed);
1873
1873
  }
1874
1874
 
1875
- >>>.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1876
- >>>.el-tabs--bottom .el-tabs__item.is-top:last-child,
1877
- >>>.el-tabs--top .el-tabs__item.is-bottom:last-child,
1878
- >>>.el-tabs--top .el-tabs__item.is-top:last-child {
1875
+ ::v-deep.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1876
+ ::v-deep.el-tabs--bottom .el-tabs__item.is-top:last-child,
1877
+ ::v-deep.el-tabs--top .el-tabs__item.is-bottom:last-child,
1878
+ ::v-deep.el-tabs--top .el-tabs__item.is-top:last-child {
1879
1879
  padding-right: 15px;
1880
1880
  }
1881
1881
 
@@ -1853,10 +1853,10 @@ export default {
1853
1853
  cursor: pointer;
1854
1854
  }
1855
1855
 
1856
- >>> .el-tabs__nav-prev {
1856
+ ::v-deep .el-tabs__nav-prev {
1857
1857
  display: none;
1858
1858
  }
1859
- >>> .el-tabs__nav-next {
1859
+ ::v-deep .el-tabs__nav-next {
1860
1860
  display: none;
1861
1861
  }
1862
1862
  .more-dropdown {
@@ -1884,10 +1884,10 @@ export default {
1884
1884
  color: var(--chinaRed);
1885
1885
  border-bottom: 3px solid var(--chinaRed);
1886
1886
  }
1887
- >>> .el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1888
- >>> .el-tabs--bottom .el-tabs__item.is-top:last-child,
1889
- >>> .el-tabs--top .el-tabs__item.is-bottom:last-child,
1890
- >>> .el-tabs--top .el-tabs__item.is-top:last-child {
1887
+ ::v-deep .el-tabs--bottom .el-tabs__item.is-bottom:last-child,
1888
+ ::v-deep .el-tabs--bottom .el-tabs__item.is-top:last-child,
1889
+ ::v-deep .el-tabs--top .el-tabs__item.is-bottom:last-child,
1890
+ ::v-deep .el-tabs--top .el-tabs__item.is-top:last-child {
1891
1891
  padding-right: 15px;
1892
1892
  }
1893
1893
  .svgIcon {
@@ -233,7 +233,4 @@ export default {
233
233
  overflow-x: hidden;
234
234
  }
235
235
 
236
- /* .checkbox-common>>>span.el-checkbox__label {
237
- padding-left: 30px;
238
- } */
239
236
  </style>
@@ -490,6 +490,10 @@ export default {
490
490
  handleDownload(file) {
491
491
  },
492
492
  handleChange(file, fileList) {
493
+ if (this.model.maxSize && file.size > this.model.maxSize) {
494
+ this.$message.error(`文件大小不能超过 ${this.model.maxSize / (1024 * 1024)}MB`);
495
+ fileList.pop(); // 移除不符合要求的文件
496
+ }
493
497
  this.changeHandler(this.model.value);
494
498
  },
495
499
  //上传之前的钩子
@@ -612,7 +612,13 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
612
612
  configurable: true
613
613
  });
614
614
  return rtnFormObj;
615
- }
615
+ },
616
+ get maxSize() {
617
+ if(source.code2){
618
+ return source.code2 * 1024 * 1024;
619
+ }
620
+ return null;
621
+ },
616
622
  };
617
623
  rtn = base.copy(Base(data), rtn);
618
624
  rtn = base.copy(rtn, valid.Init(rtn));
@@ -349,6 +349,11 @@ const Enum = {
349
349
  ///
350
350
  /// </summary>
351
351
  Data: 4,
352
+
353
+ /**
354
+ * url
355
+ **/
356
+ Url:5,
352
357
  },
353
358
 
354
359
  /// <summary>
package/src/main.js CHANGED
@@ -76,7 +76,7 @@ Vue.use(centaline, {
76
76
  estateId: '',
77
77
 
78
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.eyJsb2dpbl91c2VyX2tleSI6ImY1MGUyMTk2LTA3MjUtNDc3NS1iMjU0LTA1MmEyM2I3NWIwZiJ9.wOVpO974fdap7nW1JZeG3rGaMGDY6ktlRzHWwJPXXtYxpXeBtDaRgBRwnol9x5jGlEHmsGckEIBgfksSivbOYg',
79
+ AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjI1ZjYwYTJkLWEwNmMtNGRmNy1iNTQ1LTY1YTAwNjk5ZGI2OSJ9.8J9_ATCF2DYDE1wVr5cGoJgT9kNf1kajqkYtcr2se6s44PPMWOGaIzmpzVQTm1_Q9WD9laGM2BtKcfK2n2_aiw',
80
80
  };
81
81
  },
82
82
  // 请求完成事件,可判断是否登录过期执行响应操作