centaline-data-driven 1.6.52 → 1.6.53
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/release-log.md +7 -0
- package/src/Form.vue +2 -2
- package/src/SearchList.vue +2 -1
- package/src/centaline/dynamicForm/src/dynamicForm.vue +5 -3
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +6 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +6 -5
- package/src/centaline/loader/src/ctl/SearchTable.js +4 -4
- package/src/centaline/loader/src/ctl/SosNew.js +1 -1
- package/src/main.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js +37 -29
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
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="'/paperandbank/ContractImport/getContractImportForm'" :apiParam="apiParam" :topHeight="topHeight" :documentHeight="'600px'"></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
|
-
"estateId":"241112160400DF3DC1EB63A14A1DBBF4","propertyId":"2411121629063ADD517E35104A4E98FD","actionType":
|
|
15
|
+
"estateId":"241112160400DF3DC1EB63A14A1DBBF4","propertyId":"2411121629063ADD517E35104A4E98FD","actionType":2
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
package/src/SearchList.vue
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<!-- CCES -->
|
|
23
23
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
24
|
-
<ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist>
|
|
24
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist> -->
|
|
25
25
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/sunexpensemanage/sunexpenserecordlist/getLayoutOfSearch'" :searchDataApi="'/sunexpensemanage/sunexpenserecordlist/getList'"></ct-searchlist> -->
|
|
26
26
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
|
|
27
27
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/estatemanage/estatlist/getLayoutOfSearch'" :searchDataApi="'/estatemanage/estatlist/getList'"></ct-searchlist> -->
|
|
39
39
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/system/AreaList/getLayoutOfSearch'" :searchDataApi="'/system/AreaList/getList'"></ct-searchlist> -->
|
|
40
40
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/roomtypelist/getLayoutOfSearch'" :searchDataApi="'/roomtypelist/getList'"></ct-searchlist> -->
|
|
41
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/priceuploadlist/getLayoutOfSearch'" :searchDataApi="'//salemattersmanage/priceuploadlist/getList'"></ct-searchlist>
|
|
41
42
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/app/workbenchdetails/getContractLayoutOfSearch'" :searchDataApi="'/app/workbenchdetails/getContractList'"></ct-searchlist> -->
|
|
42
43
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/selectionactivitymanage/EvaluationActWorksList/getLayoutOfSearch'" :searchDataApi="'/selectionactivitymanage/EvaluationActWorksList/getListOfSearchModel'"></ct-searchlist> -->
|
|
43
44
|
<!-- CCES -->
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
clearTimeout(this.timeoutHandle)
|
|
265
265
|
}
|
|
266
266
|
if(this.$el.parentNode)this.$el.parentNode.removeChild(this.$el);
|
|
267
|
-
if
|
|
267
|
+
if(this.model && typeof this.model.scripts !== 'undefined') {
|
|
268
268
|
this.model.scripts.formData.form = null;
|
|
269
269
|
this.model.scripts.formData.excuteData = null;
|
|
270
270
|
this.model.scripts.formData.fieldsDic = null;
|
|
@@ -275,8 +275,10 @@
|
|
|
275
275
|
this.collapseFieldsRow=[];
|
|
276
276
|
this.independentItem=[];
|
|
277
277
|
this.isHorizontalLayout=false;
|
|
278
|
-
this.model
|
|
279
|
-
|
|
278
|
+
if(this.model){
|
|
279
|
+
this.model.links = null;
|
|
280
|
+
this.model.buttons = null;
|
|
281
|
+
}
|
|
280
282
|
this.model = null;
|
|
281
283
|
this.$el = null;
|
|
282
284
|
},
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate" @closeSideBar="closeSideBar"
|
|
18
18
|
@rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle" @refreshRowHandle="refreshRowHandle" @doClosePopoverHandle="doClosePopoverHandle"
|
|
19
19
|
@showTitle="showTitleHandler" @popupClickHandler="popupClickHandler" @simpleRouterRefreshHandler="simpleRouterRefreshHandler" @loadedError="tableLoadedError"
|
|
20
|
-
@drop="drop"
|
|
20
|
+
@drop="drop" @openSideHandler="openSideHandler" :dragStartItem="dragStartItem" :dragStartName="dragStartName" @flagNotificationParentAfterContentChanged="flagNotificationParentAfterContentChanged"
|
|
21
21
|
></ct-searchtable>
|
|
22
22
|
</div>
|
|
23
23
|
<div ref="sidebar" v-if="flagSideBar && flagSideBarOfData"
|
|
@@ -445,6 +445,11 @@
|
|
|
445
445
|
this.$refs.table.setTableHeight();
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
|
+
openSideHandler() {
|
|
449
|
+
if(this.sideBarStatus == 'close'){
|
|
450
|
+
this.$refs.sideMenu.clickHandler();
|
|
451
|
+
}
|
|
452
|
+
},
|
|
448
453
|
closeSideHandler() {
|
|
449
454
|
this.$refs.sideMenu.clickHandler();
|
|
450
455
|
},
|
|
@@ -98,7 +98,7 @@ import dynamicElement from '../../mixins/dynamicElement';
|
|
|
98
98
|
destroyed (){
|
|
99
99
|
this.$off();
|
|
100
100
|
if(this.$el.parentNode)this.$el.parentNode.removeChild(this.$el);
|
|
101
|
-
if(this.model.scripts){
|
|
101
|
+
if(this.model && this.model.scripts){
|
|
102
102
|
this.model.scripts.formData.form = null;
|
|
103
103
|
this.model.scripts.formData.excuteData = null;
|
|
104
104
|
this.model.scripts.formData.fieldsDic = null;
|
|
@@ -338,7 +338,7 @@ export default {
|
|
|
338
338
|
destroyed (){
|
|
339
339
|
this.$off();
|
|
340
340
|
if(this.$el.parentNode)this.$el.parentNode.removeChild(this.$el);
|
|
341
|
-
if
|
|
341
|
+
if(this.model && typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
|
|
342
342
|
this.model.scripts.formData.formTable = null;
|
|
343
343
|
this.model.scripts.formData = null;
|
|
344
344
|
}
|
|
@@ -1740,10 +1740,11 @@ export default {
|
|
|
1740
1740
|
}
|
|
1741
1741
|
//执行客户端脚本
|
|
1742
1742
|
else {
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1743
|
+
if(field.action=='openSide'){
|
|
1744
|
+
self.$emit('openSideHandler');
|
|
1745
|
+
return;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1747
1748
|
let title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
1748
1749
|
submitData = field.getActionPara(submitData).para;
|
|
1749
1750
|
var fun = self.$common.getDataDrivenOpts().handler[action];
|
|
@@ -451,7 +451,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
451
451
|
nextPage: function (callback) {
|
|
452
452
|
if (this.flagMoreData && this.flagMoreData !== false) {
|
|
453
453
|
this.pageIndex++;
|
|
454
|
-
this.apiData(callback);
|
|
454
|
+
this.apiData(callback,true);
|
|
455
455
|
}
|
|
456
456
|
else {
|
|
457
457
|
if (typeof callback !== 'undefined') {
|
|
@@ -507,12 +507,12 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
507
507
|
source.content.bottomText = v1;
|
|
508
508
|
},
|
|
509
509
|
isdisabledSearchScreen: false,
|
|
510
|
-
apiData(callback) {
|
|
510
|
+
apiData(callback,flagNext) {
|
|
511
511
|
var self = this;
|
|
512
512
|
if(self.$vue && self.$vue.searchStrat && self.$vue.searchEnd){
|
|
513
513
|
self.$vue.searchStrat=Date.now();
|
|
514
514
|
}
|
|
515
|
-
this.isLoading = true;
|
|
515
|
+
if(!flagNext)this.isLoading = true;
|
|
516
516
|
if (self.isdisabledSearchScreen) {
|
|
517
517
|
self.searchModel.setBtnLoading(true);
|
|
518
518
|
}
|
|
@@ -531,7 +531,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
531
531
|
if(self.$vue && self.$vue.searchStrat && self.$vue.searchEnd){
|
|
532
532
|
self.$vue.searchEnd=Date.now();
|
|
533
533
|
}
|
|
534
|
-
self.isLoading = false;
|
|
534
|
+
if(!flagNext)self.isLoading = false;
|
|
535
535
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
536
536
|
if (response.content.rows && response.content.rows.length > 0) {
|
|
537
537
|
// rtn.setRow(response.content.rows);
|
|
@@ -15,7 +15,7 @@ const SosNew = function (source, moreActionRouter) {
|
|
|
15
15
|
return false;
|
|
16
16
|
},
|
|
17
17
|
get prefix() {
|
|
18
|
-
if (source.isList && source.placeholder1 && source.displayLabelAfterSelected
|
|
18
|
+
if (source.isList && source.placeholder1 && source.displayLabelAfterSelected) {
|
|
19
19
|
return source.placeholder1 + ":";
|
|
20
20
|
}
|
|
21
21
|
return '';
|
package/src/main.js
CHANGED
|
@@ -77,8 +77,8 @@ Vue.use(centaline, {
|
|
|
77
77
|
estateId: '',
|
|
78
78
|
appinfo:'{"appId":"8F184E91-2C73-45E3-B518-889491E07CDA","appName":"%E6%95%B0%E6%8D%AE%E9%A9%B1%E5%8A%A8%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0"}',
|
|
79
79
|
|
|
80
|
-
authObject: '{"currentEstate":{"estateId":"
|
|
81
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
80
|
+
authObject: '{"currentEstate":{"estateId":"2411211358417B58943C6E954B35BB56","estateName":"%E6%8C%89%E9%83%A8%E5%B0%B1%E7%8F%AD%EF%BC%88zhangtm%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E6%88%90%E4%BA%A4%E6%95%A3%E5%8D%95%EF%BC%89","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"gSg0Kp","time":1758158269574,"sign":"d36e86247988f1069dc5361f73552fea","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E6%9C%AA%E5%8C%B9%E9%85%8DCCHR%E4%B8%ADHROC%E9%83%A8%E9%97%A8%2F%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
|
|
81
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImU0OGQwYjYwLTYzMTMtNDgzNy1hZTVhLWQxYmIxODQxYzBiOSJ9.Wp51nERfelBCIe9nq1QgA5GEKgOvcBP75_is6cpi6vZZx09eabFvpyjKLwS7a39Wiz7Wab0_nODdZ2UG3G8rkQ',
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -11275,7 +11275,7 @@ exports.default = _assign2.default || function (target) {
|
|
|
11275
11275
|
"use strict";
|
|
11276
11276
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchList_vue__ = __webpack_require__(155);
|
|
11277
11277
|
/* unused harmony namespace reexport */
|
|
11278
|
-
/* harmony import */ var
|
|
11278
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39cca794_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__ = __webpack_require__(641);
|
|
11279
11279
|
function injectStyle (ssrContext) {
|
|
11280
11280
|
__webpack_require__(522)
|
|
11281
11281
|
}
|
|
@@ -11290,12 +11290,12 @@ var __vue_template_functional__ = false
|
|
|
11290
11290
|
/* styles */
|
|
11291
11291
|
var __vue_styles__ = injectStyle
|
|
11292
11292
|
/* scopeId */
|
|
11293
|
-
var __vue_scopeId__ = "data-v-
|
|
11293
|
+
var __vue_scopeId__ = "data-v-39cca794"
|
|
11294
11294
|
/* moduleIdentifier (server only) */
|
|
11295
11295
|
var __vue_module_identifier__ = null
|
|
11296
11296
|
var Component = normalizeComponent(
|
|
11297
11297
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchList_vue__["a" /* default */],
|
|
11298
|
-
|
|
11298
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_39cca794_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__["a" /* default */],
|
|
11299
11299
|
__vue_template_functional__,
|
|
11300
11300
|
__vue_styles__,
|
|
11301
11301
|
__vue_scopeId__,
|
|
@@ -11342,7 +11342,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
11342
11342
|
"use strict";
|
|
11343
11343
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__ = __webpack_require__(188);
|
|
11344
11344
|
/* unused harmony namespace reexport */
|
|
11345
|
-
/* harmony import */ var
|
|
11345
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_1f060056_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(622);
|
|
11346
11346
|
function injectStyle (ssrContext) {
|
|
11347
11347
|
__webpack_require__(616)
|
|
11348
11348
|
}
|
|
@@ -11362,7 +11362,7 @@ var __vue_scopeId__ = null
|
|
|
11362
11362
|
var __vue_module_identifier__ = null
|
|
11363
11363
|
var Component = normalizeComponent(
|
|
11364
11364
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__["a" /* default */],
|
|
11365
|
-
|
|
11365
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_1f060056_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
|
|
11366
11366
|
__vue_template_functional__,
|
|
11367
11367
|
__vue_styles__,
|
|
11368
11368
|
__vue_scopeId__,
|
|
@@ -11444,7 +11444,7 @@ module.exports = {};
|
|
|
11444
11444
|
"use strict";
|
|
11445
11445
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchScreen_vue__ = __webpack_require__(158);
|
|
11446
11446
|
/* unused harmony namespace reexport */
|
|
11447
|
-
/* harmony import */ var
|
|
11447
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_071be134_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__ = __webpack_require__(538);
|
|
11448
11448
|
function injectStyle (ssrContext) {
|
|
11449
11449
|
__webpack_require__(536)
|
|
11450
11450
|
}
|
|
@@ -11464,7 +11464,7 @@ var __vue_scopeId__ = null
|
|
|
11464
11464
|
var __vue_module_identifier__ = null
|
|
11465
11465
|
var Component = normalizeComponent(
|
|
11466
11466
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchScreen_vue__["a" /* default */],
|
|
11467
|
-
|
|
11467
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_071be134_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__["a" /* default */],
|
|
11468
11468
|
__vue_template_functional__,
|
|
11469
11469
|
__vue_styles__,
|
|
11470
11470
|
__vue_scopeId__,
|
|
@@ -13898,7 +13898,7 @@ var SosNew = function SosNew(source, moreActionRouter) {
|
|
|
13898
13898
|
return false;
|
|
13899
13899
|
},
|
|
13900
13900
|
get prefix() {
|
|
13901
|
-
if (source.isList && source.placeholder1 && source.displayLabelAfterSelected
|
|
13901
|
+
if (source.isList && source.placeholder1 && source.displayLabelAfterSelected) {
|
|
13902
13902
|
return source.placeholder1 + ":";
|
|
13903
13903
|
}
|
|
13904
13904
|
return '';
|
|
@@ -19626,6 +19626,11 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
19626
19626
|
this.$refs.table.setTableHeight();
|
|
19627
19627
|
}
|
|
19628
19628
|
},
|
|
19629
|
+
openSideHandler: function openSideHandler() {
|
|
19630
|
+
if (this.sideBarStatus == 'close') {
|
|
19631
|
+
this.$refs.sideMenu.clickHandler();
|
|
19632
|
+
}
|
|
19633
|
+
},
|
|
19629
19634
|
closeSideHandler: function closeSideHandler() {
|
|
19630
19635
|
this.$refs.sideMenu.clickHandler();
|
|
19631
19636
|
},
|
|
@@ -20037,7 +20042,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
20037
20042
|
destroyed: function destroyed() {
|
|
20038
20043
|
this.$off();
|
|
20039
20044
|
if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
|
|
20040
|
-
if (this.model.scripts) {
|
|
20045
|
+
if (this.model && this.model.scripts) {
|
|
20041
20046
|
this.model.scripts.formData.form = null;
|
|
20042
20047
|
this.model.scripts.formData.excuteData = null;
|
|
20043
20048
|
this.model.scripts.formData.fieldsDic = null;
|
|
@@ -20775,7 +20780,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
20775
20780
|
"use strict";
|
|
20776
20781
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(160);
|
|
20777
20782
|
/* unused harmony namespace reexport */
|
|
20778
|
-
/* harmony import */ var
|
|
20783
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_84ce4936_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(577);
|
|
20779
20784
|
function injectStyle (ssrContext) {
|
|
20780
20785
|
__webpack_require__(539)
|
|
20781
20786
|
}
|
|
@@ -20795,7 +20800,7 @@ var __vue_scopeId__ = null
|
|
|
20795
20800
|
var __vue_module_identifier__ = null
|
|
20796
20801
|
var Component = normalizeComponent(
|
|
20797
20802
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20798
|
-
|
|
20803
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_84ce4936_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20799
20804
|
__vue_template_functional__,
|
|
20800
20805
|
__vue_styles__,
|
|
20801
20806
|
__vue_scopeId__,
|
|
@@ -21165,7 +21170,7 @@ var Component = normalizeComponent(
|
|
|
21165
21170
|
destroyed: function destroyed() {
|
|
21166
21171
|
this.$off();
|
|
21167
21172
|
if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
|
|
21168
|
-
if (typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
|
|
21173
|
+
if (this.model && typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
|
|
21169
21174
|
this.model.scripts.formData.formTable = null;
|
|
21170
21175
|
this.model.scripts.formData = null;
|
|
21171
21176
|
}
|
|
@@ -22456,10 +22461,11 @@ var Component = normalizeComponent(
|
|
|
22456
22461
|
}
|
|
22457
22462
|
//执行客户端脚本
|
|
22458
22463
|
else {
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
22462
|
-
|
|
22464
|
+
if (field.action == 'openSide') {
|
|
22465
|
+
self.$emit('openSideHandler');
|
|
22466
|
+
return;
|
|
22467
|
+
}
|
|
22468
|
+
|
|
22463
22469
|
var title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
22464
22470
|
submitData = field.getActionPara(submitData).para;
|
|
22465
22471
|
var fun = self.$common.getDataDrivenOpts().handler[action];
|
|
@@ -29506,7 +29512,7 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
29506
29512
|
clearTimeout(this.timeoutHandle);
|
|
29507
29513
|
}
|
|
29508
29514
|
if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
|
|
29509
|
-
if (typeof this.model.scripts !== 'undefined') {
|
|
29515
|
+
if (this.model && typeof this.model.scripts !== 'undefined') {
|
|
29510
29516
|
this.model.scripts.formData.form = null;
|
|
29511
29517
|
this.model.scripts.formData.excuteData = null;
|
|
29512
29518
|
this.model.scripts.formData.fieldsDic = null;
|
|
@@ -29517,8 +29523,10 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
29517
29523
|
this.collapseFieldsRow = [];
|
|
29518
29524
|
this.independentItem = [];
|
|
29519
29525
|
this.isHorizontalLayout = false;
|
|
29520
|
-
this.model
|
|
29521
|
-
|
|
29526
|
+
if (this.model) {
|
|
29527
|
+
this.model.links = null;
|
|
29528
|
+
this.model.buttons = null;
|
|
29529
|
+
}
|
|
29522
29530
|
this.model = null;
|
|
29523
29531
|
this.$el = null;
|
|
29524
29532
|
},
|
|
@@ -60091,7 +60099,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
60091
60099
|
nextPage: function nextPage(callback) {
|
|
60092
60100
|
if (this.flagMoreData && this.flagMoreData !== false) {
|
|
60093
60101
|
this.pageIndex++;
|
|
60094
|
-
this.apiData(callback);
|
|
60102
|
+
this.apiData(callback, true);
|
|
60095
60103
|
} else {
|
|
60096
60104
|
if (typeof callback !== 'undefined') {
|
|
60097
60105
|
callback(false);
|
|
@@ -60145,12 +60153,12 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
60145
60153
|
source.content.bottomText = v1;
|
|
60146
60154
|
},
|
|
60147
60155
|
isdisabledSearchScreen: false,
|
|
60148
|
-
apiData: function apiData(callback) {
|
|
60156
|
+
apiData: function apiData(callback, flagNext) {
|
|
60149
60157
|
var self = this;
|
|
60150
60158
|
if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
|
|
60151
60159
|
self.$vue.searchStrat = Date.now();
|
|
60152
60160
|
}
|
|
60153
|
-
this.isLoading = true;
|
|
60161
|
+
if (!flagNext) this.isLoading = true;
|
|
60154
60162
|
if (self.isdisabledSearchScreen) {
|
|
60155
60163
|
self.searchModel.setBtnLoading(true);
|
|
60156
60164
|
}
|
|
@@ -60168,7 +60176,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
60168
60176
|
if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
|
|
60169
60177
|
self.$vue.searchEnd = Date.now();
|
|
60170
60178
|
}
|
|
60171
|
-
self.isLoading = false;
|
|
60179
|
+
if (!flagNext) self.isLoading = false;
|
|
60172
60180
|
if (response.rtnCode === __WEBPACK_IMPORTED_MODULE_6__lib_Enum__["default"].ReturnCode.Successful) {
|
|
60173
60181
|
if (response.content.rows && response.content.rows.length > 0) {
|
|
60174
60182
|
// rtn.setRow(response.content.rows);
|
|
@@ -77844,7 +77852,7 @@ var content = __webpack_require__(523);
|
|
|
77844
77852
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
77845
77853
|
if(content.locals) module.exports = content.locals;
|
|
77846
77854
|
// add the styles to the DOM
|
|
77847
|
-
var update = __webpack_require__(3)("
|
|
77855
|
+
var update = __webpack_require__(3)("46b2e00e", content, true, {});
|
|
77848
77856
|
|
|
77849
77857
|
/***/ }),
|
|
77850
77858
|
/* 523 */
|
|
@@ -77855,7 +77863,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
77855
77863
|
|
|
77856
77864
|
|
|
77857
77865
|
// module
|
|
77858
|
-
exports.push([module.i, ".sidebar[data-v-
|
|
77866
|
+
exports.push([module.i, ".sidebar[data-v-39cca794]{z-index:1000;top:-1px;bottom:-1px;padding:0;width:auto;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px rgba(0,0,0,.18)}", ""]);
|
|
77859
77867
|
|
|
77860
77868
|
// exports
|
|
77861
77869
|
|
|
@@ -78815,7 +78823,7 @@ var content = __webpack_require__(537);
|
|
|
78815
78823
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78816
78824
|
if(content.locals) module.exports = content.locals;
|
|
78817
78825
|
// add the styles to the DOM
|
|
78818
|
-
var update = __webpack_require__(3)("
|
|
78826
|
+
var update = __webpack_require__(3)("6bc20055", content, true, {});
|
|
78819
78827
|
|
|
78820
78828
|
/***/ }),
|
|
78821
78829
|
/* 537 */
|
|
@@ -78852,7 +78860,7 @@ var content = __webpack_require__(540);
|
|
|
78852
78860
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78853
78861
|
if(content.locals) module.exports = content.locals;
|
|
78854
78862
|
// add the styles to the DOM
|
|
78855
|
-
var update = __webpack_require__(3)("
|
|
78863
|
+
var update = __webpack_require__(3)("948f6ba0", content, true, {});
|
|
78856
78864
|
|
|
78857
78865
|
/***/ }),
|
|
78858
78866
|
/* 540 */
|
|
@@ -80272,7 +80280,7 @@ var content = __webpack_require__(617);
|
|
|
80272
80280
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
80273
80281
|
if(content.locals) module.exports = content.locals;
|
|
80274
80282
|
// add the styles to the DOM
|
|
80275
|
-
var update = __webpack_require__(3)("
|
|
80283
|
+
var update = __webpack_require__(3)("fec1bdac", content, true, {});
|
|
80276
80284
|
|
|
80277
80285
|
/***/ }),
|
|
80278
80286
|
/* 617 */
|
|
@@ -80678,7 +80686,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
80678
80686
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
80679
80687
|
|
|
80680
80688
|
"use strict";
|
|
80681
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.flagShow)?_c('div',{ref:"main",class:{'domDisabled':_vm.pageDisabled},staticStyle:{"width":"100%","height":"100%","display":"flex"}},[_c('div',{staticClass:"ct-search-list",style:({'height': _vm.pageHeightReal? _vm.pageHeightReal:'100%','width':_vm.searchWidth?_vm.searchWidth+'px':'100%'})},[(typeof _vm.title !== 'undefined' && _vm.showTitle)?_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-weight":"bold"}},[_vm._v(_vm._s(_vm.title))])]):_vm._e(),_vm._v(" "),(_vm.searchCategoryApi)?_c('ct-searchcategory',{ref:"category",attrs:{"api":_vm.searchCategoryApi},on:{"loadedCategory":_vm.categoryLoaded,"loadedCategoryError":_vm.categoryLoadedError,"changeCategory":_vm.categorychange}}):_vm._e(),_vm._v(" "),_c('ct-searchscreen',{key:_vm.reloadKeyScreen,ref:"screen",attrs:{"api":_vm.searchConditionApi,"screenPara":_vm.screenPara,"categoryLoaded":_vm.loaded.categoryLoaded},on:{"loaded":_vm.screenLoaded,"resetSearch":function($event){_vm.resetSearch()},"search":function($event){_vm.search()},"saveShortcut":_vm.saveShortcut,"showTitle":_vm.showTitleScreenHandler}}),_vm._v(" "),_c('ct-searchtable',{key:_vm.reloadKeyTable,ref:"table",attrs:{"api":_vm.searchDataApi,"searchStatsApi":_vm.searchStatsApi,"from":_vm.from,"isIframe":_vm.isIframe,"documentHeight":_vm.documentHeight,"documentWidth":_vm.documentWidth,"flagPopupSearchlist":_vm.flagPopupSearchlist,"screenTop":_vm.screenTop,"flagAppMode":_vm.flagAppMode,"dragStartItem":_vm.dragStartItem,"dragStartName":_vm.dragStartName},on:{"loaded":_vm.tableLoaded,"toolbarClick":_vm.toolbarClickHandler,"refreshParent":_vm.refreshParentHandler,"searchComplate":_vm.searchComplate,"closeSideBar":_vm.closeSideBar,"rowClickHandle":_vm.rowClickHandle,"scrollHandle":_vm.scrollHandle,"refreshRowHandle":_vm.refreshRowHandle,"doClosePopoverHandle":_vm.doClosePopoverHandle,"showTitle":_vm.showTitleHandler,"popupClickHandler":_vm.popupClickHandler,"simpleRouterRefreshHandler":_vm.simpleRouterRefreshHandler,"loadedError":_vm.tableLoadedError,"drop":_vm.drop,"flagNotificationParentAfterContentChanged":_vm.flagNotificationParentAfterContentChanged}})],1),_vm._v(" "),(_vm.flagSideBar && _vm.flagSideBarOfData)?_c('div',{ref:"sidebar",staticClass:"sidebar",style:({'height': _vm.pageHeight? _vm.pageHeight:'100%','width':_vm.sideBarWidth+'px',right:_vm.sideBarRight+'px'})},[_c('ct-Detail',{key:_vm.detailKey,ref:"detail",attrs:{"api":_vm.sideBarApi,"apiParam":_vm.sideBarApiParam,"pageType":_vm.sideBarPageType,"searchConditionApi":_vm.sideBarSearchConditionApi,"searchStatsApi":_vm.sideBarSearchStatsApi,"searchDataApi":_vm.sideBarSearchDataApi,"listHeight":_vm.listHeight,"selectIndex":_vm.selectIndex,"rowCount":_vm.rowCount,"drowerClose":_vm.drowerClose},on:{"clickNextHandler":_vm.clickNextHandler,"clickPrevHandler":_vm.clickPrevHandler,"simpleRouterclickHandler":_vm.simpleRouterclickHandler,"closeSideHandler":_vm.closeSideHandler,"submit":_vm.submitHandler}}),_vm._v(" "),_c('ct-SearchSideMenu',{ref:"sideMenu",attrs:{"sideBarMenuRight":_vm.sideBarMenuRight,"sideBarStatus":_vm.sideBarStatus},on:{"sideMenuClickHandler":_vm.sideMenuClickHandler}})],1):_vm._e()]):_vm._e()}
|
|
80689
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.flagShow)?_c('div',{ref:"main",class:{'domDisabled':_vm.pageDisabled},staticStyle:{"width":"100%","height":"100%","display":"flex"}},[_c('div',{staticClass:"ct-search-list",style:({'height': _vm.pageHeightReal? _vm.pageHeightReal:'100%','width':_vm.searchWidth?_vm.searchWidth+'px':'100%'})},[(typeof _vm.title !== 'undefined' && _vm.showTitle)?_c('div',{staticClass:"clearfix",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-weight":"bold"}},[_vm._v(_vm._s(_vm.title))])]):_vm._e(),_vm._v(" "),(_vm.searchCategoryApi)?_c('ct-searchcategory',{ref:"category",attrs:{"api":_vm.searchCategoryApi},on:{"loadedCategory":_vm.categoryLoaded,"loadedCategoryError":_vm.categoryLoadedError,"changeCategory":_vm.categorychange}}):_vm._e(),_vm._v(" "),_c('ct-searchscreen',{key:_vm.reloadKeyScreen,ref:"screen",attrs:{"api":_vm.searchConditionApi,"screenPara":_vm.screenPara,"categoryLoaded":_vm.loaded.categoryLoaded},on:{"loaded":_vm.screenLoaded,"resetSearch":function($event){_vm.resetSearch()},"search":function($event){_vm.search()},"saveShortcut":_vm.saveShortcut,"showTitle":_vm.showTitleScreenHandler}}),_vm._v(" "),_c('ct-searchtable',{key:_vm.reloadKeyTable,ref:"table",attrs:{"api":_vm.searchDataApi,"searchStatsApi":_vm.searchStatsApi,"from":_vm.from,"isIframe":_vm.isIframe,"documentHeight":_vm.documentHeight,"documentWidth":_vm.documentWidth,"flagPopupSearchlist":_vm.flagPopupSearchlist,"screenTop":_vm.screenTop,"flagAppMode":_vm.flagAppMode,"dragStartItem":_vm.dragStartItem,"dragStartName":_vm.dragStartName},on:{"loaded":_vm.tableLoaded,"toolbarClick":_vm.toolbarClickHandler,"refreshParent":_vm.refreshParentHandler,"searchComplate":_vm.searchComplate,"closeSideBar":_vm.closeSideBar,"rowClickHandle":_vm.rowClickHandle,"scrollHandle":_vm.scrollHandle,"refreshRowHandle":_vm.refreshRowHandle,"doClosePopoverHandle":_vm.doClosePopoverHandle,"showTitle":_vm.showTitleHandler,"popupClickHandler":_vm.popupClickHandler,"simpleRouterRefreshHandler":_vm.simpleRouterRefreshHandler,"loadedError":_vm.tableLoadedError,"drop":_vm.drop,"openSideHandler":_vm.openSideHandler,"flagNotificationParentAfterContentChanged":_vm.flagNotificationParentAfterContentChanged}})],1),_vm._v(" "),(_vm.flagSideBar && _vm.flagSideBarOfData)?_c('div',{ref:"sidebar",staticClass:"sidebar",style:({'height': _vm.pageHeight? _vm.pageHeight:'100%','width':_vm.sideBarWidth+'px',right:_vm.sideBarRight+'px'})},[_c('ct-Detail',{key:_vm.detailKey,ref:"detail",attrs:{"api":_vm.sideBarApi,"apiParam":_vm.sideBarApiParam,"pageType":_vm.sideBarPageType,"searchConditionApi":_vm.sideBarSearchConditionApi,"searchStatsApi":_vm.sideBarSearchStatsApi,"searchDataApi":_vm.sideBarSearchDataApi,"listHeight":_vm.listHeight,"selectIndex":_vm.selectIndex,"rowCount":_vm.rowCount,"drowerClose":_vm.drowerClose},on:{"clickNextHandler":_vm.clickNextHandler,"clickPrevHandler":_vm.clickPrevHandler,"simpleRouterclickHandler":_vm.simpleRouterclickHandler,"closeSideHandler":_vm.closeSideHandler,"submit":_vm.submitHandler}}),_vm._v(" "),_c('ct-SearchSideMenu',{ref:"sideMenu",attrs:{"sideBarMenuRight":_vm.sideBarMenuRight,"sideBarStatus":_vm.sideBarStatus},on:{"sideMenuClickHandler":_vm.sideMenuClickHandler}})],1):_vm._e()]):_vm._e()}
|
|
80682
80690
|
var staticRenderFns = []
|
|
80683
80691
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
80684
80692
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|