centaline-data-driven 1.4.88 → 1.4.89

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.88",
3
+ "version": "1.4.89",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -0,0 +1,81 @@
1
+ <template>
2
+ <div id="app-search" style="width:100%;height:100%;position: fixed;">
3
+ <!-- <ct-searchlistTab :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlistTab> -->
4
+
5
+ <!-- <ct-searchlistTab :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlistTab> -->
6
+
7
+ <!-- <ct-searchlistTab :apiParam="para"
8
+ :searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
9
+ :searchDataApi="'/api/third-dept-tran/tran-list'">
10
+ </ct-searchlistTab> -->
11
+
12
+
13
+ <!-- <ct-searchlistTab :apiParam="para"
14
+ :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
15
+ :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
16
+ :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
17
+ :searchStatsApi="'/ProfileWorklistList/getListStats'">
18
+ </ct-searchlistTab> -->
19
+
20
+ <!-- <ct-searchlistTab :apiParam="para"
21
+ :searchConditionApi="'/RightValueList/getLayoutOfSearch'"
22
+ :searchDataApi="'/RightValueList/getListOfSearchModel'">
23
+ </ct-searchlistTab> -->
24
+
25
+ <!-- <ct-searchlistTab
26
+ :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
27
+ :searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'"
28
+ :searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
29
+ </ct-searchlistTab> -->
30
+
31
+ <!-- <ct-searchlistTab :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
32
+ :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
33
+ :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
34
+ :searchStatsApi="'/PropertyRETList/getListStats'">
35
+ </ct-searchlistTab> -->
36
+
37
+ <ct-searchlistTab :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
38
+ :searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
39
+ :searchCategoryApi="'/PropertyOFIList/getLayoutOfSearchCategory'"
40
+ :searchStatsApi="'/PropertyOFIList/getListStats'">
41
+ </ct-searchlistTab>
42
+
43
+ <ct-dialog-list></ct-dialog-list>
44
+ </div>
45
+ </template>
46
+
47
+ <script>
48
+ import Vue from 'vue'
49
+ export default {
50
+ name: 'DataDrivenSearchTab',
51
+ data() {
52
+ return {
53
+ para:{
54
+ chanceID: "1569617379699331072"
55
+ },
56
+ // para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
57
+ // para: {publishID: "1503900718229229568"}
58
+ // para: {paramKey: "PropertyStatusID", code: "002.001", name: "盘源状态", paramName: "盘源状态"}
59
+ }
60
+ },
61
+ mounted() {
62
+ },
63
+ created() {
64
+ //模拟客户端自定义方法
65
+ Vue.prototype.$clientScript = {
66
+ open: function (data) {
67
+ window.open("http://wwww.baidu.com?test1=" + data.vContractID + "&test2=" + data.vReportNo, "_blank");
68
+ }
69
+ }
70
+ },
71
+ }
72
+ </script>
73
+ <style>
74
+ body {
75
+ height:100%;
76
+ overflow:hidden;
77
+ }
78
+ html {
79
+ height:100%;
80
+ }
81
+ </style>
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div id="app-Tree" style="height:100%;position: fixed;width:100%">
3
- <ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'180'"
4
- :searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'"
5
- :searchDataApi="'/SystemParameterCatalogList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
3
+ <ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'280'"
4
+ :searchConditionApi="'/system/menulist/getTreeLayoutOfSearch'"
5
+ :searchDataApi="'/system/menulist/getTreeList'" @loaded="loaded"></ct-treelist>
6
6
  <ct-dialog-list></ct-dialog-list>
7
7
  </div>
8
8
  </template>
@@ -133,6 +133,7 @@
133
133
  display: inline-block;
134
134
  float: left;
135
135
  margin-right: 2px;
136
+ margin-left: -8px;
136
137
  }
137
138
  .max-fold{
138
139
  background: url(../../assets/max-fold.png)no-repeat;
@@ -142,6 +143,7 @@
142
143
  display: inline-block;
143
144
  float: left;
144
145
  margin-right: 2px;
146
+ margin-left: -8px;
145
147
  }
146
148
 
147
149
  .ct-tableParent::-webkit-scrollbar-thumb{
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="field-top">
3
- <div v-if="model !== null" class="ct-checkbox">
3
+ <div v-if="model !== null" class="ct-checkbox checkboxHeight">
4
4
  <div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
5
5
  <div v-if="model.showLabel && model.label" class="el-input-group__prepend line-feed" :class="[model.labelClass]">
6
6
  {{model.label}}
@@ -77,7 +77,7 @@
77
77
  .ct-checkbox .ct-radios .el-checkbox {
78
78
  min-width: 0px;
79
79
  }
80
- .ct-form .ct-checkbox {
80
+ .ct-form .checkboxHeight {
81
81
  height: 1px;
82
82
  min-height: 28px;
83
83
  }
@@ -1594,7 +1594,8 @@ export default {
1594
1594
  align-items: center;
1595
1595
  justify-content: space-between;
1596
1596
  .list-item {
1597
- width: 33.3%;
1597
+ // width: 33.3%;
1598
+ width: 120px;
1598
1599
  height: 62px;
1599
1600
  font-size: 14px;
1600
1601
  text-align: center;
@@ -1628,11 +1629,12 @@ export default {
1628
1629
  flex-flow: column;
1629
1630
  align-items: flex-start;
1630
1631
  border-right: 1px solid #e0e0e0;
1632
+ justify-content: center;
1631
1633
  .i {
1632
- position: absolute;
1633
- top: 50%;
1634
+ // position: absolute;
1635
+ // top: 50%;
1634
1636
  // left: 50%;
1635
- transform: translateY(-50%);
1637
+ // transform: translateY(-50%);
1636
1638
  }
1637
1639
  .t-but {
1638
1640
  font-size: 12px;
@@ -1640,11 +1642,11 @@ export default {
1640
1642
  width: 104px;
1641
1643
  // height: 100%;
1642
1644
  // margin: 12px 16px 0 16px;
1643
- margin-top: 12px;
1645
+ margin-top: 8px;
1644
1646
  padding: 0;
1645
1647
  }
1646
1648
  .t-but:nth-last-child(1) {
1647
- margin-bottom: 12px;
1649
+ margin-bottom: 8px;
1648
1650
  }
1649
1651
  }
1650
1652
  .t-item:nth-last-child(1) {
@@ -1607,7 +1607,8 @@ export default {
1607
1607
  align-items: center;
1608
1608
  justify-content: space-between;
1609
1609
  .list-item {
1610
- width: 33.3%;
1610
+ // width: 33.3%;
1611
+ width:120px;
1611
1612
  height: 62px;
1612
1613
  font-size: 14px;
1613
1614
  text-align: center;
@@ -1641,11 +1642,12 @@ export default {
1641
1642
  flex-flow: column;
1642
1643
  align-items: flex-start;
1643
1644
  border-right: 1px solid #e0e0e0;
1645
+ justify-content: center;
1644
1646
  .i {
1645
- position: absolute;
1646
- top: 50%;
1647
+ // position: absolute;
1648
+ // top: 50%;
1647
1649
  // left: 50%;
1648
- transform: translateY(-50%);
1650
+ // transform: translateY(-50%);
1649
1651
  }
1650
1652
  .t-but {
1651
1653
  font-size: 12px;
@@ -1653,11 +1655,11 @@ export default {
1653
1655
  width: 104px;
1654
1656
  // height: 100%;
1655
1657
  // margin: 12px 16px 0 16px;
1656
- margin-top: 12px;
1658
+ margin-top: 8px;
1657
1659
  padding: 0;
1658
1660
  }
1659
1661
  .t-but:nth-last-child(1) {
1660
- margin-bottom: 12px;
1662
+ margin-bottom: 8px;
1661
1663
  }
1662
1664
  }
1663
1665
  .t-item:nth-last-child(1) {
@@ -37,6 +37,7 @@
37
37
  <div style="padding-left: 20px;padding-right: 20px;">
38
38
  <div ref="title" style="margin-top: 18px;">
39
39
  <div style="font-weight: Bold;font-size: 16px;color: #333333;display: flex;">
40
+ <img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt="" @click="fieldClickHandler(model.actionRouterFavorite, $event)" class="Simplecollection" />
40
41
  <span class="cursorLink" @click="fieldClickHandler(model.actionRouterEstate, $event)">{{model.fields1Dic.EstateName.value}}</span>
41
42
  <span>{{model.fields1Dic.BuildingName.value}}</span>
42
43
  <span>{{model.fields1Dic.RoomNo.value}}</span>
@@ -56,7 +57,7 @@
56
57
  </div>
57
58
  </div>
58
59
  <div v-if="model.fields1Dic.PropertyDepict && model.fields1Dic.PropertyDepict.value !== ''" v-html="model.fields1Dic.PropertyDepict.value"
59
- style="font-weight: bold;font-size: 13px; margin-top: 10px;background: rgb(236, 249, 255); flex: 1;align-items: center;padding: 5px;border-radius: 5px; word-break: break-all;">
60
+ style="font-weight: bold;font-size: 13px; margin-top: 10px;background: rgb(236, 249, 255); flex: 1;align-items: center;padding: 5px;border-radius: 5px; word-break: break-all;">
60
61
  </div>
61
62
  </div>
62
63
  <div v-if="model.flagHiddenSensitiveInfo" style="display: flex;align-items: center;justify-content: center;margin-top: 50%;height: 0px;">
@@ -293,6 +294,9 @@
293
294
  loadBaseInfo() {
294
295
  this.model.loadBaseInfo();
295
296
  },
297
+ loadFavorite() {
298
+ this.model.loadFavorite();
299
+ },
296
300
  loadqrCode() {
297
301
  this.model.loadqrCode();
298
302
  },
@@ -320,7 +324,6 @@
320
324
  if(field == null || field==undefined){
321
325
  return;
322
326
  }
323
-
324
327
  var self = this;
325
328
  self.handleClose();
326
329
  var callBack=null;
@@ -344,6 +347,11 @@
344
347
  });
345
348
  callBack="loadOperation";
346
349
  }
350
+ if (router == undefined && this.model.actionRouterFavorite) {
351
+ if (field.id === this.model.actionRouterFavorite.id) {
352
+ router = this.model.actionRouterFavorite;
353
+ }
354
+ }
347
355
  if (router == undefined && this.model.routerForQRCode) {
348
356
  if (field.id === this.model.routerForQRCode.id) {
349
357
  router = this.model.routerForQRCode;
@@ -374,6 +382,9 @@
374
382
  if(router.id=="PropertyEdit"){
375
383
  callBack="loadBaseInfo"
376
384
  }
385
+ else if (router.id == "Favorite") {
386
+ callBack = "loadFavorite"
387
+ }
377
388
  else if (router.id == "qrCode") {
378
389
  callBack = "loadqrCode"
379
390
  }
@@ -386,6 +397,9 @@
386
397
  else if(callBack=='loadBaseInfo'){
387
398
  this.routerClickHandler(router, submitData, self.loadBaseInfo);
388
399
  }
400
+ else if (callBack == 'loadFavorite') {
401
+ this.routerClickHandler(router, submitData, self.loadFavorite);
402
+ }
389
403
  else if (callBack == 'loadqrCode') {
390
404
  self.loadqrCode();
391
405
  }
@@ -465,7 +479,9 @@
465
479
  callBack();
466
480
  }
467
481
  self.$common.closeDialog(dialogOption.dialog);
468
- self.$emit('simpleRouterclickHandler',field,ev);
482
+ if (field.id != "Favorite") {
483
+ self.$emit('simpleRouterclickHandler', field, ev);
484
+ }
469
485
  }
470
486
  }
471
487
  }]
@@ -493,6 +509,11 @@
493
509
  });
494
510
  });
495
511
  self.$common.closeDialog(dialogOption.dialog);
512
+ },
513
+ closeDialog(ev) {
514
+ if (field.id == "Favorite" && callBack) {
515
+ callBack();
516
+ }
496
517
  }
497
518
  }
498
519
  }]
@@ -677,6 +698,15 @@ color: #fff;
677
698
  .drawerMore .el-icon-close:before {
678
699
  content: "\E6DB";
679
700
  }
701
+ .Simplecollection {
702
+ font-size: 18px;
703
+ margin-right: 10px;
704
+ cursor: pointer;
705
+ vertical-align: -2.85px;
706
+ width: 18px;
707
+ height: 18px;
708
+ margin-top: 2px;
709
+ }
680
710
  </style>
681
711
 
682
712
 
@@ -64,4 +64,7 @@
64
64
  .wb {
65
65
  word-break: break-all;
66
66
  }
67
+ .mazarine{
68
+ color: #541a8b;
69
+ }
67
70
  </style>