centaline-data-driven 1.4.29 → 1.4.31

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.4.29",
3
+ "version": "1.4.31",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Detail.vue CHANGED
@@ -10,7 +10,7 @@
10
10
  name: 'DataDrivendetail',
11
11
  data() {
12
12
  return {
13
- apiParam: {actionType: 1,chanceID: "1569558581076955136"} ,
13
+ apiParam: {actionType: 1,chanceID: "1545603758526959616"} ,
14
14
  }
15
15
  },
16
16
  mounted() {
package/src/Form.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
3
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
4
- <ct-form :api="'/salemanage/pointcontractbatchadjustform/readDetail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/PropertyRET/getLayoutOfEdit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
5
  <ct-dialog-list></ct-dialog-list>
6
6
  </div>
7
7
  </template>
@@ -12,7 +12,7 @@
12
12
  data() {
13
13
  return {
14
14
  apiParam:{
15
- "actionType":2
15
+ chanceID: "1602509155166457856", actionType: 3
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -234,7 +234,7 @@
234
234
  <div class="user-title" v-html="m.empNameCN"></div>
235
235
  <div class="user-title" style="margin-left: 10px" v-html="m.commissionPercentDesc"></div>
236
236
  </div>
237
- <div class="user-but w56" v-html="m.commissionRoleName"></div>
237
+ <div class="user-but" v-html="m.commissionRoleName"></div>
238
238
  </div>
239
239
  </div>
240
240
  </div>
@@ -229,7 +229,7 @@
229
229
  <div class="user-title" v-html="m.empNameCN"></div>
230
230
  <div class="user-title" style="margin-left: 10px" v-html="m.commissionPercentDesc"></div>
231
231
  </div>
232
- <div class="user-but w56" v-html="m.commissionRoleName"></div>
232
+ <div class="user-but" v-html="m.commissionRoleName"></div>
233
233
  </div>
234
234
  </div>
235
235
  </div>
@@ -602,7 +602,9 @@ export default {
602
602
  var collapseItemArr = [];
603
603
  var col = 0;
604
604
  var colCount = 4;
605
+ debugger
605
606
  self.model.fields2Dic.forEach((v, index) => {
607
+
606
608
  if (v.type === 13) {
607
609
  collapseItemArr = [];
608
610
  col = 0;
@@ -621,21 +623,30 @@ export default {
621
623
  collapseItemArr.push(v);
622
624
  col = col + v.spanCols;
623
625
  if (col === colCount || index === self.model.fields2Dic.length - 1) {
626
+ debugger
624
627
  self.collapse.push(collapseItemArr);
625
628
  collapseItemArr = [];
626
629
  col = 0;
627
630
  }
631
+ if (index === 6) {
632
+ debugger
633
+ }
634
+ if (index === 7) {
635
+ debugger
636
+ }
628
637
  }
629
638
  else {
630
639
  collapseItemArr.push(v);
631
640
  col = col + 1;
632
641
  if (col === colCount || index === self.model.fields2Dic.length - 1) {
642
+ debugger
633
643
  self.collapse.push(collapseItemArr);
634
644
  collapseItemArr = [];
635
645
  col = 0;
636
646
  }
637
647
  }
638
648
  });
649
+ debugger
639
650
  },
640
651
  loadOperation() {
641
652
  this.model._operationList = null;
@@ -38,10 +38,15 @@
38
38
  <span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
39
39
  <i class="el-icon-delete" @click="handleRemove(file)"></i>
40
40
  </span>
41
- <span class="cover-list-item-play" v-if="file.mediaTypeID==4 && file.videoPlayIconUrl">
41
+ <span class="cover-list-item-play" v-if="file.videoPlayIconUrl">
42
42
  <div class="swiper-i">
43
43
  <img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
44
44
  </div>
45
+ </span>
46
+ <span class="cover-list-item-play" v-else-if="file.mediaTypeID==4 && (file.videoPlayIconUrl||model.videoPlayIconUrl)">
47
+ <div class="swiper-i">
48
+ <img :src="(file.videoPlayIconUrl||model.videoPlayIconUrl)" class="hous-icon" @click="viewerfile(file)"/>
49
+ </div>
45
50
  </span>
46
51
  <span class="cover-list-item-span" v-if="model.lock || model.paramName">
47
52
  <!--锁定-->
@@ -116,11 +121,16 @@
116
121
  <span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
117
122
  <i class="el-icon-delete" @click="handleRemove(file)"></i>
118
123
  </span>
119
- <span class="cover-list-item-play" v-if="file.mediaTypeID==4 && file.videoPlayIconUrl">
124
+ <span class="cover-list-item-play" v-if="file.videoPlayIconUrl">
120
125
  <div class="swiper-i">
121
126
  <img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
122
127
  </div>
123
128
  </span>
129
+ <span class="cover-list-item-play" v-else-if="file.mediaTypeID==4 && (file.videoPlayIconUrl||model.videoPlayIconUrl)">
130
+ <div class="swiper-i">
131
+ <img :src="(file.videoPlayIconUrl||model.videoPlayIconUrl)" class="hous-icon" @click="viewerfile(file)"/>
132
+ </div>
133
+ </span>
124
134
 
125
135
  <span class="cover-list-item-span" v-if="model.lock || model.paramName">
126
136
  <!--锁定-->
@@ -582,8 +592,10 @@
582
592
 
583
593
  .circleCenter {
584
594
  position: absolute;
585
- top: 38px;
586
- left: 32px;
595
+ top: 50%;
596
+ left: 50%;
597
+ margin-top: -11px;
598
+ margin-left: -20px;
587
599
  }
588
600
 
589
601
  .browseDefault .el-radio__input.is-checked .el-radio__inner {
@@ -100,5 +100,6 @@
100
100
  display: -webkit-box;
101
101
  -webkit-box-orient: vertical;
102
102
  -webkit-line-clamp: 1;
103
+ word-break:break-all;
103
104
  }
104
105
  </style>
@@ -15,6 +15,9 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
15
15
  get sourceList() {
16
16
  return fileSourceList;
17
17
  },
18
+ get videoPlayIconUrl() {
19
+ return videoPlayIconUrl;
20
+ },
18
21
  set action(v) {
19
22
  data.action = v;
20
23
  },
@@ -228,7 +231,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
228
231
  return fileSource.fileExtension;
229
232
  },
230
233
  get videoPlayIconUrl() {
231
- return (fileSource.videoPlayIconUrl || videoPlayIconUrl);
234
+ return fileSource.videoPlayIconUrl;
232
235
  },
233
236
  }
234
237
 
@@ -21,6 +21,9 @@ const box = function (source, callBack) {
21
21
  source.clear = v;
22
22
  },
23
23
  get value() {
24
+ if(source.code1 && source.decimals1>-1){
25
+ source.code1 = Number(source.code1).toFixed(source.decimals1);
26
+ }
24
27
  return source.code1;
25
28
  },
26
29
  set value(v) {
@@ -126,9 +126,11 @@ export default {
126
126
  position: relative;
127
127
  }
128
128
 
129
- .circleCenter {
129
+ .circleBox .circleCenter {
130
130
  position: absolute;
131
- top: 55px;
132
- left: 145px;
131
+ top: 50%;
132
+ left: 50%;
133
+ margin-top: -10px;
134
+ margin-left: -15px;
133
135
  }
134
136
  </style>
package/src/main.js CHANGED
@@ -43,7 +43,7 @@ Vue.use(centaline, {
43
43
  getRequestHeaders: function () {
44
44
  return {
45
45
  oldToken: '3f518e5b-85c3-4a3e-9aa2-d476c6e43b75',
46
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjkEKwjAQRe-StQPJzCQz6S41ZuMhSltbqCuxLSji3Y3gHdw-_n__v8y6D6Yx1ErrsxcIyTMwnhg0SwEOmSWrlGPiLhSfEUWApCgcnSVATBnsN0qZYhDbZY5JkQkqompyJ9CWEqBnZSqeo3hzMNPjZhpXCxo9ox7M0m8_YKP9gn2d7ufp-Y9z122ps8JznNUqaBgDsA0RBpQLjLPrXT9EIprN-wMAAP__.OwgXf5vZ8GNH_jZkyqKKWGoITPeGzxrEizwMfYU9dRI',
46
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsKwkAQRf9l6gzsuOM80ukmNn5EyMIKsRJNQBH_XcWkS-8pTnGae59wmzLUoDO4ooXOZ3BFCx0Ru5K0uHNNyMIRjZJhYkl8aNqY9g1UUO4XqEk0uDE5VzD04y-Yq37DdCvXY3n849x5HD6zFEU2JRhmEkPuc8betifM7NGLqXsI8HoDAAD__w.jOAitG_FwNBBh1-Zd0w28DaGuXUjH0YvrTNKuG99tn0',
47
47
 
48
48
  originalRequestURL: 'http://10.88.22.67:8080',
49
49
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',