centaline-data-driven 1.5.40 → 1.5.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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/release-log.md +51 -2
  3. package/src/Detail.vue +3 -3
  4. package/src/SearchList.vue +9 -7
  5. package/src/centaline/dialogList/src/dialog.vue +17 -2
  6. package/src/centaline/dynamicContact/src/dynamicContact.vue +0 -1
  7. package/src/centaline/dynamicDetail/src/dynamicCustomerSimpleDetail.vue +289 -49
  8. package/src/centaline/dynamicDetail/src/dynamicEstateBuildingDetail.vue +11 -11
  9. package/src/centaline/dynamicDetail/src/dynamicEstateSimpleDetail.vue +2 -2
  10. package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +10 -11
  11. package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +12 -11
  12. package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +2 -2
  13. package/src/centaline/dynamicForm/src/dynamicForm.vue +19 -19
  14. package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +31 -0
  15. package/src/centaline/dynamicPhotoSelectList/src/dynamicPhotoSelectList.vue +31 -0
  16. package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +361 -143
  17. package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +15 -2
  18. package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +28 -22
  19. package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +36 -21
  20. package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +15 -2
  21. package/src/centaline/dynamicTree/src/dynamicTree.vue +3 -1
  22. package/src/centaline/formData/index.js +2 -2
  23. package/src/centaline/loader/src/ctl/Detail.js +13 -0
  24. package/src/centaline/loader/src/ctl/Form.js +2 -2
  25. package/src/centaline/loader/src/ctl/Repeat.js +127 -20
  26. package/src/centaline/loader/src/ctl/SearchScreen.js +6 -6
  27. package/src/centaline/loader/src/ctl/SearchTable.js +1 -1
  28. package/src/centaline/progress/src/progress.vue +9 -4
  29. package/src/main.js +6 -6
  30. package/wwwroot/static/centaline/centaline-data-driven.js +799 -266
  31. package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
@@ -226,7 +226,7 @@
226
226
  </div>
227
227
  </div>
228
228
  <ct-searchlist v-if="model.searchConditionApiTags1" :key="'list' + listKey.toString() + refershKey"
229
- :pageHeight="'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
229
+ :pageHeight="model.appIDTags1=='Follow'?'675px':'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
230
230
  :searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1">
231
231
  </ct-searchlist>
232
232
  </div>
@@ -599,6 +599,7 @@ export default {
599
599
  self.model.searchConditionApiTags1 = self.model.tags1[i].searchConditionAction || "";
600
600
  self.model.searchDataApiTags1 = self.model.tags1[i].searchDataAction || "";
601
601
  self.model.paramDataTags1 = self.model.tags1[i].paramData || "";
602
+ self.model.appIDTags1 = self.model.tags1[i].appID || "";
602
603
  }
603
604
  }
604
605
  }
@@ -712,11 +713,10 @@ export default {
712
713
  this.model.activeIndex1 = i;
713
714
  if (this.model.tags1 && this.model.tags1[i]) {
714
715
  this.listKey = this.listKey + 1;
715
- this.model.searchConditionApiTags1 =
716
- this.model.tags1[i].searchConditionAction || "";
717
- this.model.searchDataApiTags1 =
718
- this.model.tags1[i].searchDataAction || "";
716
+ this.model.searchConditionApiTags1 = this.model.tags1[i].searchConditionAction || "";
717
+ this.model.searchDataApiTags1 = this.model.tags1[i].searchDataAction || "";
719
718
  this.model.paramDataTags1 = this.model.tags1[i].paramData || "";
719
+ this.model.appIDTags1 = this.model.tags1[i].appID || "";
720
720
  window.localStorage.setItem("detailtagkey", this.model.tags1[i].appID); //存储
721
721
  }
722
722
  },
@@ -728,12 +728,13 @@ export default {
728
728
  this.dropDownSelected = true;
729
729
  if (dropDownData && dropDownData[i]) {
730
730
  this.listKey = this.listKey + 1;
731
- this.model.searchConditionApiTags1 =
732
- dropDownData[i].searchConditionAction || "";
731
+ this.model.searchConditionApiTags1 = dropDownData[i].searchConditionAction || "";
733
732
  this.model.searchDataApiTags1 = dropDownData[i].searchDataAction || "";
734
733
  this.model.paramDataTags1 = dropDownData[i].paramData || "";
735
- //交换位置
736
- let lastItemIndex = this.showData[0].length - 1;
734
+ this.model.appIDTags1 = dropDownData[i].appID || "";
735
+
736
+ //交换位置
737
+ let lastItemIndex = this.showData[0].length - 1;
737
738
  let lastItem = this.showData[0][lastItemIndex];
738
739
  this.showData[0][lastItemIndex]=col;
739
740
  this.showData[1][index]=lastItem;
@@ -1515,7 +1516,7 @@ export default {
1515
1516
  border-radius: 6px;
1516
1517
  display: flex;
1517
1518
  img {
1518
- width: 50px;
1519
+ width: 37.5px;
1519
1520
  height: 50px;
1520
1521
  margin-right: 6px;
1521
1522
  }
@@ -1561,7 +1562,7 @@ export default {
1561
1562
  display: flex;
1562
1563
  margin-bottom: 16px;
1563
1564
  img {
1564
- width: 50px;
1565
+ width: 37.5px;
1565
1566
  height: 50px;
1566
1567
  margin-right: 10px;
1567
1568
  }
@@ -125,7 +125,7 @@
125
125
  <div slot="label" v-html="col.appName"></div>
126
126
  </el-tab-pane>
127
127
  </el-tabs>
128
- <ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1"
128
+ <ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
129
129
  :key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
130
130
  :searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
131
131
  :flagAppMode="model.flagAppMode"></ct-searchlist>
@@ -266,7 +266,7 @@ export default {
266
266
  });
267
267
  },
268
268
  refreshPage() {
269
- this.refreshKey = this.refreshKey + 1;
269
+ // this.refreshKey = this.refreshKey + 1;
270
270
  this.showIndex = 0;
271
271
  this.setDetailStyle();
272
272
  },
@@ -649,33 +649,33 @@
649
649
  }
650
650
  else {
651
651
  if (field.action.indexOf("http://") === 0 || field.action.indexOf("https://") === 0) {
652
- //var tempwindow = window.open('about:blank');
653
- //tempwindow.location = field.action;
654
- if (field.action.indexOf("?") > -1) {
655
- self.downloadUrl = field.action + "&" + Math.random();
652
+ if(field.action.indexOf(".zip") > -1){
653
+ window.location.href = encodeURI(field.action);
656
654
  }
657
- else {
658
- self.downloadUrl = field.action + "?" + Math.random();
655
+ else{
656
+ if (field.action.indexOf("?") > -1) {
657
+ self.downloadUrl = field.action + "&" + Math.random();
658
+ }
659
+ else {
660
+ self.downloadUrl = field.action + "?" + Math.random();
661
+ }
659
662
  }
660
- // document.body.addEventListener('click', function() {
661
- // window.open(field.action, "_blank");
662
- // });
663
663
  }
664
664
  else {
665
665
  field.doAction(submitData, (data) => {
666
666
  if (data.content) {
667
667
  if (data.content.indexOf("http://") === 0 || data.content.indexOf("https://") === 0) {
668
- //var tempwindow = window.open('about:blank');
669
- //tempwindow.location = data.content;
670
- if (data.content.indexOf("?") > -1) {
671
- self.downloadUrl = data.content + "&" + Math.random();
668
+ if(data.action.indexOf(".zip") > -1){
669
+ window.location.href = encodeURI(data.action);
672
670
  }
673
- else {
674
- self.downloadUrl = data.content + "?" + Math.random();
671
+ else{
672
+ if (data.content.indexOf("?") > -1) {
673
+ self.downloadUrl = data.content + "&" + Math.random();
674
+ }
675
+ else {
676
+ self.downloadUrl = data.content + "?" + Math.random();
677
+ }
675
678
  }
676
- // document.body.addEventListener('click', function() {
677
- // window.open(data.content, "_blank");
678
- // });
679
679
  }
680
680
  else {
681
681
  }
@@ -989,7 +989,7 @@
989
989
  if (f.model && typeof f.validExcute !== 'undefined') {
990
990
  if (!f.validExcute()) {
991
991
  if (i === 0) {
992
- if (f.model.is == "ct-file") {
992
+ if (f.model.is == "ct-file"||f.model.is == "ct-repeat") {
993
993
  self.$message({
994
994
  message: f.validMessage,
995
995
  type: 'error',
@@ -20,6 +20,11 @@
20
20
  @click="viewerfile(photoList, index)"
21
21
  >
22
22
  </el-image>
23
+ <span class="cover-list-item-play" v-if="item.videoPlayIconUrl">
24
+ <div class="swiper-i" @click="viewerfile(photoList, index)" >
25
+ <img :src="item.videoPlayIconUrl" class="hous-icon"/>
26
+ </div>
27
+ </span>
23
28
  <span
24
29
  class="cover-list-item-span-delete"
25
30
  v-if="!model.lock"
@@ -291,6 +296,32 @@ export default {
291
296
  position: sticky;
292
297
  }
293
298
 
299
+
300
+ .ct-photoSelect .cover-list-item-play{
301
+ position: inherit;
302
+ bottom: 50%;
303
+ display: block;
304
+ opacity: 0.8;
305
+ left: 50%;
306
+ }
307
+ .swiper-i {
308
+ position: relative;
309
+ width: 100%;
310
+ height: 100%;
311
+ }
312
+ .swiper-i img {
313
+ width: 100%;
314
+ height: 100%;
315
+ }
316
+ .swiper-i .hous-icon {
317
+ width: 48px;
318
+ height: 48px;
319
+ position: absolute;
320
+ top: 50%;
321
+ left: 50%;
322
+ transform: translate(-50%, -50%);
323
+ }
324
+
294
325
  .ct-photoSelect .cover-list-item-span {
295
326
  position: inherit;
296
327
  bottom: 0px;
@@ -18,6 +18,11 @@
18
18
  :z-index="previewZIndex"
19
19
  @click="viewerfile(imageList, index)">
20
20
  </el-image>
21
+ <span class="cover-list-item-play" v-if="item.videoPlayIconUrl">
22
+ <div class="swiper-i" @click="viewerfile(imageList, index)" >
23
+ <img :src="item.videoPlayIconUrl" class="hous-icon"/>
24
+ </div>
25
+ </span>
21
26
  <span class="cover-list-item-span" v-if="item.mediaLabelName">
22
27
  <span class="el-dropdown-link">
23
28
  &nbsp;{{ item.mediaLabelName }}
@@ -168,6 +173,32 @@
168
173
  .border-danger {
169
174
  border: 1px solid red !important;
170
175
  }
176
+
177
+ .ct-photoSelectList .cover-list-item-play{
178
+ position: inherit;
179
+ bottom: 50%;
180
+ display: block;
181
+ opacity: 0.8;
182
+ left: 50%;
183
+ }
184
+ .swiper-i {
185
+ position: relative;
186
+ width: 100%;
187
+ height: 100%;
188
+ }
189
+ .swiper-i img {
190
+ width: 100%;
191
+ height: 100%;
192
+ }
193
+ .swiper-i .hous-icon {
194
+ width: 48px;
195
+ height: 48px;
196
+ position: absolute;
197
+ top: 50%;
198
+ left: 50%;
199
+ transform: translate(-50%, -50%);
200
+ }
201
+
171
202
  .ct-photoSelectList .cover-list-item-span {
172
203
  position: inherit;
173
204
  bottom: 0px;