centaline-data-driven 1.2.43 → 1.2.44

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.2.43",
3
+ "version": "1.2.44",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -3,7 +3,9 @@
3
3
  <!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlist> -->
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
- <!-- <ct-searchlist :searchConditionApi="'/PropertyPublishLogList/getLayoutOfSearch'" :searchDataApi="'/PropertyPublishLogList/getListOfSearchModel'"></ct-searchlist> -->
6
+
7
+ <!-- <ct-searchlist :searchConditionApi="'/cache/getLayoutOfSearchForCache'"
8
+ :searchDataApi="'/cache/getListOfSearchModelForCache'"></ct-searchlist> -->
7
9
 
8
10
  <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
9
11
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
@@ -205,7 +205,6 @@ const common = {
205
205
  * @desc 打开弹窗
206
206
  */
207
207
  openDialog(vmodel) {
208
-
209
208
  //this.dialogList.List.push(vmodel);
210
209
  this.dialogList.addDialog(vmodel);
211
210
  },
@@ -216,7 +215,6 @@ const common = {
216
215
  * @desc 关闭指定弹窗
217
216
  */
218
217
  closeDialog(vmodel) {
219
-
220
218
  if (vmodel) {
221
219
  if (vmodel.name === 'ct-comfirm' || vmodel.$options.name === 'ctDialog' || vmodel.$options.name === 'ct-dialog') {
222
220
  //vmodel.dialogTableVisible = false;
@@ -95,6 +95,9 @@ html {
95
95
  .ct-close{
96
96
  cursor: pointer;
97
97
  }
98
+ .cursor{
99
+ cursor: pointer !important;
100
+ }
98
101
  .ct-so .ct-close > .el-select__caret.is-show-close:hover, .ct-tags .ct-close > .el-select__caret.is-show-close:hover {
99
102
  color: #909399;
100
103
  }
@@ -45,7 +45,7 @@
45
45
  document.addEventListener("touchmove", mo, false);//禁止页面滑动
46
46
  }
47
47
  },
48
- deleteDialog(model) {
48
+ deleteDialog(model) {
49
49
  model.dialogTableVisible = false;
50
50
  //改成删除
51
51
  let index = this.List.findIndex(v => {
@@ -1,19 +1,24 @@
1
1
  <template>
2
- <div class="ct-search-list" :style="searchListStyle" :class="{'domDisabled':pageDisabled}">
3
- <div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
4
- <span style="font-weight:bold">{{title}}</span>
5
- </div>
6
- <ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
7
- @changeCategory="categorychange" ></ct-searchcategory>
2
+ <div style="width: 100%;height: 100%;position: inherit;">
3
+ <div class="ct-search-list" :style="searchListStyle" :class="{'domDisabled':pageDisabled}">
4
+ <div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
5
+ <span style="font-weight:bold">{{title}}</span>
6
+ </div>
7
+ <ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
8
+ @changeCategory="categorychange" ></ct-searchcategory>
9
+
10
+ <ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
11
+ @loaded="screenLoaded" :screenPara="screenPara"
12
+ :categoryLoaded="loaded.categoryLoaded" @search="search()"
13
+ @showTitle="showTitleScreenHandler"></ct-searchscreen>
8
14
 
9
- <ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
10
- @loaded="screenLoaded" :screenPara="screenPara"
11
- :categoryLoaded="loaded.categoryLoaded" @search="search()"
12
- @showTitle="showTitleScreenHandler"></ct-searchscreen>
15
+ <ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from"
16
+ @toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate()"
17
+ @showTitle="showTitleHandler"></ct-searchtable>
18
+ </div>
19
+ <div v-if="flagSideBar">
13
20
 
14
- <ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from"
15
- @toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate()"
16
- @showTitle="showTitleHandler"></ct-searchtable>
21
+ </div>
17
22
  </div>
18
23
  </template>
19
24
  <script>
@@ -77,6 +82,9 @@
77
82
  reloadKeyTable:'t0',
78
83
  isReload:false,
79
84
  pageDisabled:false,
85
+ flagSideBar:false,
86
+ flagDefaultDisplaySideBar:false,
87
+ sideBarWidth:360,
80
88
  }
81
89
  },
82
90
  methods: {
@@ -80,6 +80,7 @@
80
80
  :rowspan="tdRowspan(column, row)"
81
81
  class="ct-td"
82
82
  :class="[colHasWidth[colIndex],model.tdClass,
83
+ column.router?'cursor':null,
83
84
  colIndex === leftShadow?'shadowLeft':null,
84
85
  colIndex === rightShadow?'shadowRight':null,
85
86
  column.fixed === 'left'?'left-fixation':null,
@@ -843,6 +843,15 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
843
843
  get rowMenuDisplayCount() {
844
844
  return source.content.rowMenuDisplayCount && source.content.rowMenuDisplayCount>0?source.content.rowMenuDisplayCount : 4;
845
845
  },
846
+ get flagSideBar() {
847
+ return source.content.flagSideBar || false;
848
+ },
849
+ get flagDefaultDisplaySideBar() {
850
+ return source.content.flagDefaultDisplaySideBar || false;
851
+ },
852
+ get sideBarWidth() {
853
+ return source.content.sideBarWidth || 360;
854
+ },
846
855
  };
847
856
  if (rtn.template) {
848
857
  var tempLoader = template.loader(rtn.template).default;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div :class="isOperationalColumn?'subdiv_allinline':''" v-if="isShowLabel" @click="clickHandler($event)">
3
- <img v-if="router.imgUrl && isShowImg" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" @click="clickHandler($event);" />
4
- <a v-else href="javascript:void(0);" class="ct-tablecurrencyItem" @click="clickHandler($event)">
3
+ <img v-if="router.imgUrl && isShowImg" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" />
4
+ <a v-else href="javascript:void(0);" class="ct-tablecurrencyItem" >
5
5
  {{label}}
6
6
  </a>
7
7
  </div>