centaline-data-driven 1.4.20 → 1.4.21

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.20",
3
+ "version": "1.4.21",
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="'/third-dept-tran/transaction/edit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/PropertyTrust/getLayoutOfNewZJJ'" :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
- "originalTraId":"1594610564600369153","actionType":3,"pageStyle":2,"pageTitle":"修改成交单","pageOnly":true
15
+ chanceID: "1569617379699331072", actionType: 2
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -12,8 +12,8 @@
12
12
  </ct-searchlist> -->
13
13
 
14
14
  <ct-searchlist :apiParam="para"
15
- :searchConditionApi="'/PropertyRETList/getLayoutOfSearchForCustomerReqMatch'"
16
- :searchDataApi="'/PropertyRETList/getListOfSearchModel'">
15
+ :searchConditionApi="'/PropertyTrustList/getLayoutOfSearch'"
16
+ :searchDataApi="'/PropertyTrustList/getListOfSearchModel'">
17
17
  </ct-searchlist>
18
18
 
19
19
  <!-- <ct-searchlist
@@ -45,7 +45,7 @@
45
45
  data() {
46
46
  return {
47
47
  para:{
48
- customerReqID:'D113B951-0BF0-428E-BE73-584BAC0D0044'
48
+ chanceID: "1569617379699331072"
49
49
  },
50
50
  // para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
51
51
  // para: {publishID: "1503900718229229568"}
@@ -90,6 +90,7 @@
90
90
  },
91
91
  load(data) {
92
92
  this.model = data;
93
+ this.model.self=this;
93
94
  },
94
95
  changeModel(event) {
95
96
  this.inputHandler(event);
@@ -5,7 +5,7 @@ import Vue from 'vue';
5
5
  import common from '../../../common';
6
6
  import valid from '../../../validate/index';
7
7
  //元数据、附件列表元数据、对应router、下拉框数据api
8
- const box = function (source, fileSourceList, router, optionApi) {
8
+ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl) {
9
9
  var self = this;
10
10
  var init = function (data) {
11
11
  var rtn = {
@@ -29,7 +29,7 @@ const box = function (source, fileSourceList, router, optionApi) {
29
29
  return data.mediaViewPageType;
30
30
  },
31
31
  get videoPlayIconUrl() {
32
- return data.videoPlayIconUrl;
32
+ return videoPlayIconUrl;
33
33
  },
34
34
  _fileList: [],
35
35
  get fileList() {
@@ -96,18 +96,23 @@ const Mo = function (source, moreActionRouter) {
96
96
  });
97
97
  this.text = rtn.defaultText === '' ? [] : JSON.parse(rtn.defaultText);
98
98
  },
99
- //searchObj: {
100
- // get searchValue1() {
101
- // var rtnStr = "";
102
- // rtn.value.forEach((v1, i1) => {
103
- // rtnStr += "'" + v1 + "'";
104
- // if (i1 !== rtn.value.length - 1) {
105
- // rtnStr += ",";
106
- // }
107
- // });
108
- // return rtnStr;
109
- // }
110
- //},
99
+ searchObj: {
100
+ get searchValue1() {
101
+ var rtnStr = "";
102
+ rtn.value.forEach((v1, i1) => {
103
+ if(source.searchDataType && source.searchDataType===2){
104
+ rtnStr += v1;
105
+ }
106
+ else{
107
+ rtnStr += "'" + v1 + "'";
108
+ }
109
+ if (i1 !== rtn.value.length - 1) {
110
+ rtnStr += ",";
111
+ }
112
+ });
113
+ return rtnStr;
114
+ }
115
+ },
111
116
  attrs: {
112
117
  style: {
113
118
  width: '100%'
@@ -309,7 +309,7 @@ const LibFunction = {
309
309
  }
310
310
  })
311
311
  }
312
- item = File(field, files, router, source.parameterAction);
312
+ item = File(field, files, router, source.parameterAction,source.videoPlayIconUrl);
313
313
  item.is = 'ct-file';
314
314
  break;
315
315
  case Enum.ControlType.PhotoSelect: //图片选择
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.eNrEzrEOwjAMBNB_8VxLdWKcpBtNy8JHVIkSpDIh2kogxL-TId2684Ybbrn7wLJF6MBUeBC7yVV4ELuJiJ0hGfHsjEcW1mjJW_Qsni_DqH0_QAP59YCORJxY4ZYbmMNai7Yoxbbk5zW__3Huvs5lNqSgFN0UBiuCnAKhO8WI0eUcI6uUk4bvDwAA__8.7hkTnbfWX2X-x8TQqtnB1Va0K3FyZSL7ajbd0TdZds8',
46
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVbKOmt7nQ6c0HCIyLGNFCqUjwRC3B0QSZeeKaaY5r0nTEsPNdgV3NFG51ZwRxsdETtLpsWDsx7ZcIVCXtCz8Xxq2sofGygg329QkzFOrNhSFzCE-ResU9U3LFMez_nxj3PXefjMqkvUQUeFQVJG7lmjaEeYSgkmMFMsE7zeAAAA__8.ukJUtoKA3fqRkflees-rsM7t4LslfhjU0h3vZfHlOgs',
47
47
 
48
48
  originalRequestURL: 'http://10.88.22.67:8080',
49
49
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',