centaline-data-driven 1.6.44 → 1.6.45

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.
@@ -2,6 +2,7 @@ import base from '../../../index';
2
2
  import Enum from './Enum';
3
3
  import Gp from '../Gp';
4
4
  import Sos from '../Sos';
5
+ import SosNew from '../SosNew';
5
6
  import SosTt from '../SosTt';
6
7
  import Iti from '../Iti';
7
8
  import So from '../So';
@@ -9,6 +10,7 @@ import ComboBoxWithTextBox from '../ComboBoxWithTextBox';
9
10
  import T from '../T';
10
11
  import L from '../L';
11
12
  import Tags from '../Tags';
13
+ import TagsNew from '../TagsNew';
12
14
  import Button from '../Button';
13
15
  import Mo from '../Mo';
14
16
  import Seg from '../Seg';
@@ -126,8 +128,10 @@ const LibFunction = {
126
128
  break;
127
129
  case Enum.ControlType.SearchListBox: //搜索下拉框
128
130
  moreActionRouter = LibFunction.getRouter(source.actionRouters, field.moreActionRouterKey);
129
- item = Sos(field, moreActionRouter);
130
- item.is = 'ct-sos';
131
+ // item = Sos(field, moreActionRouter);
132
+ // item.is = 'ct-sos';
133
+ item = SosNew(field, moreActionRouter);
134
+ item.is = 'ct-sosNew';
131
135
  break;
132
136
  case Enum.ControlType.NumericRange://数字区间
133
137
  item = Iti(field);
@@ -158,13 +162,15 @@ const LibFunction = {
158
162
  break;
159
163
  case Enum.ControlType.MultiSelectWithSearch: //带搜索多选
160
164
  moreActionRouter = LibFunction.getRouter(source.actionRouters, field.moreActionRouterKey);
161
- item = Tags(field, moreActionRouter);
165
+ // item = Tags(field, moreActionRouter);
166
+ item = TagsNew(field, moreActionRouter);
162
167
  item = base.copy(item, {
163
168
  attrs: {
164
169
  collapseTags: true
165
170
  }
166
171
  });
167
- item.is = 'ct-tags';
172
+ // item.is = 'ct-tags';
173
+ item.is = 'ct-tagsNew';
168
174
  break;
169
175
  case Enum.ControlType.MultiSelectNoSearch: //不带搜索多选
170
176
  moreActionRouter = LibFunction.getRouter(source.actionRouters, field.moreActionRouterKey);
@@ -49,6 +49,8 @@ const loader = {
49
49
  AppContainer: require("./ctl/AppContainer.js").default,
50
50
  Steps: require("./ctl/Steps.js").default,
51
51
  Location: require("./ctl/Location.js").default,
52
+ SosNew: require("./ctl/SosNew.js").default,
53
+ TagsNew: require("./ctl/TagsNew.js").default,
52
54
  };
53
55
 
54
56
  export default loader;
package/src/main.js CHANGED
@@ -21,7 +21,7 @@ Vue.use(centaline, {
21
21
  // baseUrl: "http://10.88.22.46:22324/service-api/v1/form/router",
22
22
  // baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
23
23
  // baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
24
- // baseUrl:"http://szamax-api.centaline.com.cn/max-uplink-api/",
24
+ // baseUrl:"http://szamaxbusiness-api-test2.centaline.com.cn/max-uplink-api/",
25
25
  // baseUrl: "http://10.88.22.13:6060/onecard-api/",
26
26
  // baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
27
27
  // baseUrl: "http://10.28.21.164:9004/max-uplink-api/",
@@ -69,14 +69,14 @@ Vue.use(centaline, {
69
69
  return {
70
70
  oldToken: 'c827efdb-95fd-4b50-9b65-4e3f736acb53',
71
71
  token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
72
- // authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjktqAzEQBe-itRv6Oy15J3mkTQ5hxnEPOKsQ25AQcveIXCK7R_Gg6jvdn5d0TOxr174QtE4CyipzCQOi2drq6M35XEa1vKICc2mgwwfk4gJGRSrm3HrTcz4hMTKBnaqDejWoNgpIX9Qz-oqN0yHF53s6kouhEGU9pNv2-ANadP4meN7j4yW-_iPu7XGbWovd46oIsV9tatEgRwmg14V1l4tssaWfXwAAAP__.sF1LYLtwnVq8_fFcoq7FA9hy44G1H7SMCYBmZqeKnLY"}',
72
+ // authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjkluAjEQAP_iMy315ulubjZjX_IIxGSMBCfEIoGi_D1EeURupbpUfaXbY0nbxDY3bRNBbSSgrPImYUDMea6lt2q8j16yz6jAHBW0WwcPE8gUUtC9tqp73yExMkHeFQO1kqHkHiBtUnO0GSunTRrPS9qSaUxM4rpJp8P9T2TR-BWP27h-jNd_zJ3vp3fWjI1kXSHiM0BXDFgGLXDU42FycedlpO8fAAAA__8.ivEDjo_ZDzbRbY8bF3PeEQaGhl5uvrVbVDPjq9iYHb4"}',
73
73
 
74
74
  // originalRequestURL: 'http://10.88.22.67:8080',
75
75
  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"}',
76
76
  estateId: '',
77
77
 
78
- authObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"7Y0R7s","time":1747898817322,"sign":"1504b27c1f85894e7455899feb027859","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":"%E6%9C%AA%E5%8C%B9%E9%85%8DCCHR%E4%B8%ADHROC%E9%83%A8%E9%97%A8%2F%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
79
- AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImEyNzAwZjdkLThiNmUtNDlmNS1iMzRhLTYzODcxOTYxZDc3MiJ9.6sBUgoPllhuhBcLespy8OuTj63cvTgJLEw6tRdmqTLi2A9xVyTyYTv_0HILD5AW6mqfzZOO8NhY6DKNOTusUvA',
78
+ authObject: '{"currentEstate":{"estateId":"241112160400DF3DC1EB63A14A1DBBF4","estateName":"%E6%B5%8B%E8%AF%95%E6%8C%89%E7%82%B9%E4%BD%8Dhq","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"6TnEgk","time":1749115399017,"sign":"3a50eb5f08b7bd75b2e7c99f32fa220e","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":"%E6%9C%AA%E5%8C%B9%E9%85%8DCCHR%E4%B8%ADHROC%E9%83%A8%E9%97%A8%2F%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
79
+ AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijk1MTQzOWNmLTUxMjYtNDM3YS05MTExLTM5ZTMxODY1OWJhZCJ9.6yzNpqAO7IEh475irKcGJB26wKMYx_7v-IgWVHMSUxBj_SVhxkLi_E3T3FYE2FWJbBCWOP-esYBOPVienB9kuA',
80
80
  };
81
81
  },
82
82
  // 请求完成事件,可判断是否登录过期执行响应操作