centaline-data-driven 1.2.97 → 1.2.98
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/build/centaline/centaline.path.js +2 -1
- package/package.json +2 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +7 -6
- package/src/centaline/dynamicFile/src/dynamicFile.vue +413 -325
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +7 -1
- package/src/centaline/loader/src/ctl/SearchScreen.js +7 -3
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
</template>
|
|
9
9
|
<component v-for="(col, index) in model.btnScreen" :key="index" :is="col.is" :vmodel="col" :api="model.optionApi" @click="clickHandler(col)"></component>
|
|
10
10
|
</div>
|
|
11
|
+
<!-- <div class="ct-ptb5" v-if="model.shortcutForm">
|
|
12
|
+
<ct-form :source="model.shortcutForm.code1" @submit="saveShortcut"></ct-form>
|
|
13
|
+
</div> -->
|
|
11
14
|
<el-popover class="SeachScreenPop max-seachpopper" placement="top" transition="el-zoom-in-top" v-model="highScreen" trigger="click" visible-arrow="false">
|
|
12
15
|
<div style="width:100%">
|
|
13
16
|
<template v-for="(col, index) in highScreenRow" v-if="col.show !== false">
|
|
@@ -93,7 +96,6 @@
|
|
|
93
96
|
},
|
|
94
97
|
loadScreen() {
|
|
95
98
|
var self = this;
|
|
96
|
-
console.log(self.model)
|
|
97
99
|
var hasParent = self.model.screen.filter((v) => {
|
|
98
100
|
return typeof v.parentName !== 'undefined';
|
|
99
101
|
});
|
|
@@ -163,6 +165,10 @@
|
|
|
163
165
|
}
|
|
164
166
|
});
|
|
165
167
|
},
|
|
168
|
+
saveShortcut(){
|
|
169
|
+
var self=this;
|
|
170
|
+
|
|
171
|
+
},
|
|
166
172
|
}
|
|
167
173
|
}
|
|
168
174
|
</script>
|
|
@@ -6,6 +6,7 @@ import common from '../../../common';
|
|
|
6
6
|
import Vue from 'vue';
|
|
7
7
|
const SearchScreen = function (source, callBack, screenPara) {
|
|
8
8
|
var init = function (source) {
|
|
9
|
+
console.log(source.content)
|
|
9
10
|
var rtn = {
|
|
10
11
|
$vue: null,
|
|
11
12
|
get source() {
|
|
@@ -48,6 +49,9 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
48
49
|
this._sourceFieldsArr = [];
|
|
49
50
|
|
|
50
51
|
for (let key in source.content.fields) {
|
|
52
|
+
if(source.content.fields[key].controlType===Enum.ControlType.From ){
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
51
55
|
if((source.content.fields[key].controlType===Enum.ControlType.DateRange
|
|
52
56
|
|| source.content.fields[key].controlType===Enum.ControlType.DateTimeRange)
|
|
53
57
|
&& source.content.fields[key].code2==undefined){
|
|
@@ -131,11 +135,11 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
131
135
|
return rtnscreens;
|
|
132
136
|
},
|
|
133
137
|
get shortcutForm() {
|
|
134
|
-
var screens =
|
|
135
|
-
return v.controlType
|
|
138
|
+
var screens = source.content.fields.filter((v, i) => {
|
|
139
|
+
return v.controlType===Enum.ControlType.From;
|
|
136
140
|
});
|
|
137
141
|
if(screens && screens.length>0){
|
|
138
|
-
return screens[0];
|
|
142
|
+
return screens[0];
|
|
139
143
|
}
|
|
140
144
|
return null;
|
|
141
145
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
showNum: 3,//如果isHidden为true时,个数大于3就会隐藏,默认是3
|
|
62
62
|
appendId: '',//将浮动栏添加到对应id或者class节点中。或者.xxx。传空字符串是添加到body中。
|
|
63
63
|
trigger: 'manual',//触发方式,传值可查看Popper UI组件trigger属性
|
|
64
|
-
placement: '
|
|
64
|
+
placement: 'left-start',//方向,传值可查看Popper UI组件placement属性
|
|
65
65
|
},
|
|
66
66
|
}
|
|
67
67
|
},
|