centaline-data-driven 1.3.71 → 1.3.73
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/Form.vue +2 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchCategory.vue +5 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +7 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1555 -1552
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +6 -7
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +1 -1
- package/src/centaline/loader/src/ctl/SearchCategory.js +6 -1
- package/src/centaline/loader/src/ctl/SearchTable.js +11 -7
- package/src/main.js +8 -5
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/estatemanage/estate/getEstateInfo'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
self.load(self.vmodel);
|
|
42
42
|
}
|
|
43
43
|
else if (typeof self.source !== 'undefined') {
|
|
44
|
-
self.loaderObj.SearchCategory(self.source,self.load);
|
|
44
|
+
self.loaderObj.SearchCategory(self.source,self.load,self.loadError);
|
|
45
45
|
}
|
|
46
46
|
else if (typeof self.api !== 'undefined') {
|
|
47
|
-
self.loaderObj.SearchCategory(self.api, self.load);
|
|
47
|
+
self.loaderObj.SearchCategory(self.api, self.load,self.loadError);
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
},
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
parm[this.model.id]=this.model.value;
|
|
56
56
|
this.$emit('loadedCategory',parm);
|
|
57
57
|
},
|
|
58
|
+
loadError() {
|
|
59
|
+
this.$emit('loadedCategoryError');
|
|
60
|
+
},
|
|
58
61
|
clearClickHandle: function (event) {
|
|
59
62
|
this.model.value = '';
|
|
60
63
|
this.inputHandler(this.model.value);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
<div ref="main" style="width: 100%;height: 100%;display: flex;" :class="{'domDisabled':pageDisabled}">
|
|
3
3
|
<div class="ct-search-list" :style="{'height': pageHeight? pageHeight:'100%','width':searchWidth?searchWidth+'px':'100%'}" >
|
|
4
4
|
<div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
|
|
5
|
-
|
|
5
|
+
<span style="font-weight:bold">{{title}}</span>
|
|
6
6
|
</div>
|
|
7
|
-
<ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
|
|
8
|
-
@changeCategory="categorychange" ></ct-searchcategory>
|
|
7
|
+
<ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
|
|
8
|
+
@loadedCategoryError="categoryLoadedError" @changeCategory="categorychange" ></ct-searchcategory>
|
|
9
9
|
|
|
10
10
|
<ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
|
|
11
11
|
@loaded="screenLoaded" :screenPara="screenPara"
|
|
@@ -139,6 +139,10 @@
|
|
|
139
139
|
if(param)this.screenPara=param;
|
|
140
140
|
this.$refs.screen.searchComplate();
|
|
141
141
|
},
|
|
142
|
+
categoryLoadedError() {
|
|
143
|
+
this.$refs.screen.isLoading=false;
|
|
144
|
+
this.$refs.table.isLoading=false;
|
|
145
|
+
},
|
|
142
146
|
categorychange(param) {
|
|
143
147
|
if(param)this.screenPara=param;
|
|
144
148
|
this.reloadKey = this.reloadKey+1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="st-serach-screen">
|
|
3
|
-
<div v-bind="model.attrs" style="width:100%" v-if="!isLoading">
|
|
3
|
+
<div v-bind="model.attrs" style="width:100%" v-if="!isLoading && model">
|
|
4
4
|
<div :class="isLayout === true ? 'ct-ptl0 max-ptb5' : 'ct-ptb5 max-ptb5'" v-if="showScreen">
|
|
5
5
|
<template v-for="(col, index) in model.screen" v-if="col.show !== false">
|
|
6
6
|
<br v-if="col.is === 'ct-linefeed'" />
|