centaline-data-driven 1.4.26 → 1.4.28

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.26",
3
+ "version": "1.4.28",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
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="'/PropertyTrust/getLayoutOfNewZJJ'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/salemanage/pointcontractbatchadjustform/readDetail'" :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
- chanceID: "1569617379699331072", actionType: 2
15
+ "actionType":2
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -286,7 +286,7 @@ export default {
286
286
  self.colHasWidth[vi] = "nowidth";
287
287
  }
288
288
  });
289
- if (typeof self.model.cellLayout !== "undefined") {
289
+ if (self.model.cellLayout) {
290
290
  self.isLayout = true;
291
291
  }
292
292
  self.isLoading = false;
@@ -640,6 +640,10 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
640
640
  hatchHandle(itemId, attrName, attrValue, item) {
641
641
  switch (attrName) {
642
642
  case 'code1':
643
+ if(item.type===Enum.ControlType.CheckBoxList){
644
+ item._checkedItemArr=item.getCheckedItemArr();
645
+ item.checkedItemArr=item.getCheckedItemArr();
646
+ }
643
647
  rtn.validMrf(item);//验证必填关联组件
644
648
  rtn.hiddenHandle(item, true);
645
649
  rtn.requiredHandle(item);
package/src/main.js CHANGED
@@ -43,14 +43,14 @@ Vue.use(centaline, {
43
43
  getRequestHeaders: function () {
44
44
  return {
45
45
  oldToken: '3f518e5b-85c3-4a3e-9aa2-d476c6e43b75',
46
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZMwu7OzO3S6YOMhiLBrgpURSDTGu6sROnpf8YrX_P-Ece6gAr-AG1ppdQE3tNISsXqSBnfqI7KwxUAxYGSJfKgbG_c1FJDvV6hIfGmDsewKGE7TLxh1-g3zmG_H_PjHucs0fGazpE5sCpjUBORsPQbtCImCc1KaPvVneL0BAAD__w.LezfS_6A9EFEtLVtmP5mNuSXjhOdHIsSR47oATD5KO4',
46
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVbyZ72204ETGg4RJdZaChUiiQRC3B0QSZeeKaaY5r0nTMsANfgV3NFGF1dwRxud1hS95hYP0SckJotBp4CJONGpaW06NlCB3K9Qa_aKyRi2FYz9_AvOufANyyS3szz-ce4yj59ZVdwQhTMykUMSozEEK-iL5NyXXILK8HoDAAD__w.YOI-iTEmC14dJrB5IaET-5FJh3skNcbMOhfukxJPQSw',
47
47
 
48
48
  originalRequestURL: 'http://10.88.22.67:8080',
49
49
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
50
50
  estateId: '20210729104021C49F04B55C50F6AF58',
51
51
 
52
- authObject: '{"currentEstate":{"estateId":"2209201708108B8F50AB530A49EAA858","estateName":"U%E7%89%88%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E7%82%B9%E4%BD%8D"},"platform":1,"OSVersion":"","clientVersion":"","machineCode":""}',
53
- Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImViNGU3NDFlLTYwZjEtNGVlMC04YTZlLWU5NjMwYjcyODU0YyJ9.8MyYlz55w4tL8iRmqQyMrq8DbvYSYkf2h8O5ei8UPghAqX3eQzfH233_D9yzU_qFeesjrw_hh8iq3e8J43CEXg',
52
+ authObject: '{"currentEstate":{"estateId":"046CC756-4FBE-4289-8512-F05975EEF327","estateName":"%E5%8D%8A%E5%B2%9B1%E5%8F%B7"},"platform":1,"OSVersion":"","clientVersion":"","machineCode":""}',
53
+ Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjUyN2ZmMGIwLWEwZjktNDJlMy1iNWM1LTg1MGU2MzNjZDc2NCJ9.H6Th2eEV99mxEgZ91n9_6GidadA_y-piw-Bt-NQj5hDH9VdcspUyrNKm2karo0KxQaxrcrGw7TplzzTw2BCmaw',
54
54
  };
55
55
  },
56
56
  // 请求完成事件,可判断是否登录过期执行响应操作