centaline-data-driven 1.4.81 → 1.4.83
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/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +7 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +39 -12
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +1 -0
- package/src/centaline/loader/src/ctl/SearchTable.js +3 -2
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
:is="router.is" :vmodel="router" :api="model.optionApi" @click="fieldClickHandler(router)">
|
|
72
72
|
</component>
|
|
73
73
|
<el-popover v-if="showIndex>0" ref="popover0" :append-to-table="option.appendId?option.appendId:''"
|
|
74
|
-
class="Stats-popover" popper-class="
|
|
74
|
+
class="Stats-popover" popper-class="elPopoverCenta" :placement="option.placement?option.placement:'left'"
|
|
75
75
|
:trigger="option.trigger?option.trigger:''">
|
|
76
76
|
<div class="tab-list" style="border-bottom:none;display: flex;flex-direction: column;">
|
|
77
77
|
<component v-for="(router, index) in model.actionRoutersSimple.slice(showIndex)" :key="index" style="margin-bottom: 10px;margin-left: 0px;"
|
|
@@ -591,6 +591,12 @@
|
|
|
591
591
|
display: table-caption;
|
|
592
592
|
cursor: pointer;
|
|
593
593
|
}
|
|
594
|
+
|
|
595
|
+
</style>
|
|
596
|
+
<style>
|
|
597
|
+
#uplinkContainer .elPopoverCenta {
|
|
598
|
+
margin-bottom: 40px;
|
|
599
|
+
}
|
|
594
600
|
</style>
|
|
595
601
|
|
|
596
602
|
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
},
|
|
198
198
|
resizeSearchList() {
|
|
199
199
|
if(this.flagSideBar && this.flagSideBarOfData){
|
|
200
|
-
if(this.sideBarStatus=='open'){
|
|
200
|
+
if(this.sideBarStatus=='open' && this.$refs.main){
|
|
201
201
|
this.searchWidth=this.$refs.main.clientWidth-this.sideBarWidth;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -93,22 +93,44 @@
|
|
|
93
93
|
column.fixed === 'right' ? 'right-fixation' : null,
|
|
94
94
|
]" v-bind="column.attrs">
|
|
95
95
|
<!--操作列-->
|
|
96
|
-
<div v-if="column.id === 'operation'" class="div_allinline" :class="column.autoRowHeight ? 'lineFeedCell' : 'cell'">
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
<div v-if="column.id === 'operation'" class="div_allinline" :class="column.autoRowHeight ? 'lineFeedCell' : 'cell'" style="float: left;">
|
|
97
|
+
<template v-for="(router, rowRouterIndex) in getRowRouterShow(row)" >
|
|
98
|
+
<template v-if="router.isCallTel">
|
|
99
|
+
<component v-if="!router.rightField || !row[router.rightField] || row[router.rightField] == 1"
|
|
100
|
+
:key="rowRouterIndex" :ref="'router'+router.id+rowindex" :rowData="row" :rowindex="rowindex"
|
|
101
|
+
:is="router.is" :vmodel="router" :api="model.optionApi"
|
|
102
|
+
@click="rolRouterClickHandler">
|
|
103
|
+
</component>
|
|
104
|
+
</template>
|
|
105
|
+
<template v-else>
|
|
106
|
+
<ct-tablecurrency v-if="!router.rightField || row[router.rightField] == 1"
|
|
107
|
+
:key="rowRouterIndex" :ref="'router' + router.id + rowindex" :rowData="row" :rowindex="rowindex"
|
|
108
|
+
:isOperationalColumn="true" :router="router" :colValue="router.label"
|
|
109
|
+
@click="rolRouterClickHandler">
|
|
110
|
+
</ct-tablecurrency>
|
|
111
|
+
</template>
|
|
112
|
+
</template>
|
|
102
113
|
<el-popover v-if="getRowRouterDisplay(row).length > 0" :ref="'popover' + rowindex"
|
|
103
114
|
:append-to-table="option.appendId ? option.appendId : ''" class="Stats-popover"
|
|
104
115
|
popper-class="el-popover1" :placement="option.placement ? option.placement : 'left'"
|
|
105
116
|
:trigger="option.trigger ? option.trigger : ''">
|
|
106
|
-
<div class="tab-list" style="border-bottom: none">
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
<div class="tab-list" style="border-bottom: none">
|
|
118
|
+
<template v-for="(router, rowRouterIndex) in getRowRouterDisplay(row)" >
|
|
119
|
+
<template v-if="router.isCallTel">
|
|
120
|
+
<component v-if="!router.rightField || !row[router.rightField] || row[router.rightField] == 1"
|
|
121
|
+
:key="rowRouterIndex" :ref="'router'+router.id+rowindex" :rowData="row" :rowindex="rowindex"
|
|
122
|
+
:is="router.is" :vmodel="router" :api="model.optionApi"
|
|
123
|
+
@click="rolRouterClickHandler">
|
|
124
|
+
</component>
|
|
125
|
+
</template>
|
|
126
|
+
<template v-else>
|
|
127
|
+
<ct-tablecurrency v-if="!router.rightField || row[router.rightField] == 1"
|
|
128
|
+
:key="rowRouterIndex" :ref="'router' + router.id + rowindex" :rowData="row" :rowindex="rowindex"
|
|
129
|
+
:isOperationalColumn="true" :router="router" :colValue="router.label" :isShowImg="false"
|
|
130
|
+
@click="rolRouterClickHandler">
|
|
131
|
+
</ct-tablecurrency>
|
|
132
|
+
</template>
|
|
133
|
+
</template>
|
|
112
134
|
</div>
|
|
113
135
|
<span :slot="getRowRouterDisplay(row).length > 0 ? 'reference' : ''" class="icon-more"></span>
|
|
114
136
|
</el-popover>
|
|
@@ -842,6 +864,7 @@ export default {
|
|
|
842
864
|
this.routerClickHandler(field, submitData, action);
|
|
843
865
|
},
|
|
844
866
|
rolRouterClickHandler(field, rowData, rowindex, visible) {
|
|
867
|
+
field.rowindex=rowindex;
|
|
845
868
|
if (this.$refs["popover" + rowindex]) {
|
|
846
869
|
this.$refs["popover" + rowindex][0].doClose();
|
|
847
870
|
}
|
|
@@ -862,6 +885,10 @@ export default {
|
|
|
862
885
|
submitData["searchFields"] = self.model.getSearchData();
|
|
863
886
|
}
|
|
864
887
|
|
|
888
|
+
if(field.isCallTel){
|
|
889
|
+
submitData.flagHaveAlert=visible||false;
|
|
890
|
+
}
|
|
891
|
+
|
|
865
892
|
let action = field.action;
|
|
866
893
|
if (field.actionField) {
|
|
867
894
|
action = rowData[field.actionField];
|
|
@@ -347,12 +347,13 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
347
347
|
get actionRouter() {
|
|
348
348
|
if (rtn._actionRouter !== null) {
|
|
349
349
|
return rtn._actionRouter;
|
|
350
|
-
}
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
351
352
|
rtn._actionRouter = [];
|
|
352
353
|
if (source.content.actionRouters) {
|
|
353
354
|
source.content.actionRouters.forEach((v) => {
|
|
354
355
|
var router = Router(v);
|
|
355
|
-
|
|
356
|
+
router.is = "ct-btn";
|
|
356
357
|
//router.attrs = { size: "mini" }
|
|
357
358
|
rtn._actionRouter.push(router);
|
|
358
359
|
});
|