centaline-data-driven 1.4.36 → 1.4.38

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.36",
3
+ "version": "1.4.38",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -4,18 +4,18 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <ct-searchlist :apiParam="para"
7
+ <!-- <ct-searchlist :apiParam="para"
8
8
  :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
9
9
  :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
10
10
  :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
11
11
  :searchStatsApi="'/ProfileWorklistList/getListStats'">
12
- </ct-searchlist>
13
-
14
- <!-- <ct-searchlist :apiParam="para"
15
- :searchConditionApi="'/PropertyTrustList/getLayoutOfSearch'"
16
- :searchDataApi="'/PropertyTrustList/getListOfSearchModel'">
17
12
  </ct-searchlist> -->
18
13
 
14
+ <ct-searchlist :apiParam="para"
15
+ :searchConditionApi="'/distribution/jumpPoint/getLayoutOfSearch'"
16
+ :searchDataApi="'/distribution/jumpPoint/list'">
17
+ </ct-searchlist>
18
+
19
19
  <!-- <ct-searchlist
20
20
  :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
21
21
  :searchConditionApi="'/PropertyPublishList/getLayoutOfSearchForRET'"
@@ -112,7 +112,6 @@
112
112
  border-bottom-left-radius: 6px !important;
113
113
  border-bottom-right-radius: 6px !important;
114
114
  -webkit-box-shadow: #cfcece 0px 7px 9px 0px!important;
115
-
116
115
  }
117
116
  .ct-checkbox .ct-checkbox-mian{
118
117
  padding-left: 0!important;
@@ -13,7 +13,7 @@
13
13
  </el-table-column>
14
14
  </el-table>
15
15
  <div style="margin-top: 20px;width: 100%;display: inline-block;height: 30px;margin-bottom: 10px;">
16
- <span class="ct-table-tip-mini" v-if="!loading && model" v-html="model.footer"></span> <span class="ct-table-tip-mini" v-if="!loading && model" style="color:red;">已勾选 {{selectCount}} 条</span>
16
+ <span class="ct-table-tip-mini" v-if="!loading && model" v-html="model.footer"></span> <span class="ct-table-tip-mini" v-if="!loading &&!singleSelectio&& model" style="color:red;">已勾选 {{selectCount}} 条</span>
17
17
  <el-input v-if="jumpBtnName" size="mini" v-model="jumpStr" placeholder="定位" style="width:150px"></el-input>
18
18
  <el-button v-if="jumpBtnName" size="mini" @click="jumpClickHandler()">{{jumpBtnName}}</el-button>
19
19
  <el-button v-if="filterBtnName" size="mini" @click="filterClickHandler()" style="margin-left: 0px;">{{filterBtnName}}</el-button>
@@ -11,14 +11,14 @@
11
11
  <div class="shortcutFollow max-shortcutFollow" style="padding-left: 20px;" v-if="model.shortcutForm">
12
12
  <ct-form :source="model.shortcutForm.code1" @submit="saveShortcut"></ct-form>
13
13
  </div>
14
- <el-popover class="SeachScreenPop max-seachpopper" placement="top" transition="el-zoom-in-top" v-model="highScreen" trigger="click" visible-arrow="false">
14
+ <div class="SeachScreenPop max-seachpopper" placement="top" transition="el-zoom-in-top" v-show="highScreen" trigger="click" visible-arrow="false">
15
15
  <div style="width:100%">
16
16
  <template v-for="(col, index) in highScreenRow" v-if="col.show !== false">
17
17
  <br v-if="col.is === 'ct-linefeed'" />
18
18
  <component v-else class="list-field" v-bind="col.listBind" :is="col.is" :vmodel="col" :api="model.optionApi" @click="clickHandler(col)"></component>
19
19
  </template>
20
20
  </div>
21
- </el-popover>
21
+ </div>
22
22
  </div>
23
23
  <div v-if="isLoading" v-loading="isLoading" style="min-height:100px">
24
24
  </div>
@@ -205,5 +205,15 @@
205
205
  .ct-ptl0 {
206
206
  padding: 0 10px 10px 10px;
207
207
  }
208
-
208
+ .max-seachpopper {
209
+ position: absolute;
210
+ z-index: 9999;
211
+ width: 100%;
212
+ padding: 5px 10px 10px 10px!important;
213
+ background-color: #fff !important;
214
+ margin-top: -5px;
215
+ border-bottom-left-radius: 6px !important;
216
+ border-bottom-right-radius: 6px !important;
217
+ -webkit-box-shadow: #cfcece 0px 7px 9px 0px!important;
218
+ }
209
219
  </style>
@@ -977,7 +977,11 @@ export default {
977
977
  if (data.rtnMsg) {
978
978
  self.$message.success(data.rtnMsg);
979
979
  }
980
- self.getPage(1);
980
+ if(!field.isExport)
981
+ {
982
+ self.getPage(1);
983
+ }
984
+
981
985
  },
982
986
  error(data) {
983
987
  self.$common.closeDialog(dialogOption.dialog);
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class='mytree' style="overflow:auto">
2
+ <div class='mytree' style="overflow:auto" :style="{height:treeHeight}">
3
3
  <el-tree :data="treeData" class="tree-line" :props="defaultProps" :load="loadNode" :indent="0"
4
4
  :expand-on-click-node="false" @node-click="handleNodeClick" lazy ref="Tree">
5
5
  </el-tree>
@@ -34,9 +34,13 @@ export default {
34
34
  isLeaf: "isLeaf",
35
35
  id: 'code'
36
36
  },
37
+ treeHeight:'100%'
37
38
  };
38
39
  },
39
40
  methods: {
41
+ activated(){
42
+ this.treeHeight='100%';
43
+ },
40
44
  search(m) {
41
45
  this.treeNode.childNodes = [];
42
46
  this.searchComplate(m, undefined, this.treeResolve);
@@ -111,7 +115,8 @@ export default {
111
115
  </script>
112
116
  <style lang="scss">
113
117
  .mytree .is-select {
114
- color: #409eff !important
118
+ color: #409eff !important;
119
+ height: 100%;
115
120
  }
116
121
 
117
122
  .tree-line:first-child div {
@@ -46,12 +46,21 @@ const Base = function (source) {
46
46
  set code1(v) {
47
47
  source.code1 = v;
48
48
  },
49
+ get code2() {
50
+ return source.code2;
51
+ },
49
52
  set code2(v) {
50
53
  source.code2 = v;
51
54
  },
55
+ get code3() {
56
+ return source.code3;
57
+ },
52
58
  set code3(v) {
53
59
  source.code3 = v;
54
60
  },
61
+ get code4() {
62
+ return source.code4;
63
+ },
55
64
  set code4(v) {
56
65
  source.code4 = v;
57
66
  },
@@ -6,7 +6,6 @@ import Vue from 'vue';
6
6
  import common from '../../../common';
7
7
 
8
8
  const Dtd = function (source, dateType) {
9
- var self = this;
10
9
  if (!dateType) {
11
10
  dateType = "date";
12
11
  }
@@ -38,7 +37,7 @@ const Dtd = function (source, dateType) {
38
37
  else
39
38
  return '';
40
39
  },
41
- defaultFormat: [source.code1, source.code2],
40
+ defaultFormat: [source.defaultCode1 || '', source.defaultCode2 || ''],
42
41
  get value() {
43
42
  return source.code1;
44
43
  },
@@ -63,9 +62,8 @@ const Dtd = function (source, dateType) {
63
62
  return source.fieldName2;
64
63
  },
65
64
  reset() {
66
- this.formatValue = this.defaultFormat;
67
- rtn.value = this.formatValue[0];
68
- rtn.value1 = this.formatValue[1];
65
+ source.code1 = rtn.defaultFormat[0];
66
+ source.code2 = rtn.defaultFormat[1];
69
67
  },
70
68
  getFormObj() {
71
69
  var rtnFormObj = {};
package/src/main.js CHANGED
@@ -16,8 +16,9 @@ Vue.use(centaline, {
16
16
  // baseUrl: "http://10.25.10.63:9999/v1/form/router",
17
17
  // baseUrl: "http://10.88.22.42:9999/v1/form/router",
18
18
  // baseUrl: "http://10.88.22.69:8080/api/",
19
+ baseUrl: "http://10.88.22.40:8080/api/",
19
20
  // baseUrl: "http://tjcptest.centaline.com.cn/",
20
- // flagRouterSelf: true,
21
+ flagRouterSelf: true,
21
22
  zindex: 999,
22
23
  showRequestSuccessMessage: true,
23
24
  showRequestErrorMessage: true,
@@ -42,8 +43,8 @@ Vue.use(centaline, {
42
43
  // 获取请求头
43
44
  getRequestHeaders: function () {
44
45
  return {
45
- oldToken: '9a73e482-db16-4a24-81e7-67daef02b64d',
46
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrsOgkAQRf9laiaZYWdfdLpg40eQFYcEKyOQaIz_rkbo6D3FKU5z7xPG-QQV-AXc0EobF3BDKy2zRM-uwV30CcWJwcApYBKX5FA3Ju1rKEDvV6jYeS5FxJQFDHn6BbaBvmEe9XbUxz_OXabhM2ujNeQ7RSE6o0QizJ0ocu6You-1dxZebwAAAP__.vkp7C4-AbNZcFXOUNh7GhACgGYct_lCq8lYCyLOdfSg',
46
+ oldToken: '3ba3f510-93fd-4103-9249-73c13f3f6fc2',
47
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgkAQRP9laza59fZ27-j0wMaPIAeeCVZGINEY_12M0NH7ildMJpl5wTC1UIIu4IZWmrCAG1ppiDgoSY37oBFZ2KKn6DGyRD5WtY2HCgrIjxuUJHPTiFUtoE_jL3AUwjeYhnw_5ec_zl3Hfp7NZNRll7FN3iBb12G6dIwiGsRx2p07B-8PAAAA__8.znyY_zAn4f_Xdz-2UVSafJIf9z5zDANUKWzpMIPEJdA',
47
48
 
48
49
  originalRequestURL: 'http://10.88.22.67:8080',
49
50
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',