centaline-data-driven 1.3.67 → 1.3.69
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 +1 -1
- package/src/SearchList.vue +5 -5
- package/src/centaline/dialogList/src/dialog.vue +19 -1
- package/src/centaline/dynamicCb/src/dynamicCb.vue +4 -0
- package/src/centaline/dynamicForm/src/dynamicForm.vue +10 -4
- package/src/centaline/dynamicIti/src/dynamicIti.vue +2 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +7 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +22 -16
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +9 -3
- package/src/centaline/loader/src/ctl/Detail.js +2 -2
- package/src/centaline/loader/src/ctl/SearchTable.js +2 -1
- package/src/centaline/quickInputSos/src/quickInput.vue +1 -1
- package/src/main.js +4 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
<ct-searchlist :apiParam="para"
|
|
8
8
|
:searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
|
|
9
9
|
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
10
10
|
:searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
|
|
11
11
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
12
|
-
</ct-searchlist> -->
|
|
13
|
-
|
|
14
|
-
<ct-searchlist :searchConditionApi="'/api/workflow/layout'"
|
|
15
|
-
:searchDataApi="'/api/workflow/list'">
|
|
16
12
|
</ct-searchlist>
|
|
17
13
|
|
|
14
|
+
<!-- <ct-searchlist :searchConditionApi="'/PropertyDutyList/getLayoutOfSearch'"
|
|
15
|
+
:searchDataApi="'/PropertyDutyList/getListOfSearchModelForRET'">
|
|
16
|
+
</ct-searchlist> -->
|
|
17
|
+
|
|
18
18
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
19
19
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
20
20
|
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
if(item.attrs.height){
|
|
153
153
|
ph=parseInt(item.attrs.height.replace('px',''));
|
|
154
154
|
}
|
|
155
|
-
|
|
156
155
|
if(item.attrs.documentHeight && item.attrs.documentHeight!='auto'){
|
|
157
156
|
let dh=parseInt(item.attrs.documentHeight.replace('px',''));
|
|
158
157
|
if(dh<ph){
|
|
@@ -167,6 +166,25 @@
|
|
|
167
166
|
item.attrs.documentHeight=(self.vmodel.pane.$el.clientHeight-60)+'px';
|
|
168
167
|
}
|
|
169
168
|
}
|
|
169
|
+
//此行代码是为了防止弹出的窗口宽度 大于父级页面的宽度
|
|
170
|
+
var pw=0;
|
|
171
|
+
if(item.attrs.width){
|
|
172
|
+
pw=parseInt(item.attrs.width.replace('px',''));
|
|
173
|
+
}
|
|
174
|
+
if(item.attrs.documentWidth && item.attrs.documentWidth!='auto'){
|
|
175
|
+
let dw=parseInt(item.attrs.documentWidth.replace('px',''));
|
|
176
|
+
if(dw<pw){
|
|
177
|
+
item.attrs.width=item.attrs.documentWidth;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
else if(self.vmodel.pane && self.vmodel.pane.$el){
|
|
181
|
+
if(self.vmodel.pane.$el.clientWidth<pw) {
|
|
182
|
+
item.attrs.width=(self.vmodel.pane.$el.clientWidth-20)+'px';
|
|
183
|
+
}
|
|
184
|
+
if(item.component=='ct-form'){
|
|
185
|
+
item.attrs.documentWidth=(self.vmodel.pane.$el.clientWidth-20)+'px';
|
|
186
|
+
}
|
|
187
|
+
}
|
|
170
188
|
|
|
171
189
|
return h('div', {
|
|
172
190
|
style: {
|
|
@@ -11,7 +11,7 @@
|
|
|
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
13
|
<component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara"
|
|
14
|
-
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight"
|
|
14
|
+
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight" :documentWidth="documentWidth"
|
|
15
15
|
@click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)" @enter="enterHandler(col,$event)"
|
|
16
16
|
@input="inputHandler(col,$event)" @importComplete="importComplete"
|
|
17
17
|
@popupSearchList="popupSearchListHandler"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<el-row>
|
|
27
27
|
<el-col v-for="(col, index) in collapseFieldsRow[index + 1]" :key="index" :span="col.colspan" v-if="col.show !== false" style="padding:5px">
|
|
28
28
|
<component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara"
|
|
29
|
-
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight"
|
|
29
|
+
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight" :documentWidth="documentWidth"
|
|
30
30
|
@click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)" @enter="enterHandler(col,$event)"
|
|
31
31
|
@input="inputHandler(col,$event)" @importComplete="importComplete"
|
|
32
32
|
@popupSearchList="popupSearchListHandler"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<el-row>
|
|
47
47
|
<el-col v-for="(col, index) in collapseFieldsRow[index + 1]" :key="index" :span="col.colspan" v-if="col.show !== false" style="padding:5px">
|
|
48
48
|
<component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara"
|
|
49
|
-
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight"
|
|
49
|
+
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight" :documentWidth="documentWidth"
|
|
50
50
|
@click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)" @enter="enterHandler(col,$event)"
|
|
51
51
|
@input="inputHandler(col,$event)" @importComplete="importComplete"
|
|
52
52
|
@popupSearchList="popupSearchListHandler"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<el-row v-if="independentItem.length > 0" style="margin-top: 20px;">
|
|
61
61
|
<el-col v-for="(col, index) in independentItem" :key="index" v-if="col.show !== false" :span="col.colspan" style="padding:5px">
|
|
62
62
|
<component ref="Fields" :is="col.is" :vmodel="col" :api="model.optionApi" :parentModel="model" v-bind="col.bindPara"
|
|
63
|
-
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight"
|
|
63
|
+
:fileData="getFileData(col)" :from="'form'" :documentHeight="documentHeight" :documentWidth="documentWidth"
|
|
64
64
|
@click="fieldClickHandler(col,$event)" @change="changeHandler(col,$event)"
|
|
65
65
|
@input="inputHandler(col,$event)" @importComplete="importComplete"
|
|
66
66
|
@popupSearchList="popupSearchListHandler"
|
|
@@ -114,6 +114,10 @@
|
|
|
114
114
|
String,
|
|
115
115
|
default: 'auto',
|
|
116
116
|
},
|
|
117
|
+
documentWidth:{
|
|
118
|
+
String,
|
|
119
|
+
default: 'auto',
|
|
120
|
+
},
|
|
117
121
|
},
|
|
118
122
|
data() {
|
|
119
123
|
return {
|
|
@@ -369,6 +373,7 @@
|
|
|
369
373
|
width: field.dialogWidth + 'px',
|
|
370
374
|
height: field.dialogHeight + 'px',
|
|
371
375
|
documentHeight:self.documentHeight,
|
|
376
|
+
documentWidth:self.documentWidth,
|
|
372
377
|
},
|
|
373
378
|
on: {
|
|
374
379
|
submit(ev) {
|
|
@@ -716,6 +721,7 @@
|
|
|
716
721
|
width: router.dialogWidth + 'px',
|
|
717
722
|
height: (router.dialogHeight || 500) + 'px',
|
|
718
723
|
documentHeight:self.documentHeight,
|
|
724
|
+
documentWidth:self.documentWidth,
|
|
719
725
|
},
|
|
720
726
|
on: {
|
|
721
727
|
submit(option) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
v-bind:class="[model.attrs.size?'el-range-editor--'+model.attrs.size:'',
|
|
10
10
|
model.showLabel?'ct-iti-editor':'',isFocus?'isfocus':'',model.lock ? 'ct-is-disabled' : '']">
|
|
11
11
|
|
|
12
|
-
<div :style="{'width':model.unitName.length == 1 ? '38%':(model.unitName.length == 3) ?'32%':(model.unitName.length == 5) ?'28%': ''}"
|
|
12
|
+
<div :style="{'width':model.unitName && model.unitName.length == 1 ? '38%':(model.unitName && model.unitName.length == 3) ?'32%':(model.unitName && model.unitName.length == 5) ?'28%': ''}"
|
|
13
13
|
class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
14
14
|
<input style="text-align:left;width:100%" class="el-range-input" :placeholder="model.attrs.placeholder1"
|
|
15
15
|
v-model="model.value" @change="changeHandler($event)" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value','decimals')"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</span> -->
|
|
23
23
|
</div>
|
|
24
24
|
<span style="width:5%" class="el-range-separator">-</span>
|
|
25
|
-
<div :style="{'width':model.unitName.length == 1 ? '45%':( model.unitName.length == 3) ?'50%':(model.unitName.length == 5) ?'60%': ''}" class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
25
|
+
<div :style="{'width':model.unitName && model.unitName.length == 1 ? '45%':(model.unitName && model.unitName.length == 3) ?'50%':(model.unitName && model.unitName.length == 5) ?'60%': ''}" class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
26
26
|
<input style="text-align:left;width:100%;" class="el-range-input" :placeholder="model.attrs.placeholder2"
|
|
27
27
|
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
|
|
28
28
|
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@showTitle="showTitleScreenHandler"></ct-searchscreen>
|
|
14
14
|
|
|
15
15
|
<ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from" :isIframe="isIframe" :documentHeight="documentHeight"
|
|
16
|
-
@loaded="tableLoaded"
|
|
16
|
+
@loaded="tableLoaded" :documentWidth="documentWidth"
|
|
17
17
|
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate"
|
|
18
18
|
@rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle" @refreshRowHandle="refreshRowHandle" @doClosePopoverHandle="doClosePopoverHandle"
|
|
19
19
|
@showTitle="showTitleHandler"></ct-searchtable>
|
|
@@ -67,6 +67,10 @@
|
|
|
67
67
|
String,
|
|
68
68
|
default: 'auto',
|
|
69
69
|
},
|
|
70
|
+
documentWidth:{
|
|
71
|
+
String,
|
|
72
|
+
default: 'auto',
|
|
73
|
+
},
|
|
70
74
|
},
|
|
71
75
|
created() {
|
|
72
76
|
this.model = this.vmodel;
|
|
@@ -141,14 +145,14 @@
|
|
|
141
145
|
this.reloadKeyScreen='s'+this.reloadKey;
|
|
142
146
|
this.reloadKeyTable='t'+this.reloadKey;
|
|
143
147
|
},
|
|
144
|
-
search(
|
|
148
|
+
search() {
|
|
145
149
|
this.selectIndex=-1;
|
|
146
150
|
if (this.$refs.table.model) {
|
|
147
151
|
this.pageDisabled=true;
|
|
148
152
|
this.$refs.table.getPage(1);
|
|
149
153
|
}
|
|
150
154
|
else {
|
|
151
|
-
this.$refs.table.searchComplate(this.$refs.screen.model);
|
|
155
|
+
this.$refs.table.searchComplate(this.$refs.screen.model,this.$refs.screen.model.defaultSearch);
|
|
152
156
|
}
|
|
153
157
|
|
|
154
158
|
this.$refs.table.loadStats();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div style="width: 100%" class="ct-searchtable" ref="searchTable" :style="{ 'margin-top': isLayout ? '0' : '', padding: isLayout ? '0' : '' }">
|
|
3
3
|
<ct-tableStats ref="tableStats" class="ct-search-table-list-header"
|
|
4
4
|
v-if="!isLoading && searchStatsApi" :api="searchStatsApi"
|
|
5
5
|
@searchStats="searchStats" @setTableHeight="setTableHeight" :searchModel="model.searchModel">
|
|
6
6
|
</ct-tableStats>
|
|
7
7
|
|
|
8
|
-
<ct-tabletoolbar ref="toolbar" v-if="!isLoading"
|
|
8
|
+
<ct-tabletoolbar ref="toolbar" v-if="!isLoading && model && model.buttons"
|
|
9
9
|
:buttons="model.buttons"
|
|
10
10
|
@click="toolbarClickHandler($event)" @importComplete="importComplete"
|
|
11
11
|
:optionApi="model.optionApi" :searchModel="model.searchModel">
|
|
12
12
|
</ct-tabletoolbar>
|
|
13
13
|
|
|
14
|
-
<ct-tabletip ref="listHeader" class="ct-search-table-list-header" :tip="model.listHeader" v-if="!isLoading"></ct-tabletip>
|
|
14
|
+
<ct-tabletip ref="listHeader" class="ct-search-table-list-header" :tip="model.listHeader" v-if="!isLoading && model"></ct-tabletip>
|
|
15
15
|
|
|
16
|
-
<div v-loading="tableLoading" v-if="!isLoading" :style="{ height: '0px', top: model.tableHeight * 0.55 + 'px' }"></div>
|
|
16
|
+
<div v-loading="tableLoading" v-if="!isLoading && model" :style="{ height: '0px', top: model.tableHeight * 0.55 + 'px' }"></div>
|
|
17
17
|
<div v-loading="operationLoading"></div>
|
|
18
18
|
|
|
19
|
-
<div class="ct-tableParent" ref="tableParent" v-bind="model.attrs" v-if="!isLoading"
|
|
19
|
+
<div class="ct-tableParent" ref="tableParent" v-bind="model.attrs" v-if="!isLoading && model"
|
|
20
20
|
:style="{ height: from == 'form' ? '100%' : model.tableHeight + 'px','border-bottom': isLayout ? 'none' : '','border-top': isLayout ? 'none' : '',}"
|
|
21
21
|
@scroll="scrollHandle($event)" :v-focus="model.flagFocus"
|
|
22
22
|
@keydown.up="rowKeyDownHandle($event, 0)" @keydown.down="rowKeyDownHandle($event, 1)"
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
|
|
162
|
-
<ct-tabletip ref="listFooter" class="ct-search-table-list-footer" :tip="model.listFooter" v-if="!isLoading && !isLayout"></ct-tabletip>
|
|
163
|
-
<ct-tabletip ref="footer" class="ct-search-table-footer" :tip="model.footer" v-if="!isLoading && !isLayout"></ct-tabletip>
|
|
162
|
+
<ct-tabletip ref="listFooter" class="ct-search-table-list-footer" :tip="model.listFooter" v-if="!isLoading && !isLayout && model"></ct-tabletip>
|
|
163
|
+
<ct-tabletip ref="footer" class="ct-search-table-footer" :tip="model.footer" v-if="!isLoading && !isLayout && model"></ct-tabletip>
|
|
164
164
|
<div v-if="isLoading && searchLoading" v-loading="isLoading" style="top: 30px"></div>
|
|
165
165
|
</div>
|
|
166
166
|
</template>
|
|
@@ -199,6 +199,10 @@ export default {
|
|
|
199
199
|
String,
|
|
200
200
|
default: 'auto',
|
|
201
201
|
},
|
|
202
|
+
documentWidth:{
|
|
203
|
+
String,
|
|
204
|
+
default: 'auto',
|
|
205
|
+
},
|
|
202
206
|
},
|
|
203
207
|
computed: {},
|
|
204
208
|
data() {
|
|
@@ -276,10 +280,7 @@ export default {
|
|
|
276
280
|
self.model.searchModel = this.tempSearchModel;
|
|
277
281
|
}
|
|
278
282
|
//自动查询 调用合并列
|
|
279
|
-
if (
|
|
280
|
-
self.model.rowMergedColumns.length > 0 &&
|
|
281
|
-
self.model.listData.length > 0
|
|
282
|
-
) {
|
|
283
|
+
if ( self.model.rowMergedColumns.length > 0 && self.model.listData.length > 0) {
|
|
283
284
|
self.model.setRow(self.model.listData);
|
|
284
285
|
}
|
|
285
286
|
self.tableComplate = true;
|
|
@@ -758,7 +759,10 @@ export default {
|
|
|
758
759
|
|
|
759
760
|
this.$nextTick(function () {
|
|
760
761
|
if (typeof this.api !== "undefined") {
|
|
761
|
-
self.loaderObj.SearchTable(self.api, self.load, m, defaultSearch)
|
|
762
|
+
self.loaderObj.SearchTable(self.api, self.load, m, defaultSearch,null,function(){
|
|
763
|
+
self.isLoading = false;
|
|
764
|
+
self.tableLoading = false;
|
|
765
|
+
});
|
|
762
766
|
}
|
|
763
767
|
if (typeof this.source !== "undefined") {
|
|
764
768
|
self.load(self.loaderObj.SearchTable(self.source));
|
|
@@ -986,6 +990,7 @@ export default {
|
|
|
986
990
|
width: field.dialogWidth + "px",
|
|
987
991
|
height: field.dialogHeight + "px",
|
|
988
992
|
documentHeight:self.documentHeight,
|
|
993
|
+
documentWidth:self.documentWidth,
|
|
989
994
|
},
|
|
990
995
|
on: {
|
|
991
996
|
submit(ev) {
|
|
@@ -998,10 +1003,10 @@ export default {
|
|
|
998
1003
|
}
|
|
999
1004
|
}
|
|
1000
1005
|
if (typeof self.$refs.tableParent !== "undefined") {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1006
|
+
self.$refs.tableParent.scrollTop = 0;
|
|
1007
|
+
self.$refs.tableParent.scrollLeft = 0;
|
|
1008
|
+
self.scrollTop = 0;
|
|
1009
|
+
self.scrollLeft = 0;
|
|
1005
1010
|
}
|
|
1006
1011
|
self.$forceUpdate();
|
|
1007
1012
|
self.$nextTick(() => {
|
|
@@ -1059,6 +1064,7 @@ export default {
|
|
|
1059
1064
|
width: field.dialogWidth + "px",
|
|
1060
1065
|
height: field.dialogHeight + "px",
|
|
1061
1066
|
documentHeight:self.documentHeight,
|
|
1067
|
+
documentWidth:self.documentWidth,
|
|
1062
1068
|
},
|
|
1063
1069
|
on: {
|
|
1064
1070
|
refreshParent() {
|
|
@@ -110,9 +110,10 @@
|
|
|
110
110
|
<!-- <span slot="reference" class="icon-more"></span> -->
|
|
111
111
|
<span
|
|
112
112
|
slot="reference"
|
|
113
|
-
style="font-family: Comic Sans MS; font-size: 14px"
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
style="font-family: Comic Sans MS; font-size: 14px">
|
|
114
|
+
<!-- <div class="my-icon-more"></div> -->
|
|
115
|
+
<img :src="iconSort" alt="" width="100%" />
|
|
116
|
+
</span>
|
|
116
117
|
</el-popover>
|
|
117
118
|
</template>
|
|
118
119
|
</div>
|
|
@@ -142,6 +143,7 @@ export default {
|
|
|
142
143
|
trigger: "hover", //触发方式,传值可查看Popper UI组件trigger属性
|
|
143
144
|
placement: "bottom-start", //方向,传值可查看Popper UI组件placement属性
|
|
144
145
|
},
|
|
146
|
+
iconSort: require("../../../assets/sort.png"),
|
|
145
147
|
};
|
|
146
148
|
},
|
|
147
149
|
mounted() {
|
|
@@ -354,7 +356,11 @@ export default {
|
|
|
354
356
|
}
|
|
355
357
|
.more-dropdown {
|
|
356
358
|
position: absolute;
|
|
359
|
+
width: 16px;
|
|
360
|
+
height: 20px;
|
|
361
|
+
text-align: left;
|
|
357
362
|
top: 2px;
|
|
363
|
+
right: 0px;
|
|
358
364
|
}
|
|
359
365
|
.my-icon-more {
|
|
360
366
|
width: 14px;
|
|
@@ -362,8 +362,8 @@ const Detail = function (source, para, callBack) {
|
|
|
362
362
|
data.tags2 = v;
|
|
363
363
|
},
|
|
364
364
|
getTags2List(i) {
|
|
365
|
-
if (rtn.tags2 && rtn.tags2[i] && !rtn.tags2[i].list && rtn.tags2[i].
|
|
366
|
-
let action = rtn.tags2[i].
|
|
365
|
+
if (rtn.tags2 && rtn.tags2[i] && !rtn.tags2[i].list && rtn.tags2[i].searchDataAction) {
|
|
366
|
+
let action = rtn.tags2[i].searchDataAction;
|
|
367
367
|
let para = {};
|
|
368
368
|
if (rtn.tags2[i].paramData) para = JSON.parse(rtn.tags2[i].paramData);
|
|
369
369
|
Vue.prototype.$api.postHandler(common.globalUri(), { action: action, para: para }).then(
|
package/src/main.js
CHANGED
|
@@ -12,11 +12,11 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
12
12
|
// 关闭生产模式下给出的提示
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
|
-
|
|
15
|
+
baseUrl: "http://10.88.22.46:7070/v1/form/router",
|
|
16
16
|
// baseUrl: "http://10.88.23.25:9999/v1/form/router",
|
|
17
17
|
// baseUrl: "http://10.88.22.40:8080/",
|
|
18
|
-
baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
19
|
-
flagRouterSelf: true,
|
|
18
|
+
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
19
|
+
// flagRouterSelf: true,
|
|
20
20
|
zindex: 999,
|
|
21
21
|
showRequestSuccessMessage: true,
|
|
22
22
|
showRequestErrorMessage: true,
|
|
@@ -42,7 +42,7 @@ Vue.use(centaline, {
|
|
|
42
42
|
getRequestHeaders: function () {
|
|
43
43
|
return {
|
|
44
44
|
oldToken: '42ccd644-040d-4e01-9521-1623f1884058',
|
|
45
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
45
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVby2rv-pCNOaDhEFBsXoUIkkUCIuwMi6dIzxRTTvPeEaUlQg1vBHW30YQV3tNETcXBkOzwEF5EtG_QUPUa2kY9tZ2LTQgXlfoWarDVakxWpYBzmXyAj-huWqdxO5fGPc5d5_MwGCUqS9phTUsisFQ5ZGSyFg850FhGG1xsAAP__._bIs6F-PKatDpGVpnwJkgA9y7oaWPycWYjSN5gFSsI8',
|
|
46
46
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
47
47
|
EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
|
|
48
48
|
estateId: '20210729104021C49F04B55C50F6AF58',
|