centaline-data-driven 1.2.83 → 1.2.86

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.2.83",
3
+ "version": "1.2.86",
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="'/example/readDetail'" :apiParam="apiParam"></ct-form>
5
+ <ct-form :api="'/api/finance/refund-apply/refundApplyView'" :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>
@@ -18,7 +18,12 @@
18
18
  // apiParam: {originalTraId: "1475658732246241281", actionType: 2, chanceID: "1"} ,
19
19
  // apiParam: {originalTraId: "1516290587463507969", actionType: "3", pageStyle: "2", pageTitle: "成交报告",pageOnly: "true"}
20
20
  apiParam:{
21
- actionType: 2,
21
+ actionType: 1,
22
+ originalTraId: "1491279498301755394",
23
+ pageOnly: true,
24
+ pageStyle: 2,
25
+ pageTitle: "放款申请查看",
26
+ paymentId: "1524305327414583297"
22
27
  }
23
28
  }
24
29
  },
@@ -4,14 +4,14 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <ct-searchlist :searchConditionApi="'/api/distribution/agentRelationProperty/getLayoutOfSearch'"
8
- :searchDataApi="'/api/distribution/agentRelationProperty/list'" :apiParam="para"></ct-searchlist>
7
+ <!-- <ct-searchlist :searchConditionApi="'/SystemParameterList/getLayoutOfSearch'"
8
+ :searchDataApi="'/SystemParameterList/getListOfSearchModel'" :apiParam="para"></ct-searchlist> -->
9
9
 
10
- <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
10
+ <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
11
11
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
12
12
  :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
13
13
  :searchStatsApi="'/exampleList/getListStats'"
14
- ></ct-searchlist> -->
14
+ ></ct-searchlist>
15
15
 
16
16
  <!--<ct-searchlist :searchConditionApi="'/api/invoice-info/search-condition'" :searchDataApi="'/api/invoice-info/list'" :searchDataStatisticsApi="'api/ContractList/GetLayoutOfStatisticsTool'" :apiParam="para"></ct-searchlist>-->
17
17
  <!-- <ct-searchlist :searchConditionApi="'/PropertyStatusList/getLayoutOfSearch'" :searchDataApi="'/PropertyStatusList/getListOfSearchModel'" :apiParam="para"></ct-searchlist> -->
@@ -26,11 +26,6 @@
26
26
  data() {
27
27
  return {
28
28
  para:{
29
- agentId: "1491335181504401409",
30
- delegateType: "1",
31
- estateId: "18721",
32
- estateName: "凯旋路1798号"
33
-
34
29
  },
35
30
  // para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
36
31
  // para: {publishID: "1503900718229229568"}
@@ -67,8 +67,11 @@
67
67
  </component>
68
68
  </div>
69
69
  <span :slot="showIndex>0?'reference':''" class="more" style="margin-left: 10px;"></span>
70
- </el-popover>
70
+ </el-popover>
71
71
  </div>
72
+ <!-- <div ref="shortcutFollow" v-if="model.shortcutFollowForm!==undefined && model.shortcutFollowForm!==null" style="margin-top: 16px;">
73
+ <ct-form :source="model.shortcutFollowForm"></ct-form>
74
+ </div> -->
72
75
  <div class="tablist-info base-box">
73
76
  <div class="details-tabs-box">
74
77
  <el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
@@ -90,11 +93,13 @@
90
93
  <script>
91
94
  import dynamicElement from '../../mixins/dynamicElement';
92
95
  import dynamicContact from '../../dynamicContact/src/dynamicContact.vue';
96
+ import dynamicForm from '../../dynamicForm/src/dynamicForm.vue';
93
97
  export default {
94
98
  name: 'ct-PropertySimpleDetailRET',
95
99
  mixins: [dynamicElement],
96
100
  components: {
97
101
  'ct-contact': dynamicContact,
102
+ 'ct-form': dynamicForm,
98
103
  },
99
104
  props: {
100
105
  vmodel: Object,
@@ -32,7 +32,7 @@
32
32
  </span>
33
33
  <!--可点击的列-->
34
34
  <span v-else-if="v.router" :class="'cell'" style="display: flex;">
35
- <ct-tablecurrency :router="v.router" :colValue="scope.row[v.id].label" :rowData="scope.row"
35
+ <ct-tablecurrency :router="v.router" :colValue="scope.row[v.id].code1" :rowData="scope.row"
36
36
  @click="rolRouterClickHandler">
37
37
  </ct-tablecurrency>
38
38
  </span>
@@ -52,7 +52,7 @@
52
52
  <span v-else-if="scope.row.isSet" class="el-tag el-tag--mini" style="cursor: pointer;" @click="saveRow(scope.row,scope.$index,false)">
53
53
  取消
54
54
  </span>
55
- <span v-for="(v,i) in model.buttons" v-if="!scope.row.isSet" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="buttonClick(scope.row, v)">
55
+ <span v-for="(v,i) in model.buttons" v-if="!scope.row.isSet && v.show" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="buttonClick(scope.row, v)">
56
56
  {{v.label}}
57
57
  </span>
58
58
  </template>
@@ -294,7 +294,7 @@
294
294
 
295
295
  var submitData = {};
296
296
  field.submitListField.forEach((k) => {
297
- submitData[k] = rowData[k];
297
+ submitData[k] = rowData[k].value;
298
298
  });
299
299
 
300
300
  this.$emit('tableButtonClick', field, submitData);
@@ -32,7 +32,7 @@ const Detail = function (source,para ,callBack) {
32
32
  _commissionList:null,
33
33
  get title() {
34
34
  return data.title;
35
- },
35
+ },
36
36
  get fields1() {
37
37
  return data.fields1;
38
38
  },
@@ -370,6 +370,9 @@ const Detail = function (source,para ,callBack) {
370
370
  }
371
371
  return rtn._commissionList;
372
372
  },
373
+ get shortcutFollowForm() {
374
+ return rtn.shortcutFollowForm;
375
+ },
373
376
  doAction(response,field) {
374
377
  if (response.responseData) {
375
378
  response = response.responseData;
@@ -609,7 +609,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
609
609
  rtn.dataDictionary[row[rtn.primaryKey]][vkey] = row[vkey];
610
610
  }
611
611
  });
612
- if (rtn.cellLayout != "") {
612
+ if (rtn.cellLayout) {
613
613
  rtn.$vue.$set(rtn.listData, rtn.selectIndex, rtn.dataDictionary[searchValue1]);
614
614
  }
615
615
  }
@@ -764,7 +764,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
764
764
  }
765
765
 
766
766
  source.page.rows = source.page.rows - deleteRow.length;
767
- if (rtn.cellLayout != "") {
767
+ if (rtn.cellLayout) {
768
768
  rtn.$vue.$delete(rtn.listData, rtn.selectIndex);
769
769
  }
770
770
  break;
package/src/main.js CHANGED
@@ -39,7 +39,7 @@ Vue.use(centaline, {
39
39
  // 获取请求头
40
40
  getRequestHeaders: function () {
41
41
  return {
42
- oldToken: 'd1963e4f-7ca7-4a39-b576-3b48f6a1ef0d',
42
+ oldToken: '5c3b43fb-5051-40e0-b9dc-577f37767af0',
43
43
  originalRequestURL: 'http://10.88.22.67:8080',
44
44
  EstateInfo: ' {"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"undefined"}',
45
45
  Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijk4NGM0ZjJlLTRhNTgtNDM4YS1iNjkxLWQyMTI4ZjdlYjNlMyJ9.nxO4kEXzIM2RJTXuX_AOoctKFvBiTZUEwHTu1YSFMn8JBjM9p-RK31ZB8ckJvlwgjiDGdbuGt1QOZRRP9KS3qQ',