centaline-data-driven 1.4.96 → 1.4.97

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.96",
3
+ "version": "1.4.97",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
  <div v-if="categorySource" class="el-tabs__content">
23
23
  <div v-for="(col, index) in categorySource.selectItems1" v-show="activeIndex===index" v-loading="isLoading" :key="index" :index="index" class="el-tab-pane" role="tabpanel" aria-hidden="true">
24
- <ct-searchlistOne :ref="'searchlist'+index" :searchConditionApi="searchConditionApi" :pageHeight="listHeight"
24
+ <ct-searchlistOne v-if="col.loaded" :ref="'searchlist'+index" :searchConditionApi="searchConditionApi" :pageHeight="listHeight"
25
25
  :searchStatsApi="searchStatsApi" :searchDataApi="searchDataApi" :apiParam="apiParam" @tableLoaded="tableLoaded">
26
26
  </ct-searchlistOne>
27
27
  </div>
@@ -116,7 +116,7 @@
116
116
  function (response) {
117
117
  if (response.rtnCode === 200) {
118
118
  self.categorySource=response.content.fields[0];
119
- console.log('categorySource',self.categorySource)
119
+ self.categorySource.selectItems1[0].loaded=true;
120
120
  let parm={};
121
121
  parm[self.categorySource.fieldName1]=self.categorySource.selectItems1[self.activeIndex].code;
122
122
  self.label=self.categorySource.selectItems1[self.activeIndex].displayName;
@@ -131,17 +131,17 @@
131
131
  );
132
132
  },
133
133
  categorychangeHandler() {
134
- console.log('activeIndex',this.activeIndex)
135
134
  let i = this.activeIndex;
136
135
  let parm={};
137
136
  parm[this.categorySource.fieldName1]=this.categorySource.selectItems1[i].code;
138
- this.label=this.categorySource.selectItems1[i].displayName;
139
- this.$nextTick(function () {
140
- if(!this.$refs['searchlist'+i][0].loaded.categoryTabLoaded){
137
+ this.label=this.categorySource.selectItems1[i].displayName;
138
+ if(!this.categorySource.selectItems1[i].loaded){
139
+ this.categorySource.selectItems1[i].loaded=true;
140
+ this.$nextTick(function () {
141
141
  this.isLoading=true;
142
142
  this.$refs['searchlist'+i][0].categoryLoaded(parm);
143
- }
144
- });
143
+ });
144
+ };
145
145
  },
146
146
  categoryLoaded(param) {
147
147
  this.listHeight=(this.$refs.main.offsetHeight-42)+'px';
package/src/main.js CHANGED
@@ -50,7 +50,7 @@ Vue.use(centaline, {
50
50
  getRequestHeaders: function () {
51
51
  return {
52
52
  oldToken: '0bbcf3e8-cf7e-42de-adef-af54e2158fe4',
53
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOivZ2fXamy7xp-EQURJShAqRRAIh7o4R0NEzxRRPI725q3UfVaOQnbSJDQRLHoiNBaGcIWhmwawRY-zlE_hR3_TkgrRtckC6Y6BsE0gdMqDYLlJqXUysKjVfz6ox7GvUxciVWobtDWoj-gX2db4c5ts_zp22pWjJyIQDGhgJy5iMBz9pB3z02pGjchXV4wkAAP__.UJfbXztMu3Mir8CBo48y20zouMa8jMar9OMNWQtQBbA',
53
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe_iOitt7PXamy7xp-EQUUKMBBUiiQRC3J0goKNnildMM--u5nVUjTLspE1cQ7Dkgbi2IJQzBGQWk9GYGHv5AD_mS08uSNsmB4QdA2WbQHTIYMR2kVLrYmJVqXI9q6Zmr8khMlbqOCxvYbzhl1jnctmV2z_OnZbjli2T9QOzB0TZsrS1R9x70EYmLtoerGX1eAIAAP__.0wvOuo6VUjar3ngMidARPex7UIAp9IPBRS4bI5vYWwQ',
54
54
 
55
55
  originalRequestURL: 'http://10.88.22.67:8080',
56
56
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',