centaline-data-driven 1.2.54 → 1.2.55

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.54",
3
+ "version": "1.2.55",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -179,7 +179,8 @@
179
179
  </div>
180
180
  <div class="t-item"><span class="i" :class="'operation'+col.flagKey">{{col.desc}}</span></div>
181
181
  <div class="t-item" style="min-height: 50px;">
182
- <component class="el-button t-but el-button--info max-info" v-if="col.router && col.router.show" :is="col.router.is" :vmodel="col.router" :api="model.optionApi" @click="fieldClickHandler(col.router,$event)"></component>
182
+ <component v-for="(router, routerIndex) in col.routers" :key="routerIndex" :is="router.is" :vmodel="router" :api="model.optionApi"
183
+ @click="fieldClickHandler(router,$event)" class="el-button t-but el-button--info max-info"></component>
183
184
  </div>
184
185
  </div>
185
186
  </div>
@@ -594,10 +595,10 @@
594
595
  }
595
596
  </script>
596
597
  <style lang="scss" scoped>
597
- .operation0{
598
+ .operation0,.operation20,.operation-1000{
598
599
  color: #000000;
599
600
  }
600
- .operation1{
601
+ .operation1,.operation10{
601
602
  color: #388cd3;
602
603
  }
603
604
  .operation2{
@@ -306,6 +306,7 @@ const Detail = function (source,para ,callBack) {
306
306
  rtn._operationList=response.content;
307
307
  if(rtn._operationList && rtn._operationList.length>0){
308
308
  rtn._operationList.forEach((v,i) => {
309
+ rtn._operationList[i].routers=[];
309
310
  if (v.modelRouters) {
310
311
  v.modelRouters.forEach((f,i2) => {
311
312
  var router = Router(f);
@@ -314,7 +315,10 @@ const Detail = function (source,para ,callBack) {
314
315
  if(router.rightField){
315
316
  router.show=v[router.rightField];
316
317
  }
317
- if(router.show)rtn._operationList[i].router=router;
318
+ if(router.show){
319
+ // rtn._operationList[i].router=router;
320
+ rtn._operationList[i].routers.push(router);
321
+ }
318
322
  rtn._operationRouters.push(router);
319
323
  });
320
324
  }