centaline-data-driven 1.4.89 → 1.4.90
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/SearchListTab.vue +0 -18
- package/src/centaline/common/index.js +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchListTab.vue +2 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +6 -2
- package/src/main.js +2 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/SearchListTab.vue
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-search" style="width:100%;height:100%;position: fixed;">
|
|
3
|
-
<!-- <ct-searchlistTab :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlistTab> -->
|
|
4
|
-
|
|
5
|
-
<!-- <ct-searchlistTab :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlistTab> -->
|
|
6
|
-
|
|
7
|
-
<!-- <ct-searchlistTab :apiParam="para"
|
|
8
|
-
:searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
|
|
9
|
-
:searchDataApi="'/api/third-dept-tran/tran-list'">
|
|
10
|
-
</ct-searchlistTab> -->
|
|
11
|
-
|
|
12
|
-
|
|
13
3
|
<!-- <ct-searchlistTab :apiParam="para"
|
|
14
4
|
:searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
|
|
15
5
|
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
@@ -17,11 +7,6 @@
|
|
|
17
7
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
18
8
|
</ct-searchlistTab> -->
|
|
19
9
|
|
|
20
|
-
<!-- <ct-searchlistTab :apiParam="para"
|
|
21
|
-
:searchConditionApi="'/RightValueList/getLayoutOfSearch'"
|
|
22
|
-
:searchDataApi="'/RightValueList/getListOfSearchModel'">
|
|
23
|
-
</ct-searchlistTab> -->
|
|
24
|
-
|
|
25
10
|
<!-- <ct-searchlistTab
|
|
26
11
|
:searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
|
|
27
12
|
:searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'"
|
|
@@ -53,9 +38,6 @@
|
|
|
53
38
|
para:{
|
|
54
39
|
chanceID: "1569617379699331072"
|
|
55
40
|
},
|
|
56
|
-
// para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
|
|
57
|
-
// para: {publishID: "1503900718229229568"}
|
|
58
|
-
// para: {paramKey: "PropertyStatusID", code: "002.001", name: "盘源状态", paramName: "盘源状态"}
|
|
59
41
|
}
|
|
60
42
|
},
|
|
61
43
|
mounted() {
|
|
@@ -339,6 +339,9 @@ const common = {
|
|
|
339
339
|
else if (parent.$options.name === 'DataDrivenSearch') {
|
|
340
340
|
return parent;
|
|
341
341
|
}
|
|
342
|
+
else if (parent.$options.name === 'DataDrivenSearchTab') {
|
|
343
|
+
return parent;
|
|
344
|
+
}
|
|
342
345
|
else if (parent.$options.name === 'DataDrivenForm') {
|
|
343
346
|
return parent;
|
|
344
347
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div ref="main" style="width: 100%;height: 100%;display: flex;" :class="{'domDisabled':pageDisabled}">
|
|
3
|
-
<div class="ct-search-list" :style="{'height': pageHeight? pageHeight:'100%','width':searchWidth?searchWidth+'px':'100%'}" >
|
|
3
|
+
<div class="ct-search-list-tab" :style="{'height': pageHeight? pageHeight:'100%','width':searchWidth?searchWidth+'px':'100%'}" >
|
|
4
4
|
<div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
|
|
5
5
|
<span style="font-weight:bold">{{title}}</span>
|
|
6
6
|
</div>
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
methods: {
|
|
152
152
|
categoryLoad() {
|
|
153
153
|
var self=this;
|
|
154
|
-
|
|
154
|
+
this.$api.postHandler(this.$common.globalUri(), { action: this.searchCategoryApi,para:{} }).then(
|
|
155
155
|
function (response) {
|
|
156
156
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
157
157
|
console.log(response.content.fields[0]);
|
|
@@ -39,10 +39,11 @@
|
|
|
39
39
|
</label>
|
|
40
40
|
</th>
|
|
41
41
|
<th :ref="column.fixed ? column.fixed === 'left' ? 'headLeftThs' : 'headRightThs' : 'headThs'"
|
|
42
|
-
v-for="(column, colIndex) in columns" :key="colIndex" v-if="column.show" class="ct-td ct-searchtable-th
|
|
42
|
+
v-for="(column, colIndex) in columns" :key="colIndex" v-if="column.show" class="ct-td ct-searchtable-th" data-tooltip="左右拖动竖线调整列宽"
|
|
43
43
|
:rowspan="column.rowspan" :colspan="column.colspan" :class="[colHasWidth[colIndex], column.sortAction, model.tdClass,
|
|
44
44
|
colIndex === leftShadow ? 'shadowLeft' : null,
|
|
45
45
|
colIndex === rightShadow ? 'shadowRight' : null,
|
|
46
|
+
colIndex === leftShadow || colIndex+1 === rightShadow ? '': 'theadLine',
|
|
46
47
|
column.fixed === 'left' ? 'left-fixation-th' : null,
|
|
47
48
|
column.fixed === 'right' ? 'right-fixation-th' : null,
|
|
48
49
|
column.width === undefined ? 'ct-table-auto' : null,
|
|
@@ -2066,12 +2067,15 @@ export default {
|
|
|
2066
2067
|
position: absolute; /*绝对定位*/
|
|
2067
2068
|
top: 50%; /*Y轴方向偏移自身高度的50%*/
|
|
2068
2069
|
transform: translatey(-50%); /*Y轴方向偏移微调*/
|
|
2069
|
-
|
|
2070
|
+
right: 0; /*紧靠容器右边缘*/
|
|
2070
2071
|
content: ''; /*伪元素需要有内容才能显示*/
|
|
2071
2072
|
width: 1px; /*伪元素宽度*/
|
|
2072
2073
|
height: 18px; /*伪元素高度*/
|
|
2073
2074
|
background-color: #919296; /*伪元素颜色*/
|
|
2074
2075
|
}
|
|
2076
|
+
.theadLine:last-child::before{
|
|
2077
|
+
width: 0px !important;
|
|
2078
|
+
}
|
|
2075
2079
|
.theadBorder::after {
|
|
2076
2080
|
content: attr(data-tooltip);
|
|
2077
2081
|
position: absolute;
|
package/src/main.js
CHANGED
|
@@ -4,6 +4,8 @@ import Vue from 'vue';
|
|
|
4
4
|
import ElementUI from 'element-ui';
|
|
5
5
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
6
6
|
import './centaline/css/common.css'
|
|
7
|
+
import './centaline/css/max.css'
|
|
8
|
+
// import './centaline/css/ccai.css'
|
|
7
9
|
import App from './App';
|
|
8
10
|
import router from './router';
|
|
9
11
|
import centaline from './centaline/index';
|