centaline-data-driven 1.3.17 → 1.3.20

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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/src/Detail.vue +1 -1
  3. package/src/Form.vue +2 -2
  4. package/src/centaline/api/index.js +1 -1
  5. package/src/centaline/common/index.js +24 -1
  6. package/src/centaline/css/common.css +15 -2
  7. package/src/centaline/dynamicBtn/src/dynamicBtn.vue +8 -0
  8. package/src/centaline/dynamicDetail/src/dynamicContactList.vue +4 -0
  9. package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +59 -79
  10. package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +13 -2
  11. package/src/centaline/dynamicFile/src/dynamicFile.vue +25 -73
  12. package/src/centaline/dynamicForm/src/dynamicForm.vue +19 -14
  13. package/src/centaline/dynamicLayout/src/dynamicLayout.vue +5 -2
  14. package/src/centaline/dynamicLayout/src/dynamicLayoutChildren.vue +9 -3
  15. package/src/centaline/dynamicLayout/src/dynamicLayoutChildrenFor.vue +7 -2
  16. package/src/centaline/dynamicLayout/src/dynamicLayoutImage.vue +13 -2
  17. package/src/centaline/dynamicLayout/src/dynamicLayoutLabel.vue +7 -2
  18. package/src/centaline/dynamicLayout/src/dynamicLayoutLine.vue +4 -1
  19. package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +26 -0
  20. package/src/centaline/loader/src/ctl/CellLayout.js +13 -1
  21. package/src/centaline/loader/src/ctl/Contact.js +1 -1
  22. package/src/centaline/loader/src/ctl/ContactList.js +1 -1
  23. package/src/centaline/loader/src/ctl/Detail.js +22 -0
  24. package/src/centaline/loader/src/ctl/File.js +5 -3
  25. package/src/centaline/loader/src/ctl/SearchTable.js +1 -1
  26. package/src/centaline/quickInputSos/src/quickInput.vue +19 -30
  27. package/src/main.js +5 -3
  28. package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
  29. package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
@@ -10,9 +10,9 @@
10
10
  <!--头部元素-->
11
11
  <el-row v-if="collapseFieldsRow.length > 0">
12
12
  <el-col v-for="(col, index) in collapseFieldsRow[0]" :key="index" v-if="col.show !== false" :span="col.colspan" style="padding:5px">
13
- <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" v-bind="col.bindPara" :fileData="getFileData(col)" :from="'form'"
13
+ <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara" :fileData="getFileData(col)" :from="'form'"
14
14
  @click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)" @enter="enterHandler(col,$event)"
15
- @input="inputHandler(col,$event)"
15
+ @input="inputHandler(col,$event)" @importComplete="importComplete"
16
16
  @popupSearchList="popupSearchListHandler"
17
17
  @tableButtonClick="clickHandler"></component>
18
18
  </el-col>
@@ -24,7 +24,7 @@
24
24
  v-for="(item, index) in collapse" v-if="item.show !== false" :key="index">
25
25
  <el-row>
26
26
  <el-col v-for="(col, index) in collapseFieldsRow[index + 1]" :key="index" :span="col.colspan" v-if="col.show !== false" style="padding:5px">
27
- <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara" :fileData="getFileData(col)"
27
+ <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara" :fileData="getFileData(col)" :from="'form'"
28
28
  @click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)" @enter="enterHandler(col,$event)"
29
29
  @input="inputHandler(col,$event)" @importComplete="importComplete"
30
30
  @popupSearchList="popupSearchListHandler"
@@ -56,9 +56,9 @@
56
56
  <!--尾部元素-->
57
57
  <el-row v-if="independentItem.length > 0" style="margin-top: 20px;">
58
58
  <el-col v-for="(col, index) in independentItem" :key="index" v-if="col.show !== false" :span="col.colspan" style="padding:5px">
59
- <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" v-bind="col.bindPara" :fileData="getFileData(col)"
59
+ <component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara" :fileData="getFileData(col)" :from="'form'"
60
60
  @click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)"
61
- @input="inputHandler(col,$event)"
61
+ @input="inputHandler(col,$event)" @importComplete="importComplete"
62
62
  @popupSearchList="popupSearchListHandler"
63
63
  @tableButtonClick="clickHandler"></component>
64
64
  </el-col>
@@ -428,7 +428,7 @@
428
428
  submitData = {};
429
429
  var tempFormData = self.model.getFormObj();
430
430
  field.submitFormField.forEach((v) => {
431
- submitData[v] = tempFormData[v];
431
+ submitData[v] = self.$common.getDataOfUpperLower(tempFormData,v);
432
432
  });
433
433
  }
434
434
  submitData = field.getActionPara(submitData).para;
@@ -539,7 +539,7 @@
539
539
  var check = true;
540
540
  var checkMsg;
541
541
  router.submitFormField.forEach((v) => {
542
- submitData[v] = tempFormData[v];
542
+ submitData[v] = self.$common.getDataOfUpperLower(tempFormData,v);
543
543
  if (typeof tempFormData[v] === "undefined") {
544
544
  if (self.model.fieldsDic[v]) {
545
545
  checkMsg = "请先录入" + self.model.fieldsDic[v].label;
@@ -595,7 +595,17 @@
595
595
  self.$message.error(f.validMessage);
596
596
  }
597
597
  else{
598
- self.$message.error('【'+f.model.label+'】不能为空!');
598
+ if(f.validMessage){
599
+ if(f.validMessage=='必填'){
600
+ self.$message.error('【'+f.model.label+'】'+f.validMessage);
601
+ }
602
+ else{
603
+ self.$message.error(f.validMessage);
604
+ }
605
+ }
606
+ else{
607
+ self.$message.error('【'+f.model.label+'】不能为空!');
608
+ }
599
609
  }
600
610
  }
601
611
  i++;
@@ -671,12 +681,7 @@
671
681
  else{
672
682
  if(field.submitFormField){
673
683
  field.submitFormField.forEach((v) => {
674
- if(tempFormData[v]){
675
- submitData[v] = tempFormData[v];
676
- }
677
- else{
678
- submitData[v] = tempFormData[self.$common.initialsToUpperCase(v)];
679
- }
684
+ submitData[v] = self.$common.getDataOfUpperLower(tempFormData,v);
680
685
  });
681
686
  }
682
687
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div v-loading="loading" class="ct-Layout" v-if="Layout !== null && !loading">
3
- <ct-layoutchildren :rowindex="rowindex" :vmodel="Layout" @click="clickHandler"></ct-layoutchildren>
3
+ <ct-layoutchildren :rowindex="rowindex" :actionRouter="actionRouter" :rowdata="vmodel" :vmodel="Layout" @click="clickHandler"></ct-layoutchildren>
4
4
  </div>
5
5
  </template>
6
6
  <script>
@@ -225,7 +225,10 @@
225
225
  },
226
226
  mounted() {
227
227
 
228
- }
228
+ },
229
+ beforeDestroy() {
230
+ this.Layout = [];
231
+ },
229
232
  }
230
233
  </script>
231
234
  <style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-container v-if="model.visibility!='0'" :direction="model.orientation" :style="model.styleObject" ref="layoutchildren">
3
- <component v-for="(item, index) in model.fields" :key="index" :is="item.is" :vmodel="item" :rowindex="rowindex" :forname="forname" :forrowindex="forrowindex" @click="clickHandler"></component>
3
+ <component v-for="(item, index) in model.fields" :actionRouter="actionRouter" :rowdata="rowdata" :key="index" :is="item.is" :vmodel="item" :rowindex="rowindex" :forname="forname" :forrowindex="forrowindex" @click="clickHandler"></component>
4
4
  </el-container>
5
5
  </template>
6
6
  <script>
@@ -20,9 +20,12 @@
20
20
  },
21
21
  props: {
22
22
  vmodel: Object,
23
+ rowdata: Object,
24
+ actionRouter: Array,
23
25
  rowindex: Number,
24
26
  forname: String,
25
- forrowindex: String
27
+ forrowindex: String,
28
+
26
29
  },
27
30
  data() {
28
31
  return {
@@ -39,7 +42,10 @@
39
42
  },
40
43
  mounted() {
41
44
 
42
- }
45
+ },
46
+ beforeDestroy() {
47
+ this.model = {};
48
+ },
43
49
  }
44
50
  </script>
45
51
  <style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-container v-if="model.visibility!='0'" :direction="model.orientation" :style="model.styleObject">
3
- <ct-layoutchildren v-for="(item, index) in model.fields" :key="index" :rowindex="rowindex" :forrowindex="model.forrowindex" :vmodel="item" :forname="model.forname" @click="clickHandler"></ct-layoutchildren>
3
+ <ct-layoutchildren v-for="(item, index) in model.fields" :rowdata="rowdata" :actionRouter="actionRouter" :key="index" :rowindex="rowindex" :forrowindex="model.forrowindex" :vmodel="item" :forname="model.forname" @click="clickHandler"></ct-layoutchildren>
4
4
  </el-container>
5
5
  </template>
6
6
  <script>
@@ -13,6 +13,8 @@
13
13
  },
14
14
  props: {
15
15
  vmodel: Object,
16
+ rowdata: Object,
17
+ actionRouter: Array,
16
18
  rowindex: Number
17
19
  },
18
20
  data() {
@@ -31,7 +33,10 @@
31
33
  },
32
34
  mounted() {
33
35
 
34
- }
36
+ },
37
+ beforeDestroy() {
38
+ this.model = {};
39
+ },
35
40
  }
36
41
  </script>
37
42
  <style>
@@ -24,6 +24,8 @@
24
24
  mixins: [dynamicElement],
25
25
  props: {
26
26
  vmodel: Object,
27
+ rowdata: Object,
28
+ actionRouter: Array,
27
29
  rowindex: Number,
28
30
  forname: String,
29
31
  forrowindex: String
@@ -47,7 +49,7 @@
47
49
  },
48
50
  created() {
49
51
  if (typeof this.vmodel !== 'undefined') {
50
- this.model = this.loaderObj.CellLayout(this.vmodel);
52
+ this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
51
53
  }
52
54
  },
53
55
 
@@ -80,9 +82,18 @@
80
82
  if (data.content.imgUrl) this.tellImgUrl = data.content.imgUrl;
81
83
  }
82
84
  },
85
+ closeCallTel() {
86
+ if (this.visible) {
87
+ this.visible = false;
88
+ this.tellImgUrl = '';
89
+ }
90
+ },
83
91
  },
84
92
  computed: {
85
93
 
86
- }
94
+ },
95
+ beforeDestroy() {
96
+ this.model = {};
97
+ },
87
98
  }
88
99
  </script>
@@ -17,6 +17,7 @@
17
17
  mixins: [dynamicElement],
18
18
  props: {
19
19
  vmodel: Object,
20
+ actionRouter: Array,
20
21
  rowindex: Number,
21
22
  forname: String,
22
23
  forrowindex: String
@@ -26,7 +27,8 @@
26
27
  }
27
28
  },
28
29
  created() {
29
- this.model = this.loaderObj.CellLayout(this.vmodel);
30
+ this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
31
+
30
32
  },
31
33
 
32
34
  methods: {
@@ -36,7 +38,10 @@
36
38
  },
37
39
  computed: {
38
40
 
39
- }
41
+ },
42
+ beforeDestroy() {
43
+ this.model = {};
44
+ },
40
45
  }
41
46
  </script>
42
47
  <style>
@@ -26,6 +26,9 @@
26
26
  },
27
27
  computed: {
28
28
 
29
- }
29
+ },
30
+ beforeDestroy() {
31
+ this.model = {};
32
+ },
30
33
  }
31
34
  </script>
@@ -1084,6 +1084,11 @@
1084
1084
  field.doAction(submitData, (data) => {
1085
1085
  self.model.doAction(data, field);
1086
1086
  if (field.actionType === 19) {
1087
+ if (self.model.currentCallTellayout) {
1088
+ self.closeCallTel(self.$refs[self.model.currentCallTellayout][0]);
1089
+ }
1090
+ self.model.currentCallTellayout = 'layout' + rowindex;
1091
+ self.model.currentCallTelrouter = 'router' + forname + forrowindex;
1087
1092
  self.callTelClick(self.$refs['layout' + rowindex][0], data, forname, forrowindex)
1088
1093
  }
1089
1094
  })
@@ -1119,6 +1124,7 @@
1119
1124
  }
1120
1125
  },
1121
1126
  callTelClick(VueCom, data, forname, forrowindex) {
1127
+ var self = this;
1122
1128
  if (typeof VueCom.$refs['router' + forname + forrowindex] !== "undefined") {
1123
1129
  VueCom.callTelClick(data);
1124
1130
  return true;
@@ -1133,6 +1139,26 @@
1133
1139
  }
1134
1140
  }
1135
1141
  },
1142
+ closeCallTel(VueCom) {
1143
+ var self = this;
1144
+ if (self.model.currentCallTelrouter) {
1145
+ if (typeof VueCom.$refs[self.model.currentCallTelrouter] !== "undefined") {
1146
+ console.log(VueCom);
1147
+ VueCom.closeCallTel();
1148
+ return true;
1149
+ }
1150
+ if (VueCom.$children.length > 0) {
1151
+ for (var i = 0; i < VueCom.$children.length; i++) {
1152
+ var item = VueCom.$children[i];
1153
+ var result = this.closeCallTel(item);
1154
+ if (result) {
1155
+ return result;
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+
1161
+ },
1136
1162
  selectAll($ev) {
1137
1163
  this.model.listData.forEach((ro) => {
1138
1164
  if (!this.model.rightMulti || ro[this.model.rightMulti] == 1) {
@@ -1,7 +1,7 @@
1
1
  import Vue from 'vue';
2
2
  import Enum from './lib/Enum';
3
3
  import common from '../../../common';
4
- const CellLayout = function (source) {
4
+ const CellLayout = function (source, actionRouter,rowdata, forname, forrowindex) {
5
5
  var rtn = {
6
6
  get fields() {
7
7
  return source.fields;
@@ -49,6 +49,18 @@ const CellLayout = function (source) {
49
49
  return source.forrowindex;
50
50
  },
51
51
  get rightRouter() {
52
+ if (forname) {
53
+ var forrightRouter = false;
54
+ let field = actionRouter.find(b => {
55
+ return b.id === source.routerKey;
56
+ });
57
+ if (typeof field !== "undefined") {
58
+ if (!field.rightField || rowdata[forname][forrowindex][field.rightField] == 1) {
59
+ forrightRouter=true;
60
+ }
61
+ }
62
+ return forrightRouter;
63
+ }
52
64
  return source.rightRouter;
53
65
  },
54
66
  _styleObject: {},
@@ -132,7 +132,7 @@ const ContactList = function (source,para ,callBack) {
132
132
  return v.flagSort;
133
133
  },
134
134
  get sortName() {
135
- return v.sortBy;
135
+ return v.sortBy || v.fieldName;
136
136
  },
137
137
  get sortAction() {
138
138
  return v.sc;
@@ -137,7 +137,7 @@ const ContactList = function (source,para ,callBack) {
137
137
  return v.flagSort;
138
138
  },
139
139
  get sortName() {
140
- return v.sortBy;
140
+ return v.sortBy || v.fieldName;
141
141
  },
142
142
  get sortAction() {
143
143
  return v.sc;
@@ -65,9 +65,15 @@ const Detail = function (source, para, callBack) {
65
65
  get fields1() {
66
66
  return data.fields1;
67
67
  },
68
+ set fields1(v) {
69
+ data.fields1=v;
70
+ },
68
71
  get fields2() {
69
72
  return data.fields2;
70
73
  },
74
+ set fields2(v) {
75
+ data.fields2=v;
76
+ },
71
77
  get labels() {
72
78
  return data.labels;
73
79
  },
@@ -245,6 +251,9 @@ const Detail = function (source, para, callBack) {
245
251
  get tags1() {
246
252
  return data.tags1;
247
253
  },
254
+ set tags1(v) {
255
+ data.tags1 = v;
256
+ },
248
257
  get searchConditionApiTags1() {
249
258
  if (rtn._searchConditionApiTags1 !== null) {
250
259
  return rtn._searchConditionApiTags1;
@@ -440,6 +449,19 @@ const Detail = function (source, para, callBack) {
440
449
  }
441
450
  return rtn;
442
451
  },
452
+ loadBaseInfo(){
453
+ Vue.prototype.$api.postHandler(common.globalUri(), { action: source, para: para }).then(
454
+ function (response) {
455
+ if (response.rtnCode === Enum.ReturnCode.Successful) {
456
+ rtn._fields1Dic=null;
457
+ rtn._fields2Dic=null;
458
+ rtn.fields1=response.content.fields1;
459
+ rtn.fields2=response.content.fields2;
460
+ rtn.$vue.loadFields();
461
+ }
462
+ }
463
+ );
464
+ },
443
465
  };
444
466
  return rtn;
445
467
  }
@@ -215,7 +215,6 @@ const box = function (source, fileSourceList, router, optionApi) {
215
215
  classify.file.source.mediaLabelID = classify.option[rtn.optionModel.optionAttrs.value];
216
216
  },
217
217
  handleAvatarSuccess(res, file, fileList) {
218
-
219
218
  if (res.rtnCode === Enum.ReturnCode.Successful) {
220
219
  //下面的方式绑定,会有一些问题 todo 不强与页面关联
221
220
  fileSourceList.push(res.content[0]);
@@ -240,11 +239,15 @@ const box = function (source, fileSourceList, router, optionApi) {
240
239
  rtn.fileList = fileList;//无数据会监听不到
241
240
  }
242
241
  else {
242
+ for (let i = 0; i < fileList.length; i++) {
243
+ if (fileList[i].uid === file.uid) {
244
+ fileList.splice(i, 1);
245
+ }
246
+ }
243
247
  Vue.prototype.$message.error(res.rtnMsg);
244
248
  }
245
249
  },
246
250
  deleteFile(file, forceDelete) {
247
-
248
251
  for (let i = 0; i < rtn.fileList.length; i++) {
249
252
  if (rtn.fileList[i].uid === file.uid) {
250
253
  if (forceDelete) {
@@ -275,7 +278,6 @@ const box = function (source, fileSourceList, router, optionApi) {
275
278
  break;
276
279
  }
277
280
  }
278
- console.log(rtn.fileList)
279
281
  },
280
282
  getFormObj() {
281
283
  var rtnFormObj = {};
@@ -67,7 +67,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
67
67
  return v.flagSort;
68
68
  },
69
69
  get sortName() {
70
- return v.sortBy;
70
+ return v.sortBy || v.fieldName;
71
71
  },
72
72
  get sortAction() {
73
73
  return v.sc;
@@ -2,39 +2,25 @@
2
2
  * @Author: linchunmei 179466780@qq.com~
3
3
  * @Date: 2022-06-21 11:29:34
4
4
  * @LastEditors: linchunmei 179466780@qq.com
5
- * @LastEditTime: 2022-06-28 17:53:38
5
+ * @LastEditTime: 2022-07-04 09:46:56
6
6
  * @FilePath: \js-sdk-v3\src\centaline\quickInputSos\src\quickInput.vue
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
8
  -->
9
9
  <template>
10
10
  <div class="ct-quickInput">
11
- <el-popover
12
- ref="pop"
13
- placement="bottom-start"
14
- v-model="showDrop"
15
- trigger="click"
16
- @show="searchInputHandle"
17
- class="more-dropdown"
18
- >
11
+ <el-popover ref="pop" placement="bottom-start" v-model="showDrop" trigger="click" @show="searchInputHandle"
12
+ class="more-dropdown">
19
13
  <div>
20
14
  <div>
21
- <el-input
22
- ref="searchInput"
23
- size="mini"
24
- suffix-icon="el-icon-search"
25
- v-model="searchText"
26
- @input="searchInputHandle"
27
- ></el-input>
15
+ <el-input ref="searchInput" size="mini" suffix-icon="el-icon-search" v-model="searchText"
16
+ @input="searchInputHandle"></el-input>
28
17
  </div>
29
- <ctSelectOptionVertical
30
- :model="model"
31
- @click="selectOption($event)"
32
- ></ctSelectOptionVertical>
18
+ <ctSelectOptionVertical :model="model" @click="selectOption($event)"></ctSelectOptionVertical>
33
19
  </div>
34
- <!-- <i slot="reference" class="el-icon-more"></i> -->
35
- <span slot="reference" style="font-family: Comic Sans MS; font-size: 14px"
20
+ <i slot="reference" class="el-icon-arrow-down"></i>
21
+ <!-- <span slot="reference" style="font-family: Comic Sans MS; font-size: 14px"
36
22
  ><div class="my-icon-more"></div
37
- ></span>
23
+ ></span> -->
38
24
  </el-popover>
39
25
  </div>
40
26
  </template>
@@ -100,22 +86,24 @@ export default {
100
86
  this.$emit("click", value);
101
87
  },
102
88
  },
103
- mounted() {},
89
+ mounted() { },
104
90
  };
105
91
  </script>
106
- <style>
92
+ <style scoped>
107
93
  .ct-quickInput .el-icon-more:hover {
108
94
  cursor: pointer;
109
95
  color: #409eff;
110
96
  }
97
+
111
98
  .more-dropdown {
112
99
  position: absolute;
113
100
  width: 16px;
114
101
  height: 20px;
115
102
  text-align: left;
116
- top: 3px;
117
- right: -2px;
103
+ top: 4px;
104
+ right: 6px;
118
105
  }
106
+
119
107
  .my-icon-more {
120
108
  width: 16px;
121
109
  height: 20px;
@@ -127,7 +115,8 @@ export default {
127
115
  margin-left: 5px;
128
116
  cursor: pointer;
129
117
  }
130
- .ct-flex-div .ct-flex-div-input {
131
- padding-right: 12px;
132
- }
118
+
119
+ /* .ct-quickInput.ct-flex-div-span {
120
+ width: 12px;
121
+ } */
133
122
  </style>
package/src/main.js CHANGED
@@ -12,11 +12,13 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- // baseUrl: "http://10.88.22.46:7070/v1/form/router",
16
- baseUrl: "http://10.88.23.22:9999/v1/form/router",
15
+ baseUrl: "http://10.88.22.46:7070/v1/form/router",
16
+ // baseUrl: "http://10.88.23.22:9999/v1/form/router",
17
17
  // baseUrl: "http://10.88.22.69:8080/",
18
+ // baseUrl: "http://tjcptest.centaline.com.cn/",
18
19
  // flagRouterSelf: true,
19
20
  zindex: 999,
21
+ showRequestSuccessMessage: true,
20
22
  showRequestErrorMessage: true,
21
23
  handler: {
22
24
  // 打开tab页
@@ -39,7 +41,7 @@ Vue.use(centaline, {
39
41
  // 获取请求头
40
42
  getRequestHeaders: function () {
41
43
  return {
42
- oldToken: 'f6a35199-5dd7-423c-a4e4-e1553c3d76bb',
44
+ oldToken: 'a9e42494-1e0b-4c46-834e-eea096ba2564',
43
45
  originalRequestURL: 'http://10.88.22.67:8080',
44
46
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
45
47
  Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImVjODhjOTI1LTU3OTktNDVmNy1iNDI3LWI3M2QwNGVkNWM2NSJ9.fyndFOEg4ThBHv4N2pi3pmPaWWlcD1CVPsYu0G5BKAB1hAgkL_GpOMpCZB5xdjMJLbBVomdoUjnRY7T6JSZb-g',