centaline-data-driven 1.6.65 → 1.6.67

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.65",
3
+ "version": "1.6.67",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,7 +1,22 @@
1
+ # v1.6.67
2
+ 2026-07-20
3
+
4
+ BUG
5
+
6
+ sos父子联动时,清除父的值没有把子的值清除掉bug处理
7
+
8
+ # v1.6.66
9
+ 2026-06-26
10
+
11
+ BUG
12
+
13
+ 深圳Max输入大厦名切到其他tab页签会解析成数字bug处理
14
+
1
15
  # v1.6.65
2
16
  2026-06-10
3
17
 
4
18
  新增
19
+
5
20
  文件预览增加表单右侧预览
6
21
 
7
22
 
@@ -36,7 +36,7 @@
36
36
  data() {
37
37
  return {
38
38
  para:{
39
- chanceID: "1569617379699331072"
39
+ // chanceID: "1569617379699331072"
40
40
  },
41
41
  }
42
42
  },
@@ -66,11 +66,22 @@
66
66
  else {
67
67
  this.model = this.vmodel;
68
68
  }
69
+ this.unwatch=this.$watch('model.value', (n, o) => {
70
+ if (typeof this.model.child !== 'undefined' && this.model.enableRelationFields) {
71
+ for (var item of this.model.child) {
72
+ if(typeof item.reset !== 'undefined'){
73
+ item.reset();
74
+ }
75
+ item.enableRelationFields = this.model.enableRelationFields;
76
+ }
77
+ }
78
+ });
69
79
  this.model.$self=this;
70
80
  },
71
81
  destroyed (){
72
82
  this.model = null;
73
83
  this.$el = null;
84
+ if(this.unwatch)this.unwatch();
74
85
  },
75
86
  computed: {
76
87
  soPlaceholder: {
@@ -27,7 +27,7 @@
27
27
  </el-aside>
28
28
  <el-main ref="displayArea" v-loading="downloadLoading" element-loading-spinner="el-icon-loading"
29
29
  :element-loading-custom-class="'cloading'" style="background-color: white;">
30
- <div v-if="!flagLeft" style="position: absolute; top: 10px; right: 10px;cursor: pointer;color:red"
30
+ <div v-if="!flagLeft" style="position: absolute; top: 10px; left: 10px;cursor: pointer;color:red"
31
31
  @click="closeViewerFile">
32
32
  <i class="el-icon-circle-close" style="font-size: 20px;"></i>
33
33
 
@@ -819,12 +819,20 @@ const SearchScreen = function (source, callBack, screenPara, prevParam) {
819
819
  if(prevParam && typeof item.id !== 'undefined' && rtn.prevParams.includes(item.id) && prevParam[item.id]){
820
820
  if(prevParam[item.id].code1){
821
821
  item.code1=prevParam[item.id].code1;
822
+ if(item.options && item.options.length>0){
823
+ item.options[0].code=prevParam[item.id].code1;
824
+ item.options[0].value=prevParam[item.id].code1;
825
+ }
822
826
  }
823
827
  if(prevParam[item.id].code2){
824
828
  item.code2=prevParam[item.id].code2;
825
829
  }
826
830
  if(prevParam[item.id].name1){
827
831
  item.name1=prevParam[item.id].name1;
832
+ if(item.options && item.options.length>0){
833
+ item.options[0].name=prevParam[item.id].name1;
834
+ item.options[0].label=prevParam[item.id].name1;
835
+ }
828
836
  }
829
837
  }
830
838
 
@@ -8,6 +8,7 @@ const SosNew = function (source, moreActionRouter) {
8
8
  var rtn = {
9
9
  itemKey : Math.random(),
10
10
  options: [{ code: source.code1, name: source.name1, value: source.code1, label: (source.isList && source.placeholder1 && source.displayLabelAfterSelected && source.code1?source.placeholder1 + ":":'')+source.name1 }],
11
+ enableRelationFields: true,
11
12
  get filterable() {
12
13
  return true;
13
14
  },
package/src/main.js CHANGED
@@ -26,7 +26,7 @@ Vue.use(centaline, {
26
26
  // baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
27
27
  // baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
28
28
  // baseUrl: "http://10.88.22.13:7080/ibs-api/",
29
- // baseUrl:"http://szamaxbusiness-api-test2.centaline.com.cn/max-uplink-api/",
29
+ baseUrl:"http://szamaxbusiness-api-test2.centaline.com.cn/max-uplink-api/",
30
30
  // baseUrl: "http://10.88.22.13:7070/onecard-api/",
31
31
  // baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
32
32
  // baseUrl: "http://10.28.21.164:9004/max-uplink-api/",
@@ -73,7 +73,7 @@ Vue.use(centaline, {
73
73
  return {
74
74
  // oldToken: '1094eb9c-0ec7-4fcf-952f-7fc4258ca3b0',
75
75
  // token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
76
- // authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgjAURf-lMy_po4--VzfawuJHkAIlwckIJBrjv4tGN3fPcIeznHtXy9arg4pSawqtgdCUFVDkCuqWBXwQ0b5kQ1469wF-zJcOkRyjbaB2HIAsGRAMAoFsoDY2JvioCpWvZ3VAZtJWI2Gh5rS-hXFs-CW2JV-O-faPc6d13rOlRhxwzDAMsmdzKZD6iSAlU-E4iUPM6vEEAAD__w.sr1i7dlMQsYwupWODh_qZbxtyhBQgcRkng2nBGbSzKE"}',
76
+ authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjkFqQzEMBe_idQSSLFlSdna-vekhQvPrQLoqTQINoXfvL_QO3Q3DwHvPdL2f0j6xLV16IWidMghL3igzIKourY7ejI8xqvqCAszRQIYN8LAMSpErurfe5OgHJEYm0EM1EKsKVUdA7kXM0RZsnHZpfn2kPZmLhmHYLl1eb3-CsPyK-3V-vszHf5x7v122WT3NVWlmCFtxi-UN3CTAz4hU1lLW80zfPwAAAP__.H0p1TgPn4ZzpOr0cxOFwuNyZCyv3I8oJeDftNOLlr0E"}',
77
77
 
78
78
  // originalRequestURL: 'http://10.88.22.67:8080',
79
79
  // EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
@@ -81,7 +81,7 @@ Vue.use(centaline, {
81
81
  // appinfo:'{"appId":"7e4d0521-4e26-4beb-8627-e76977ad8aa5","appName":"CCAI-PLUS"}',
82
82
  // authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjkzNDU5NjFkLWM2NmItNDU0ZS1hMTE4LTUzMWRkMjliZTdmYyJ9.ehMpxkFnyTFlJQ_43SbCTGZZTMFht3isTj3gUKmNoJBWCV5X8ez5Z2AgT7vMBwmmG1FdEHWZTnJhIj0ox86bCA',
83
83
 
84
- AuthObject: '{"currentEstate":{"estateId":"2411211358417B58943C6E954B35BB56","estateName":"%E6%8C%89%E9%83%A8%E5%B0%B1%E7%8F%AD%EF%BC%88zhangtm%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E6%88%90%E4%BA%A4%E6%95%A3%E5%8D%95%EF%BC%89","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"372a227879461e4442bd0d800a0a967a","token":"","random":"fECeUk","time":"2026-06-09 14:19:42","timestamp":1780985982799,"sign":"","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
84
+ // AuthObject: '{"currentEstate":{"estateId":"2411211358417B58943C6E954B35BB56","estateName":"%E6%8C%89%E9%83%A8%E5%B0%B1%E7%8F%AD%EF%BC%88zhangtm%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E6%88%90%E4%BA%A4%E6%95%A3%E5%8D%95%EF%BC%89","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"372a227879461e4442bd0d800a0a967a","token":"","random":"fECeUk","time":"2026-06-09 14:19:42","timestamp":1780985982799,"sign":"","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
85
85
  AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjA5ODgxZmFkLTM1NmYtNGM2My1hN2U1LTQzMTBhZTE2ZmJiNCJ9.KBU4ZwLPJ5jnShy8fSanbjLIcc86XkO1odzkhKCdLYU',
86
86
  };
87
87
  },