centaline-data-driven 1.4.89 → 1.4.91

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.4.89",
3
+ "version": "1.4.91",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -1,15 +1,5 @@
1
1
  <template>
2
2
  <div id="app-search" style="width:100%;height:100%;position: fixed;">
3
- <!-- <ct-searchlistTab :searchConditionApi="'/api/third-dept-tran/transaction-workflow/getLayoutOfSearch'" :searchDataApi="'/api/third-dept-tran/transaction-workflow/list'"></ct-searchlistTab> -->
4
-
5
- <!-- <ct-searchlistTab :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlistTab> -->
6
-
7
- <!-- <ct-searchlistTab :apiParam="para"
8
- :searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
9
- :searchDataApi="'/api/third-dept-tran/tran-list'">
10
- </ct-searchlistTab> -->
11
-
12
-
13
3
  <!-- <ct-searchlistTab :apiParam="para"
14
4
  :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
15
5
  :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
@@ -17,11 +7,6 @@
17
7
  :searchStatsApi="'/ProfileWorklistList/getListStats'">
18
8
  </ct-searchlistTab> -->
19
9
 
20
- <!-- <ct-searchlistTab :apiParam="para"
21
- :searchConditionApi="'/RightValueList/getLayoutOfSearch'"
22
- :searchDataApi="'/RightValueList/getListOfSearchModel'">
23
- </ct-searchlistTab> -->
24
-
25
10
  <!-- <ct-searchlistTab
26
11
  :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
27
12
  :searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'"
@@ -53,14 +38,12 @@
53
38
  para:{
54
39
  chanceID: "1569617379699331072"
55
40
  },
56
- // para: {searchFields: {fields: []}, pageAttribute: {pageIndex: 1}, flagSearch: true}
57
- // para: {publishID: "1503900718229229568"}
58
- // para: {paramKey: "PropertyStatusID", code: "002.001", name: "盘源状态", paramName: "盘源状态"}
59
41
  }
60
42
  },
61
43
  mounted() {
62
44
  },
63
45
  created() {
46
+ console.log(1)
64
47
  //模拟客户端自定义方法
65
48
  Vue.prototype.$clientScript = {
66
49
  open: function (data) {
@@ -339,6 +339,9 @@ const common = {
339
339
  else if (parent.$options.name === 'DataDrivenSearch') {
340
340
  return parent;
341
341
  }
342
+ else if (parent.$options.name === 'DataDrivenSearchTab') {
343
+ return parent;
344
+ }
342
345
  else if (parent.$options.name === 'DataDrivenForm') {
343
346
  return parent;
344
347
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div ref="main" style="width: 100%;height: 100%;display: flex;" :class="{'domDisabled':pageDisabled}">
3
- <div class="ct-search-list" :style="{'height': pageHeight? pageHeight:'100%','width':searchWidth?searchWidth+'px':'100%'}" >
3
+ <div class="ct-search-list-tab" :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>
@@ -151,7 +151,7 @@
151
151
  methods: {
152
152
  categoryLoad() {
153
153
  var self=this;
154
- Vue.prototype.$api.postHandler(common.globalUri(), { action: self.searchCategoryApi,para:{} }).then(
154
+ this.$api.postHandler(this.$common.globalUri(), { action: this.searchCategoryApi,para:{} }).then(
155
155
  function (response) {
156
156
  if (response.rtnCode === Enum.ReturnCode.Successful) {
157
157
  console.log(response.content.fields[0]);
@@ -39,7 +39,7 @@
39
39
  </label>
40
40
  </th>
41
41
  <th :ref="column.fixed ? column.fixed === 'left' ? 'headLeftThs' : 'headRightThs' : 'headThs'"
42
- v-for="(column, colIndex) in columns" :key="colIndex" v-if="column.show" class="ct-td ct-searchtable-th theadLine" data-tooltip="左右拖动竖线调整列宽"
42
+ v-for="(column, colIndex) in columns" :key="colIndex" v-if="column.show" class="ct-td ct-searchtable-th" data-tooltip="左右拖动竖线调整列宽"
43
43
  :rowspan="column.rowspan" :colspan="column.colspan" :class="[colHasWidth[colIndex], column.sortAction, model.tdClass,
44
44
  colIndex === leftShadow ? 'shadowLeft' : null,
45
45
  colIndex === rightShadow ? 'shadowRight' : null,
@@ -47,7 +47,7 @@
47
47
  column.fixed === 'right' ? 'right-fixation-th' : null,
48
48
  column.width === undefined ? 'ct-table-auto' : null,
49
49
  typeof column.fixed === 'undefined' ? 'right-no-fixation-th' : null,
50
- model.columnWidthSaveAction ?'theadBorder':'',
50
+ model.columnWidthSaveAction ?'theadBorder theadLine':'',
51
51
  ]" @mousemove="thMouseMoveHandle($event)" @mousedown="thMouseDownHandle($event, colIndex)"
52
52
  v-bind="column.attrs">
53
53
  <span>{{ column.name }}</span>
@@ -2066,12 +2066,15 @@ export default {
2066
2066
  position: absolute; /*绝对定位*/
2067
2067
  top: 50%; /*Y轴方向偏移自身高度的50%*/
2068
2068
  transform: translatey(-50%); /*Y轴方向偏移微调*/
2069
- left: 0; /*紧靠容器左边缘*/
2069
+ right: 0; /*紧靠容器右边缘*/
2070
2070
  content: ''; /*伪元素需要有内容才能显示*/
2071
2071
  width: 1px; /*伪元素宽度*/
2072
2072
  height: 18px; /*伪元素高度*/
2073
2073
  background-color: #919296; /*伪元素颜色*/
2074
2074
  }
2075
+ .theadLine:last-child::before{
2076
+ width: 0px !important;
2077
+ }
2075
2078
  .theadBorder::after {
2076
2079
  content: attr(data-tooltip);
2077
2080
  position: absolute;
package/src/main.js CHANGED
@@ -4,6 +4,8 @@ import Vue from 'vue';
4
4
  import ElementUI from 'element-ui';
5
5
  import 'element-ui/lib/theme-chalk/index.css';
6
6
  import './centaline/css/common.css'
7
+ import './centaline/css/max.css'
8
+ // import './centaline/css/ccai.css'
7
9
  import App from './App';
8
10
  import router from './router';
9
11
  import centaline from './centaline/index';
@@ -48,7 +50,7 @@ Vue.use(centaline, {
48
50
  getRequestHeaders: function () {
49
51
  return {
50
52
  oldToken: '0bbcf3e8-cf7e-42de-adef-af54e2158fe4',
51
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEzjsOwjAQRdG9uM5I9ni-dE6cNCwCERIkqBABCYTYO0EsgvYU971XWO5j2ARHFSPK0PVtBqpFoZUUoRMvXKygtLyTgSuiKmQdDLoUMyCWCtGqDrlmF427Sl4M19JKawlTD9bmAshklAcmVw5NmB-XsEliyRTNvQmn_e0HakJfuC_zdTs__3HufDuts-gsOomDTjwC-WGCMaFDVOOEpOP-mML7AwAA__8.ZARknNAPwZFQNIvRLVRWaK7p8bhgx1i435SXU7EPDec',
53
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgzAQBP_impNs7nz20YGxmzwCEeOCVFEAKVGUv4dIpEufKbYYrbT7VMt2Vo1CdtJGNhAseSA2FoRSgqCZBZNG7PtBDuBHfBnIBWnb6IB0x0DJRpA6JECxXU-xdX1kValyv6rGsDdeqNamUvO4HkI7_xHbUm6n8vjHucs677OZ0PM4WahN3suMAqMQwjTlcSqUsWSvXm8AAAD__w.kFBCAZ9jB8xw93_pkbsd_1r0CHHlvQNQSPdhEiPqfhQ',
52
54
 
53
55
  originalRequestURL: 'http://10.88.22.67:8080',
54
56
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
@@ -41,7 +41,8 @@ export default new Router({
41
41
  path: '/Detail',
42
42
  name: 'Detail',
43
43
  component: Detail
44
- }, {
44
+ },
45
+ {
45
46
  path: '/SearchTree',
46
47
  name: 'Tree',
47
48
  component: Tree