centaline-data-driven 1.3.59 → 1.3.62
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 +6 -2
- package/src/centaline/dynamicCb/src/dynamicCb.vue +8 -1
- package/src/centaline/dynamicContact/src/dynamicContact.vue +18 -9
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +7 -15
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +6 -12
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +1 -1
- package/src/centaline/dynamicFile/src/dynamicFile.vue +383 -348
- package/src/centaline/dynamicForm/src/dynamicForm.vue +15 -13
- package/src/centaline/dynamicInputNumber/src/dynamicInputNumber.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +0 -5
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +10 -9
- package/src/centaline/loader/src/ctl/Cb.js +3 -0
- package/src/centaline/loader/src/ctl/File.js +50 -0
- package/src/centaline/loader/src/ctl/Form.js +4 -5
- package/src/centaline/loader/src/ctl/Router.js +1 -3
- package/src/main.js +4 -4
- 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="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,11 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
15
|
+
actionType: "3",
|
|
16
|
+
originalTraId: "1564517681291898881",
|
|
17
|
+
pageOnly: "true",
|
|
18
|
+
pageStyle: "2",
|
|
19
|
+
pageTitle: "成交报告",
|
|
16
20
|
},
|
|
17
21
|
topHeight:10,
|
|
18
22
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
<div class="field-top">
|
|
3
3
|
<div v-if="model !== null" class="ct-checkbox">
|
|
4
4
|
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
|
|
5
|
-
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
5
|
+
<div v-if="model.showLabel && model.label" class="el-input-group__prepend line-feed" :class="[model.labelClass]">
|
|
6
6
|
{{model.label}}
|
|
7
7
|
</div>
|
|
8
8
|
<div class="ct-radios">
|
|
9
9
|
<el-checkbox v-model="model.value" :disabled="model.lock" @change="changeCheckBoxHandler"></el-checkbox>
|
|
10
|
+
<span v-show="model.sufLabel1" style="margin-left:1px;color: #767A81;">{{ model.sufLabel1 }}</span>
|
|
10
11
|
</div>
|
|
11
12
|
</div>
|
|
12
13
|
<transition name="el-fade-in">
|
|
@@ -69,4 +70,10 @@
|
|
|
69
70
|
padding-bottom: 3px;
|
|
70
71
|
padding-top: 3px;
|
|
71
72
|
}
|
|
73
|
+
.line-feed {
|
|
74
|
+
white-space: normal;
|
|
75
|
+
}
|
|
76
|
+
.ct-checkbox .ct-radios .el-checkbox {
|
|
77
|
+
min-width: 0px;
|
|
78
|
+
}
|
|
72
79
|
</style>
|
|
@@ -276,15 +276,17 @@ export default {
|
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
278
278
|
field.doAction(submitData, (data) => {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
callBack
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
279
|
+
if (data.rtnCode === 200) {
|
|
280
|
+
self.model.doAction(data, field);
|
|
281
|
+
if (callBack) {
|
|
282
|
+
callBack();
|
|
283
|
+
}
|
|
284
|
+
if(field.isRefersh){
|
|
285
|
+
self.loaderObj.Contact(data, null, self.load);
|
|
286
|
+
}
|
|
287
|
+
else if (field.isCallTel){
|
|
288
|
+
self.$refs['router' + field.id][0].callTelClick(data);
|
|
289
|
+
}
|
|
288
290
|
}
|
|
289
291
|
})
|
|
290
292
|
}
|
|
@@ -325,6 +327,13 @@ export default {
|
|
|
325
327
|
var w2 = this.$refs.routers.clientWidth | 0;
|
|
326
328
|
this.inputLinewidth = w1 - w2 - 80;
|
|
327
329
|
}
|
|
330
|
+
if (this.$parent.$refs.searchlist) {
|
|
331
|
+
if (this.$parent.$refs.searchlist.$refs.table) {
|
|
332
|
+
if (this.$parent.$refs.searchlist.$refs.table.isLayout) {
|
|
333
|
+
this.$parent.$refs.searchlist.$refs.table.setTableHeight();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
328
337
|
});
|
|
329
338
|
},
|
|
330
339
|
}
|
|
@@ -916,21 +916,11 @@ export default {
|
|
|
916
916
|
}
|
|
917
917
|
else if (field.isFormPageInTab) {// 外部框架tab页打开
|
|
918
918
|
submitData = field.getActionPara(submitData).para;
|
|
919
|
-
self.$common
|
|
920
|
-
.getDataDrivenOpts()
|
|
921
|
-
.handler.openTab(
|
|
922
|
-
field.action,
|
|
923
|
-
submitData,
|
|
924
|
-
field.pageTitle,
|
|
925
|
-
self.model,
|
|
926
|
-
field.dialogWidth
|
|
927
|
-
);
|
|
919
|
+
self.$common.getDataDrivenOpts().handler.openTab(field.action,submitData,field.pageTitle,self.model,field.dialogWidth);
|
|
928
920
|
}
|
|
929
921
|
else if (field.isSearchPageInTab) {// 外部框架tab页打开
|
|
930
922
|
submitData = field.getActionPara(submitData).para;
|
|
931
|
-
self.$common
|
|
932
|
-
.getDataDrivenOpts()
|
|
933
|
-
.handler.openTabSearch(field, submitData);
|
|
923
|
+
self.$common.getDataDrivenOpts().handler.openTabSearch(field, submitData);
|
|
934
924
|
}
|
|
935
925
|
else if (field.isBrowserNewTab) {// 浏览器打开
|
|
936
926
|
submitData = field.getActionPara(submitData).para;
|
|
@@ -945,9 +935,11 @@ export default {
|
|
|
945
935
|
}
|
|
946
936
|
else {
|
|
947
937
|
field.doAction(submitData, (data) => {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
callBack
|
|
938
|
+
if (data.rtnCode === 200) {
|
|
939
|
+
self.model.doAction(data, field);
|
|
940
|
+
if (callBack) {
|
|
941
|
+
callBack(field);
|
|
942
|
+
}
|
|
951
943
|
}
|
|
952
944
|
});
|
|
953
945
|
}
|
|
@@ -946,15 +946,7 @@ export default {
|
|
|
946
946
|
}
|
|
947
947
|
else if (field.isFormPageInTab) {// 外部框架tab页打开
|
|
948
948
|
submitData = field.getActionPara(submitData).para;
|
|
949
|
-
self.$common
|
|
950
|
-
.getDataDrivenOpts()
|
|
951
|
-
.handler.openTab(
|
|
952
|
-
field.action,
|
|
953
|
-
submitData,
|
|
954
|
-
field.pageTitle,
|
|
955
|
-
self.model,
|
|
956
|
-
field.dialogWidth
|
|
957
|
-
);
|
|
949
|
+
self.$common.getDataDrivenOpts().handler.openTab(field.action,submitData,field.pageTitle,self.model,field.dialogWidth);
|
|
958
950
|
}
|
|
959
951
|
else if (field.isSearchPageInTab) {// 外部框架tab页打开
|
|
960
952
|
submitData = field.getActionPara(submitData).para;
|
|
@@ -973,9 +965,11 @@ export default {
|
|
|
973
965
|
}
|
|
974
966
|
else {
|
|
975
967
|
field.doAction(submitData, (data) => {
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
callBack
|
|
968
|
+
if (data.rtnCode === 200) {
|
|
969
|
+
self.model.doAction(data, field);
|
|
970
|
+
if (callBack) {
|
|
971
|
+
callBack(field);
|
|
972
|
+
}
|
|
979
973
|
}
|
|
980
974
|
});
|
|
981
975
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<div slot="label" v-html="col.appName"></div>
|
|
81
81
|
</el-tab-pane>
|
|
82
82
|
</el-tabs>
|
|
83
|
-
<ct-searchlist v-if="model.searchConditionApiTags1" :key="'list'+listKey.toString()+refershKey"
|
|
83
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :key="'list'+listKey.toString()+refershKey"
|
|
84
84
|
:apiParam="model.paramDataTags1" :flagFocus="false"
|
|
85
85
|
:searchConditionApi="model.searchConditionApiTags1"
|
|
86
86
|
:searchDataApi="model.searchDataApiTags1"></ct-searchlist>
|