centaline-data-driven 1.3.85 → 1.3.86

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.
@@ -1,7 +1,7 @@
1
1
  import base from '../../index';
2
2
  import Base from './Base';
3
3
  import valid from '../../../validate/index';
4
- const T = function (source, inputType, readonly, isPassword) {
4
+ const T = function (source, inputType, readonly, isPassword,moreActionRouter) {
5
5
  var rtn = {
6
6
  get clearable() {
7
7
  if (typeof source.clear === 'undefined'&&!readonly&&!source.locked) {
@@ -51,7 +51,8 @@ const T = function (source, inputType, readonly, isPassword) {
51
51
  }
52
52
  }
53
53
  return false;
54
- }
54
+ },
55
+ moreActionRouter: moreActionRouter,//更多高级查询
55
56
  };
56
57
  rtn = base.copy(Base(source), rtn);
57
58
  rtn = base.copy(rtn, valid.Init(rtn));
@@ -140,8 +140,13 @@ const LibFunction = {
140
140
  item = T(field, "text");
141
141
  item.is = 'ct-text';
142
142
  break;
143
+ case Enum.ControlType.PasswordTextBox: //密码
144
+ item = T(field, "text", false, true);
145
+ item.is = 'ct-text';
146
+ break;
143
147
  case Enum.ControlType.MultiLineText: //多行文本框
144
- item = T(field, "textarea");
148
+ moreActionRouter = LibFunction.getRouter(source.actionRouters, field.moreActionRouterKey);
149
+ item = T(field, "textarea",false,false,moreActionRouter);
145
150
  item.is = 'ct-text';
146
151
  break;
147
152
  case Enum.ControlType.MultiLineLabel: //多行文本框(Label,不可编辑)
@@ -317,10 +322,6 @@ const LibFunction = {
317
322
  item = PhotoSelect(field, files, router, source.parameterAction);
318
323
  item.is = 'ct-photoselect';
319
324
  break;
320
- case Enum.ControlType.PasswordTextBox: //密码
321
- item = T(field, "text", false, true);
322
- item.is = 'ct-text';
323
- break;
324
325
  case Enum.ControlType.RichText: //富文本框
325
326
  var router = {};
326
327
  if (source.actionRouters) {
package/src/main.js CHANGED
@@ -43,7 +43,7 @@ Vue.use(centaline, {
43
43
  getRequestHeaders: function () {
44
44
  return {
45
45
  oldToken: '42ccd644-040d-4e01-9521-1623f1884058',
46
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsOgkAQRf9laiZhdofZHTpdsPEjyLKuCVZGINEY_91HoKP3FKc4zb1PGOceanALuKGVThdwQysdEasjaXGnLiALW_QUPAaWwIemtWHfQAH5foWaRKT0xpEpYIjTL1SqYr9hHvPtmB__OHeZhs_smZWrJIqOTwm5Uot9NAZzjpKskvclwesNAAD__w.0dgRDqA4179wrs7qrDTddwpAVS-L8UlzdVZou2MkS5Q',
46
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOwjAMRe_iuZZw7DhJN0jLwiGqBKVSmRBtJRDi7oBot-684Q1v-f8J45yhBreAG1rpwgJuaKUjkuBIW9wHF1FUGD1Fj1E0yrFpOR4aqKDcr1CTqjIFY7iCIU2_YNj4b5jHcjuVxz_OXabhM2u0BD7vGHtyFqVYxkS9wZzIphQKZZ_g9QYAAP__.NJkufTqRBO1yCwbzBg7qYMLBnQZr-gS8CQwQ_y5vf3k',
47
47
 
48
48
  originalRequestURL: 'http://10.88.22.67:8080',
49
49
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',