centaline-data-driven 1.6.52 → 1.6.54

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.6.52",
3
+ "version": "1.6.54",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,17 @@
1
+ # v1.6.54
2
+ 2025-09-19
3
+
4
+ 优化
5
+
6
+ 列表添加调用客户端函数openSideBar可以打开右侧,closeSideBar可以关闭右侧
7
+
8
+ # v1.6.53
9
+ 2025-09-19
10
+
11
+ 优化
12
+
13
+ 列表添加调用客户端函数openSide可以打开右侧
14
+
1
15
  # v1.6.52
2
16
  2025-09-01
3
17
 
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="'/property/readPropertyUpdateDetail'" :apiParam="apiParam" :topHeight="topHeight" :documentHeight="'600px'"></ct-form>
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":3
15
+ "estateId":"241112160400DF3DC1EB63A14A1DBBF4","propertyId":"2411121629063ADD517E35104A4E98FD","actionType":2
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -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 (typeof this.model.scripts !== 'undefined') {
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.links = null;
279
- this.model.buttons = null;
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" :dragStartItem="dragStartItem" :dragStartName="dragStartName" @flagNotificationParentAfterContentChanged="flagNotificationParentAfterContentChanged"
20
+ @drop="drop" @openSideBarHandler="openSideBarHandler" @closeSideBarHandler="closeSideBarHandler" :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,16 @@
445
445
  this.$refs.table.setTableHeight();
446
446
  }
447
447
  },
448
+ openSideBarHandler() {
449
+ if(this.sideBarStatus == 'close'){
450
+ this.$refs.sideMenu.clickHandler();
451
+ }
452
+ },
453
+ closeSideBarHandler() {
454
+ if(this.sideBarStatus == 'open'){
455
+ this.$refs.sideMenu.clickHandler();
456
+ }
457
+ },
448
458
  closeSideHandler() {
449
459
  this.$refs.sideMenu.clickHandler();
450
460
  },
@@ -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 (typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
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,16 @@ export default {
1740
1740
  }
1741
1741
  //执行客户端脚本
1742
1742
  else {
1743
- // let parm={submitData:submitData,field:field}
1744
- // self.$common.excuteFunStr.call(self.model.scripts, field.action,parm);
1745
- // var fun = self.model.scripts.formData[action];
1746
- // fun(submitData,field);
1743
+ if(field.action=='openSideBar'){
1744
+ self.$emit('openSideBarHandler');
1745
+ return;
1746
+ }
1747
+ else if(field.action=='closeSideBar'){
1748
+ self.$emit('closeSideBarHandler');
1749
+ return;
1750
+ }
1751
+
1752
+
1747
1753
  let title = field.pageTitle == undefined ? field.label : field.pageTitle;
1748
1754
  submitData = field.getActionPara(submitData).para;
1749
1755
  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 && rtn.value) {
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":"241112160400DF3DC1EB63A14A1DBBF4","estateName":"%E6%B5%8B%E8%AF%95%E6%8C%89%E7%82%B9%E4%BD%8Dhq","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"CcTkw4","time":1756699289470,"sign":"805964fbed32f7be5e46e9903c4ec631","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.eyJsb2dpbl91c2VyX2tleSI6IjA1YTUzMWIxLTBiOTYtNDI5OS1hODU3LTI5NTRhOTE0OTE1NCJ9.MYBWLR7_cxK9P-zQoZyO2OLcQE_ucbatLk5iwQ_IJAGdTBsgiKEw8k_2YpK3kvi78FrvypYs49tEWDNOtAElmw',
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 __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_715ec4d8_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__ = __webpack_require__(641);
11278
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_de816a70_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-715ec4d8"
11293
+ var __vue_scopeId__ = "data-v-de816a70"
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
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_715ec4d8_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__["a" /* default */],
11298
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_de816a70_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 __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2489258b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(622);
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
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2489258b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
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 __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6533649b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__ = __webpack_require__(538);
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
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6533649b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__["a" /* default */],
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 && rtn.value) {
13901
+ if (source.isList && source.placeholder1 && source.displayLabelAfterSelected) {
13902
13902
  return source.placeholder1 + ":";
13903
13903
  }
13904
13904
  return '';
@@ -19626,6 +19626,16 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
19626
19626
  this.$refs.table.setTableHeight();
19627
19627
  }
19628
19628
  },
19629
+ openSideBarHandler: function openSideBarHandler() {
19630
+ if (this.sideBarStatus == 'close') {
19631
+ this.$refs.sideMenu.clickHandler();
19632
+ }
19633
+ },
19634
+ closeSideBarHandler: function closeSideBarHandler() {
19635
+ if (this.sideBarStatus == 'open') {
19636
+ this.$refs.sideMenu.clickHandler();
19637
+ }
19638
+ },
19629
19639
  closeSideHandler: function closeSideHandler() {
19630
19640
  this.$refs.sideMenu.clickHandler();
19631
19641
  },
@@ -20037,7 +20047,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
20037
20047
  destroyed: function destroyed() {
20038
20048
  this.$off();
20039
20049
  if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
20040
- if (this.model.scripts) {
20050
+ if (this.model && this.model.scripts) {
20041
20051
  this.model.scripts.formData.form = null;
20042
20052
  this.model.scripts.formData.excuteData = null;
20043
20053
  this.model.scripts.formData.fieldsDic = null;
@@ -20775,7 +20785,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
20775
20785
  "use strict";
20776
20786
  /* 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
20787
  /* unused harmony namespace reexport */
20778
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_30a27ceb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(577);
20788
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_cea173ee_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(577);
20779
20789
  function injectStyle (ssrContext) {
20780
20790
  __webpack_require__(539)
20781
20791
  }
@@ -20795,7 +20805,7 @@ var __vue_scopeId__ = null
20795
20805
  var __vue_module_identifier__ = null
20796
20806
  var Component = normalizeComponent(
20797
20807
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
20798
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_30a27ceb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
20808
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_cea173ee_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
20799
20809
  __vue_template_functional__,
20800
20810
  __vue_styles__,
20801
20811
  __vue_scopeId__,
@@ -21165,7 +21175,7 @@ var Component = normalizeComponent(
21165
21175
  destroyed: function destroyed() {
21166
21176
  this.$off();
21167
21177
  if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
21168
- if (typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
21178
+ if (this.model && typeof this.model.scripts !== 'undefined' && this.model.scripts.formData) {
21169
21179
  this.model.scripts.formData.formTable = null;
21170
21180
  this.model.scripts.formData = null;
21171
21181
  }
@@ -22456,10 +22466,14 @@ var Component = normalizeComponent(
22456
22466
  }
22457
22467
  //执行客户端脚本
22458
22468
  else {
22459
- // let parm={submitData:submitData,field:field}
22460
- // self.$common.excuteFunStr.call(self.model.scripts, field.action,parm);
22461
- // var fun = self.model.scripts.formData[action];
22462
- // fun(submitData,field);
22469
+ if (field.action == 'openSideBar') {
22470
+ self.$emit('openSideBarHandler');
22471
+ return;
22472
+ } else if (field.action == 'closeSideBar') {
22473
+ self.$emit('closeSideBarHandler');
22474
+ return;
22475
+ }
22476
+
22463
22477
  var title = field.pageTitle == undefined ? field.label : field.pageTitle;
22464
22478
  submitData = field.getActionPara(submitData).para;
22465
22479
  var fun = self.$common.getDataDrivenOpts().handler[action];
@@ -29506,7 +29520,7 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
29506
29520
  clearTimeout(this.timeoutHandle);
29507
29521
  }
29508
29522
  if (this.$el.parentNode) this.$el.parentNode.removeChild(this.$el);
29509
- if (typeof this.model.scripts !== 'undefined') {
29523
+ if (this.model && typeof this.model.scripts !== 'undefined') {
29510
29524
  this.model.scripts.formData.form = null;
29511
29525
  this.model.scripts.formData.excuteData = null;
29512
29526
  this.model.scripts.formData.fieldsDic = null;
@@ -29517,8 +29531,10 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
29517
29531
  this.collapseFieldsRow = [];
29518
29532
  this.independentItem = [];
29519
29533
  this.isHorizontalLayout = false;
29520
- this.model.links = null;
29521
- this.model.buttons = null;
29534
+ if (this.model) {
29535
+ this.model.links = null;
29536
+ this.model.buttons = null;
29537
+ }
29522
29538
  this.model = null;
29523
29539
  this.$el = null;
29524
29540
  },
@@ -60091,7 +60107,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
60091
60107
  nextPage: function nextPage(callback) {
60092
60108
  if (this.flagMoreData && this.flagMoreData !== false) {
60093
60109
  this.pageIndex++;
60094
- this.apiData(callback);
60110
+ this.apiData(callback, true);
60095
60111
  } else {
60096
60112
  if (typeof callback !== 'undefined') {
60097
60113
  callback(false);
@@ -60145,12 +60161,12 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
60145
60161
  source.content.bottomText = v1;
60146
60162
  },
60147
60163
  isdisabledSearchScreen: false,
60148
- apiData: function apiData(callback) {
60164
+ apiData: function apiData(callback, flagNext) {
60149
60165
  var self = this;
60150
60166
  if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
60151
60167
  self.$vue.searchStrat = Date.now();
60152
60168
  }
60153
- this.isLoading = true;
60169
+ if (!flagNext) this.isLoading = true;
60154
60170
  if (self.isdisabledSearchScreen) {
60155
60171
  self.searchModel.setBtnLoading(true);
60156
60172
  }
@@ -60168,7 +60184,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
60168
60184
  if (self.$vue && self.$vue.searchStrat && self.$vue.searchEnd) {
60169
60185
  self.$vue.searchEnd = Date.now();
60170
60186
  }
60171
- self.isLoading = false;
60187
+ if (!flagNext) self.isLoading = false;
60172
60188
  if (response.rtnCode === __WEBPACK_IMPORTED_MODULE_6__lib_Enum__["default"].ReturnCode.Successful) {
60173
60189
  if (response.content.rows && response.content.rows.length > 0) {
60174
60190
  // rtn.setRow(response.content.rows);
@@ -77844,7 +77860,7 @@ var content = __webpack_require__(523);
77844
77860
  if(typeof content === 'string') content = [[module.i, content, '']];
77845
77861
  if(content.locals) module.exports = content.locals;
77846
77862
  // add the styles to the DOM
77847
- var update = __webpack_require__(3)("f49956de", content, true, {});
77863
+ var update = __webpack_require__(3)("cd7c89c0", content, true, {});
77848
77864
 
77849
77865
  /***/ }),
77850
77866
  /* 523 */
@@ -77855,7 +77871,7 @@ exports = module.exports = __webpack_require__(2)(false);
77855
77871
 
77856
77872
 
77857
77873
  // module
77858
- exports.push([module.i, ".sidebar[data-v-715ec4d8]{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)}", ""]);
77874
+ exports.push([module.i, ".sidebar[data-v-de816a70]{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
77875
 
77860
77876
  // exports
77861
77877
 
@@ -78815,7 +78831,7 @@ var content = __webpack_require__(537);
78815
78831
  if(typeof content === 'string') content = [[module.i, content, '']];
78816
78832
  if(content.locals) module.exports = content.locals;
78817
78833
  // add the styles to the DOM
78818
- var update = __webpack_require__(3)("0eabf016", content, true, {});
78834
+ var update = __webpack_require__(3)("6bc20055", content, true, {});
78819
78835
 
78820
78836
  /***/ }),
78821
78837
  /* 537 */
@@ -78852,7 +78868,7 @@ var content = __webpack_require__(540);
78852
78868
  if(typeof content === 'string') content = [[module.i, content, '']];
78853
78869
  if(content.locals) module.exports = content.locals;
78854
78870
  // add the styles to the DOM
78855
- var update = __webpack_require__(3)("8084f83e", content, true, {});
78871
+ var update = __webpack_require__(3)("34eeb078", content, true, {});
78856
78872
 
78857
78873
  /***/ }),
78858
78874
  /* 540 */
@@ -80272,7 +80288,7 @@ var content = __webpack_require__(617);
80272
80288
  if(typeof content === 'string') content = [[module.i, content, '']];
80273
80289
  if(content.locals) module.exports = content.locals;
80274
80290
  // add the styles to the DOM
80275
- var update = __webpack_require__(3)("4b10dcde", content, true, {});
80291
+ var update = __webpack_require__(3)("fec1bdac", content, true, {});
80276
80292
 
80277
80293
  /***/ }),
80278
80294
  /* 617 */
@@ -80678,7 +80694,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
80678
80694
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
80679
80695
 
80680
80696
  "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()}
80697
+ 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,"openSideBarHandler":_vm.openSideBarHandler,"closeSideBarHandler":_vm.closeSideBarHandler,"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
80698
  var staticRenderFns = []
80683
80699
  var esExports = { render: render, staticRenderFns: staticRenderFns }
80684
80700
  /* harmony default export */ __webpack_exports__["a"] = (esExports);