centaline-data-driven 1.2.43 → 1.2.44
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/SearchList.vue +3 -1
- package/src/centaline/common/index.js +0 -2
- package/src/centaline/css/common.css +3 -0
- package/src/centaline/dialogList/src/dialogList.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +21 -13
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1 -0
- package/src/centaline/loader/src/ctl/SearchTable.js +9 -0
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +2 -2
- 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/SearchList.vue
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlist> -->
|
|
4
4
|
|
|
5
5
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
<!-- <ct-searchlist :searchConditionApi="'/cache/getLayoutOfSearchForCache'"
|
|
8
|
+
:searchDataApi="'/cache/getListOfSearchModelForCache'"></ct-searchlist> -->
|
|
7
9
|
|
|
8
10
|
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
9
11
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
@@ -205,7 +205,6 @@ const common = {
|
|
|
205
205
|
* @desc 打开弹窗
|
|
206
206
|
*/
|
|
207
207
|
openDialog(vmodel) {
|
|
208
|
-
|
|
209
208
|
//this.dialogList.List.push(vmodel);
|
|
210
209
|
this.dialogList.addDialog(vmodel);
|
|
211
210
|
},
|
|
@@ -216,7 +215,6 @@ const common = {
|
|
|
216
215
|
* @desc 关闭指定弹窗
|
|
217
216
|
*/
|
|
218
217
|
closeDialog(vmodel) {
|
|
219
|
-
|
|
220
218
|
if (vmodel) {
|
|
221
219
|
if (vmodel.name === 'ct-comfirm' || vmodel.$options.name === 'ctDialog' || vmodel.$options.name === 'ct-dialog') {
|
|
222
220
|
//vmodel.dialogTableVisible = false;
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
<div
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
<div style="width: 100%;height: 100%;position: inherit;">
|
|
3
|
+
<div class="ct-search-list" :style="searchListStyle" :class="{'domDisabled':pageDisabled}">
|
|
4
|
+
<div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
|
|
5
|
+
<span style="font-weight:bold">{{title}}</span>
|
|
6
|
+
</div>
|
|
7
|
+
<ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
|
|
8
|
+
@changeCategory="categorychange" ></ct-searchcategory>
|
|
9
|
+
|
|
10
|
+
<ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
|
|
11
|
+
@loaded="screenLoaded" :screenPara="screenPara"
|
|
12
|
+
:categoryLoaded="loaded.categoryLoaded" @search="search()"
|
|
13
|
+
@showTitle="showTitleScreenHandler"></ct-searchscreen>
|
|
8
14
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
15
|
+
<ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from"
|
|
16
|
+
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate()"
|
|
17
|
+
@showTitle="showTitleHandler"></ct-searchtable>
|
|
18
|
+
</div>
|
|
19
|
+
<div v-if="flagSideBar">
|
|
13
20
|
|
|
14
|
-
|
|
15
|
-
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate()"
|
|
16
|
-
@showTitle="showTitleHandler"></ct-searchtable>
|
|
21
|
+
</div>
|
|
17
22
|
</div>
|
|
18
23
|
</template>
|
|
19
24
|
<script>
|
|
@@ -77,6 +82,9 @@
|
|
|
77
82
|
reloadKeyTable:'t0',
|
|
78
83
|
isReload:false,
|
|
79
84
|
pageDisabled:false,
|
|
85
|
+
flagSideBar:false,
|
|
86
|
+
flagDefaultDisplaySideBar:false,
|
|
87
|
+
sideBarWidth:360,
|
|
80
88
|
}
|
|
81
89
|
},
|
|
82
90
|
methods: {
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
:rowspan="tdRowspan(column, row)"
|
|
81
81
|
class="ct-td"
|
|
82
82
|
:class="[colHasWidth[colIndex],model.tdClass,
|
|
83
|
+
column.router?'cursor':null,
|
|
83
84
|
colIndex === leftShadow?'shadowLeft':null,
|
|
84
85
|
colIndex === rightShadow?'shadowRight':null,
|
|
85
86
|
column.fixed === 'left'?'left-fixation':null,
|
|
@@ -843,6 +843,15 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
843
843
|
get rowMenuDisplayCount() {
|
|
844
844
|
return source.content.rowMenuDisplayCount && source.content.rowMenuDisplayCount>0?source.content.rowMenuDisplayCount : 4;
|
|
845
845
|
},
|
|
846
|
+
get flagSideBar() {
|
|
847
|
+
return source.content.flagSideBar || false;
|
|
848
|
+
},
|
|
849
|
+
get flagDefaultDisplaySideBar() {
|
|
850
|
+
return source.content.flagDefaultDisplaySideBar || false;
|
|
851
|
+
},
|
|
852
|
+
get sideBarWidth() {
|
|
853
|
+
return source.content.sideBarWidth || 360;
|
|
854
|
+
},
|
|
846
855
|
};
|
|
847
856
|
if (rtn.template) {
|
|
848
857
|
var tempLoader = template.loader(rtn.template).default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="isOperationalColumn?'subdiv_allinline':''" v-if="isShowLabel" @click="clickHandler($event)">
|
|
3
|
-
<img v-if="router.imgUrl && isShowImg" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label"
|
|
4
|
-
<a v-else href="javascript:void(0);" class="ct-tablecurrencyItem"
|
|
3
|
+
<img v-if="router.imgUrl && isShowImg" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" />
|
|
4
|
+
<a v-else href="javascript:void(0);" class="ct-tablecurrencyItem" >
|
|
5
5
|
{{label}}
|
|
6
6
|
</a>
|
|
7
7
|
</div>
|