centaline-data-driven 1.3.62 → 1.3.65

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.3.62",
3
+ "version": "1.3.65",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
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="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/CCAIWorklist/getLayoutOfAudit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
5
  <ct-dialog-list></ct-dialog-list>
6
6
  </div>
7
7
  </template>
@@ -12,11 +12,7 @@
12
12
  data() {
13
13
  return {
14
14
  apiParam:{
15
- actionType: "3",
16
- originalTraId: "1564517681291898881",
17
- pageOnly: "true",
18
- pageStyle: "2",
19
- pageTitle: "成交报告",
15
+ worklistID: "14749_39", actionType: 2
20
16
  },
21
17
  topHeight:10,
22
18
  }
@@ -4,19 +4,22 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <!-- <ct-searchlist :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
8
- :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
9
- :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'" :apiParam="para"></ct-searchlist> -->
7
+ <ct-searchlist :apiParam="para"
8
+ :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
9
+ :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
10
+ :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
11
+ :searchStatsApi="'/ProfileWorklistList/getListStats'">
12
+ </ct-searchlist>
10
13
 
11
14
  <!-- <ct-searchlist :searchConditionApi="'/api/agenttrans/transactionList/getLayoutOfSearch'"
12
15
  :searchDataApi="'/api/agenttrans/transactionList/getTableList'">
13
16
  </ct-searchlist> -->
14
17
 
15
- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
18
+ <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
16
19
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
17
20
  :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
18
21
  :searchStatsApi="'/exampleList/getListStats'">
19
- </ct-searchlist>
22
+ </ct-searchlist> -->
20
23
 
21
24
  <ct-dialog-list></ct-dialog-list>
22
25
  </div>
@@ -10,7 +10,7 @@
10
10
  <script>
11
11
  import Vue from 'vue'
12
12
  export default {
13
- name: 'Tree',
13
+ name: 'DataDrivenSearchTree',
14
14
  data() {
15
15
  return {
16
16
  isShowSearchlist: false,
@@ -340,6 +340,9 @@ const common = {
340
340
  }
341
341
  else if (parent.$options.name === 'DataDrivendetail') {
342
342
  return parent;
343
+ }
344
+ else if (parent.$options.name === 'DataDrivenSearchTree') {
345
+ return parent;
343
346
  }
344
347
  else {
345
348
  return this.getParentPane(parent);
@@ -70,7 +70,7 @@
70
70
  padding-bottom: 3px;
71
71
  padding-top: 3px;
72
72
  }
73
- .line-feed {
73
+ .ct-form .line-feed {
74
74
  white-space: normal;
75
75
  }
76
76
  .ct-checkbox .ct-radios .el-checkbox {
@@ -481,7 +481,7 @@
481
481
  else {
482
482
  submitData = field.getActionPara(submitData).para;
483
483
  field.doAction(submitData, (data) => {
484
- if (data.rtnCode === 200) {
484
+ if (data.rtnCode === 200 || data.isSuccess) {
485
485
  if(field && field.changeCallBackFunName){
486
486
  self.changeCallBackHandler(field, field.changeCallBackFunName, data.content);
487
487
  }
package/src/main.js CHANGED
@@ -12,11 +12,11 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- // baseUrl: "http://10.88.22.13:7070/v1/form/router",
15
+ baseUrl: "http://10.88.22.13:7070/v1/form/router",
16
16
  // baseUrl: "http://10.88.23.25:9999/v1/form/router",
17
17
  // baseUrl: "http://10.88.22.40:8080/",
18
- baseUrl: "http://tjcptest.centaline.com.cn/",
19
- flagRouterSelf: true,
18
+ // baseUrl: "http://tjcptest.centaline.com.cn/",
19
+ // flagRouterSelf: true,
20
20
  zindex: 999,
21
21
  showRequestSuccessMessage: true,
22
22
  showRequestErrorMessage: true,
@@ -42,7 +42,7 @@ Vue.use(centaline, {
42
42
  getRequestHeaders: function () {
43
43
  return {
44
44
  oldToken: 'd3513834-dcd1-4056-b094-53c484d7057f',
45
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgkAQRP9lazZhub3dOzo9sPEjyAFngpURSDTGfxcjdPS-4hWTTGZeMM4tlKAruKONxq_gjjYaIvZKUuPBa0AWNugoOAwsgU9VbcKxggzS4wYliZA3yjlnMMTpFzhL-TeYx3Q_p-c_zl2nYZkVTX2h0WDXakTO-wLdxdul4anrbexsEnh_AAAA__8.MEtSxad4sPrz3kQNLxWCgE6EQtonJes5uYAZ_QZYDTU',
45
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOwjAMRe_iuZZIYidxN5qWhUNUQXKkMiHaSiDE3Smi3brzhjf85b8XjPMFaggruKONXlZwRxu9MSTB-A6PEhKSJ4fRpIiJfKJT27nUtFCBPm5QG-8tkZVoKxjy9Bsce_4O86j3sz7_EXedhuU289IWRZHFKpLYA0YthJEyF2UqKgTvDwAAAP__.t6DwVJ_3mrNhuot1aNqzZMqeAIUE4gLlOjHzEr-EP-0',
46
46
  originalRequestURL: 'http://10.88.22.67:8080',
47
47
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
48
48
  estateId: '20210729104021C49F04B55C50F6AF58',