centaline-data-driven 1.5.8 → 1.5.10
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 +1 -2
- package/src/SearchList.vue +4 -4
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +6 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +2 -1
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +2 -1
- package/src/main.js +8 -8
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/salemattersmanage/agentcontractparameter/agentcontractparameterform'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
propertyId: "202107291113120FACCA4E24992E8B26", actionType: 2
|
|
16
15
|
},
|
|
17
16
|
topHeight:10,
|
|
18
17
|
}
|
package/src/SearchList.vue
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
</ct-searchlist> -->
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
<ct-searchlist :apiParam="para"
|
|
18
|
+
<!-- <ct-searchlist :apiParam="para"
|
|
19
19
|
:searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
|
|
20
20
|
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
21
21
|
:searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
|
|
22
22
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
23
|
-
</ct-searchlist>
|
|
23
|
+
</ct-searchlist> -->
|
|
24
24
|
|
|
25
25
|
<!-- <ct-searchlist :apiParam="para"
|
|
26
26
|
:searchConditionApi="'/RightValueList/getLayoutOfSearch'"
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
34
34
|
</ct-searchlist> -->
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
37
37
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
38
38
|
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
39
39
|
:searchStatsApi="'/PropertyRETList/getListStats'">
|
|
40
|
-
</ct-searchlist>
|
|
40
|
+
</ct-searchlist>
|
|
41
41
|
|
|
42
42
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
|
|
43
43
|
:searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
|
|
@@ -101,10 +101,15 @@
|
|
|
101
101
|
labelShow=this.vmodel.labelValue+this.vmodel.code2;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
else if(this.vmodel.type===4){
|
|
105
|
+
if(this.vmodel.name1){
|
|
106
|
+
labelShow=this.vmodel.name1;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
104
109
|
return labelShow;
|
|
105
110
|
},
|
|
106
111
|
},
|
|
107
|
-
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}"
|
|
112
|
+
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}" v-html="getLableShow()"></div>'
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
export default {
|
|
@@ -273,7 +273,8 @@
|
|
|
273
273
|
},
|
|
274
274
|
rowClickHandle() {
|
|
275
275
|
var self = this;
|
|
276
|
-
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter
|
|
276
|
+
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter
|
|
277
|
+
&& this.sideBarStatus && this.sideBarStatus=='open'){
|
|
277
278
|
self.selectIndex=self.$refs.table.model.selectIndex;
|
|
278
279
|
self.rowCount=self.$refs.table.model.listData.length;
|
|
279
280
|
self.sideBarApiParam = {};
|
|
@@ -269,7 +269,8 @@
|
|
|
269
269
|
},
|
|
270
270
|
rowClickHandle() {
|
|
271
271
|
var self = this;
|
|
272
|
-
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter
|
|
272
|
+
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter
|
|
273
|
+
&& this.sideBarStatus && this.sideBarStatus=='open'){
|
|
273
274
|
self.selectIndex=self.$refs.table.model.selectIndex;
|
|
274
275
|
self.rowCount=self.$refs.table.model.listData.length;
|
|
275
276
|
self.sideBarApiParam = {};
|
package/src/main.js
CHANGED
|
@@ -14,11 +14,11 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
14
14
|
// 关闭生产模式下给出的提示
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
|
-
baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
|
|
18
|
-
|
|
17
|
+
// baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
|
|
18
|
+
baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
19
19
|
// baseUrl: "http://10.25.10.67:9999/service-api/v1/form/router",
|
|
20
20
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
21
|
-
// baseUrl: "http://10.88.22.42:9999/v1/form/router",
|
|
21
|
+
// baseUrl: "http://10.88.22.42:9999/service-api/v1/form/router",
|
|
22
22
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
23
23
|
// baseUrl: "http://10.88.22.40:8080/api/",
|
|
24
24
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
@@ -50,15 +50,15 @@ Vue.use(centaline, {
|
|
|
50
50
|
// 获取请求头
|
|
51
51
|
getRequestHeaders: function () {
|
|
52
52
|
return {
|
|
53
|
-
oldToken: '
|
|
54
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
53
|
+
oldToken: '1ae3431d-8b29-4c75-9913-4b757dc2b2db',
|
|
54
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgjAURf-lMy-hfa-vfWxQ2sWPIDSUBCcjkGiM_64muLl7hjuc5dyHWvesGoXspI2sIVjyQKwtCKUEoWYWTDVi3w9yAD_my0AuSNtGB1R3DJRsBDEhAYrteoqt6yOrSpXbRTWaPVohFFOpZdwOUTv5iH0t11O5_-PceVveWTOJzMZP4DRmIGMIRiGCrH3O8zxOWFg9XwAAAP__.xlvqlKs_L6vjmyUCyclR8pyqLtX4oq9S7rnA86iH010',
|
|
55
55
|
|
|
56
56
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
57
|
-
EstateInfo: '{"estateId":"
|
|
57
|
+
EstateInfo: '{"estateId":"2209201708108B8F50AB530A49EAA858","estateName":"U%E7%89%88%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E7%82%B9%E4%BD%8D"}',
|
|
58
58
|
estateId: '20210729104021C49F04B55C50F6AF58',
|
|
59
59
|
|
|
60
|
-
authObject: '{"currentEstate":{"estateId":"
|
|
61
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
60
|
+
authObject: '{"currentEstate":{"estateId":"2209201708108B8F50AB530A49EAA858","estateName":"U%E7%89%88%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E7%82%B9%E4%BD%8D"},"platform":1,"osVersion":"","clientVersion":"","machineCode":"ce04f173da7df2e78a9da25595111387","token":"","random":"xISAbR","time":1683364729084,"sign":"ceb09a67fc50aa89aafcb2d435e4b41c"}',
|
|
61
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjExZDZkYWM3LWUxZjgtNDExZS1hNzFmLTFiNjIwNTk0OTFlNyJ9.dJKIU1UNLLjf9FHtfntmSHR4VacBkPLnsbfSKMUvAjzpEgrggU8j0YY6yFZTP8VHIPAZN4b_yfB7r3S5BnRKEA',
|
|
62
62
|
};
|
|
63
63
|
},
|
|
64
64
|
// 请求完成事件,可判断是否登录过期执行响应操作
|