centaline-data-driven 1.6.60 → 1.6.62

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.60",
3
+ "version": "1.6.62",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,19 @@
1
+ # v1.6.62
2
+ 2026-03-06
3
+
4
+ 优化
5
+
6
+ 导出转圈弹层高度调高支持显示2行提示文字,并且转圈垂直居中,提示文字支持html
7
+
8
+ # v1.6.61
9
+ 2026-02-09
10
+
11
+ 优化
12
+
13
+ 点击行显示侧边栏时,需要根据行路由配置附带左侧的查询条件
14
+
15
+ 树界面左侧树的查询条件支持可以传query参数
16
+
1
17
  # v1.6.60
2
18
  2025-12-29
3
19
 
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="'/salemanage/ContractByPoint/readDetail'" :apiParam="apiParam" :topHeight="topHeight" :documentHeight="'600px'"></ct-form>
4
+ <ct-form :api="'/api/third-dept-tran/transaction/edit'" :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
- "commissionMode":1,"contractId":"251120105528E09634DE592A4DF8A326","propertyId":"250522090514A8BF158FF92A43479EA6","searchFields":{"fields":[{"fieldName1":"CompanyPath","groupName":"CompanyPath","operation":1,"searchDataType":1,"searchValue1":"001"},{"fieldName1":"EmpID","groupName":"EmpID","operation":1,"searchDataType":1,"searchValue1":"20201030134831BAA0AC5CDC9344B21E"},{"fieldName1":"DeptPath","groupName":"DeptPath","operation":1,"searchDataType":1,"searchValue1":"001.200.063.001"},{"fieldName1":"type","groupName":"type","operation":1,"searchDataType":1,"searchValue1":"left"},{"fieldName1":"EstateID","groupName":"EstateID","operation":2,"searchDataType":3,"searchValue1":"2411211358417B58943C6E954B35BB56"}]},"pageAttribute":{"pageIndex":1},"columnName":"contractDate","actionType":3
15
+ "originalTraId":"2010955673514090498","actionType":3,"pageStyle":2,"pageTitle":"修改成交单","pageOnly":true
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -23,7 +23,7 @@
23
23
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
24
24
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/buildinginfo/getLayoutOfSearch'" :searchDataApi="'/buildinginfo/getList'"></ct-searchlist> -->
25
25
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/roomtypelist/getLayoutOfSearch'" :searchDataApi="'/roomtypelist/getList'"></ct-searchlist> -->
26
- <ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist>
26
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist> -->
27
27
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/sunexpensemanage/sunexpenserecordlist/getLayoutOfSearch'" :searchDataApi="'/sunexpensemanage/sunexpenserecordlist/getList'"></ct-searchlist> -->
28
28
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
29
29
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
@@ -46,6 +46,8 @@
46
46
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/financesalemanage/finContractList/getLayoutOfSearch'" :searchDataApi="'/financesalemanage/finContractList/getList'"></ct-searchlist> -->
47
47
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/financecommissionmanage/fincommissionapplylist/getLayoutOfSearch'" :searchDataApi="'/financecommissionmanage/fincommissionapplylist/getList'"></ct-searchlist> -->
48
48
  <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
49
+ <ct-searchlist :apiParam="para" :searchConditionApi="'/dealmanagementreport/StandingBookSZList/getLayoutOfSearch'" :searchDataApi="'/dealmanagementreport/StandingBookSZList/getList'"></ct-searchlist>
50
+ <!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/dealmanagementreport/standingbookreport/getLayoutOfSearch'" :searchDataApi="'/dealmanagementreport/standingbookreport/getList'"></ct-searchlist> -->
49
51
  <!-- CCES -->
50
52
 
51
53
  <!-- <ct-searchlist :apiParam="para"
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div id="app-Tree" style="height:100%;position: fixed;width:100%;background: #c8c8c8;padding: 10px;">
3
3
  <ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'280'"
4
- :searchConditionApi="'/system/menulist/getTreeLayoutOfSearch'"
5
- :searchDataApi="'/system/menulist/getTreeList'" @loaded="loaded"></ct-treelist>
4
+ :searchConditionApi="'/ComprehensiveConfig/SysMenuConfigureTreeList/getLayoutOfSearch'"
5
+ :searchDataApi="'/ComprehensiveConfig/SysMenuConfigureTreeList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
6
6
  <ct-dialog-list></ct-dialog-list>
7
7
  </div>
8
8
  </template>
@@ -14,7 +14,9 @@
14
14
  data() {
15
15
  return {
16
16
  isShowSearchlist: false,
17
- apiParam: {}
17
+ apiParam: {
18
+ code: "MoFirstPage"
19
+ }
18
20
  }
19
21
  },
20
22
  methods: {
@@ -214,7 +214,7 @@ const api = {
214
214
  progressType: 'export',
215
215
  flagNotification: '1',
216
216
  width: '350px',
217
- height: '165px'
217
+ height: '185px'
218
218
  },
219
219
  on: {
220
220
  finished() {
@@ -551,7 +551,7 @@
551
551
  progressKey: res.content.key,
552
552
  progressType: field.isExport ? 'export' : 'import',
553
553
  width: '350px',
554
- height: '165px'
554
+ height: '185px'
555
555
  },
556
556
  on: {
557
557
  finished(data) {
@@ -622,7 +622,7 @@
622
622
  progressKey: res202.content.key,
623
623
  progressType: field.isExport ? 'export' : 'import',
624
624
  width: '350px',
625
- height: '165px'
625
+ height: '185px'
626
626
  },
627
627
  on: {
628
628
  finished(data) {
@@ -962,7 +962,7 @@
962
962
  progressKey: res.content.key,
963
963
  progressType: field.isExport ? 'export' : 'import',
964
964
  width: '350px',
965
- height: '165px'
965
+ height: '185px'
966
966
  },
967
967
  on: {
968
968
  finished(data) {
@@ -1028,7 +1028,7 @@
1028
1028
  progressKey: res202.content.key,
1029
1029
  progressType: field.isExport ? 'export' : 'import',
1030
1030
  width: '350px',
1031
- height: '165px'
1031
+ height: '185px'
1032
1032
  },
1033
1033
  on: {
1034
1034
  finished(data) {
@@ -1192,7 +1192,7 @@
1192
1192
  progressKey: res.content.key,
1193
1193
  progressType: 'import',
1194
1194
  width: '350px',
1195
- height: '165px'
1195
+ height: '185px'
1196
1196
  },
1197
1197
  on: {
1198
1198
  finished(data) {
@@ -457,6 +457,11 @@
457
457
  self.sideBarApiParam.columnGroupId=this.columnGroupId;
458
458
  }
459
459
 
460
+ if (self.$refs.table.model.rowSelectRouter.flagAttachSearchCondition) {
461
+ self.sideBarApiParam["searchFields"] = self.$refs.table.model.getSearchData();
462
+ self.sideBarApiParam["pageAttribute"] = self.$refs.table.model.pageData;
463
+ }
464
+
460
465
  self.sideBarApiParam.actionType = self.$refs.table.model.rowSelectRouter.actionType;
461
466
  self.detailKey = self.detailKey + 1;
462
467
  }
@@ -205,7 +205,7 @@ import dynamicElement from '../../mixins/dynamicElement';
205
205
  progressKey: res.content.key,
206
206
  progressType: field.isExport ? 'export' : 'import',
207
207
  width: '350px',
208
- height: '165px'
208
+ height: '185px'
209
209
  },
210
210
  on: {
211
211
  finished(data) {
@@ -476,7 +476,7 @@ import dynamicElement from '../../mixins/dynamicElement';
476
476
  progressKey: res.content.key,
477
477
  progressType: field.isExport ? 'export' : 'import',
478
478
  width: '350px',
479
- height: '165px'
479
+ height: '185px'
480
480
  },
481
481
  on: {
482
482
  finished(data) {
@@ -1361,7 +1361,7 @@ export default {
1361
1361
  progressKey: res.content.key,
1362
1362
  progressType: field.isExport ? 'export' : 'import',
1363
1363
  width: '350px',
1364
- height: '165px'
1364
+ height: '185px'
1365
1365
  },
1366
1366
  on: {
1367
1367
  finished(data) {
@@ -1417,7 +1417,7 @@ export default {
1417
1417
  progressKey: res.content.key,
1418
1418
  progressType: field.isExport ? 'export' : 'import',
1419
1419
  width: '350px',
1420
- height: '165px'
1420
+ height: '185px'
1421
1421
  },
1422
1422
  on: {
1423
1423
  finished(data) {
@@ -2219,7 +2219,7 @@ export default {
2219
2219
  progressKey: res.content.key,
2220
2220
  progressType: 'import',
2221
2221
  width: '350px',
2222
- height: '165px'
2222
+ height: '185px'
2223
2223
  },
2224
2224
  on: {
2225
2225
  finished(data) {
@@ -2273,7 +2273,7 @@ export default {
2273
2273
  progressKey: res.content.key,
2274
2274
  progressType: 'import',
2275
2275
  width: '350px',
2276
- height: '165px'
2276
+ height: '185px'
2277
2277
  },
2278
2278
  on: {
2279
2279
  finished(data) {
@@ -8,9 +8,10 @@
8
8
  @clickHandler="rolRouterClickHandler"
9
9
  @loaded="screenload" style="padding-left: 11px;"
10
10
  ></ct-searchtreescreen>
11
- <ct-tree
11
+ <ct-tree v-if="screenLoaded"
12
12
  ref="tree"
13
13
  :api="searchDataApi"
14
+ :searchModel="searchModel"
14
15
  @loaded="loaded"
15
16
  :style="{ height: treeHeight + 'px' }"
16
17
  ></ct-tree>
@@ -45,6 +46,8 @@ export default {
45
46
  data() {
46
47
  return {
47
48
  treeHeight: 0,
49
+ screenLoaded: false,
50
+ searchModel: null,
48
51
  };
49
52
  },
50
53
  methods: {
@@ -68,7 +71,9 @@ export default {
68
71
  } catch (e) {}
69
72
  },
70
73
  screenload(data) {
71
- this.setTreeHeight();
74
+ this.setTreeHeight();
75
+ this.searchModel = this.$refs.treescreen.model;
76
+ this.screenLoaded = true;
72
77
  },
73
78
  rolRouterClickHandler(field) {
74
79
  this.routerClickHandler(field, {}, "");
@@ -23,7 +23,8 @@ export default {
23
23
  mixins: [dynamicElement],
24
24
  props: {
25
25
  vmodel: Object,
26
- api: String
26
+ api: String,
27
+ searchModel: Object,
27
28
  },
28
29
  data() {
29
30
  return {
@@ -52,7 +53,6 @@ export default {
52
53
  };
53
54
  },
54
55
  mounted() {
55
-
56
56
  },
57
57
  methods: {
58
58
  search(m) {
@@ -64,7 +64,6 @@ export default {
64
64
  self.searchStatus.push(1);
65
65
  self.treeNode.childNodes = [];
66
66
  self.searchComplate(m, undefined, self.treeResolve, true);
67
-
68
67
  }
69
68
  else {
70
69
  timer = setTimeout(() => {
@@ -86,8 +85,7 @@ export default {
86
85
  }
87
86
  return flag;
88
87
  },
89
- loadNode(node, resolve) { // 加载 树数据
90
-
88
+ loadNode(node, resolve) { // 加载 树数据
91
89
  let self = this;
92
90
  if (node.level === 0) {
93
91
  self.treeNode = node;
@@ -137,6 +135,9 @@ export default {
137
135
  var self = this;
138
136
  this.$nextTick(function () {
139
137
  if (typeof self.api !== 'undefined') {
138
+ if (!m && self.searchModel) {
139
+ m = self.searchModel;
140
+ }
140
141
  self.loaderObj.Tree(self.api, self.load, m, defaultSearch, resolve, firstLoad);
141
142
  }
142
143
  });
@@ -164,8 +165,7 @@ export default {
164
165
  self.$emit('loaded', newdata);
165
166
  });
166
167
  }
167
- }
168
- ,
168
+ },
169
169
  rightClick(event, object, Node) { // event、object该节点所对应的对象、节点对应的 Node、节点组件本身
170
170
 
171
171
  this.currentData = object  // 定义变量接收该节点所对应的对象
@@ -3,7 +3,7 @@
3
3
  <el-container style="height: calc(100vh - 98px);" ref="tree_left">
4
4
  <el-aside :width="asideWidth ? asideWidth + 'px' : '15%'"
5
5
  style="background-color:white;border-radius: 6px;overflow-y:hidden">
6
- <ct-searchtree :flagsearch="true" :searchConditionApi="searchConditionApi" :searchDataApi="searchDataApi"
6
+ <ct-searchtree :flagsearch="true" :searchConditionApi="searchConditionApi" :searchDataApi="searchDataApi" :screenPara="apiParam"
7
7
  :searchtreeHeight="searchtreeHeight" @loaded="loaded"></ct-searchtree>
8
8
 
9
9
  </el-aside>
@@ -13,13 +13,13 @@
13
13
  <div class="ct-tree-form"
14
14
  :style="{'width': (width ? width + 'px' : 'auto'), 'height': (height ? height + 'px' : (heightPage?heightPage:'auto'))
15
15
  ,'position': 'relative','background-color': '#FFFFFF','border-radius': '6px'}">
16
- <ct-form :api="formApi" :api-param="apiParam" :width="width" :height="height"></ct-form>
16
+ <ct-form :api="formApi" :api-param="rightApiParam" :width="width" :height="height"></ct-form>
17
17
  </div>
18
18
  </template>
19
19
  <template v-else>
20
20
  <div style="height: calc(100vh - 100px);">
21
21
  <ct-searchlist :searchConditionApi="searchTableConditionApi" :searchDataApi="searchTableDataApi"
22
- :api-param="apiParam"></ct-searchlist>
22
+ :api-param="rightApiParam"></ct-searchlist>
23
23
  </div>
24
24
  </template>
25
25
 
@@ -42,6 +42,10 @@ export default {
42
42
  searchConditionApi: String,
43
43
  searchDataApi: String,
44
44
  leftWidth: String,
45
+ apiParam: {
46
+ type: Object,
47
+ default: () => {},
48
+ },
45
49
  },
46
50
  data() {
47
51
  return {
@@ -53,7 +57,7 @@ export default {
53
57
  heightPage: '',
54
58
  isShowMain: false,
55
59
  pageType: 'list',
56
- apiParam: {},
60
+ rightApiParam: {},
57
61
  searchtreeHeight: 0,
58
62
  dataRowRouter: "",
59
63
  asideWidth: 200,
@@ -102,7 +106,7 @@ export default {
102
106
  delete defaultPara.width;
103
107
  delete defaultPara.height;
104
108
 
105
- self.apiParam = defaultPara;
109
+ self.rightApiParam = defaultPara;
106
110
  self.$nextTick(() => {
107
111
  if (self.searchTableConditionApi || self.searchTableDataApi || self.formApi) {
108
112
  self.isShowMain = true;
@@ -15,7 +15,8 @@ const tree = function (source, callBack, searchModel, defaultSearchData, resolve
15
15
  },
16
16
  set source(v) {
17
17
  source = v;
18
- }, get modeltree() {
18
+ },
19
+ get modeltree() {
19
20
  var treedata = [];
20
21
  source.content.rows.forEach(v => {
21
22
  v.getLayoutOfSearch = rtn.rowRouterKey("getLayoutOfSearch");
@@ -10,7 +10,7 @@
10
10
  <div style="font-size: 16px;color: #666;"> {{ percentage.toFixed(2) }}%</div>
11
11
  </div>
12
12
  </div>
13
- <span class="progressMsg">{{ message }}</span>
13
+ <span class="progressMsg" v-html="message"></span>
14
14
  </div>
15
15
  <iframe :src="downloadUrl" style="height:0px;width:0px;border-width: 0px;display: none;">
16
16
  </iframe>
@@ -131,6 +131,10 @@ export default {
131
131
  <style>
132
132
  .ct-progress {
133
133
  text-align: center;
134
+ display: flex;
135
+ justify-content: center; /* 水平居中 */
136
+ align-items: center; /* 垂直居中 */
137
+ height: 185px;
134
138
  }
135
139
 
136
140
  .progressMsg {
package/src/main.js CHANGED
@@ -71,7 +71,7 @@ Vue.use(centaline, {
71
71
  // 获取请求头
72
72
  getRequestHeaders: function (action) {
73
73
  return {
74
- // oldToken: '30bf66c7-b93e-47b4-9d6f-3a7e85c19ac0',
74
+ oldToken: '1094eb9c-0ec7-4fcf-952f-7fc4258ca3b0',
75
75
  // token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
76
76
  // authObject: '{token:"T5067-1995406631567089664",platform:"WEB"}',
77
77
 
@@ -81,8 +81,8 @@ Vue.use(centaline, {
81
81
  // appinfo:'{"appId":"7e4d0521-4e26-4beb-8627-e76977ad8aa5","appName":"CCAI-PLUS"}',
82
82
  // authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjkzNDU5NjFkLWM2NmItNDU0ZS1hMTE4LTUzMWRkMjliZTdmYyJ9.ehMpxkFnyTFlJQ_43SbCTGZZTMFht3isTj3gUKmNoJBWCV5X8ez5Z2AgT7vMBwmmG1FdEHWZTnJhIj0ox86bCA',
83
83
 
84
- AuthObject: '{"currentEstate":{"estateId":"201005121336088B888053DAF3FAD603","estateName":"A","estDeptPath":"001.041.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"Fm1KP8","time":"2025-12-26 17:13:10","timestamp":1766740390742,"sign":"","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"}',
85
- AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjA4Yjk3ZDhmLWJiYjItNGY0Yy04MDQwLWIxZGJkMTY5ZDFhOSJ9.mkY3k2Di_GpwvYpnq4N_yDdTz8dBryVCkX1TbW8fMdiG2AAickX7d1PMp1Hao04OFnt41Yrt2diKGXpmXEWYNQ',
84
+ AuthObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"fXRY7z","time":"2026-03-06 09:33:28","timestamp":1772760808087,"sign":"","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"}',
85
+ AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjY4MGQ4ZmZlLTJjZmYtNGZjZS05OTk4LTNkODRiMjI0MzAzOSJ9.Wss8M7tK5tZiLrkIJY7xk_HeCoeMQQ16M2DS6jC55Zc',
86
86
  };
87
87
  },
88
88
  // 请求完成事件,可判断是否登录过期执行响应操作