centaline-data-driven 1.5.89 → 1.5.91
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/release-log.md +13 -0
- package/src/SearchList.vue +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +5 -2
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +128 -143
- package/src/main.js +5 -5
- package/wwwroot/static/centaline/centaline-data-driven.js +55 -67
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -30,6 +30,9 @@
|
|
|
30
30
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/distribution/standing-book/layout'" :searchDataApi="'/api/distribution/standing-book/list'"></ct-searchlist> -->
|
|
31
31
|
|
|
32
32
|
|
|
33
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist>
|
|
34
|
+
|
|
35
|
+
|
|
33
36
|
<!-- <ct-searchlist :apiParam="para"
|
|
34
37
|
:searchConditionApi="'/api/transaction/adjustRecord/getLayoutOfSearch'"
|
|
35
38
|
:searchDataApi="'/api/transaction/adjustRecord/getTableList'">
|
|
@@ -648,7 +648,7 @@ export default {
|
|
|
648
648
|
|
|
649
649
|
this.model.getPage(index, next);
|
|
650
650
|
self.$nextTick(() => {
|
|
651
|
-
|
|
651
|
+
// self.loadStats();
|
|
652
652
|
});
|
|
653
653
|
},
|
|
654
654
|
toSort(ev, col, action) {
|
|
@@ -2157,6 +2157,8 @@ export default {
|
|
|
2157
2157
|
self.scrollTop = 0;
|
|
2158
2158
|
self.scrollLeft = 0;
|
|
2159
2159
|
}
|
|
2160
|
+
let searchStats = this.$refs.tableStats.getsearchStats();
|
|
2161
|
+
|
|
2160
2162
|
if (data) {
|
|
2161
2163
|
self.loaderObj.SearchTable(data, self.load, self.model.searchModel, true, false, null, self.api)
|
|
2162
2164
|
}
|
|
@@ -2165,6 +2167,7 @@ export default {
|
|
|
2165
2167
|
}
|
|
2166
2168
|
this.updateTableColumnsKey = this.updateTableColumnsKey + 1;
|
|
2167
2169
|
this.model.toolbarKey = this.updateTableColumnsKey;
|
|
2170
|
+
self.model.searchStats = searchStats;
|
|
2168
2171
|
},
|
|
2169
2172
|
popupClickHandler() {
|
|
2170
2173
|
var tempListData = this.model.getSelectRowData({ isMulti: this.model.isMulti });
|
|
@@ -2312,7 +2315,7 @@ export default {
|
|
|
2312
2315
|
padding: 2px 20px;
|
|
2313
2316
|
cursor: default;
|
|
2314
2317
|
background-color: #ffffff;
|
|
2315
|
-
color: var(--centalineBlack);
|
|
2318
|
+
// color: var(--centalineBlack);
|
|
2316
2319
|
}
|
|
2317
2320
|
|
|
2318
2321
|
.ct-searchtable .ct-tr>.ct-td1 {
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ct-table-Statistics" :class="[flagDisabled?'domDisabled':'']" ref="tableStatistics">
|
|
2
|
+
<div class="ct-table-Statistics" :class="[flagDisabled ? 'domDisabled' : '']" ref="tableStatistics">
|
|
3
3
|
<!--计算占用宽度-->
|
|
4
4
|
<div style="position: relative" v-if="FlagStatistics">
|
|
5
5
|
<div style="position: absolute; left: -10000px" class="tab-list">
|
|
6
|
-
<label
|
|
7
|
-
v-for="(item, index) in data"
|
|
8
|
-
class="btnTab"
|
|
9
|
-
:ref="'StatisticsItem' + index"
|
|
10
|
-
>
|
|
6
|
+
<label v-for="(item, index) in data" class="btnTab" :ref="'StatisticsItem' + index">
|
|
11
7
|
{{ item.controlLabel }}
|
|
12
8
|
</label>
|
|
13
9
|
</div>
|
|
@@ -15,109 +11,78 @@
|
|
|
15
11
|
<!--展示-->
|
|
16
12
|
<div v-if="FlagStatistics" class="tab-list">
|
|
17
13
|
<template v-if="showData.length === 1">
|
|
18
|
-
<div
|
|
19
|
-
v-for="(item, index) in showData[0]"
|
|
20
|
-
@click="handleClick($event, item,true)"
|
|
21
|
-
>
|
|
14
|
+
<div v-for="(item, index) in showData[0]" @click="handleClick($event, item, true)">
|
|
22
15
|
<ul class="btnTab">
|
|
23
|
-
<div :style="{'width':(item.width ? item.width + 'px' : ''
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
selectStats ==item.key
|
|
16
|
+
<div :style="{ 'width': (item.width ? item.width + 'px' : '') }">
|
|
17
|
+
<li :class="[
|
|
18
|
+
selectStats == item.key
|
|
27
19
|
? 'activecolor'
|
|
28
20
|
: '',
|
|
29
|
-
]"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<span
|
|
35
|
-
:class="[
|
|
21
|
+
]">
|
|
22
|
+
{{ item.controlLabel }}
|
|
23
|
+
</li>
|
|
24
|
+
<li class="tdcenter">
|
|
25
|
+
<span :class="[
|
|
36
26
|
selectStats == item.key
|
|
37
27
|
? 'active'
|
|
38
28
|
: '',
|
|
39
|
-
]"
|
|
40
|
-
|
|
41
|
-
</
|
|
42
|
-
</div>
|
|
29
|
+
]"></span>
|
|
30
|
+
</li>
|
|
31
|
+
</div>
|
|
43
32
|
</ul>
|
|
44
33
|
</div>
|
|
45
34
|
</template>
|
|
46
35
|
<template v-else-if="showData.length > 1">
|
|
47
|
-
<div
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<div :style="{'width':(item.width ? item.width + 'px' : '' ),'white-space': 'nowrap' }">
|
|
53
|
-
<li
|
|
54
|
-
:class="[
|
|
55
|
-
selectStats ==item.key
|
|
36
|
+
<div v-for="(item, index) in showData[0]" @click="handleClick($event, item, true)">
|
|
37
|
+
<ul class="btnTab" :style="{ 'width': (index == showData[0].length - 1 ? lastWidth + 'px' : ''), }">
|
|
38
|
+
<div :style="{ 'width': (item.width ? item.width + 'px' : ''), 'white-space': 'nowrap' }">
|
|
39
|
+
<li :class="[
|
|
40
|
+
selectStats == item.key
|
|
56
41
|
? 'activecolor'
|
|
57
42
|
: '',
|
|
58
|
-
]"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<span
|
|
64
|
-
:class="[
|
|
43
|
+
]">
|
|
44
|
+
{{ item.controlLabel }}
|
|
45
|
+
</li>
|
|
46
|
+
<li class="tdcenter">
|
|
47
|
+
<span :class="[
|
|
65
48
|
selectStats == item.key
|
|
66
49
|
? 'active'
|
|
67
50
|
: '',
|
|
68
|
-
]"
|
|
69
|
-
|
|
70
|
-
</li>
|
|
51
|
+
]"></span>
|
|
52
|
+
</li>
|
|
71
53
|
</div>
|
|
72
54
|
</ul>
|
|
73
55
|
</div>
|
|
74
|
-
<el-popover
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
>
|
|
81
|
-
<div
|
|
82
|
-
v-if="FlagStatistics"
|
|
83
|
-
class="tab-list"
|
|
84
|
-
style="border-bottom: none"
|
|
85
|
-
>
|
|
86
|
-
<div
|
|
87
|
-
class="popovertablf"
|
|
88
|
-
v-for="(item, index) in showData[1]"
|
|
89
|
-
@click="handleClick($event, item,true,1,index)"
|
|
90
|
-
>
|
|
56
|
+
<el-popover :append-to-table="option.appendId ? option.appendId : ''" class="Stats-popover more-dropdown"
|
|
57
|
+
popper-class="el-popover1" :placement="option.placement ? option.placement : 'left'"
|
|
58
|
+
:trigger="option.trigger ? option.trigger : ''">
|
|
59
|
+
<div v-if="FlagStatistics" class="tab-list" style="border-bottom: none">
|
|
60
|
+
<div class="popovertablf" v-for="(item, index) in showData[1]"
|
|
61
|
+
@click="handleClick($event, item, true, 1, index)">
|
|
91
62
|
<ul class="popoverbtnTab" style="padding: 0px">
|
|
92
|
-
<li
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
]"
|
|
98
|
-
>
|
|
63
|
+
<li :class="[
|
|
64
|
+
selectStats == item.key
|
|
65
|
+
? 'activecolor'
|
|
66
|
+
: '',
|
|
67
|
+
]">
|
|
99
68
|
{{ item.controlLabel }}
|
|
100
69
|
</li>
|
|
101
70
|
<li class="tdcenter">
|
|
102
|
-
<span
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
]"
|
|
108
|
-
></span>
|
|
71
|
+
<span :class="[
|
|
72
|
+
selectStats == item.key
|
|
73
|
+
? 'active'
|
|
74
|
+
: '',
|
|
75
|
+
]"></span>
|
|
109
76
|
</li>
|
|
110
77
|
</ul>
|
|
111
78
|
<br />
|
|
112
79
|
</div>
|
|
113
80
|
</div>
|
|
114
81
|
<!-- <span slot="reference" class="icon-more"></span> -->
|
|
115
|
-
<span
|
|
116
|
-
|
|
117
|
-
style="font-family: Comic Sans MS; font-size: 14px">
|
|
118
|
-
<!-- <div class="my-icon-more"></div> -->
|
|
82
|
+
<span slot="reference" style="font-family: Comic Sans MS; font-size: 14px">
|
|
83
|
+
<!-- <div class="my-icon-more"></div> -->
|
|
119
84
|
<img :src="iconSort" alt="" width="100%" />
|
|
120
|
-
|
|
85
|
+
</span>
|
|
121
86
|
</el-popover>
|
|
122
87
|
</template>
|
|
123
88
|
</div>
|
|
@@ -144,7 +109,7 @@ export default {
|
|
|
144
109
|
selectStats: [],
|
|
145
110
|
data: [],
|
|
146
111
|
showData: [],
|
|
147
|
-
lastWidth:0,
|
|
112
|
+
lastWidth: 0,
|
|
148
113
|
sortData: null,
|
|
149
114
|
sliceIndex: null,
|
|
150
115
|
flagClick: false,
|
|
@@ -155,7 +120,7 @@ export default {
|
|
|
155
120
|
trigger: "click", //触发方式,传值可查看Popper UI组件trigger属性
|
|
156
121
|
placement: "bottom-start", //方向,传值可查看Popper UI组件placement属性
|
|
157
122
|
},
|
|
158
|
-
|
|
123
|
+
iconSort: require("../../../assets/sort.png"),
|
|
159
124
|
};
|
|
160
125
|
},
|
|
161
126
|
mounted() {
|
|
@@ -166,9 +131,9 @@ export default {
|
|
|
166
131
|
});
|
|
167
132
|
},
|
|
168
133
|
methods: {
|
|
169
|
-
replabel(labelName){
|
|
170
|
-
let pattern
|
|
171
|
-
|
|
134
|
+
replabel(labelName) {
|
|
135
|
+
let pattern = /([^()]*)$|\([^((]*\)|$/; // 匹配最后一个括号及其内部内容
|
|
136
|
+
return labelName.replace(pattern, "");
|
|
172
137
|
},
|
|
173
138
|
load(data) {
|
|
174
139
|
var self = this;
|
|
@@ -176,22 +141,22 @@ export default {
|
|
|
176
141
|
self.FlagStatistics = false;
|
|
177
142
|
// self.data = data.source.content;
|
|
178
143
|
self.selectVa = "";
|
|
179
|
-
|
|
144
|
+
if (data.source.content.length > 0) {
|
|
180
145
|
if (self.sortData == null) {
|
|
181
146
|
self.sortData = {};
|
|
182
|
-
data.source.content.forEach((item, index) => {
|
|
147
|
+
data.source.content.forEach((item, index) => {
|
|
183
148
|
item.sort = index;
|
|
184
|
-
item.key=item.fieldName1 + "*" + self.replabel(item.controlLabel);
|
|
149
|
+
item.key = item.fieldName1 + "*" + self.replabel(item.controlLabel);
|
|
185
150
|
self.sortData[item.key] = index;
|
|
186
151
|
});
|
|
187
152
|
}
|
|
188
153
|
else {
|
|
189
154
|
data.source.content.forEach((item, index) => {
|
|
190
|
-
item.key=item.fieldName1 + "*" + self.replabel(item.controlLabel);
|
|
191
|
-
if(self.sortData[item.key]==undefined){
|
|
155
|
+
item.key = item.fieldName1 + "*" + self.replabel(item.controlLabel);
|
|
156
|
+
if (self.sortData[item.key] == undefined) {
|
|
192
157
|
item.sort = index;
|
|
193
|
-
}else{
|
|
194
|
-
|
|
158
|
+
} else {
|
|
159
|
+
item.sort = self.sortData[item.key];
|
|
195
160
|
}
|
|
196
161
|
}
|
|
197
162
|
);
|
|
@@ -205,12 +170,12 @@ export default {
|
|
|
205
170
|
});
|
|
206
171
|
self.data = data.source.content;
|
|
207
172
|
let i = self.data.findIndex(
|
|
208
|
-
(v) => self.selectStats === v.key
|
|
173
|
+
(v) => self.selectStats === v.key
|
|
209
174
|
);
|
|
210
175
|
if (i == -1 || self.selectStats == []) {
|
|
211
176
|
self.handleClick(null, self.data[0], false);
|
|
212
177
|
}
|
|
213
|
-
|
|
178
|
+
|
|
214
179
|
self.FlagStatistics = true;
|
|
215
180
|
self.showStats();
|
|
216
181
|
}
|
|
@@ -222,45 +187,43 @@ export default {
|
|
|
222
187
|
var showIndex = 0;
|
|
223
188
|
var sumWidth = 0;
|
|
224
189
|
for (var i = 0; i < self.data.length; i++) {
|
|
225
|
-
self.data[i].width= self.$refs["StatisticsItem" + i][0].getBoundingClientRect().width-36;
|
|
190
|
+
self.data[i].width = self.$refs["StatisticsItem" + i][0].getBoundingClientRect().width - 36;
|
|
226
191
|
}
|
|
227
|
-
|
|
228
|
-
if(self.flagClick&&self.sliceIndex!==null)
|
|
229
|
-
|
|
230
|
-
showIndex= self.sliceIndex;
|
|
192
|
+
|
|
193
|
+
if (self.flagClick && self.sliceIndex !== null) {
|
|
194
|
+
showIndex = self.sliceIndex;
|
|
231
195
|
}
|
|
232
|
-
else
|
|
233
|
-
{
|
|
196
|
+
else {
|
|
234
197
|
for (var i = 0; i < self.data.length; i++) {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
198
|
+
var moreWidth = 20;
|
|
199
|
+
// sumWidth =
|
|
200
|
+
// sumWidth + self.$refs["StatisticsItem" + i][0].offsetWidth;
|
|
238
201
|
sumWidth += self.$refs["StatisticsItem" + i][0].getBoundingClientRect().width;
|
|
239
|
-
sumWidth = Math.ceil(sumWidth * 100) / 100
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
202
|
+
sumWidth = Math.ceil(sumWidth * 100) / 100;
|
|
203
|
+
var nextWidth = 0;
|
|
204
|
+
if (i + 1 < self.data.length) {
|
|
205
|
+
try {
|
|
206
|
+
// nextWidth = self.$refs["StatisticsItem" + (i + 1)][0].offsetWidth;
|
|
207
|
+
nextWidth = self.$refs["StatisticsItem" + (i + 1)][0].getBoundingClientRect().width;
|
|
208
|
+
nextWidth = Math.ceil(nextWidth * 100) / 100;
|
|
209
|
+
} catch (e) { }
|
|
210
|
+
} else {
|
|
211
|
+
moreWidth = 0;
|
|
212
|
+
}
|
|
213
|
+
if (self.showWidth - i < sumWidth + moreWidth) {
|
|
214
|
+
showIndex = i;
|
|
215
|
+
break;
|
|
216
|
+
} else if (self.showWidth - i < nextWidth + moreWidth) {
|
|
217
|
+
showIndex = i + 1;
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
249
220
|
}
|
|
250
|
-
if (self.showWidth -i < sumWidth + moreWidth) {
|
|
251
|
-
showIndex = i;
|
|
252
|
-
break;
|
|
253
|
-
} else if (self.showWidth -i < nextWidth + moreWidth) {
|
|
254
|
-
showIndex = i + 1;
|
|
255
|
-
break;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
221
|
}
|
|
259
222
|
if (showIndex > 0) {
|
|
260
|
-
self.sliceIndex=showIndex;
|
|
261
|
-
const ExceptShowIndexWidth = self.$refs["StatisticsItem"+(showIndex)][0].offsetLeft;
|
|
262
|
-
const preShowIndexWidth =self.$refs["StatisticsItem" + (showIndex-1)][0].getBoundingClientRect().width;
|
|
263
|
-
|
|
223
|
+
self.sliceIndex = showIndex;
|
|
224
|
+
const ExceptShowIndexWidth = self.$refs["StatisticsItem" + (showIndex)][0].offsetLeft;
|
|
225
|
+
const preShowIndexWidth = self.$refs["StatisticsItem" + (showIndex - 1)][0].getBoundingClientRect().width;
|
|
226
|
+
self.lastWidth = self.showWidth - ExceptShowIndexWidth + preShowIndexWidth - 20;
|
|
264
227
|
self.showData = [
|
|
265
228
|
self.data.slice(0, showIndex),
|
|
266
229
|
self.data.slice(showIndex),
|
|
@@ -273,11 +236,25 @@ export default {
|
|
|
273
236
|
self.$emit("setTableHeight");
|
|
274
237
|
});
|
|
275
238
|
},
|
|
276
|
-
handleClick(ev, obj, flagRefreshTable,type,index) {
|
|
239
|
+
handleClick(ev, obj, flagRefreshTable, type, index) {
|
|
277
240
|
var self = this;
|
|
278
|
-
self.flagClick=true;
|
|
241
|
+
self.flagClick = true;
|
|
279
242
|
self.FlagStatistics = false;
|
|
280
243
|
self.selectStats = obj.key;
|
|
244
|
+
|
|
245
|
+
var model = this.getSearchFields(obj)
|
|
246
|
+
self.$emit("searchStats", model, flagRefreshTable);
|
|
247
|
+
if (type === 1) {
|
|
248
|
+
let lastItemIndex = self.showData[0].length - 1;
|
|
249
|
+
let lastItem = self.showData[0][lastItemIndex];
|
|
250
|
+
self.showData[0][lastItemIndex] = obj;
|
|
251
|
+
self.showData[1][index] = lastItem;
|
|
252
|
+
self.sortData[lastItem.key] = obj.sort;
|
|
253
|
+
self.sortData[obj.key] = lastItem.sort;
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
getSearchFields(obj) {
|
|
257
|
+
var self = this;
|
|
281
258
|
var fields = self.model.searchData(
|
|
282
259
|
obj.fieldName1,
|
|
283
260
|
obj.code1,
|
|
@@ -287,21 +264,13 @@ export default {
|
|
|
287
264
|
var model = {
|
|
288
265
|
searchData: fields,
|
|
289
266
|
};
|
|
290
|
-
|
|
291
|
-
if (type===1) {
|
|
292
|
-
let lastItemIndex = self.showData[0].length - 1;
|
|
293
|
-
let lastItem = self.showData[0][lastItemIndex];
|
|
294
|
-
self.showData[0][lastItemIndex]=obj;
|
|
295
|
-
self.showData[1][index]=lastItem;
|
|
296
|
-
self.sortData[lastItem.key]=obj.sort;
|
|
297
|
-
self.sortData[obj.key]=lastItem.sort;
|
|
298
|
-
}
|
|
267
|
+
return model;
|
|
299
268
|
},
|
|
300
|
-
searchStatsComplate(
|
|
269
|
+
searchStatsComplate() {
|
|
301
270
|
var self = this;
|
|
302
271
|
this.$nextTick(function () {
|
|
303
272
|
if (typeof self.api !== "undefined") {
|
|
304
|
-
self.loaderObj.SearchStats(self.api, self.load, this.searchModel);
|
|
273
|
+
self.loaderObj.SearchStats(self.api, self.load, this.searchModel, null);
|
|
305
274
|
}
|
|
306
275
|
if (typeof self.source !== "undefined") {
|
|
307
276
|
self.load(self.loaderObj.SearchStats(self.source));
|
|
@@ -311,24 +280,38 @@ export default {
|
|
|
311
280
|
}
|
|
312
281
|
});
|
|
313
282
|
},
|
|
283
|
+
getsearchStats() {
|
|
284
|
+
var self = this;
|
|
285
|
+
let model = [];
|
|
286
|
+
if (this.selectStats != []) {
|
|
287
|
+
let n = self.data.find(
|
|
288
|
+
(v) => self.selectStats === v.key
|
|
289
|
+
);
|
|
290
|
+
|
|
291
|
+
if (n) {
|
|
292
|
+
model = self.getSearchFields(n);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return model;
|
|
296
|
+
}
|
|
314
297
|
},
|
|
315
298
|
watch: {
|
|
316
299
|
showWidth: function (newVal, oldVal) {
|
|
317
|
-
this.sliceIndex=null;
|
|
300
|
+
this.sliceIndex = null;
|
|
318
301
|
this.flagClick = false;
|
|
319
302
|
this.showStats();
|
|
320
303
|
},
|
|
321
304
|
},
|
|
322
305
|
};
|
|
323
306
|
</script>
|
|
324
|
-
<style>
|
|
325
|
-
</style>
|
|
307
|
+
<style></style>
|
|
326
308
|
|
|
327
309
|
<style>
|
|
328
310
|
.ct-table-Statistics {
|
|
329
311
|
height: 20px;
|
|
330
312
|
margin-bottom: 10px;
|
|
331
313
|
}
|
|
314
|
+
|
|
332
315
|
.tab-list {
|
|
333
316
|
position: relative;
|
|
334
317
|
margin-bottom: 10px;
|
|
@@ -419,12 +402,13 @@ export default {
|
|
|
419
402
|
cursor: pointer;
|
|
420
403
|
}
|
|
421
404
|
|
|
422
|
-
|
|
405
|
+
.Stats-popover {
|
|
423
406
|
/* float: left; */
|
|
424
407
|
/* margin-top: 4px; */
|
|
425
408
|
margin-left: 4px;
|
|
426
409
|
height: 16px;
|
|
427
410
|
}
|
|
411
|
+
|
|
428
412
|
.more-dropdown {
|
|
429
413
|
position: absolute;
|
|
430
414
|
width: 16px;
|
|
@@ -434,6 +418,7 @@ export default {
|
|
|
434
418
|
right: 0px;
|
|
435
419
|
cursor: pointer;
|
|
436
420
|
}
|
|
421
|
+
|
|
437
422
|
.my-icon-more {
|
|
438
423
|
width: 14px;
|
|
439
424
|
height: 15px;
|
package/src/main.js
CHANGED
|
@@ -17,13 +17,13 @@ Vue.use(centaline, {
|
|
|
17
17
|
// baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
|
|
18
18
|
// baseUrl: "http://10.88.22.46:6060/onecard-api/",
|
|
19
19
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
20
|
-
baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
20
|
+
// baseUrl: "http://10.88.22.13:6060/onecard-api/",
|
|
21
21
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
22
22
|
// baseUrl: "http://10.25.10.63:22026/service-api/v1/form/router",
|
|
23
23
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
24
24
|
// baseUrl: "https://ccesutest.centaline.com.cn/service-api/v1/form/router",
|
|
25
25
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
26
|
-
|
|
26
|
+
baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
27
27
|
// baseUrl: "http://10.1.245.111:38028/",
|
|
28
28
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
29
29
|
// baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
|
|
@@ -60,11 +60,11 @@ Vue.use(centaline, {
|
|
|
60
60
|
authObject: '{token:"1080-1740569404179091456"}',
|
|
61
61
|
|
|
62
62
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
63
|
-
EstateInfo: '{"estateId":"
|
|
63
|
+
EstateInfo: ' {"estateId":"20111129152318499305689117E3B934","estateName":"%E9%BC%8E%E5%B3%B0.%E5%9B%BD%E6%B1%87%E5%B1%B1","estDeptPath":"009.010.007"}',
|
|
64
64
|
estateId: '',
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
66
|
+
authObject: '{"currentEstate":{"estateId":"20111129152318499305689117E3B934","estateName":"%E9%BC%8E%E5%B3%B0.%E5%9B%BD%E6%B1%87%E5%B1%B1","estDeptPath":"009.010.007"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"9233406a0587299328ce14a5e25c25d0","token":"","random":"v9WVnK","time":1703832144841,"sign":"425035fc7fbb05a157106ae015b0e184"}',
|
|
67
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijk5N2NhMDY3LWI2M2EtNGE0Mi1hOTczLTY0N2EzZTA2OTZiYyJ9.lh7zmru5RGWXyZq-DvFxt4squt0M7hokv5jmBIBENKeNnMfjRJ-AntnJW9YOvmwwjGvoSk3J885H03Wjed8Pug',
|
|
68
68
|
};
|
|
69
69
|
},
|
|
70
70
|
// 请求完成事件,可判断是否登录过期执行响应操作
|