centaline-data-driven 1.2.40 → 1.2.41

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.40",
3
+ "version": "1.2.41",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="app-search" style="height:100%;position: fixed;">
3
- <!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/tran-list/tran-emp-achievement-layout'" :searchDataApi="'/api/third-dept-tran/tran-list/tran-emp-achievement-list'"></ct-searchlist> -->
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
6
  <!-- <ct-searchlist :searchConditionApi="'/PropertyPublishLogList/getLayoutOfSearch'" :searchDataApi="'/PropertyPublishLogList/getListOfSearchModel'"></ct-searchlist> -->
Binary file
@@ -320,7 +320,12 @@ html {
320
320
  .el-input__icon {
321
321
  height:initial;
322
322
  }
323
-
323
+ .st-serach-screen .el-input__icon {
324
+ line-height:initial!important;
325
+ }
326
+ .ct-checkbox .cover-list-item-span{
327
+ line-height: initial!important;
328
+ }
324
329
  /*两个div在同一行并居中*/
325
330
  .div_allinline {
326
331
  text-align: center;
@@ -158,7 +158,7 @@
158
158
  white-space: nowrap;
159
159
  }
160
160
  .max-cover-list-item .el-input__icon{
161
- line-height: 25px!important;
161
+ line-height:initial;
162
162
  }
163
163
  .el-card{
164
164
  border: none;
@@ -105,7 +105,6 @@
105
105
  .ct-checkbox .cover-list-item-span {
106
106
  display: none;
107
107
  min-height: 26px;
108
- line-height: 25px!important;
109
108
  font-size: 12px;
110
109
  }
111
110
 
@@ -92,16 +92,16 @@
92
92
  v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true"
93
93
  :router="router" :colValue="router.label" :rowData="row" @click="rolRouterClickHandler">
94
94
  </ct-tablecurrency>
95
- <el-popover :append-to-table="option.appendId?option.appendId:''" class="Stats-popover" popper-class="el-popover1"
96
- :placement="option.placement?option.placement:'left'"
95
+ <el-popover :ref="'popover'+rowindex" :append-to-table="option.appendId?option.appendId:''" class="Stats-popover" popper-class="el-popover1"
96
+ :placement="option.placement?option.placement:'left'"
97
97
  :trigger="option.trigger?option.trigger:''">
98
98
  <div class="tab-list" style="border-bottom:none">
99
99
  <ct-tablecurrency v-for="(router,rowRouterIndex) in getRowRouterDisplay(row)" :key="rowRouterIndex"
100
- v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true"
100
+ v-if="!router.rightField || row[router.rightField] == 1" :isOperationalColumn="true" :isShowImg="false" :rowindex="rowindex"
101
101
  :router="router" :colValue="router.label" :rowData="row" @click="rolRouterClickHandler">
102
102
  </ct-tablecurrency>
103
103
  </div>
104
- <span :slot="getRowRouterDisplay(row).length>0?'reference':''" class="icon-more">⋮</span>
104
+ <span :slot="getRowRouterDisplay(row).length>0?'reference':''" class="icon-more"></span>
105
105
  </el-popover>
106
106
  </div>
107
107
 
@@ -195,7 +195,7 @@
195
195
  showNum: 3,//如果isHidden为true时,个数大于3就会隐藏,默认是3
196
196
  appendId: '',//将浮动栏添加到对应id或者class节点中。或者.xxx。传空字符串是添加到body中。
197
197
  trigger: 'hover',//触发方式,传值可查看Popper UI组件trigger属性
198
- placement: 'bottom-start'//方向,传值可查看Popper UI组件placement属性
198
+ placement: 'right-start',//方向,传值可查看Popper UI组件placement属性
199
199
  },
200
200
  }
201
201
  },
@@ -670,9 +670,13 @@
670
670
 
671
671
  this.routerClickHandler(field, submitData, action);
672
672
  },
673
- rolRouterClickHandler(field, rowData) {
673
+ rolRouterClickHandler(field, rowData,rowindex) {
674
+ if(this.$refs['popover'+rowindex]){
675
+ this.$refs['popover'+rowindex][0].doClose();
676
+ }
677
+
674
678
  var self = this;
675
- var submitData = {};
679
+ var submitData = {};
676
680
  field.submitListField.forEach((k) => {
677
681
  submitData[k] = rowData[k];
678
682
  });
@@ -1163,19 +1167,26 @@
1163
1167
  margin-bottom: 0px !important;;
1164
1168
  height: auto !important;;
1165
1169
  display: block;
1170
+ padding-left: 8px;
1171
+ padding-right: 4px;
1166
1172
  }
1167
1173
  .tab-list .subdiv_allinline {
1168
1174
  float: none;
1169
1175
  display: block;
1170
1176
  width: -webkit-fill-available;
1171
1177
  }
1178
+ .div_allinline .Stats-popover {
1179
+ float: right;
1180
+ margin-top: 3px;
1181
+ margin-left: 4px;
1182
+ height: 16px;
1183
+ }
1172
1184
  .icon-more {
1173
- color: #ee5d56;
1174
- font-size: 20px;
1175
- font-weight: 900;
1176
- display: inline-block;
1177
- vertical-align: 0.5em;
1178
- margin-top: -3px;
1185
+ background: url('../../../assets/XL.png')no-repeat;
1186
+ background-size: 100% 100%;
1187
+ width: 16px;
1188
+ height: 16px;
1189
+ display: table-caption;
1179
1190
  cursor: pointer;
1180
1191
  }
1181
1192
  .el-popover1 {
@@ -265,10 +265,13 @@
265
265
  cursor: pointer;
266
266
  }
267
267
 
268
- .Stats-popover {
269
- position: absolute;
270
- right: 5px;
268
+  .Stats-popover {
269
+ float: left;
270
+ margin-top: 4px;
271
+ margin-left: 4px;
272
+ height: 16px;
271
273
  }
274
+
272
275
  </style>
273
276
  <style>
274
277
  .el-popover1 {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :class="isOperationalColumn?'subdiv_allinline':''" v-if="isShowLabel">
3
- <img v-if="router.imgUrl" class="ct-tablecurrencyImg ct-tablecurrencyItem" :src="router.imgUrl" :title="router.label" @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
4
  <a v-else href="javascript:void(0);" class="ct-tablecurrencyItem" @click="clickHandler($event)">
5
5
  {{label}}
6
6
  </a>
@@ -14,9 +14,14 @@
14
14
  router: Object,
15
15
  rowData: Object,
16
16
  colValue: String,
17
+ rowindex: Number,
17
18
  isOperationalColumn: {
18
19
  type: Boolean,
19
20
  default: false
21
+ },
22
+ isShowImg: {
23
+ type: Boolean,
24
+ default: true
20
25
  }
21
26
  },
22
27
  computed: {
@@ -38,7 +43,7 @@
38
43
  },
39
44
  methods: {
40
45
  clickHandler(ev) {
41
- this.$emit('click', this.router, this.rowData);
46
+ this.$emit('click', this.router, this.rowData,this.rowindex);
42
47
  }
43
48
  }
44
49
  }
package/src/main.js CHANGED
@@ -13,7 +13,7 @@ Vue.use(ElementUI, { size: 'mini'});
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
15
  baseUrl: "http://10.88.22.46:7070/v1/form/router",
16
- // baseUrl: "http://10.1.245.111:38028/v1/form/router",
16
+ // baseUrl: "http://tjcptest.centaline.com.cn/",
17
17
  // baseUrl: "http://10.88.22.46:7070/",
18
18
  // flagRouterSelf: true,
19
19
  zindex: 999,
@@ -36,7 +36,7 @@ Vue.use(centaline, {
36
36
  // 获取请求头
37
37
  getRequestHeaders: function () {
38
38
  return {
39
- oldToken: '5e730b63-1439-4850-9e88-4a83c8609525',
39
+ oldToken: 'fd2b9945-9709-4608-a57b-13a8ad61030a',
40
40
  estateId: '20210729104021C49F04B55C50F6AF58',
41
41
  originalRequestURL: 'http://10.88.22.67:8080',
42
42
  Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE0NmU5ZjEzLTVjMmYtNGVlMy1hM2U5LWIxM2QyZThjZTBhZSJ9.Gl8K5lbG7t5DyCqouu7Ux7Oh9xuAxqdOXr4JnoHCN-YwC3b2zPO-C2sHbYJUZHYQPa7kTNRmg1xJiwugpVo5Xw',