centaline-data-driven 1.4.85 → 1.4.87

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.4.85",
3
+ "version": "1.4.87",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -4,10 +4,10 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <!-- <ct-searchlist :apiParam="para"
7
+ <ct-searchlist :apiParam="para"
8
8
  :searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
9
9
  :searchDataApi="'/api/third-dept-tran/tran-list'">
10
- </ct-searchlist> -->
10
+ </ct-searchlist>
11
11
 
12
12
 
13
13
  <!-- <ct-searchlist :apiParam="para"
@@ -28,11 +28,11 @@
28
28
  :searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
29
29
  </ct-searchlist> -->
30
30
 
31
- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
31
+ <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
32
32
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
33
33
  :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
34
34
  :searchStatsApi="'/PropertyRETList/getListStats'">
35
- </ct-searchlist>
35
+ </ct-searchlist> -->
36
36
 
37
37
  <!-- <ct-searchlist :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
38
38
  :searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
@@ -24,7 +24,7 @@
24
24
  @keydown.down="rowKeyDownHandle($event, 1)" tabindex="-1">
25
25
  <div class="ct-table-content" v-if="!isLayout">
26
26
  <table border="0" cellpadding="0" cellspacing="0"
27
- :class="['ct-table', model.attrs.size ? 'ct-table-' + model.attrs.size : '',]">
27
+ :class="['ct-table', model.attrs.size ? 'ct-table-' + model.attrs.size : '',leftShadow>-1 || rightShadow>-1 ? 'ct-table-Shadow' : '',]">
28
28
  <!--表头-->
29
29
  <thead ref="tableHead" class="right-no-fixation-th">
30
30
  <tr class="ct-tr" ref="headTr" v-for="(columns, columnsIndex) in model.columnsArr" :key="columnsIndex">
@@ -1813,6 +1813,9 @@ export default {
1813
1813
  min-width: 100%;
1814
1814
  border-collapse: collapse;
1815
1815
  }
1816
+ .ct-searchtable .ct-table-Shadow {
1817
+ border-collapse: separate;
1818
+ }
1816
1819
 
1817
1820
  .ct-searchtable .ct-table th {
1818
1821
  background-color: #f4f7fa !important;
@@ -1846,7 +1849,7 @@ export default {
1846
1849
  }
1847
1850
 
1848
1851
  .shadowLeft {
1849
- border-right: 1px solid #e7e8eb;
1852
+ /* border-right: 1px solid #e7e8eb; */
1850
1853
  box-shadow: 2px 0 3px -1px rgba(0, 0, 0, 0.1);
1851
1854
  }
1852
1855
 
@@ -246,7 +246,8 @@
246
246
  var option = this.globalOptions.find((v) => { return v[self.model.optionAttrs.value] === value });
247
247
  if (option) {
248
248
  return option[self.model.optionAttrs.label];
249
- } else {
249
+ }
250
+ else {
250
251
  return "";
251
252
  }
252
253
  },
@@ -49,6 +49,11 @@ const Tags = function (source, moreActionRouter) {
49
49
  var tempV1 = JSON.parse(source.code1);
50
50
  tempV1.forEach((v1) => {
51
51
  if (v.findIndex((op) => { return op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value] }) !== -1) {
52
+ v.forEach((op)=>{
53
+ if(op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value]){
54
+ v1[rtn.optionAttrs.label] = op[rtn.optionAttrs.label];
55
+ }
56
+ });
52
57
  v1[rtn.optionAttrs.flagDeleted] = false;
53
58
  v.splice(v.findIndex((op) => { return op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value] }), 1);
54
59
  }
@@ -74,8 +79,7 @@ const Tags = function (source, moreActionRouter) {
74
79
  }
75
80
  return '';
76
81
  },
77
- get labelValue() {
78
-
82
+ get labelValue() {
79
83
  if (source.code1) {
80
84
  var rtnLabelValue = '';
81
85
  JSON.parse(source.code1).forEach((op) => {
package/src/main.js CHANGED
@@ -12,14 +12,14 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: "http://10.88.22.13:7070/max-uplink-api/v1/form/router",
15
+ // baseUrl: "http://10.88.22.13:9004/max-uplink-api/v1/form/router",
16
16
  // baseUrl: "http://10.6.1.162:17070/max-uplink-api/v1/form/router",
17
17
  // baseUrl: "http://10.25.10.63:9999/v1/form/router",
18
18
  // baseUrl: "http://10.88.22.42:9999/v1/form/router",
19
19
  // baseUrl: "http://10.88.22.69:8080/api/",
20
20
  // baseUrl: "http://10.88.22.40:8080/api/",
21
- // baseUrl: "http://tjcptest.centaline.com.cn/",
22
- // flagRouterSelf: true,
21
+ baseUrl: "http://tjcptest.centaline.com.cn/",
22
+ flagRouterSelf: true,
23
23
  zindex: 999,
24
24
  showRequestSuccessMessage: true,
25
25
  showRequestErrorMessage: true,
@@ -47,8 +47,8 @@ Vue.use(centaline, {
47
47
  // 获取请求头
48
48
  getRequestHeaders: function () {
49
49
  return {
50
- oldToken: '038e4dcf-1976-4fca-a66a-93611ea1b18c',
51
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEzksKwjAUheG9ZOyF5L7jLG3sxEWI1RR0JFZBEfduxUU4_Qb_Oa8w38ewDhlNnZmg33QEXItBpylCr7lI8YLayU4HqYhmQDY49CkSIJYK0asNVCmrxV3lXByX0kJLCdMGvKMCKOxMg3A2CavQHpewTuqJRKPQKpz2tx-gZv3CfW7XbXv-49z5dlpmR0t8lDiBWGvAqSnsZZogjkqCaTocyMP7AwAA__8.S8HluKh69E2SDbM5s5Ff9U6dYD3vC_g9UbVQZOyLRGM',
50
+ oldToken: '6353c005-4466-4fc6-b6f6-fb4f88c03f8a',
51
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZM4zOzujJ0u2HgIssAWWBmBRGO8uxqho_cVr3jN_08Y5xb2EBZwQyuNLeCGVhoisUC-xoOFiOKFUSkqRvFRTlXN8VhBAfl-hT15JXZm7AoY0vQLZWD3DfOYb-f8-Me5yzR8Zn2nLoeUsCXuUUgVVazDMgnt2Po2iIfXGwAA__8.HBO2CVtY9G5noVhElgHNtMUaUzW8DY-BlKm3gGLL6uM',
52
52
 
53
53
  originalRequestURL: 'http://10.88.22.67:8080',
54
54
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',