centaline-data-driven 1.2.60 → 1.2.61

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.60",
3
+ "version": "1.2.61",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -0,0 +1,4 @@
1
+ .ccai.ct-Sw .ct-radios {
2
+ padding-top: 0px;
3
+ padding-bottom: 0;
4
+ }
@@ -30,7 +30,7 @@
30
30
  <component v-if="model.otherTradeActionRouter!==null" v-bind="model.otherTradeActionRouter" class="max-default"
31
31
  :is="model.otherTradeActionRouter.is" :vmodel="model.otherTradeActionRouter" :api="model.optionApi" @click="fieldClickHandler(model.otherTradeActionRouter,$event)"></component>
32
32
  <img :class="{'domDisabled':parentModel && parentModel.selectIndex<=0}" @click="clickPrevHandler" src="../../../assets/T.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left:11px;cursor: pointer">
33
- <img :class="{'domDisabled':parentModel && parentModel.listData && parentModel.selectIndex===parentModel.listData.rowCount-1}" @click="clickNextHandler" src="../../../assets/B.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left:8px;cursor: pointer">
33
+ <img :class="{'domDisabled':parentModel && parentModel.listData && parentModel.selectIndex===parentModel.listData.length-1}" @click="clickNextHandler" src="../../../assets/B.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left:8px;cursor: pointer">
34
34
  </div>
35
35
  <div class="mt5">
36
36
  <component class="max-report w93" v-if="model.actionRouters!==null && model.actionRouters[0]!==null"
@@ -138,7 +138,7 @@
138
138
  </div>
139
139
  </div>
140
140
  <div class="contacts-info base-box">
141
- <ct-contactList v-if="model.contactApiRouter!==null" :apiRouter="model.contactApiRouter" ></ct-contactList>
141
+ <ct-contactList v-if="model.contactApiRouter!==null" :apiRouter="model.contactApiRouter" :key="'contact'+refershKey" ></ct-contactList>
142
142
  </div>
143
143
  <div class="tablist-info base-box">
144
144
  <div class="details-tabs-box">
@@ -146,7 +146,7 @@
146
146
  <el-tab-pane v-for="(col, index) in model.tags1" :key="col.appID"
147
147
  :index="index.toString()" :name="index.toString()" :label="col.appName"></el-tab-pane>
148
148
  </el-tabs>
149
- <ct-searchlist v-if="model.searchConditionApiTags1" :key="model.searchlistKey"
149
+ <ct-searchlist v-if="model.searchConditionApiTags1" :key="'list'+listKey.toString()+refershKey"
150
150
  :apiParam="model.paramDataTags1" :flagFocus="false"
151
151
  :searchConditionApi="model.searchConditionApiTags1"
152
152
  :searchDataApi="model.searchDataApiTags1"></ct-searchlist>
@@ -314,7 +314,9 @@
314
314
  ],
315
315
  },
316
316
  allInfo: false,
317
- allIn:false,
317
+ allIn:false,
318
+ refershKey:0,
319
+ listKey:0,
318
320
  }
319
321
  },
320
322
  mounted() {
@@ -341,6 +343,7 @@
341
343
  var self = this;
342
344
  this.model = data;
343
345
  this.model.$vue = self;
346
+ this.refershKey=this.refershKey+1;
344
347
  this.loadFields();
345
348
  if(this.model.tags2 && this.model.tags2[0]){
346
349
  this.model.getTags2List(0);
@@ -430,7 +433,7 @@
430
433
  let i=key.index;
431
434
  this.model.activeIndex1=i;
432
435
  if(this.model.tags1 && this.model.tags1[i]){
433
- this.model.searchlistKey=this.model.searchlistKey+1;
436
+ this.listKey=this.listKey+1;
434
437
  this.model.searchConditionApiTags1=this.model.tags1[i].searchConditionApiUrl||'';
435
438
  this.model.searchDataApiTags1=this.model.tags1[i].searchDataApiUrl||'';
436
439
  this.model.paramDataTags1=this.model.tags1[i].paramData||'';
@@ -604,7 +607,7 @@
604
607
  }
605
608
  }
606
609
  },
607
- clickPrevHandler() {
610
+ clickPrevHandler() {
608
611
  if(this.parentModel){
609
612
  let oldValue=this.parentModel.listData[this.parentModel.selectIndex][this.parentModel.primaryKey];
610
613
  this.parentModel.$vue.rowKeyDownHandle(null,-1);
@@ -223,10 +223,10 @@
223
223
  let i=key.index;
224
224
  this.model.activeIndex1=i;
225
225
  if(this.model.tags1 && this.model.tags1[i]){
226
- this.model.searchlistKey=this.model.searchlistKey+1;
227
- this.model.searchConditionApiTags1=this.model.tags1[i].searchConditionApiUrl||'';
228
- this.model.searchDataApiTags1=this.model.tags1[i].searchDataApiUrl||'';
229
- this.model.paramDataTags1=this.model.tags1[i].paramData||'';
226
+ // this.model.searchlistKey=this.model.searchlistKey+1;
227
+ // this.model.searchConditionApiTags1=this.model.tags1[i].searchConditionApiUrl||'';
228
+ // this.model.searchDataApiTags1=this.model.tags1[i].searchDataApiUrl||'';
229
+ // this.model.paramDataTags1=this.model.tags1[i].paramData||'';
230
230
  }
231
231
  },
232
232
  fieldClickHandler(field) {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="field-top">
3
- <div v-if="model !== null" class="ct-Sw">
3
+ <div v-if="model !== null" class="ccai ct-Sw">
4
4
  <div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']">
5
5
  <div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
6
6
  {{model.label}}
@@ -20,8 +20,7 @@ const Detail = function (source,para ,callBack) {
20
20
  detailHeight:750,
21
21
  midlWidth:1200,
22
22
  activeIndex1:'0',
23
- activeIndex2:'0',
24
- searchlistKey:0,
23
+ activeIndex2:'0',
25
24
  tags2Key:0,
26
25
  operationKey:0,
27
26
  _searchConditionApiTags1:null,