centaline-data-driven 1.1.51 → 1.1.52
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/SearchTree.vue +6 -2
- package/src/centaline/css/common.css +1 -1
- package/src/centaline/css/max.css +10 -6
- package/src/centaline/dialogList/src/dialog.vue +6 -3
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +3 -1
- package/src/centaline/dynamicSo/src/dynamicSo.vue +1 -1
- package/src/centaline/dynamicSos/src/dynamicSos.vue +1 -1
- package/src/centaline/dynamicTags/src/dynamicTags.vue +1 -1
- package/src/centaline/loader/src/ctl.js +1 -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/SearchTree.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-Tree" style="height:100%;position: fixed;width:100%">
|
|
3
3
|
<ct-treelist :flagsearch="true" :apiParam="apiParam"
|
|
4
|
-
:searchConditionApi="'/SystemParameterCatalogList/
|
|
4
|
+
:searchConditionApi="'/SystemParameterCatalogList/getListOfSearchModel'"
|
|
5
5
|
:searchDataApi="'/SystemParameterCatalogList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
|
|
6
6
|
<ct-dialog-list></ct-dialog-list>
|
|
7
7
|
</div>
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
data() {
|
|
15
15
|
return {
|
|
16
16
|
isShowSearchlist: false,
|
|
17
|
-
apiParam: {
|
|
17
|
+
apiParam: {
|
|
18
|
+
flagSearch: true,
|
|
19
|
+
searchFields: {},
|
|
20
|
+
pageAttribute: {pageIndex: 1}
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
methods: {
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
border-radius: 6px;
|
|
44
44
|
}
|
|
45
45
|
/* 弹层新增按钮 */
|
|
46
|
-
.max-btn-add button{ /*list-button*/
|
|
46
|
+
.max-btn-add button,.max-btn-add{ /*list-button*/
|
|
47
47
|
height: 26px;
|
|
48
48
|
background: #EE6B6B;
|
|
49
49
|
border-color:#EE6B6B;
|
|
50
50
|
box-shadow: 0px 2px 4px 0px rgba(238,107,107,0.25);
|
|
51
51
|
border-radius: 6px;
|
|
52
52
|
}
|
|
53
|
-
.max-btn-add button:hover{
|
|
53
|
+
.max-btn-add button:hover,.max-btn-add:hover{
|
|
54
54
|
background-color:#FF9393;
|
|
55
55
|
border-color: #FF9393;
|
|
56
56
|
}
|
|
57
|
-
.max-btn-add button:focus,.max-btn-add button:active{
|
|
57
|
+
.max-btn-add button:focus,.max-btn-add button:active,.max-btn-add:focus,.max-btn-add:active{
|
|
58
58
|
background-color: #B33136;
|
|
59
59
|
border-color: #B33136;
|
|
60
60
|
}
|
|
@@ -168,13 +168,13 @@
|
|
|
168
168
|
text-align: left !important;
|
|
169
169
|
}
|
|
170
170
|
/* 重置input默认颜色 选中文字颜色 */
|
|
171
|
-
.ct-search-list input::-webkit-input-placeholder{
|
|
171
|
+
.ct-search-list input::-webkit-input-placeholder,.ct-iti-editor input::-webkit-input-placeholder{
|
|
172
172
|
color: #666666!important;
|
|
173
173
|
}
|
|
174
174
|
.ct-search-list .el-date-editor .el-range-input,.ct-search-list .el-input__inner{
|
|
175
175
|
color: #409eff;
|
|
176
176
|
}
|
|
177
|
-
.ct-so .ct-input_inner {
|
|
177
|
+
.ct-so .ct-input_inner,.ct-text .showLabel input{
|
|
178
178
|
color: #409eff!important;
|
|
179
179
|
}
|
|
180
180
|
.cover-list-item .el-checkbox__input.is-checked + .el-checkbox__label,.cover-list-item .el-checkbox__input.is-checked .el-checkbox__inner{
|
|
@@ -201,4 +201,8 @@
|
|
|
201
201
|
.ct-Seg.ct-Seg-mini .ct-radios, .ct-Seg.ct-Seg-mini .ct-radios .el-radio__label {
|
|
202
202
|
min-height: 26px;
|
|
203
203
|
line-height: 26px;
|
|
204
|
-
}
|
|
204
|
+
}
|
|
205
|
+
.el-input-group__append, .el-input-group__prepend {
|
|
206
|
+
color: #666;
|
|
207
|
+
border-color:#cecece;
|
|
208
|
+
}
|
|
@@ -56,10 +56,12 @@
|
|
|
56
56
|
style: {
|
|
57
57
|
'z-index': this.zindex,
|
|
58
58
|
//'wiidth': (this.vmodel.pane ? this.vmodel.pane.$el.offsetWidth : document.body.offsetWidth) + 'px',
|
|
59
|
-
'height': (self.vmodel.pane ? self.vmodel.pane.$el.offsetHeight : document.body.offsetHeight + 10) + 'px',
|
|
59
|
+
// 'height': (self.vmodel.pane ? self.vmodel.pane.$el.offsetHeight : document.body.offsetHeight + 10) + 'px',
|
|
60
|
+
'height':'100%',
|
|
60
61
|
'width': '100%',
|
|
61
62
|
// 'height': '100%',
|
|
62
63
|
}
|
|
64
|
+
|
|
63
65
|
}, [
|
|
64
66
|
//h('div', {
|
|
65
67
|
// 'class': [
|
|
@@ -148,9 +150,10 @@
|
|
|
148
150
|
ph=parseInt(item.attrs.height.replace('px',''));
|
|
149
151
|
}
|
|
150
152
|
if(self.vmodel.pane && self.vmodel.pane.$el.offsetHeight<ph){
|
|
151
|
-
item.attrs.height=(self.vmodel.pane.$el.offsetHeight-
|
|
153
|
+
item.attrs.height=(self.vmodel.pane.$el.offsetHeight-30)+'px';
|
|
152
154
|
}
|
|
153
|
-
|
|
155
|
+
// console.log(document.body.offsetHeight);
|
|
156
|
+
// console.log(item.attrs.height)
|
|
154
157
|
return h('div', {
|
|
155
158
|
style: {
|
|
156
159
|
width: item.attrs.width,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div style="padding:0 8px 0 10px">
|
|
3
3
|
<div v-if="model !== null && !loading">
|
|
4
4
|
<el-table ref="multipleTable"
|
|
5
5
|
:data="tableData"
|
|
@@ -233,5 +233,7 @@
|
|
|
233
233
|
}
|
|
234
234
|
.el-table .el-table__header th {
|
|
235
235
|
background-color: #f4f7fa!important;
|
|
236
|
+
padding-left: 5px;
|
|
237
|
+
padding-right: 5px;
|
|
236
238
|
}
|
|
237
239
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
3
|
<div style="width:100%;display:flex;">
|
|
4
|
-
<div style="flex:1;
|
|
4
|
+
<div style="flex:1;" class="ct-so" :class="[(focus || showDrop)?'isfocus':'',model.attrs.size?'ct-so-'+model.attrs.size:''
|
|
5
5
|
]" @mouseover="mouseOverHandle" @mouseout="mouseOutHandle">
|
|
6
6
|
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
|
|
7
7
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="field-top">
|
|
3
3
|
<div style="width:100%;display:flex">
|
|
4
|
-
<div style="flex:1;
|
|
4
|
+
<div style="flex:1;" class="ct-so" :class="[(focus || showDrop)?'isfocus':'',model.attrs.size?'ct-so-'+model.attrs.size:''
|
|
5
5
|
]" @mouseover="mouseOverHandle" @mouseout="mouseOutHandle">
|
|
6
6
|
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
|
|
7
7
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
@@ -29,6 +29,7 @@ const loader = {
|
|
|
29
29
|
File: require("./ctl/File.js").default,
|
|
30
30
|
Tree: require("./ctl/Tree.js").default,
|
|
31
31
|
SearchCategory: require("./ctl/SearchCategory.js").default,
|
|
32
|
+
HyperLink: require("./ctl/HyperLink.js").default,
|
|
32
33
|
Detail: require("./ctl/Detail.js").default,
|
|
33
34
|
};
|
|
34
35
|
|