centaline-data-driven 1.5.59 → 1.5.60
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/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache.v2 +0 -0
- package/.vs/Centaline.Front_End.DataDriven/config/applicationhost.config +1034 -0
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.dgspec.json +10 -11
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.props +14 -11
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.targets +7 -7
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.csproj.FileListAbsolute.txt +6 -0
- package/obj/project.assets.json +52 -11
- package/package.json +1 -1
- package/release-log.md +7 -0
- package/src/Detail.vue +3 -3
- package/src/Form.vue +3 -2
- package/src/SearchList.vue +20 -28
- package/src/SearchTree.vue +2 -2
- package/src/centaline/dynamicHyperLink/index.js +1 -1
- package/src/centaline/dynamicInputNumber/src/dynamicInputNumber.vue +3 -1
- package/src/centaline/dynamicLayout/src/dynamicLayoutChildren.vue +17 -17
- package/src/centaline/dynamicPlaceHolder/index.js +1 -1
- package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +9 -6
- package/src/centaline/dynamicSos/src/dynamicSos.vue +8 -8
- package/src/centaline/loader/src/ctl/Button.js +16 -16
- package/src/centaline/loader/src/ctl/PlaceHolder.js +2 -2
- package/src/centaline/loader/src/ctl/Sos.js +2 -2
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +5 -5
- package/src/main.js +7 -10
- package/wwwroot/static/centaline/centaline-data-driven.js +27 -24
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/db.lock +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/storage.ide +0 -0
package/src/SearchList.vue
CHANGED
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-search" style="width:100%;height:100%;position: fixed;">
|
|
3
|
-
|
|
4
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlist> -->
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist>
|
|
7
6
|
|
|
8
|
-
<!-- <ct-searchlist :apiParam="para"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/finance/tran-commission-allocate/process-layout'" :searchDataApi="'/api/finance/tran-commission-allocate/process-list'"></ct-searchlist> -->
|
|
13
|
-
|
|
14
|
-
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/api/shift-approver/layout'" :searchDataApi="'/api/shift-approver/list'"></ct-searchlist> -->
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/filemanage/batchdownlist/getLayoutOfSearch'" :searchDataApi="'/filemanage/batchdownlist/getList'"></ct-searchlist> -->
|
|
18
|
-
|
|
7
|
+
<!-- <ct-searchlist :apiParam="para"
|
|
8
|
+
:searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
|
|
9
|
+
:searchDataApi="'/api/third-dept-tran/tran-list'">
|
|
10
|
+
</ct-searchlist> -->
|
|
19
11
|
|
|
20
12
|
<!-- <ct-searchlist :apiParam="para"
|
|
21
13
|
:searchConditionApi="'/api/transaction/adjustRecord/getLayoutOfSearch'"
|
|
@@ -45,16 +37,16 @@
|
|
|
45
37
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
46
38
|
</ct-searchlist> -->
|
|
47
39
|
|
|
48
|
-
|
|
49
|
-
:searchConditionApi="'/
|
|
50
|
-
:searchDataApi="'/
|
|
51
|
-
</ct-searchlist
|
|
40
|
+
<!--<ct-searchlist :apiParam="para"
|
|
41
|
+
:searchConditionApi="'/CallTaskList/getLayoutOfSearch'"
|
|
42
|
+
:searchDataApi="'/CallTaskList/getListOfSearchModel'">
|
|
43
|
+
</ct-searchlist>-->
|
|
52
44
|
|
|
53
|
-
|
|
45
|
+
<!--<ct-searchlist
|
|
54
46
|
:searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
|
|
55
47
|
:searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'" :searchStatsApi="'/PropertyPublishList/getListStatsForRET'"
|
|
56
48
|
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
57
|
-
</ct-searchlist
|
|
49
|
+
</ct-searchlist>-->
|
|
58
50
|
|
|
59
51
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
60
52
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
@@ -68,17 +60,17 @@
|
|
|
68
60
|
:searchStatsApi="'/PropertyOFIList/getListStats'">
|
|
69
61
|
</ct-searchlist> -->
|
|
70
62
|
|
|
71
|
-
<!-- <ct-searchlist :searchConditionApi="'/EstateList/getLayoutOfSearch'"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<!-- <ct-searchlist :searchConditionApi="'/DistrictList/getLayoutOfSearch'" :searchDataApi="'/DistrictList/getListOfSearchModel'"></ct-searchlist> -->
|
|
76
|
-
|
|
77
|
-
<!-- <ct-searchlist :searchConditionApi="'/CustomerImportList/getLayoutOfSearch'" :searchDataApi="'/CustomerImportList/getListOfSearchModel'"></ct-searchlist> -->
|
|
63
|
+
<!-- <ct-searchlist :searchConditionApi="'/EstateList/getLayoutOfSearch'"
|
|
64
|
+
:searchDataApi="'/EstateList/getListOfSearchModel'">
|
|
65
|
+
</ct-searchlist> -->
|
|
78
66
|
|
|
79
|
-
<ct-searchlist :searchConditionApi="'/
|
|
67
|
+
<!-- <ct-searchlist :searchConditionApi="'/EstateBuildingList/getLayoutOfSearch'"
|
|
68
|
+
:searchDataApi="'/EstateBuildingList/getListOfSearchModel'">
|
|
69
|
+
</ct-searchlist> -->
|
|
80
70
|
|
|
81
|
-
<!-- <ct-searchlist :searchConditionApi="'/
|
|
71
|
+
<!-- <ct-searchlist :searchConditionApi="'/DistrictList/getLayoutOfSearch'"
|
|
72
|
+
:searchDataApi="'/DistrictList/getListOfSearchModel'">
|
|
73
|
+
</ct-searchlist> -->
|
|
82
74
|
|
|
83
75
|
<!-- <ct-searchlist :searchConditionApi="'/RoleList/getLayoutOfSearch'" :searchStatsApi="'/RoleList/getListStats'" :searchDataApi="'/RoleList/getListOfSearchModel'"></ct-searchlist> -->
|
|
84
76
|
|
package/src/SearchTree.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-Tree" style="height:100%;position: fixed;width:100%">
|
|
3
3
|
<ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'280'"
|
|
4
|
-
:searchConditionApi="'/
|
|
5
|
-
:searchDataApi="'/
|
|
4
|
+
:searchConditionApi="'/DepartmentList/getLayoutOfSearch'"
|
|
5
|
+
:searchDataApi="'/DepartmentList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
|
|
6
6
|
<ct-dialog-list></ct-dialog-list>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-container v-if="model.routerKey&&model.visibility!='0'&&model.rightRouter&&model.value!=''" :direction="model.orientation" :style="model.styleObject" ref="layoutchildren">
|
|
3
|
-
<div @click="clickHandlerLayout($event)">
|
|
4
|
-
<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>
|
|
5
|
-
</div>
|
|
6
|
-
</el-container>
|
|
7
|
-
<el-container v-else-if="model.value!=''&&model.visibility!='0'" :direction="model.orientation" :style="model.styleObject" ref="layoutchildren">
|
|
8
|
-
<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>
|
|
9
|
-
</el-container>
|
|
1
|
+
<template>
|
|
2
|
+
<el-container v-if="model.routerKey&&model.visibility!='0'&&model.rightRouter&&model.value!=''" :direction="model.orientation" :style="model.styleObject" ref="layoutchildren">
|
|
3
|
+
<div @click="clickHandlerLayout($event)">
|
|
4
|
+
<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>
|
|
5
|
+
</div>
|
|
6
|
+
</el-container>
|
|
7
|
+
<el-container v-else-if="model.value!=''&&model.visibility!='0'" :direction="model.orientation" :style="model.styleObject" ref="layoutchildren">
|
|
8
|
+
<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>
|
|
9
|
+
</el-container>
|
|
10
10
|
</template>
|
|
11
11
|
<script>
|
|
12
12
|
import dynamicElement from '../../mixins/dynamicElement'
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
39
|
created() {
|
|
40
|
-
this.model = this.loaderObj.CellLayout(this.vmodel);
|
|
40
|
+
this.model = this.loaderObj.CellLayout(this.vmodel);
|
|
41
41
|
},
|
|
42
42
|
methods: {
|
|
43
43
|
clickHandler(routerKey, rowindex, forname, forrowindex,flagHaveAlert) {
|
|
44
44
|
this.$emit('click', routerKey, rowindex, forname, forrowindex,flagHaveAlert);
|
|
45
|
-
},
|
|
46
|
-
clickHandlerLayout(ev) {
|
|
45
|
+
},
|
|
46
|
+
clickHandlerLayout(ev) {
|
|
47
47
|
this.$emit(
|
|
48
48
|
"click",
|
|
49
49
|
this.model.routerKey,
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
for (const vn of vnodes) {
|
|
65
65
|
destroyDeep(vn)
|
|
66
66
|
}
|
|
67
|
-
}
|
|
68
|
-
if (typeof vnode.componentInstance !== 'undefined') {
|
|
69
|
-
vnode.componentInstance.$destroy()
|
|
67
|
+
}
|
|
68
|
+
if (typeof vnode.componentInstance !== 'undefined') {
|
|
69
|
+
vnode.componentInstance.$destroy()
|
|
70
70
|
}
|
|
71
71
|
setTimeout(() => {
|
|
72
72
|
vnode.componentInstance = undefined
|
|
73
73
|
vnode.elm.innerHTML = ''
|
|
74
74
|
}, 0)
|
|
75
75
|
}
|
|
76
|
-
destroyDeep(this._vnode)
|
|
76
|
+
destroyDeep(this._vnode)
|
|
77
77
|
},
|
|
78
78
|
}
|
|
79
|
-
</script>
|
|
79
|
+
</script>
|
|
@@ -184,18 +184,21 @@ export default {
|
|
|
184
184
|
fieldsValidExcute() {
|
|
185
185
|
var self = this;
|
|
186
186
|
var rtnBool = true;
|
|
187
|
+
self.validMessage='';
|
|
187
188
|
if (typeof self.$refs.Fields !== "undefined") {
|
|
188
189
|
self.$refs.Fields.forEach((f) => {
|
|
189
190
|
if (typeof f.validExcute !== "undefined") {
|
|
190
191
|
if (!f.validExcute()) {
|
|
191
|
-
if
|
|
192
|
-
if (f.validMessage
|
|
193
|
-
|
|
192
|
+
if(!self.validMessage){
|
|
193
|
+
if (f.validMessage) {
|
|
194
|
+
if (f.validMessage == "必填") {
|
|
195
|
+
self.validMessage= "【"+self.model.label+"-" + f.model.label + "】" + f.validMessage;
|
|
196
|
+
} else {
|
|
197
|
+
self.validMessage= f.validMessage;
|
|
198
|
+
}
|
|
194
199
|
} else {
|
|
195
|
-
|
|
200
|
+
self.validMessage="【"+self.model.label+"-" + f.model.label + "】不能为空!";
|
|
196
201
|
}
|
|
197
|
-
} else {
|
|
198
|
-
self.validMessage="【"+self.model.label+"-" + f.model.label + "】不能为空!";
|
|
199
202
|
}
|
|
200
203
|
rtnBool = false;
|
|
201
204
|
}
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
else {
|
|
79
79
|
this.model = this.vmodel;
|
|
80
80
|
}
|
|
81
|
-
this.$watch('model.value', (n, o) => {
|
|
82
|
-
if (typeof this.model.child !== 'undefined' && this.model.enableRelationFields) {
|
|
83
|
-
for (var item of this.model.child) {
|
|
81
|
+
this.$watch('model.value', (n, o) => {
|
|
82
|
+
if (typeof this.model.child !== 'undefined' && this.model.enableRelationFields) {
|
|
83
|
+
for (var item of this.model.child) {
|
|
84
84
|
item.value = item.defaultValue || '';
|
|
85
|
-
item.text = item.defaultText || '';
|
|
86
|
-
item.enableRelationFields = this.model.enableRelationFields;
|
|
85
|
+
item.text = item.defaultText || '';
|
|
86
|
+
item.enableRelationFields = this.model.enableRelationFields;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
});
|
|
@@ -147,11 +147,11 @@
|
|
|
147
147
|
var self = this;
|
|
148
148
|
this.model.getOptions(this.api, self.searchText);
|
|
149
149
|
},
|
|
150
|
-
soChange: function () {
|
|
151
|
-
var self = this;
|
|
150
|
+
soChange: function () {
|
|
151
|
+
var self = this;
|
|
152
152
|
this.model.enableRelationFields = true;
|
|
153
153
|
if (typeof this.model.child !== 'undefined') {
|
|
154
|
-
for (var item of this.model.child) {
|
|
154
|
+
for (var item of this.model.child) {
|
|
155
155
|
item.value = item.defaultValue || '';
|
|
156
156
|
item.text = item.defaultText || '';
|
|
157
157
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import base from '../../index';
|
|
2
|
-
import Base from './Base';
|
|
3
|
-
import common from '../../../common';
|
|
4
|
-
import Router from './Router';
|
|
2
|
+
import Base from './Base';
|
|
3
|
+
import common from '../../../common';
|
|
4
|
+
import Router from './Router';
|
|
5
5
|
import Vue from 'vue';
|
|
6
6
|
const Button = function (source, router) {
|
|
7
7
|
var rtn = {
|
|
@@ -15,7 +15,7 @@ const Button = function (source, router) {
|
|
|
15
15
|
},
|
|
16
16
|
set label(v) {
|
|
17
17
|
source.controlLabel = v;
|
|
18
|
-
},
|
|
18
|
+
},
|
|
19
19
|
get routerKey() {
|
|
20
20
|
return source.routerKey;
|
|
21
21
|
},
|
|
@@ -24,8 +24,8 @@ const Button = function (source, router) {
|
|
|
24
24
|
return router.isHyperLink;
|
|
25
25
|
}
|
|
26
26
|
return false;
|
|
27
|
-
},
|
|
28
|
-
get isSearchRouterKey() {
|
|
27
|
+
},
|
|
28
|
+
get isSearchRouterKey() {
|
|
29
29
|
if (source.controlType == 16 && source.routerKey) {
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
@@ -48,10 +48,10 @@ const Button = function (source, router) {
|
|
|
48
48
|
get borderColor() {
|
|
49
49
|
return source.borderColor ? source.borderColor + '' : (source.bgColor ? source.bgColor + '' : '');
|
|
50
50
|
},
|
|
51
|
-
icon: '',
|
|
52
|
-
getApiData(callback, field) {
|
|
51
|
+
icon: '',
|
|
52
|
+
getApiData(callback, field) {
|
|
53
53
|
var params = {
|
|
54
|
-
action: field.actionForSearch,
|
|
54
|
+
action: field.actionForSearch,
|
|
55
55
|
para: {
|
|
56
56
|
searchFields: field.getSearchPara(),
|
|
57
57
|
pageAttribute: {
|
|
@@ -59,11 +59,11 @@ const Button = function (source, router) {
|
|
|
59
59
|
},
|
|
60
60
|
flagSearch: true
|
|
61
61
|
}
|
|
62
|
-
};
|
|
62
|
+
};
|
|
63
63
|
Vue.prototype.$api.postHandler(common.globalUri(), params).then((response) => {
|
|
64
|
-
if (response.rtnCode === 200) {
|
|
65
|
-
var Buttons = [];
|
|
66
|
-
if (response.content.toolButtons) {
|
|
64
|
+
if (response.rtnCode === 200) {
|
|
65
|
+
var Buttons = [];
|
|
66
|
+
if (response.content.toolButtons) {
|
|
67
67
|
response.content.toolButtons.forEach((v) => {
|
|
68
68
|
var button = Router(v);
|
|
69
69
|
button.is = "ct-btn";
|
|
@@ -72,11 +72,11 @@ const Button = function (source, router) {
|
|
|
72
72
|
class: 'max-btn-gray'
|
|
73
73
|
}
|
|
74
74
|
Buttons.push(button);
|
|
75
|
-
});
|
|
76
|
-
}
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
77
|
callback(response.content, Buttons);
|
|
78
78
|
}
|
|
79
|
-
});
|
|
79
|
+
});
|
|
80
80
|
},
|
|
81
81
|
};
|
|
82
82
|
if(router){
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import base from '../../index';
|
|
2
|
-
import Base from './Base';
|
|
2
|
+
import Base from './Base';
|
|
3
3
|
|
|
4
4
|
const PlaceHolder = function (source) {
|
|
5
5
|
var rtn = {
|
|
@@ -14,4 +14,4 @@ const PlaceHolder = function (source) {
|
|
|
14
14
|
return rtn;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export default PlaceHolder;
|
|
17
|
+
export default PlaceHolder;
|
|
@@ -6,7 +6,7 @@ import common from '../../../common';
|
|
|
6
6
|
import Vue from 'vue';
|
|
7
7
|
const Sos = function (source, moreActionRouter) {
|
|
8
8
|
var rtn = {
|
|
9
|
-
options: [{ code: source.code1, name: source.name1 }],
|
|
9
|
+
options: [{ code: source.code1, name: source.name1 }],
|
|
10
10
|
enableRelationFields: true,
|
|
11
11
|
get text() {
|
|
12
12
|
if (source.isList && source.name1 && rtn.attrs.placeholder && rtn.displayLabelAfterSelected) {
|
|
@@ -31,7 +31,7 @@ const Sos = function (source, moreActionRouter) {
|
|
|
31
31
|
},
|
|
32
32
|
get parentName() {
|
|
33
33
|
return source.parentField;
|
|
34
|
-
},
|
|
34
|
+
},
|
|
35
35
|
reset() {
|
|
36
36
|
this.value = this.defaultValue;
|
|
37
37
|
this.text = this.defaultText;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
|
-
<script>
|
|
37
|
+
<script>
|
|
38
38
|
import Cookies from 'js-cookie';
|
|
39
39
|
export default {
|
|
40
40
|
name: 'ct-tablecurrency',
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
return false;
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
|
-
created() {
|
|
71
|
-
this.isVisited();
|
|
70
|
+
created() {
|
|
71
|
+
this.isVisited();
|
|
72
72
|
},
|
|
73
73
|
data() {
|
|
74
74
|
return {
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
}
|
|
99
99
|
this.labelColor='mazarine'
|
|
100
100
|
|
|
101
|
-
},
|
|
102
|
-
isVisited() {
|
|
101
|
+
},
|
|
102
|
+
isVisited() {
|
|
103
103
|
var key = this.router.action + this.rowData.chanceID;
|
|
104
104
|
if (typeof Cookies.get(key) !== "undefined") {
|
|
105
105
|
this.labelColor = 'mazarine'
|
package/src/main.js
CHANGED
|
@@ -14,14 +14,14 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
14
14
|
// 关闭生产模式下给出的提示
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
|
-
baseUrl: "http://10.88.22.
|
|
17
|
+
baseUrl: "http://10.88.22.66:17070/max-uplink-api/",
|
|
18
18
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
19
19
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
20
|
-
// baseUrl: "http://10.25.10.
|
|
20
|
+
// baseUrl: "http://10.25.10.67:9999/service-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
22
22
|
// baseUrl: "http://10.88.22.42:9999/service-api/v1/form/router",
|
|
23
23
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
24
|
-
// baseUrl: "http://10.88.22.
|
|
24
|
+
// baseUrl: "http://10.88.22.40:8080/api/",
|
|
25
25
|
// baseUrl: "http://10.58.2.108:8080/",
|
|
26
26
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
27
27
|
// baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
|
|
@@ -37,9 +37,6 @@ Vue.use(centaline, {
|
|
|
37
37
|
openTabSearch: function (field, submitData) {
|
|
38
38
|
alert("打开tab页Search:" + field.action)
|
|
39
39
|
},
|
|
40
|
-
openTabSearchRouter: function (action) {
|
|
41
|
-
alert("打开tab页:" + action)
|
|
42
|
-
},
|
|
43
40
|
openDetail: function (action) {
|
|
44
41
|
alert("打开tab页:" + action)
|
|
45
42
|
},
|
|
@@ -56,16 +53,16 @@ Vue.use(centaline, {
|
|
|
56
53
|
// 获取请求头
|
|
57
54
|
getRequestHeaders: function () {
|
|
58
55
|
return {
|
|
59
|
-
oldToken: '
|
|
56
|
+
oldToken: '11c12506-253c-4995-83fb-84cf51cb23a0',
|
|
60
57
|
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOiv5s1570zn-NBwiIuBIoUIkkUCIuxMEdPRMMRq95s1dzOsgWmHIccikIFr0gKQsMJYCURKxKdKYlHr-BH7UNz26yCFkByg7Aiw2A-tYwLDtEubgUibRiHo9i1aRRy-dtdSIab-8gdNKvcA618uu3v5x7rRMm3YkOZAfR6BtAWp_3LQHBNI8KHbkqlHi8QQAAP__.RrBgBqaFlp478oO3g5k_EEtjPt_o8qpJBkzgSP78Wa4',
|
|
61
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
58
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsOgkAQRf9laibZx7A7Qwez0PgRBGFNsDICicb472rUzt5T3OI0595g2fZQQeLakHYetXUlUool1l1kbJTZNC56ariXD_hjvvTWkkQbWqwlKlIgj2yVUSkodan12iQoIF9OUNkgnmJJxhQwD-tbeBbzEtuSz7t8_ce54zo_sy6MPHkJmMkOSG6aULwzGETyQcxI1ka4PwAAAP__.JHGPVLXu2vkxt79ZfugBlTdpl7tarN5jqYRkEyWZ8Kc"}',
|
|
62
59
|
|
|
63
60
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
64
61
|
EstateInfo: '{"estateId":"201806071109550C867184E8BCA56EC3","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|
|
65
62
|
estateId: '201806071109550C867184E8BCA56EC3',
|
|
66
63
|
|
|
67
|
-
// authObject: '{"currentEstate":{},"platform":1,"osVersion":"","clientVersion":"","machineCode":"
|
|
68
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
64
|
+
// authObject: '{"currentEstate":{"estateId":"20191114134322C29C9B83A84F192964","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"ce04f173da7df2e78a9da25595111387","token":"","random":"XNEYyu","time":1683686365201,"sign":"79be68006872c6a088eb49f7e3dab45a"}',
|
|
65
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjYyOTk5ZDhjLTYwY2MtNGM0OS05MzM4LWY1MTBhNjI5OGVjYiJ9.A7lCMb4mBHjse6DlvFLVV5jEQSWzREtlbeZJ6StCW4kVyyRG4RlkhRl2FJvaBZEdtoEItI52IEgBsX4X_H1m4w',
|
|
69
66
|
};
|
|
70
67
|
},
|
|
71
68
|
// 请求完成事件,可判断是否登录过期执行响应操作
|