centaline-data-driven 1.2.40 → 1.2.41
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 +1 -1
- package/src/assets/XL.png +0 -0
- package/src/centaline/css/common.css +6 -1
- package/src/centaline/css/max.css +1 -1
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +0 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +24 -13
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +6 -3
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +7 -2
- package/src/main.js +2 -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
package/src/SearchList.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-search" style="height:100%;position: fixed;">
|
|
3
|
-
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/
|
|
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
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyPublishLogList/getLayoutOfSearch'" :searchDataApi="'/PropertyPublishLogList/getListOfSearchModel'"></ct-searchlist> -->
|
|
Binary file
|
|
@@ -320,7 +320,12 @@ html {
|
|
|
320
320
|
.el-input__icon {
|
|
321
321
|
height:initial;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
.st-serach-screen .el-input__icon {
|
|
324
|
+
line-height:initial!important;
|
|
325
|
+
}
|
|
326
|
+
.ct-checkbox .cover-list-item-span{
|
|
327
|
+
line-height: initial!important;
|
|
328
|
+
}
|
|
324
329
|
/*两个div在同一行并居中*/
|
|
325
330
|
.div_allinline {
|
|
326
331
|
text-align: center;
|
|
@@ -92,16 +92,16 @@
|
|
|
92
92
|
v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true"
|
|
93
93
|
:router="router" :colValue="router.label" :rowData="row" @click="rolRouterClickHandler">
|
|
94
94
|
</ct-tablecurrency>
|
|
95
|
-
<el-popover :append-to-table="option.appendId?option.appendId:''" class="Stats-popover" popper-class="el-popover1"
|
|
96
|
-
:placement="option.placement?option.placement:'left'"
|
|
95
|
+
<el-popover :ref="'popover'+rowindex" :append-to-table="option.appendId?option.appendId:''" class="Stats-popover" popper-class="el-popover1"
|
|
96
|
+
:placement="option.placement?option.placement:'left'"
|
|
97
97
|
:trigger="option.trigger?option.trigger:''">
|
|
98
98
|
<div class="tab-list" style="border-bottom:none">
|
|
99
99
|
<ct-tablecurrency v-for="(router,rowRouterIndex) in getRowRouterDisplay(row)" :key="rowRouterIndex"
|
|
100
|
-
v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true"
|
|
100
|
+
v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true" :isShowImg="false" :rowindex="rowindex"
|
|
101
101
|
:router="router" :colValue="router.label" :rowData="row" @click="rolRouterClickHandler">
|
|
102
102
|
</ct-tablecurrency>
|
|
103
103
|
</div>
|
|
104
|
-
<span :slot="getRowRouterDisplay(row).length>0?'reference':''" class="icon-more"
|
|
104
|
+
<span :slot="getRowRouterDisplay(row).length>0?'reference':''" class="icon-more"></span>
|
|
105
105
|
</el-popover>
|
|
106
106
|
</div>
|
|
107
107
|
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
showNum: 3,//如果isHidden为true时,个数大于3就会隐藏,默认是3
|
|
196
196
|
appendId: '',//将浮动栏添加到对应id或者class节点中。或者.xxx。传空字符串是添加到body中。
|
|
197
197
|
trigger: 'hover',//触发方式,传值可查看Popper UI组件trigger属性
|
|
198
|
-
placement: '
|
|
198
|
+
placement: 'right-start',//方向,传值可查看Popper UI组件placement属性
|
|
199
199
|
},
|
|
200
200
|
}
|
|
201
201
|
},
|
|
@@ -670,9 +670,13 @@
|
|
|
670
670
|
|
|
671
671
|
this.routerClickHandler(field, submitData, action);
|
|
672
672
|
},
|
|
673
|
-
rolRouterClickHandler(field, rowData) {
|
|
673
|
+
rolRouterClickHandler(field, rowData,rowindex) {
|
|
674
|
+
if(this.$refs['popover'+rowindex]){
|
|
675
|
+
this.$refs['popover'+rowindex][0].doClose();
|
|
676
|
+
}
|
|
677
|
+
|
|
674
678
|
var self = this;
|
|
675
|
-
var submitData = {};
|
|
679
|
+
var submitData = {};
|
|
676
680
|
field.submitListField.forEach((k) => {
|
|
677
681
|
submitData[k] = rowData[k];
|
|
678
682
|
});
|
|
@@ -1163,19 +1167,26 @@
|
|
|
1163
1167
|
margin-bottom: 0px !important;;
|
|
1164
1168
|
height: auto !important;;
|
|
1165
1169
|
display: block;
|
|
1170
|
+
padding-left: 8px;
|
|
1171
|
+
padding-right: 4px;
|
|
1166
1172
|
}
|
|
1167
1173
|
.tab-list .subdiv_allinline {
|
|
1168
1174
|
float: none;
|
|
1169
1175
|
display: block;
|
|
1170
1176
|
width: -webkit-fill-available;
|
|
1171
1177
|
}
|
|
1178
|
+
.div_allinline .Stats-popover {
|
|
1179
|
+
float: right;
|
|
1180
|
+
margin-top: 3px;
|
|
1181
|
+
margin-left: 4px;
|
|
1182
|
+
height: 16px;
|
|
1183
|
+
}
|
|
1172
1184
|
.icon-more {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
margin-top: -3px;
|
|
1185
|
+
background: url('../../../assets/XL.png')no-repeat;
|
|
1186
|
+
background-size: 100% 100%;
|
|
1187
|
+
width: 16px;
|
|
1188
|
+
height: 16px;
|
|
1189
|
+
display: table-caption;
|
|
1179
1190
|
cursor: pointer;
|
|
1180
1191
|
}
|
|
1181
1192
|
.el-popover1 {
|
|
@@ -265,10 +265,13 @@
|
|
|
265
265
|
cursor: pointer;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
.Stats-popover {
|
|
269
|
+
float: left;
|
|
270
|
+
margin-top: 4px;
|
|
271
|
+
margin-left: 4px;
|
|
272
|
+
height: 16px;
|
|
271
273
|
}
|
|
274
|
+
|
|
272
275
|
</style>
|
|
273
276
|
<style>
|
|
274
277
|
.el-popover1 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="isOperationalColumn?'subdiv_allinline':''" v-if="isShowLabel">
|
|
3
|
-
<img v-if="router.imgUrl" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" @click="clickHandler($event);" />
|
|
3
|
+
<img v-if="router.imgUrl && isShowImg" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" @click="clickHandler($event);" />
|
|
4
4
|
<a v-else href="javascript:void(0);" class="ct-tablecurrencyItem" @click="clickHandler($event)">
|
|
5
5
|
{{label}}
|
|
6
6
|
</a>
|
|
@@ -14,9 +14,14 @@
|
|
|
14
14
|
router: Object,
|
|
15
15
|
rowData: Object,
|
|
16
16
|
colValue: String,
|
|
17
|
+
rowindex: Number,
|
|
17
18
|
isOperationalColumn: {
|
|
18
19
|
type: Boolean,
|
|
19
20
|
default: false
|
|
21
|
+
},
|
|
22
|
+
isShowImg: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
27
|
computed: {
|
|
@@ -38,7 +43,7 @@
|
|
|
38
43
|
},
|
|
39
44
|
methods: {
|
|
40
45
|
clickHandler(ev) {
|
|
41
|
-
this.$emit('click', this.router, this.rowData);
|
|
46
|
+
this.$emit('click', this.router, this.rowData,this.rowindex);
|
|
42
47
|
}
|
|
43
48
|
}
|
|
44
49
|
}
|
package/src/main.js
CHANGED
|
@@ -13,7 +13,7 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
15
|
baseUrl: "http://10.88.22.46:7070/v1/form/router",
|
|
16
|
-
// baseUrl: "http://
|
|
16
|
+
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
17
17
|
// baseUrl: "http://10.88.22.46:7070/",
|
|
18
18
|
// flagRouterSelf: true,
|
|
19
19
|
zindex: 999,
|
|
@@ -36,7 +36,7 @@ Vue.use(centaline, {
|
|
|
36
36
|
// 获取请求头
|
|
37
37
|
getRequestHeaders: function () {
|
|
38
38
|
return {
|
|
39
|
-
oldToken: '
|
|
39
|
+
oldToken: 'fd2b9945-9709-4608-a57b-13a8ad61030a',
|
|
40
40
|
estateId: '20210729104021C49F04B55C50F6AF58',
|
|
41
41
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
42
42
|
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE0NmU5ZjEzLTVjMmYtNGVlMy1hM2U5LWIxM2QyZThjZTBhZSJ9.Gl8K5lbG7t5DyCqouu7Ux7Oh9xuAxqdOXr4JnoHCN-YwC3b2zPO-C2sHbYJUZHYQPa7kTNRmg1xJiwugpVo5Xw',
|