centaline-data-driven 1.4.55 → 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.55",
3
+ "version": "1.4.56",
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="'/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
  }
@@ -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/",
@@ -50,8 +50,8 @@ Vue.use(centaline, {
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
  // 请求完成事件,可判断是否登录过期执行响应操作