centaline-data-driven 1.6.3 → 1.6.4

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.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v1.6.4
2
+ 2024-04-12
3
+
4
+ 优化
5
+
6
+ CheckBox插件:在表单下controlLabel为空时,自动占位对齐
7
+
1
8
  # v1.6.3
2
9
  2024-04-11
3
10
 
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="'/PropertyRET/getLayoutOfEdit'" :apiParam="apiParam" :topHeight="topHeight" :documentHeight="'600px'"></ct-form>
4
+ <ct-form :api="'/Employee/readDetail'" :apiParam="apiParam" :topHeight="topHeight" :documentHeight="'600px'"></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
- chanceID: "10149009", actionType: 3
15
+ rowGUID: "{6A7B0DE3-49A4-4A10-BD53-8B0586B54E28}", actionType: 3
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -6,6 +6,19 @@ const Cb = function (source, callBack) {
6
6
  var self = this;
7
7
  var init = function (data) {
8
8
  var rtn = {
9
+ get label() {
10
+ let l='';
11
+ if(source.controlLabel){
12
+ l=source.controlLabel;
13
+ }
14
+ if(source.labelDelimiter){
15
+ l=l+source.labelDelimiter;
16
+ }
17
+ if(l=='' && !rtn.isList){
18
+ l=' ';
19
+ }
20
+ return l;
21
+ },
9
22
  get value() {
10
23
  return data.code1 === "1";
11
24
  },
@@ -395,6 +395,7 @@ const LibFunction = {
395
395
  item.value = "暂不支持该组件";
396
396
  break;
397
397
  }
398
+ item.isList = isList;
398
399
 
399
400
  if (item instanceof Object) {
400
401
  var item1 = {
package/src/main.js CHANGED
@@ -17,7 +17,7 @@ Vue.use(centaline, {
17
17
  baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
18
18
  // baseUrl: "http://10.88.22.46:6060/onecard-api/",
19
19
  // baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
20
- // baseUrl: "http://10.88.22.13:6060/onecard-api/",
20
+ baseUrl: "http://10.88.22.13:6060/onecard-api/",
21
21
  // baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
22
22
  // baseUrl: "http://10.25.10.63:9999/service-api/",
23
23
  // baseUrl: "http://10.25.10.69:8080/",
@@ -57,7 +57,7 @@ Vue.use(centaline, {
57
57
  return {
58
58
  oldToken: '763fb249-88a4-460e-a5f3-f73421436baf',
59
59
  token:'1080-1762727915918856192',
60
- authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe_iOiv5s_au6RInaThEZIeNFCpEEgmEuDsgoKNnildMM--mlq2onWq51ph6B6mzHrAlD3VPDE1i1o0lhw0P8QP8mC-DMRjJhA7qSAkwoAM2iSFhSNi3nUtNqyoll5PaGTLWB0faV2rO61sgkXuJbZHzXq7_OHdc52dWS_Eu-xGmyBpQpgycRUDYH6wrhWQM6v4AAAD__w.zqngb3rbGwePCOUeU466Z8hvUr-bSk1aW36KpP6gBKw"}',
60
+ authObject: '{token:"1080-1778612338593763328"}',
61
61
 
62
62
  // originalRequestURL: 'http://10.88.22.67:8080',
63
63
  // EstateInfo: '{"estateId":"2403121157406A5CD9C9DDD445A6B665","estateName":"%E4%BA%91%E5%A4%A9%E5%8D%8E%E5%BA%AD-%E6%A5%BC%E4%BB%B7","estDeptPath":"087.002.001"}',
@@ -11047,6 +11047,7 @@ var LibFunction = {
11047
11047
  item.value = "暂不支持该组件";
11048
11048
  break;
11049
11049
  }
11050
+ item.isList = isList;
11050
11051
 
11051
11052
  if (item instanceof Object) {
11052
11053
  var item1 = {
@@ -57563,6 +57564,19 @@ var Cb = function Cb(source, callBack) {
57563
57564
  var self = this;
57564
57565
  var init = function init(data) {
57565
57566
  var rtn = {
57567
+ get label() {
57568
+ var l = '';
57569
+ if (source.controlLabel) {
57570
+ l = source.controlLabel;
57571
+ }
57572
+ if (source.labelDelimiter) {
57573
+ l = l + source.labelDelimiter;
57574
+ }
57575
+ if (l == '' && !rtn.isList) {
57576
+ l = ' ';
57577
+ }
57578
+ return l;
57579
+ },
57566
57580
  get value() {
57567
57581
  return data.code1 === "1";
57568
57582
  },