centaline-data-driven 1.2.26 → 1.2.27
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 +2 -2
- package/src/centaline/dynamicD/src/dynamicD.vue +3 -0
- package/src/centaline/loader/src/ctl/D.js +3 -0
- package/src/centaline/loader/src/ctl/lib/Enum.js +4 -0
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +4 -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/SearchList.vue
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div id="app-search" style="height:100%;position: fixed;">
|
|
3
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
|
|
4
4
|
|
|
5
|
-
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist>
|
|
6
|
-
|
|
5
|
+
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
6
|
+
<ct-searchlist :searchConditionApi="'/exampleList/getLayoutOfSearch'" :searchDataApi="'/exampleList/getListOfSearchModel'"></ct-searchlist>
|
|
7
7
|
|
|
8
8
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
9
9
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
dateBlur(event) {
|
|
54
|
+
if(this.model.attrs && this.model.attrs.type && this.model.attrs.type=='month'){
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
54
57
|
var text = event.$el.querySelector("input").value;
|
|
55
58
|
text = text.replace('-', '').replace('/', '').replace('\\', '');
|
|
56
59
|
var nowDate = new Date();
|
|
@@ -167,6 +167,10 @@ const LibFunction = {
|
|
|
167
167
|
item = D(field, 'date');
|
|
168
168
|
item.is = 'ct-date';
|
|
169
169
|
break;
|
|
170
|
+
case Enum.ControlType.DateYearMonth://年份-月份
|
|
171
|
+
item = D(field, 'month');
|
|
172
|
+
item.is = 'ct-date';
|
|
173
|
+
break;
|
|
170
174
|
case Enum.ControlType.DateTime://日期时间
|
|
171
175
|
item = D(field, 'datetime');
|
|
172
176
|
item.is = 'ct-date';
|