centaline-data-driven 1.3.22 → 1.3.23

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.3.22",
3
+ "version": "1.3.23",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Form.vue CHANGED
@@ -2,7 +2,7 @@
2
2
  <div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
3
  <!-- <ct-form :api="'/PropertyRET/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
4
4
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
5
- <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form>
5
+ <ct-form :api="'/salemanage/adjust/point/readDetail'" :apiParam="apiParam"></ct-form>
6
6
  <!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
7
7
  <ct-dialog-list></ct-dialog-list>
8
8
  </div>
@@ -14,7 +14,7 @@
14
14
  data() {
15
15
  return {
16
16
  apiParam:{
17
- originalTraId: "1542431606998347777", actionType: 3, pageStyle: 2, pageTitle: "成交报告", pageOnly: true
17
+ adjustID:"220704140952A0156309F316436CAEBA",actionType:3
18
18
  }
19
19
  }
20
20
  },
@@ -8,7 +8,7 @@
8
8
  :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
9
9
  :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'" :apiParam="para"></ct-searchlist> -->
10
10
 
11
- <ct-searchlist :searchConditionApi="'/PropertyWashList/getLayoutOfSearch'" :searchDataApi="'/PropertyWashList/getListOfSearchModel'"></ct-searchlist>
11
+ <ct-searchlist :searchConditionApi="'/PropertyDutyList/getLayoutOfSearch'" :searchDataApi="'/PropertyDutyList/getListOfSearchModel'"></ct-searchlist>
12
12
 
13
13
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
14
14
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
@@ -28,7 +28,7 @@
28
28
  @input="inputHandler(model.currentRow.data[v.id], model.currentRow.data.$sourceIndex)"></component>
29
29
  </span>
30
30
  <span v-else-if="v.is=='ct-sensitiveeye'">
31
- <component v-if ref="Fields" :is="v.is" :vmodel="scope.row[v.id]" :vrowmodel="scope.row" :api="model.OptApi"></component>
31
+ <component ref="Fields" :is="v.is" :vmodel="scope.row[v.id]" :vrowmodel="scope.row" :api="model.OptApi"></component>
32
32
  </span>
33
33
  <!--可点击的列-->
34
34
  <span v-else-if="v.router" :class="'cell'" style="display: flex;">
@@ -17,6 +17,7 @@
17
17
  mixins: [dynamicElement],
18
18
  props: {
19
19
  vmodel: Object,
20
+ rowdata: Object,
20
21
  actionRouter: Array,
21
22
  rowindex: Number,
22
23
  forname: String,
@@ -9,8 +9,10 @@
9
9
  mixins: [dynamicElement],
10
10
  props: {
11
11
  vmodel: Object,
12
+ rowdata: Object,
13
+ actionRouter: Array,
12
14
  rowindex: Number,
13
- forname: String,
15
+ forname: String,
14
16
  forrowindex: String
15
17
  },
16
18
  data() {
@@ -59,7 +59,7 @@ const Base = function (source) {
59
59
  source.code2 = v;
60
60
  },
61
61
  get labelValue() {
62
- if (source.code1)
62
+ if (source.code1!=undefined && source.code1!=null)
63
63
  return source.code1;
64
64
  else
65
65
  return '';
@@ -608,6 +608,9 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
608
608
  for (var vkey in row) {
609
609
  rtn.dataDictionary[row[rtn.primaryKey]][vkey] = row[vkey];
610
610
  }
611
+ for (var vkey in rtn.dataDictionary[row[rtn.primaryKey]]) {
612
+ rtn.dataDictionary[row[rtn.primaryKey]][vkey] = row[vkey]||'';
613
+ }
611
614
  });
612
615
  if (rtn.cellLayout) {
613
616
  rtn.$vue.$set(rtn.listData, rtn.selectIndex, rtn.dataDictionary[searchValue1]);
@@ -631,7 +634,6 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
631
634
  }
632
635
  })
633
636
  .catch((error) => {
634
- console.error(error);
635
637
  if (typeof callback !== 'undefined') {
636
638
  callback();
637
639
  }
package/src/main.js CHANGED
@@ -43,8 +43,8 @@ Vue.use(centaline, {
43
43
  return {
44
44
  oldToken: 'a9e42494-1e0b-4c46-834e-eea096ba2564',
45
45
  originalRequestURL: 'http://10.88.22.67:8080',
46
- EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
47
- Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImVjODhjOTI1LTU3OTktNDVmNy1iNDI3LWI3M2QwNGVkNWM2NSJ9.fyndFOEg4ThBHv4N2pi3pmPaWWlcD1CVPsYu0G5BKAB1hAgkL_GpOMpCZB5xdjMJLbBVomdoUjnRY7T6JSZb-g',
46
+ EstateInfo: ' {"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
47
+ Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjYzMzZiMDJiLTZjOGEtNDIzNC05MGQ5LTliYWI2MTIyNTQzNyJ9.hOxMvGLm03QMPu9C4lgRzkEHC7ECqxJ_L6mfqQRqv39xJ42I8gzSRO-E68vWp-A99ewnxnqvTZ6H_6fOQ9DljQ',
48
48
  };
49
49
  },
50
50
  // 请求完成事件,可判断是否登录过期执行响应操作