centaline-data-driven 1.4.54 → 1.4.56

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.54",
3
+ "version": "1.4.56",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Detail.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="appDetail" style="height:100%;">
3
- <ct-Detail :api="'PropertyOFI/readDetailForBrowse'" :apiParam="apiParam" :pageType="'PropertyDetailOFI'"></ct-Detail>
3
+ <ct-Detail :api="'PropertyRET/readDetailForBrowse'" :apiParam="apiParam" :pageType="'PropertyDetailRET'"></ct-Detail>
4
4
  <ct-dialog-list></ct-dialog-list>
5
5
  </div>
6
6
  </template>
@@ -10,7 +10,7 @@
10
10
  name: 'DataDrivendetail',
11
11
  data() {
12
12
  return {
13
- apiParam: {actionType: 1,chanceID: "1583031531402825728"} ,
13
+ apiParam: {actionType: 1,chanceID: "1603623689855832064"} ,
14
14
  }
15
15
  },
16
16
  mounted() {
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="'/api/third-dept-tran/transaction/edit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/system/menuright/readDetail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
5
  <ct-dialog-list></ct-dialog-list>
6
6
  </div>
7
7
  </template>
@@ -12,21 +12,7 @@
12
12
  data() {
13
13
  return {
14
14
  apiParam:{
15
- actionType
16
- :
17
- "3",
18
- originalTraId
19
- :
20
- "1603271493445812226",
21
- pageOnly
22
- :
23
- "true",
24
- pageStyle
25
- :
26
- "2",
27
- pageTitle
28
- :
29
- "成交报告"
15
+ "searchFields":{"fields":[]},"actionType":2
30
16
  },
31
17
  topHeight:10,
32
18
  }
@@ -85,7 +85,13 @@ export default {
85
85
  },
86
86
  methods: {
87
87
  setPage(item){
88
- this.page=item.page;
88
+ if(item)
89
+ {
90
+ this.page=item.page;
91
+ }
92
+ else{
93
+ this.page='';
94
+ }
89
95
  },
90
96
  init() {
91
97
  var self = this;
@@ -1773,6 +1773,14 @@ export default {
1773
1773
  text-align: center;
1774
1774
  cursor: pointer;
1775
1775
  }
1776
+
1777
+ .table-box .t-item button.el-button.el-button.t-but.el-button--info.max-info.el-button--primary.el-button--mini.is-disabled {
1778
+ cursor: not-allowed;
1779
+ background-image: none;
1780
+ color: #bcbec2;
1781
+ background-color: #f4f4f5;
1782
+ border-color: #e9e9eb;
1783
+ }
1776
1784
  </style>
1777
1785
 
1778
1786
 
@@ -1779,6 +1779,13 @@ export default {
1779
1779
  text-align: center;
1780
1780
  cursor: pointer;
1781
1781
  }
1782
+ .table-box .t-item button.el-button.el-button.t-but.el-button--info.max-info.el-button--primary.el-button--mini.is-disabled {
1783
+ cursor: not-allowed;
1784
+ background-image: none;
1785
+ color: #bcbec2;
1786
+ background-color: #f4f4f5;
1787
+ border-color: #e9e9eb;
1788
+ }
1782
1789
  </style>
1783
1790
 
1784
1791
 
@@ -84,11 +84,20 @@
84
84
  },
85
85
  clearClickHandle: function (event) {
86
86
  this.model.value = '';
87
+ this.model.name1='';
87
88
  this.inputHandler(this.model.value);
88
89
  this.changeHandler(this.model.value);
89
90
  if(this.model.autoSearch) this.$emit('click');
90
91
  },
91
92
  changeHandler1: function (event) {
93
+ var self=this;
94
+ if(this.model.value){
95
+ this.model.segmentValue.forEach((v) => {
96
+ if(self.model.value===v.code){
97
+ self.model.name1=v.name;
98
+ }
99
+ });
100
+ }
92
101
  this.inputHandler(this.model.value);
93
102
  this.changeHandler(this.model.value);
94
103
  if(this.model.autoSearch) this.$emit('click');
@@ -85,6 +85,12 @@ const Base = function (source) {
85
85
  set labelValue(v) {
86
86
  source.code1 = v;
87
87
  },
88
+ get name1() {
89
+ return source.name1;
90
+ },
91
+ set name1(v) {
92
+ source.name1 = v;
93
+ },
88
94
  defaultValue: source.defaultCode1 || '',
89
95
  defaultValue1: source.defaultCode2 || '',
90
96
  defaultValue2: source.defaultCode3 || '',
package/src/main.js CHANGED
@@ -13,7 +13,7 @@ Vue.use(ElementUI, { size: 'mini'});
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
15
  baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
16
- // baseUrl: "http://10.25.10.63:9999/v1/form/router",
16
+ baseUrl: "http://10.25.10.63:9999/v1/form/router",
17
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://10.88.22.40:8080/api/",
@@ -44,14 +44,14 @@ Vue.use(centaline, {
44
44
  getRequestHeaders: function () {
45
45
  return {
46
46
  oldToken: '3ba3f510-93fd-4103-9249-73c13f3f6fc2',
47
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZPszM7O7tLpgo2HIIBbYGUEEo3x7qKBjt5XvOI3_71gnDsowa_gjjaauII72miIJHrSGg_RJxQVi4FSwCSa5FTVNh0rKCA_blCSejU-GCMFDO30G1yMpN9hHvP9nJ__iLtOw3Lr7IU5c4_kiFCIGVtjLPY-LM22Y1WF9wcAAP__.eWf2KJjaC0teXRA2tUQkb9AgwMfxwnxTyV1RX0bMj_k',
47
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgkAQRP9lazZhb9e9Wzo9sPEjCJ6QYGUEEo3x38UIHb2vmGReM_OCYTpDAX4BN2KltgXciJWaSMyTVrg3H1FUGAPFgFE0yrGsOB5KyKB93KAg9crqWDWDvhl_wvmdfcU0tPdT-_zHuevYz7POMRHnHTZdYJQgOQZLhEkvJnO13Cd4fwAAAP__.ZcU7DcrdnOJOI8uvg7C4vmkNyMWpO44tMwKK4jf2ERI',
48
48
 
49
49
  originalRequestURL: 'http://10.88.22.67:8080',
50
50
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
51
51
  estateId: '20210729104021C49F04B55C50F6AF58',
52
52
 
53
- authObject: '{"currentEstate":{"estateId":"046CC756-4FBE-4289-8512-F05975EEF327","estateName":"%E5%8D%8A%E5%B2%9B1%E5%8F%B7"},"platform":1,"OSVersion":"","clientVersion":"","machineCode":""}',
54
- Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjUyN2ZmMGIwLWEwZjktNDJlMy1iNWM1LTg1MGU2MzNjZDc2NCJ9.H6Th2eEV99mxEgZ91n9_6GidadA_y-piw-Bt-NQj5hDH9VdcspUyrNKm2karo0KxQaxrcrGw7TplzzTw2BCmaw',
53
+ authObject: '{"currentEstate":{"estateId":"20170524095458338E35F467429530B4","estateName":"A%E5%AE%89%E5%B3%A6%E5%85%AC%E9%A6%86"},"platform":1,"OSVersion":"","clientVersion":"","machineCode":"bb71c2cdc14b4e186f76e41cb67881c4","token":"","random":"tZ45b9","time":1676355606718,"sign":"0509bb7ae0184c9262ff50ff40f03cfd"}',
54
+ Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImY5NmZkZTBiLTQyYWEtNGJhZS04YWUwLWQ5OTBkM2Q2NTQ3OSJ9.0Nq41IzMfnDrYNaW85csIB7ra35DqsUBuHtqVTr5Wcwg1bNm_td-KO-_g2geYm8MuERiQhDq3uC-fOB95vUPrQ',
55
55
  };
56
56
  },
57
57
  // 请求完成事件,可判断是否登录过期执行响应操作