centaline-data-driven 1.4.26 → 1.4.27

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.27",
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
  }
@@ -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
@@ -12,9 +12,9 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
15
+ // baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
16
16
  // baseUrl: "http://10.25.10.63:9999/v1/form/router",
17
- // baseUrl: "http://10.88.22.42:9999/v1/form/router",
17
+ baseUrl: "http://10.88.22.42:9999/v1/form/router",
18
18
  // baseUrl: "http://10.88.22.69:8080/api/",
19
19
  // baseUrl: "http://tjcptest.centaline.com.cn/",
20
20
  // flagRouterSelf: true,
@@ -49,8 +49,8 @@ Vue.use(centaline, {
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
  // 请求完成事件,可判断是否登录过期执行响应操作