centaline-data-driven 1.5.7 → 1.5.8

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.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -9,18 +9,18 @@
9
9
  :searchDataApi="'/api/third-dept-tran/tran-list'">
10
10
  </ct-searchlist> -->
11
11
 
12
- <ct-searchlist :apiParam="para"
12
+ <!-- <ct-searchlist :apiParam="para"
13
13
  :searchConditionApi="'/commissionquery/CustomerReferralTranListReport/getLayoutOfSearch'"
14
14
  :searchDataApi="'/commissionquery/CustomerReferralTranListReport/getList'">
15
- </ct-searchlist>
15
+ </ct-searchlist> -->
16
16
 
17
17
 
18
- <!-- <ct-searchlist :apiParam="para"
18
+ <ct-searchlist :apiParam="para"
19
19
  :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
20
20
  :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
21
21
  :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
22
22
  :searchStatsApi="'/ProfileWorklistList/getListStats'">
23
- </ct-searchlist> -->
23
+ </ct-searchlist>
24
24
 
25
25
  <!-- <ct-searchlist :apiParam="para"
26
26
  :searchConditionApi="'/RightValueList/getLayoutOfSearch'"
@@ -272,7 +272,7 @@
272
272
  <div class="t-item">
273
273
  <span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
274
274
  </div>
275
- <div class="t-item" style="min-height: 50px">
275
+ <div class="t-item" style="min-height: 50px;min-width: 120px;">
276
276
  <component
277
277
  v-for="(router, routerIndex) in col.routers"
278
278
  :key="routerIndex"
@@ -1601,7 +1601,6 @@ export default {
1601
1601
  align-items: center;
1602
1602
  justify-content: space-between;
1603
1603
  .list-item {
1604
- // width: 33.3%;
1605
1604
  width: 120px;
1606
1605
  height: 62px;
1607
1606
  font-size: 14px;
@@ -1624,8 +1623,7 @@ export default {
1624
1623
  .operation-table {
1625
1624
  padding: 0;
1626
1625
  .table-box {
1627
- display: -webkit-box;
1628
- // align-items: center;
1626
+ display: flex;
1629
1627
  border-bottom: 1px solid #e0e0e0;
1630
1628
  .t-item {
1631
1629
  padding: 5px 8px;
@@ -1637,18 +1635,11 @@ export default {
1637
1635
  align-items: flex-start;
1638
1636
  border-right: 1px solid #e0e0e0;
1639
1637
  justify-content: center;
1640
- .i {
1641
- // position: absolute;
1642
- // top: 50%;
1643
- // left: 50%;
1644
- // transform: translateY(-50%);
1645
- }
1638
+ min-width: 0;
1646
1639
  .t-but {
1647
1640
  font-size: 12px;
1648
1641
  margin-left: 0;
1649
- width: 104px;
1650
- // height: 100%;
1651
- // margin: 12px 16px 0 16px;
1642
+ width: 104px;
1652
1643
  margin-top: 8px;
1653
1644
  padding: 0;
1654
1645
  }
@@ -274,7 +274,7 @@
274
274
  <div class="t-item">
275
275
  <span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
276
276
  </div>
277
- <div class="t-item" style="min-height: 50px">
277
+ <div class="t-item" style="min-height: 50px;min-width: 120px;">
278
278
  <component v-for="(router, routerIndex) in col.routers" :key="routerIndex"
279
279
  :is="router.is" :vmodel="router" :api="model.optionApi"
280
280
  @click="fieldClickHandler(router, $event)"
@@ -1615,7 +1615,6 @@ export default {
1615
1615
  align-items: center;
1616
1616
  justify-content: space-between;
1617
1617
  .list-item {
1618
- // width: 33.3%;
1619
1618
  width:120px;
1620
1619
  height: 62px;
1621
1620
  font-size: 14px;
@@ -1638,8 +1637,7 @@ export default {
1638
1637
  .operation-table {
1639
1638
  padding: 0;
1640
1639
  .table-box {
1641
- display: -webkit-box;
1642
- // align-items: center;
1640
+ display: flex;
1643
1641
  border-bottom: 1px solid #e0e0e0;
1644
1642
  .t-item {
1645
1643
  padding: 5px 8px;
@@ -1651,18 +1649,12 @@ export default {
1651
1649
  align-items: flex-start;
1652
1650
  border-right: 1px solid #e0e0e0;
1653
1651
  justify-content: center;
1654
- .i {
1655
- // position: absolute;
1656
- // top: 50%;
1657
- // left: 50%;
1658
- // transform: translateY(-50%);
1659
- }
1652
+ min-width: 0;
1653
+
1660
1654
  .t-but {
1661
1655
  font-size: 12px;
1662
1656
  margin-left: 0;
1663
1657
  width: 104px;
1664
- // height: 100%;
1665
- // margin: 12px 16px 0 16px;
1666
1658
  margin-top: 8px;
1667
1659
  padding: 0;
1668
1660
  }
@@ -115,10 +115,12 @@ export default {
115
115
  this.max = data.max ? data.max : 99999;
116
116
  this.model = data;
117
117
  this.photoList = data.fileList;
118
+ this.selfValidExcute("valid");
118
119
  },
119
120
  handleRemove(item,index) {
120
121
  this.model.delete(item,index);
121
122
  this.photoList.splice(index, 1);
123
+ this.selfValidExcute("valid");
122
124
  },
123
125
  handleOpen() {
124
126
  var self = this;
@@ -138,7 +140,7 @@ export default {
138
140
  self.photoList.forEach((n) => {
139
141
  chooseList.push(n);
140
142
  });
141
-
143
+
142
144
  var dialogOption = {
143
145
  title: "选择图片",
144
146
  pane: self.$common.getParentPane(self),
@@ -175,7 +177,7 @@ export default {
175
177
  }
176
178
  self.model.setfileSourceList(photoList);
177
179
  self.photoList = photoList;
178
-
180
+ self.selfValidExcute("valid");
179
181
  self.$common.closeDialog(dialogOption.dialog);
180
182
  });
181
183
  },
@@ -210,6 +212,7 @@ export default {
210
212
  });
211
213
  item.flagDefault = true;
212
214
  self.model.setfileSourceList(list);
215
+ self.selfValidExcute("valid");
213
216
  },
214
217
  //不能共用的数据校验
215
218
  selfValidExcute: function (eventName) {
@@ -67,16 +67,16 @@ const PhotoSelect = function (source, fileSourceList, router, optionApi,sourceLi
67
67
  }
68
68
  }
69
69
  }
70
- fileSourceList = [...newfileList,...pushArr];
70
+ fileSourceList = [...newfileList, ...pushArr];
71
71
  },
72
- delete(delitem,index) {
72
+ delete(delitem,i) {
73
73
  let newVal = true;
74
74
  let item = null;
75
75
 
76
76
  let sourceIndex = sourceList.findIndex(v => v.mediaID === delitem.mediaID);
77
- let i = fileSourceList.findIndex(v => v.mediaID === delitem.mediaID);
77
+ let index = fileSourceList.findIndex(v => v.mediaID === delitem.mediaID);
78
78
  if (sourceIndex === -1) {
79
- fileSourceList.splice(i, 1);
79
+ fileSourceList.splice(index, 1);
80
80
  }
81
81
  else {
82
82
  fileSourceList[index].flagDefault = false;
package/src/main.js CHANGED
@@ -14,8 +14,8 @@ Vue.use(ElementUI, { size: 'mini'});
14
14
  // 关闭生产模式下给出的提示
15
15
  Vue.config.productionTip = false;
16
16
  Vue.use(centaline, {
17
- // baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
18
- baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
17
+ baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
18
+ // baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
19
19
  // baseUrl: "http://10.25.10.67:9999/service-api/v1/form/router",
20
20
  // baseUrl: "http://10.25.10.67:8080/",
21
21
  // baseUrl: "http://10.88.22.42:9999/v1/form/router",
@@ -51,7 +51,7 @@ Vue.use(centaline, {
51
51
  getRequestHeaders: function () {
52
52
  return {
53
53
  oldToken: '7227389b-a6c5-4c0a-bc24-d629eaece3cb',
54
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe_iOivZ2bXXpnP8aThEZCMjhQqRRAIh7k4Q0NEzxSummXcX81rFTqBh55NREDRZIKM0OMoZgjTGYZaIMY7uA_yYLyNxcN4nBpKDAco6getDBnR6iJQ8x2REJ9r1LHbKWOxZsqJOTGV5C2UJX2Kd22Xfbv84d1qmLdtKZavdARo1uWWPBUrDCpJLlb2ysiGLxxMAAP__.06Kf40mgrNwq8plJUsw0kjmXgIvkx62VNnsFBTmRzSo',
54
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjr0OgkAQhN9laza5n727XTtugcaHIBAgwcoIJBrju4tRO3u_YoqvmJk7LFsPB6i4NKSNR61dQKpSwLJJjFmZTXbJU-ZWPuCP-NJaS5JsrLGUpEiRPLJVRqWo1FS111xBAeP1DAcb2ZMzRqiAuVvfYie-xLaMl-N4-8e50zrvs8QSTHKCybkByU1hL-s7NJIMB6EwTAKPJwAAAP__.XDp1uvqZXzcBbrTwxD17-Og6ryO6IJ9eJQg56GMN3a0',
55
55
 
56
56
  originalRequestURL: 'http://10.88.22.67:8080',
57
57
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',