centaline-data-driven 1.5.15 → 1.5.17
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 +6 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchSideMenu.vue +9 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +12 -3
- package/src/centaline/dynamicTree/src/dynamicTree.vue +2 -17
- package/src/main.js +4 -4
- 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/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
34
34
|
</ct-searchlist> -->
|
|
35
35
|
|
|
36
|
-
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
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'"
|
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
:searchStatsApi="'/PropertyOFIList/getListStats'">
|
|
46
46
|
</ct-searchlist> -->
|
|
47
47
|
|
|
48
|
+
<ct-searchlist :searchConditionApi="'/EstateList/getLayoutOfSearch'"
|
|
49
|
+
:searchDataApi="'/EstateList/getListOfSearchModel'">
|
|
50
|
+
</ct-searchlist>
|
|
51
|
+
|
|
48
52
|
<ct-dialog-list></ct-dialog-list>
|
|
49
53
|
</div>
|
|
50
54
|
</template>
|
|
@@ -39,12 +39,18 @@
|
|
|
39
39
|
width: 15px;
|
|
40
40
|
height: 48px;
|
|
41
41
|
position: absolute;
|
|
42
|
-
top:
|
|
42
|
+
top: 50%;
|
|
43
|
+
transform: translateY(-50%);
|
|
43
44
|
cursor: pointer;
|
|
44
|
-
background-color:
|
|
45
|
+
background-color: var(--chinaRed);
|
|
46
|
+
color: #fff;
|
|
47
|
+
|
|
48
|
+
|
|
45
49
|
}
|
|
46
50
|
.toggler >span{
|
|
47
|
-
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 50%;
|
|
53
|
+
transform: translateY(-50%);
|
|
48
54
|
}
|
|
49
55
|
.sidebar > .toggler {
|
|
50
56
|
-webkit-border-top-left-radius: 4px;
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
</td>
|
|
176
176
|
</tr>
|
|
177
177
|
<!--适配滚动条-->
|
|
178
|
-
<tr v-else v-bind:style="{ height: row.$heigth + 'px' }"></tr>
|
|
178
|
+
<tr v-else v-bind:style="{ height: (row.$heigth || 31) + 'px' }"></tr>
|
|
179
179
|
</tbody>
|
|
180
180
|
</table>
|
|
181
181
|
</div>
|
|
@@ -307,9 +307,13 @@ export default {
|
|
|
307
307
|
},
|
|
308
308
|
methods: {
|
|
309
309
|
theadTitleHover(ev){
|
|
310
|
+
if ( !this.model.columnWidthSaveAction) {
|
|
311
|
+
return
|
|
312
|
+
}
|
|
310
313
|
this.theadTitleShow = true
|
|
311
314
|
let tagsViewHeight = 0
|
|
312
|
-
let thHeight = 0
|
|
315
|
+
let thHeight = 0;
|
|
316
|
+
|
|
313
317
|
if (document.getElementById("tags-view-container")) {
|
|
314
318
|
tagsViewHeight = document.getElementById("tags-view-container").offsetHeight;
|
|
315
319
|
thHeight = document.getElementById("thHeight").offsetHeight;
|
|
@@ -422,7 +426,12 @@ export default {
|
|
|
422
426
|
if (ev.offsetX > ev.currentTarget.offsetWidth - 10) {
|
|
423
427
|
ev.currentTarget.style.cursor = "col-resize";
|
|
424
428
|
ev.currentTarget.canResize = true;
|
|
429
|
+
if ( this.model.columnWidthSaveAction) {
|
|
425
430
|
this.theadTitleShow = true
|
|
431
|
+
}else{
|
|
432
|
+
this.theadTitleShow = false
|
|
433
|
+
}
|
|
434
|
+
|
|
426
435
|
} else {
|
|
427
436
|
ev.currentTarget.style.cursor = "default";
|
|
428
437
|
ev.currentTarget.canResize = false;
|
|
@@ -1030,7 +1039,7 @@ export default {
|
|
|
1030
1039
|
});
|
|
1031
1040
|
self.$common.viewerfile(field.pageTitle, MediaAlbum, 0, 0,mediaviewpagetype);
|
|
1032
1041
|
}
|
|
1033
|
-
|
|
1042
|
+
}
|
|
1034
1043
|
else if (field.isUrlInLayer) {//URL页面(弹层iframe)
|
|
1035
1044
|
var dialogOption = {
|
|
1036
1045
|
title: field.pageTitle,
|
|
@@ -11,22 +11,7 @@
|
|
|
11
11
|
<el-input class="slot-t-input" size="mini" autofocus v-model="data.label" :ref="'slotTreeInput'+data.id" @blur.stop="NodeBlur(node,data)" @keydown.native.enter="NodeBlur(node,data)"></el-input>
|
|
12
12
|
</span>
|
|
13
13
|
</span>
|
|
14
|
-
</el-tree>
|
|
15
|
-
|
|
16
|
-
<el-card class="box-card" ref="card" v-show="menuVisible">
|
|
17
|
-
<div @click="addSameLevelNode()" v-show="firstLevel">
|
|
18
|
-
<i class="el-icon-circle-plus-outline"></i> 同级增加
|
|
19
|
-
</div>
|
|
20
|
-
<div class="add" @click="addChildNode()">
|
|
21
|
-
<i class="el-icon-circle-plus-outline"></i> 子级增加
|
|
22
|
-
</div>
|
|
23
|
-
<div class="delete" @click="deleteNode()">
|
|
24
|
-
<i class="el-icon-remove-outline"></i> 删除节点
|
|
25
|
-
</div>
|
|
26
|
-
<div class="edit" @click="editNode()">
|
|
27
|
-
<i class="el-icon-edit"></i> 修改节点
|
|
28
|
-
</div>
|
|
29
|
-
</el-card>
|
|
14
|
+
</el-tree>
|
|
30
15
|
</div>
|
|
31
16
|
</template>
|
|
32
17
|
|
|
@@ -60,7 +45,7 @@ export default {
|
|
|
60
45
|
id: 'code'
|
|
61
46
|
},
|
|
62
47
|
treeHeight:'100%',
|
|
63
|
-
searchStatus:[]
|
|
48
|
+
searchStatus:[],
|
|
64
49
|
};
|
|
65
50
|
},
|
|
66
51
|
methods: {
|
package/src/main.js
CHANGED
|
@@ -14,8 +14,8 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
14
14
|
// 关闭生产模式下给出的提示
|
|
15
15
|
Vue.config.productionTip = false;
|
|
16
16
|
Vue.use(centaline, {
|
|
17
|
-
|
|
18
|
-
baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
17
|
+
baseUrl: "http://10.88.22.46:7070/max-uplink-api/",
|
|
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
20
|
// baseUrl: "http://10.25.10.67:9999/service-api/v1/form/router",
|
|
21
21
|
// baseUrl: "http://10.25.10.67:8080/",
|
|
@@ -53,8 +53,8 @@ Vue.use(centaline, {
|
|
|
53
53
|
getRequestHeaders: function () {
|
|
54
54
|
return {
|
|
55
55
|
oldToken: 'af4e8a8b-4fa8-4c39-9464-ce571f45ca7d',
|
|
56
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
57
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
56
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVaK7fXamy7xp-EQKI6MFCpEEgmEuDsgoKNnildMM-8Gy1agA8NO-sQKgyWPxMqiUM4YWmYxuTUmxr18wB_zZU8uSN8nh9QOjJRtQtEhoxE7REq9i4mhgXo5QafYk2Vi1g3M4_oW5Lx-iW2p5129_uPccZ2fWRn9QZGesHItSN5U9HYklIls0bZQNR7uDwAAAP__.kgkeZ-gn1KkFyMvrZhqiFb2wjlMUs1NV4cTVCu4OFYY',
|
|
57
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVaK7fXamy7xp-EQKI6MFCpEEgmEuDsgoKNnildMM-8Gy1agA8NO-sQKgyWPxMqiUM4YWmYxuTUmxr18wB_zZU8uSN8nh9QOjJRtQtEhoxE7REq9i4mhgXo5QafYk2Vi1g3M4_oW5Lx-iW2p5129_uPccZ2fWRn9QZGesHItSN5U9HYklIls0bZQNR7uDwAAAP__.kgkeZ-gn1KkFyMvrZhqiFb2wjlMUs1NV4cTVCu4OFYY"}',
|
|
58
58
|
|
|
59
59
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
60
60
|
EstateInfo: '{"estateId":"20191114134322C29C9B83A84F192964","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|