centaline-data-driven 1.2.69 → 1.2.72
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/Form.vue +7 -2
- package/src/assets/more.png +0 -0
- package/src/centaline/dynamicContact/src/dynamicContact.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicDetail.vue +9 -2
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +28 -25
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +18 -4
- package/src/centaline/dynamicForm/src/dynamicForm.vue +1 -1
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +8 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +12 -5
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +5 -5
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +4 -0
- package/src/centaline/loader/src/ctl/Detail.js +3 -0
- package/src/centaline/selectOption/src/selectOptionVertical.vue +8 -0
- package/src/main.js +2 -2
- 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/Form.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
|
-
<ct-form :api="'/
|
|
3
|
+
<ct-form :api="'/third-dept-tran/tran-comm-adjust/create'" :apiParam="apiParam"></ct-form>
|
|
4
4
|
<!-- <ct-form :api="'/PropertyRET/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
|
|
5
5
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
6
6
|
<!-- <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form> -->
|
|
@@ -18,7 +18,12 @@
|
|
|
18
18
|
// apiParam: {headerParam: {}, urlParam: {contractID: "06cad32e-4d0d-4b6f-bd24-16a28629a550", actionType: "0"}}
|
|
19
19
|
// apiParam: {originalTraId: "1475658732246241281", actionType: 2, chanceID: "1"} ,
|
|
20
20
|
// apiParam: {originalTraId: "1516290587463507969", actionType: "3", pageStyle: "2", pageTitle: "成交报告",pageOnly: "true"}
|
|
21
|
-
apiParam:{
|
|
21
|
+
apiParam:{actionType: 2
|
|
22
|
+
,commAdjustCategory: "6"
|
|
23
|
+
,originalTraId: "1478187254032572417"
|
|
24
|
+
,pageOnly: true
|
|
25
|
+
,pageStyle: 2
|
|
26
|
+
,pageTitle: "新增业绩调整"}
|
|
22
27
|
}
|
|
23
28
|
},
|
|
24
29
|
methods: {
|
|
Binary file
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<ct-PropertyDetailOFI :api="api" :apiParam="apiParam" :parentModel="parentModel" class="ct-PropertyDetailOFI" v-if="pageType=='PropertyDetailOFI'"
|
|
4
|
-
|
|
3
|
+
<ct-PropertyDetailOFI :api="api" :apiParam="apiParam" :parentModel="parentModel" class="ct-PropertyDetailOFI" v-if="pageType=='PropertyDetailOFI'"
|
|
4
|
+
@loaded="loaded"></ct-PropertyDetailOFI>
|
|
5
|
+
<ct-PropertyDetailRET :api="api" :apiParam="apiParam" :parentModel="parentModel" class="ct-PropertyDetailRET" v-if="pageType=='PropertyDetailRET'"
|
|
6
|
+
@loaded="loaded"></ct-PropertyDetailRET>
|
|
5
7
|
<ct-PropertySimpleDetailRET :api="api" :apiParam="apiParam" :selectIndex="selectIndex" :rowCount="rowCount" class="ct-PropertySimpleDetailRET"
|
|
8
|
+
@loaded="loaded"
|
|
6
9
|
@clickNextHandler="clickNextHandler" @clickPrevHandler="clickPrevHandler" @simpleRouterclickHandler="simpleRouterclickHandler"
|
|
7
10
|
v-if="pageType=='PropertySimpleDetailRET'" @closeSideHandler="closeSideHandler"></ct-PropertySimpleDetailRET>
|
|
8
11
|
</div>
|
|
@@ -49,6 +52,10 @@
|
|
|
49
52
|
simpleRouterclickHandler(field,data) {
|
|
50
53
|
this.$emit('simpleRouterclickHandler',field,data);
|
|
51
54
|
},
|
|
55
|
+
loaded(model) {
|
|
56
|
+
//通知父组件加载完成
|
|
57
|
+
this.$emit('loaded',model);
|
|
58
|
+
},
|
|
52
59
|
}
|
|
53
60
|
}
|
|
54
61
|
</script>
|
|
@@ -27,28 +27,32 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
<div class="head-but">
|
|
29
29
|
<div>
|
|
30
|
-
<component v-if="model.otherTradeActionRouter!==null" v-bind="model.otherTradeActionRouter" class="max-default"
|
|
30
|
+
<component v-if="model.otherTradeActionRouter!==null" v-bind="model.otherTradeActionRouter" class="max-default w93"
|
|
31
31
|
:is="model.otherTradeActionRouter.is" :vmodel="model.otherTradeActionRouter" :api="model.optionApi" @click="fieldClickHandler(model.otherTradeActionRouter,$event)"></component>
|
|
32
|
-
<img
|
|
33
|
-
|
|
32
|
+
<img v-if="parentModel && parentModel.$refs && parentModel.$refs.table"
|
|
33
|
+
:class="{'domDisabled':parentModel && parentModel.$refs.table && parentModel.$refs.table.model.selectIndex<=0}"
|
|
34
|
+
@click="clickPrevHandler" src="../../../assets/T.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left: 20px;cursor: pointer">
|
|
35
|
+
<img v-if="parentModel && parentModel.$refs && parentModel.$refs.table"
|
|
36
|
+
:class="{'domDisabled':parentModel && parentModel.$refs.table && parentModel.$refs.table.model.listData && parentModel.$refs.table.model.selectIndex===parentModel.$refs.table.model.listData.length-1}"
|
|
37
|
+
@click="clickNextHandler" src="../../../assets/B.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left: 15px;margin-right: 13px;cursor: pointer">
|
|
34
38
|
</div>
|
|
35
39
|
<div class="mt5">
|
|
36
40
|
<component class="max-report w93" v-if="model.actionRouters!==null && model.actionRouters[0]!==null"
|
|
37
41
|
:is="model.actionRouters[0].is" :vmodel="model.actionRouters[0]" :api="model.optionApi" @click="fieldClickHandler(model.actionRouters[0],$event)"></component>
|
|
38
|
-
<component class="max-report" v-if="model.actionRouters!==null && model.actionRouters[1]!==null"
|
|
42
|
+
<component class="max-report w93" v-if="model.actionRouters!==null && model.actionRouters[1]!==null"
|
|
39
43
|
:is="model.actionRouters[1].is" :vmodel="model.actionRouters[1]" :api="model.optionApi" @click="fieldClickHandler(model.actionRouters[1],$event)"></component>
|
|
40
44
|
</div>
|
|
41
45
|
<div class="mt5">
|
|
42
|
-
<button type="button" class="el-button el-button--info el-button--mini max-report rel
|
|
46
|
+
<button type="button" class="el-button el-button--info el-button--mini max-report rel w93"
|
|
43
47
|
v-if="model.actionRoutersMoreList !== null && model.actionRoutersMoreList.length>0">
|
|
44
48
|
<img src="../../../assets/dian.png" alt="" class="report">
|
|
45
49
|
<ul class="report-cont">
|
|
46
50
|
<li v-for="(col, index) in model.actionRoutersMoreList" :key="index" v-if="col.show !== false">
|
|
47
|
-
<component class="max-report" :is="col.is" :vmodel="col" :api="model.optionApi" @click="fieldClickHandler(col,$event)"></component>
|
|
51
|
+
<component class="max-report w93" :is="col.is" :vmodel="col" :api="model.optionApi" @click="fieldClickHandler(col,$event)"></component>
|
|
48
52
|
</li>
|
|
49
53
|
</ul>
|
|
50
54
|
</button>
|
|
51
|
-
<component v-else-if="model.actionRouters!==null && model.actionRouters.length===3" class="max-report"
|
|
55
|
+
<component v-else-if="model.actionRouters!==null && model.actionRouters.length===3" class="max-report w93"
|
|
52
56
|
:is="model.actionRouters[2].is" :vmodel="model.actionRouters[2]" :api="model.optionApi" @click="fieldClickHandler(model.actionRouters[2],$event)">
|
|
53
57
|
</component>
|
|
54
58
|
</div>
|
|
@@ -358,6 +362,8 @@
|
|
|
358
362
|
self.setDetailHeight();
|
|
359
363
|
});
|
|
360
364
|
});
|
|
365
|
+
//通知父组件加载完成
|
|
366
|
+
this.$emit('loaded', this.model);
|
|
361
367
|
},
|
|
362
368
|
loadFields() {
|
|
363
369
|
var self = this;
|
|
@@ -552,7 +558,7 @@
|
|
|
552
558
|
}
|
|
553
559
|
else if (field.isFormPageInTab || field.isSearchPageInTab) {// 外部框架tab页打开
|
|
554
560
|
submitData = field.getActionPara(submitData).para;
|
|
555
|
-
self.$common.getDataDrivenOpts().handler.openTab(field.action, submitData, field.pageTitle);
|
|
561
|
+
self.$common.getDataDrivenOpts().handler.openTab(field.action, submitData, field.pageTitle, self.model,field.dialogWidth);
|
|
556
562
|
}
|
|
557
563
|
else if (field.isBrowserNewTab) {// 浏览器打开
|
|
558
564
|
submitData = field.getActionPara(submitData).para;
|
|
@@ -598,31 +604,28 @@
|
|
|
598
604
|
}
|
|
599
605
|
},
|
|
600
606
|
clickNextHandler() {
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
let oldValue=this.parentModel.listData[this.parentModel.selectIndex][
|
|
604
|
-
this.parentModel.$
|
|
605
|
-
let newValue=this.parentModel.listData[this.parentModel.selectIndex][
|
|
607
|
+
let key='chanceID';
|
|
608
|
+
if(this.parentModel && this.parentModel.$refs.table){
|
|
609
|
+
let oldValue=this.parentModel.$refs.table.model.listData[this.parentModel.selectIndex][key];
|
|
610
|
+
this.parentModel.$refs.table.rowKeyDownHandle(null,1);
|
|
611
|
+
let newValue=this.parentModel.$refs.table.model.listData[this.parentModel.selectIndex][key];
|
|
606
612
|
if(oldValue!==newValue){
|
|
607
613
|
let parm=this.apiParam;
|
|
608
|
-
parm[
|
|
609
|
-
|
|
610
|
-
var fun =self.$common.getDataDrivenOpts().handler['refreshPropertyDetailRET'];
|
|
611
|
-
fun(parm,parm.pageTitle,self.parentModel);
|
|
614
|
+
parm[key]=newValue;
|
|
615
|
+
this.loaderObj.Detail(this.api,parm, this.load);
|
|
612
616
|
}
|
|
613
617
|
}
|
|
614
618
|
},
|
|
615
619
|
clickPrevHandler() {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
this.parentModel.$
|
|
619
|
-
|
|
620
|
+
let key='chanceID';
|
|
621
|
+
if(this.parentModel && this.parentModel.$refs.table){
|
|
622
|
+
let oldValue=this.parentModel.$refs.table.model.listData[this.parentModel.selectIndex][key];
|
|
623
|
+
this.parentModel.$refs.table.rowKeyDownHandle(null,-1);
|
|
624
|
+
let newValue=this.parentModel.$refs.table.model.listData[this.parentModel.selectIndex][key];
|
|
620
625
|
if(oldValue!==newValue){
|
|
621
626
|
let parm=this.apiParam;
|
|
622
|
-
parm[
|
|
623
|
-
|
|
624
|
-
var fun =self.$common.getDataDrivenOpts().handler['refreshPropertyDetailRET'];
|
|
625
|
-
fun(parm,parm.pageTitle,self.parentModel);
|
|
627
|
+
parm[key]=newValue;
|
|
628
|
+
this.loaderObj.Detail(this.api,parm, this.load);
|
|
626
629
|
}
|
|
627
630
|
}
|
|
628
631
|
},
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<div ref="contact" id="contact" style="margin-top: 16px;" v-if="model.contactApiRouter!==null" >
|
|
52
|
-
<ct-contact :apiRouter="model.contactApiRouter" :api="model.contactApiRouter.action" :apiParam="model.contactApiRouter.getSearchPara()"></ct-contact>
|
|
52
|
+
<ct-contact :key="refreshKey" :apiRouter="model.contactApiRouter" :api="model.contactApiRouter.action" :apiParam="model.contactApiRouter.getSearchPara()"></ct-contact>
|
|
53
53
|
</div>
|
|
54
54
|
<div ref="routers" style="margin-top: 16px;display: flex;">
|
|
55
55
|
<component v-for="(router, index) in model.actionRoutersSimple.slice(0,showIndex>0?showIndex:model.actionRoutersSimple.length-1)" :key="index"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
:is="router.is" :vmodel="router" :api="model.optionApi" @click="fieldClickHandler(router)">
|
|
67
67
|
</component>
|
|
68
68
|
</div>
|
|
69
|
-
<span :slot="showIndex>0?'reference':''" class="
|
|
69
|
+
<span :slot="showIndex>0?'reference':''" class="more" style="margin-left: 10px;"></span>
|
|
70
70
|
</el-popover>
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
data() {
|
|
95
95
|
return {
|
|
96
|
+
refreshKey:0,
|
|
96
97
|
topWidth:300,
|
|
97
98
|
showIndex:0,
|
|
98
99
|
option: {
|
|
@@ -166,7 +167,12 @@
|
|
|
166
167
|
}
|
|
167
168
|
});
|
|
168
169
|
});
|
|
169
|
-
},
|
|
170
|
+
},
|
|
171
|
+
refreshPage(){
|
|
172
|
+
this.refreshKey=this.refreshKey+1;
|
|
173
|
+
this.showIndex=0;
|
|
174
|
+
this.setDetailStyle();
|
|
175
|
+
},
|
|
170
176
|
loadFields() {
|
|
171
177
|
var self = this;
|
|
172
178
|
self.collapse=[];
|
|
@@ -345,7 +351,7 @@
|
|
|
345
351
|
}
|
|
346
352
|
else if (field.isFormPageInTab || field.isSearchPageInTab) {// 外部框架tab页打开
|
|
347
353
|
submitData = field.getActionPara(submitData).para;
|
|
348
|
-
self.$common.getDataDrivenOpts().handler.openTab(field.action, submitData, field.pageTitle);
|
|
354
|
+
self.$common.getDataDrivenOpts().handler.openTab(field.action, submitData, field.pageTitle, self.model,field.dialogWidth);
|
|
349
355
|
}
|
|
350
356
|
else if (field.isBrowserNewTab) {// 浏览器打开
|
|
351
357
|
submitData = field.getActionPara(submitData).para;
|
|
@@ -417,6 +423,14 @@
|
|
|
417
423
|
margin-right: 10px;
|
|
418
424
|
font-size: 12px;
|
|
419
425
|
}
|
|
426
|
+
.more{
|
|
427
|
+
background: url('../../../assets/more.png')no-repeat;
|
|
428
|
+
background-size: 100% 100%;
|
|
429
|
+
width: 26px;
|
|
430
|
+
height: 26px;
|
|
431
|
+
display: table-caption;
|
|
432
|
+
cursor: pointer;
|
|
433
|
+
}
|
|
420
434
|
</style>
|
|
421
435
|
|
|
422
436
|
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
<el-col :span="24">
|
|
15
15
|
<el-table size="mini" class="max-table--border" :data="model.tableData" :key="itemKey" border style="width: 100%" highlight-current-row :show-summary="model.showSummary" :summary-method="getSummaries">
|
|
16
16
|
<!--数据列-->
|
|
17
|
-
<el-table-column v-for="(v,i) in model.rows[0].field" :key="i" :prop="v.id" :label="v.label" v-if="v.show !== false"
|
|
17
|
+
<el-table-column v-for="(v,i) in model.rows[0].field" :key="i" :prop="v.id" :label="v.label" v-if="v.show !== false">
|
|
18
18
|
<template slot="header" slot-scope="scope">
|
|
19
|
-
<div
|
|
19
|
+
<div :class="[{'ct-table-required':v.required&&model.rows[0].edit&& model.rows[0].delete&&!model.tableDisabled},getHeadClass(v)]">
|
|
20
20
|
{{v.label}}
|
|
21
21
|
</div>
|
|
22
22
|
</template>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</el-table-column>
|
|
35
35
|
|
|
36
36
|
<!--操作列-->
|
|
37
|
-
<el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0"
|
|
37
|
+
<el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0">
|
|
38
38
|
<template slot-scope="scope">
|
|
39
39
|
<span v-if="scope.row.edit || scope.row.isSet" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="saveRow(scope.row,scope.$index,true)">
|
|
40
40
|
{{scope.row.isSet?'保存':"修改"}}
|
|
@@ -105,6 +105,11 @@
|
|
|
105
105
|
});
|
|
106
106
|
},
|
|
107
107
|
methods: {
|
|
108
|
+
getHeadClass(v) {
|
|
109
|
+
if (v.is === "ct-inputNumber") {
|
|
110
|
+
return 'ct-table-inputnumber';
|
|
111
|
+
}
|
|
112
|
+
},
|
|
108
113
|
//添加账号
|
|
109
114
|
addRow() {
|
|
110
115
|
var app = this;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from" @loaded="tableLoaded"
|
|
16
16
|
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate"
|
|
17
|
-
@rowClickHandle="rowClickHandle"
|
|
17
|
+
@rowClickHandle="rowClickHandle"
|
|
18
18
|
@showTitle="showTitleHandler"></ct-searchtable>
|
|
19
19
|
</div>
|
|
20
20
|
<div v-if="flagSideBar && flagSideBarOfData"
|
|
@@ -203,13 +203,15 @@
|
|
|
203
203
|
},
|
|
204
204
|
rowClickHandle() {
|
|
205
205
|
var self = this;
|
|
206
|
-
if(self.selectIndex!==self.$refs.table.model.selectIndex){
|
|
206
|
+
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter){
|
|
207
207
|
self.selectIndex=self.$refs.table.model.selectIndex;
|
|
208
208
|
self.rowCount=self.$refs.table.model.listData.length;
|
|
209
209
|
self.sideBarApiParam = {};
|
|
210
|
-
self.$refs.table.model.rowSelectRouter.submitListField
|
|
211
|
-
self
|
|
212
|
-
|
|
210
|
+
if(self.$refs.table.model.rowSelectRouter.submitListField){
|
|
211
|
+
self.$refs.table.model.rowSelectRouter.submitListField.forEach((k) => {
|
|
212
|
+
self.sideBarApiParam[k] = self.$refs.table.model.listData[self.selectIndex][k];
|
|
213
|
+
});
|
|
214
|
+
}
|
|
213
215
|
self.sideBarApiParam.actionType = self.$refs.table.model.rowSelectRouter.actionType;
|
|
214
216
|
self.detailKey = self.detailKey+1;
|
|
215
217
|
}
|
|
@@ -236,6 +238,11 @@
|
|
|
236
238
|
for(var i=0;i<popoverCallTels.length;i++){
|
|
237
239
|
popoverCallTels[i].style.display='block';
|
|
238
240
|
}
|
|
241
|
+
if(this.$refs.detail){
|
|
242
|
+
if(this.$refs.detail.$children && this.$refs.detail.$children.length>0){
|
|
243
|
+
this.$refs.detail.$children[0].refreshPage();
|
|
244
|
+
}
|
|
245
|
+
}
|
|
239
246
|
}
|
|
240
247
|
},
|
|
241
248
|
closeSideHandler() {
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
window.addEventListener("resize", (ev) => {
|
|
254
254
|
self.setTableHeight();
|
|
255
255
|
});
|
|
256
|
-
|
|
256
|
+
self.rowColorChange();
|
|
257
257
|
self.fiexdHead();
|
|
258
258
|
|
|
259
259
|
//当表格没有占满表格框时,主动请求下一页
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
});
|
|
536
536
|
}
|
|
537
537
|
});
|
|
538
|
-
},
|
|
538
|
+
},
|
|
539
539
|
scrollHandle(ev) {
|
|
540
540
|
var self = this;
|
|
541
541
|
if ((this.$refs.tableParent.scrollTop + this.$refs.tableParent.clientHeight) >= (this.$refs.tableParent.scrollHeight - 5)) {
|
|
@@ -817,12 +817,12 @@
|
|
|
817
817
|
else {
|
|
818
818
|
// let parm={submitData:submitData,field:field}
|
|
819
819
|
// self.$common.excuteFunStr.call(self.model.scripts, field.action,parm);
|
|
820
|
+
// var fun = self.model.scripts.formData[action];
|
|
821
|
+
// fun(submitData,field);
|
|
820
822
|
let title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
821
823
|
submitData.actionType = field.actionType;
|
|
822
824
|
var fun = self.$common.getDataDrivenOpts().handler[action];
|
|
823
|
-
fun(submitData, title, self
|
|
824
|
-
// var fun = self.model.scripts.formData[action];
|
|
825
|
-
// fun(submitData,field);
|
|
825
|
+
fun(submitData, title, self.$parent);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
|
|
@@ -49,6 +49,10 @@
|
|
|
49
49
|
}
|
|
50
50
|
</script>
|
|
51
51
|
<style>
|
|
52
|
+
.ct-input_inner .el-popover__reference span{
|
|
53
|
+
margin-left: 0!important;
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
.ct-selectOptionVertical {
|
|
53
57
|
width: 100%;
|
|
54
58
|
max-height: 250px;
|
|
@@ -77,4 +81,8 @@
|
|
|
77
81
|
-webkit-font-smoothing: antialiased;
|
|
78
82
|
-moz-osx-font-smoothing: grayscale;
|
|
79
83
|
}
|
|
84
|
+
.ct-selectOptionVertical li div img{
|
|
85
|
+
vertical-align: -8px;
|
|
86
|
+
}
|
|
80
87
|
</style>
|
|
88
|
+
|
package/src/main.js
CHANGED
|
@@ -14,7 +14,7 @@ Vue.config.productionTip = false;
|
|
|
14
14
|
Vue.use(centaline, {
|
|
15
15
|
baseUrl: "http://10.88.22.13:7070/v1/form/router",
|
|
16
16
|
// baseUrl: "http://10.88.23.22:9999/v1/form/router",
|
|
17
|
-
// baseUrl: "http://
|
|
17
|
+
// baseUrl: "http://10.1.245.111:38028/api",
|
|
18
18
|
// flagRouterSelf: true,
|
|
19
19
|
zindex: 999,
|
|
20
20
|
showRequestErrorMessage: true,
|
|
@@ -36,7 +36,7 @@ Vue.use(centaline, {
|
|
|
36
36
|
// 获取请求头
|
|
37
37
|
getRequestHeaders: function () {
|
|
38
38
|
return {
|
|
39
|
-
oldToken: '
|
|
39
|
+
oldToken: '6613f67c-ba83-4065-9570-175c2f74e6d5',
|
|
40
40
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
41
41
|
EstateInfo: '{"estateId":"201509230915485D942241BBA30FF49F","estateName":"%E7%88%B1%E7%90%B4%E6%B5%B7B%E7%BB%84"}',
|
|
42
42
|
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjgyZjdlZWUzLTY1ODctNDk4NS1hMTE3LTE3ODQxNDUxYzY5MCJ9.d8lc203lFjHqjJ6mboxSD7Eo2nJBYyynY9MtH5L0N3L9fYVedUhhvscnaxw08fITffWLxH4Mc7kP7qvHbJ3I8A',
|