centaline-data-driven 1.1.32 → 1.1.36

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.
@@ -34,6 +34,7 @@ const paths = {
34
34
  "dynamicPlaceHolder": "./src/centaline/dynamicPlaceHolder/index.js",//占位控件
35
35
  "dynamicDetail": "./src/centaline/dynamicDetail/index.js",//详情页控件
36
36
  "dynamicTree": "./src/centaline/dynamicTree/index.js",//树组件
37
+ "dynamicSensitiveEye": "./src/centaline/dynamicSensitiveEye/index.js",////敏感数据小眼睛控
37
38
  "progress": "./src/centaline/progress/index.js",//进度条
38
39
  },
39
40
  "plugs": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.1.32",
3
+ "version": "1.1.36",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -1,13 +1,8 @@
1
1
  <template>
2
2
  <div id="app-Tree" style="height:100%;position: fixed;">
3
- <el-container style="height: 100vh;width:100vw; border: 1px solid #eee">
4
- <el-aside width="200px" style="background-color: rgb(238, 241, 246);border-radius:6px;">
5
- <ct-tree :flagsearch="true" :searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'" :searchDataApi="'/SystemParameterCatalogList/getList'" @loaded="loaded"></ct-tree>
6
- </el-aside>
7
- <el-main v-if="isShowSearchlist">
8
- <ct-searchlist :searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'" :searchDataApi="'/SystemParameterCatalogList/getList'" :api-param="apiParam"></ct-searchlist>
9
- </el-main>
10
- </el-container>
3
+ <ct-treelist :flagsearch="true" :apiParam="apiParam"
4
+ :searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'"
5
+ :searchDataApi="'/SystemParameterCatalogList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
11
6
  </div>
12
7
  </template>
13
8
 
Binary file
@@ -716,3 +716,8 @@ html {
716
716
  .el-card.is-always-shadow{
717
717
  box-shadow: none!important;
718
718
  }
719
+
720
+ .domDisabled {
721
+ pointer-events: none;
722
+ opacity:0.4;
723
+ }
@@ -189,4 +189,7 @@
189
189
  }
190
190
  .ct-so .ct-input_inner,.el-input__inner{
191
191
  border-radius: 6px!important;
192
+ }
193
+ .ct-radios .ct-font-size-mini .el-radio-button__inner{
194
+ padding: 5px 10px;
192
195
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div v-loading="loading" style="width:100%">
3
- <div v-if="model !== null && !loading" class="ct-form" :class="{'tableDisabled':model.pageDisabled}">
3
+ <div v-if="model !== null && !loading" class="ct-form" :class="{'domDisabled':model.pageDisabled}">
4
4
  <!--可根据场景判断显示el-card还是el-main-->
5
5
  <component :is="model.showTitle?'el-main':'el-card'">
6
6
  <div slot="header" class="clearfix" v-if="typeof model.title !== 'undefined' && model.flagShowTitle">
@@ -523,9 +523,3 @@
523
523
  }
524
524
  }
525
525
  </script>
526
- <style>
527
- .tableDisabled {
528
- pointer-events: none;
529
- opacity:0.4;
530
- }
531
- </style>
@@ -3,7 +3,7 @@
3
3
  ]">
4
4
  <div style="flex:1;" :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
- <img v-if="model.preLabel" :src="model.preLabel" style="width: 1em;height: 1em;fill: currentColor;
6
+ <img v-if="model.preLabel" :src="model.preLabel" style="width: 1.3em;height: 1.3em;fill: currentColor;
7
7
  overflow: hidden;vertical-align: middle;"/>
8
8
  {{model.label}}
9
9
  </div>
@@ -77,17 +77,18 @@
77
77
  }
78
78
  .ct-searchcategory .el-input-group__prepend{
79
79
  text-align: left;
80
- color:#EE6B6B;
80
+ padding-left: 0px!important;
81
+ color: #ee6b6b !important;
81
82
  font-weight: Bold;
82
83
  text-shadow: 0 2px 2px rgb(121 0 4 / 10%);
83
- font-size: 20px;
84
+ font-size: 16px;
84
85
  vertical-align: middle;
85
86
  }
86
87
  .ct-searchcategory .ct-radios {
87
88
  color: #606266;
88
89
  border-radius: 4px;
89
90
  /*border: 1px solid #dcdfe6;*/
90
- line-height: 40px;
91
+ line-height: 30px;
91
92
  padding-left: 15px;
92
93
  text-align: right;
93
94
  }
@@ -1,18 +1,18 @@
1
1
  <template>
2
- <div class="ct-search-list" :style="searchListStyle">
2
+ <div class="ct-search-list" :style="searchListStyle" :class="{'domDisabled':pageDisabled}">
3
3
  <div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
4
4
  <span style="font-weight:bold">{{title}}</span>
5
5
  </div>
6
6
  <ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
7
7
  @changeCategory="categorychange" ></ct-searchcategory>
8
8
 
9
- <ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKey"
9
+ <ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
10
10
  @loaded="screenLoaded" :screenPara="screenPara"
11
11
  :categoryLoaded="loaded.categoryLoaded" @search="search()"
12
12
  @showTitle="showTitleScreenHandler"></ct-searchscreen>
13
13
 
14
14
  <ct-searchtable ref="table" :api="searchDataApi" :searchDataStatisticsApi="searchDataStatisticsApi"
15
- @toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKey"
15
+ @toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate()"
16
16
  @showTitle="showTitleHandler"></ct-searchtable>
17
17
  </div>
18
18
  </template>
@@ -69,7 +69,10 @@
69
69
  showTitle:false,
70
70
  screenPara:null,
71
71
  reloadKey:0,
72
+ reloadKeyScreen:'s0',
73
+ reloadKeyTable:'t0',
72
74
  isReload:false,
75
+ pageDisabled:false,
73
76
  }
74
77
  },
75
78
  methods: {
@@ -86,15 +89,21 @@
86
89
  categorychange(param) {
87
90
  if(param)this.screenPara=param;
88
91
  this.reloadKey = this.reloadKey+1;
92
+ this.reloadKeyScreen='s'+this.reloadKey;
93
+ this.reloadKeyTable='t'+this.reloadKey;
89
94
  },
90
95
  search(btn) {
91
96
  if (this.$refs.table.model) {
97
+ this.pageDisabled=true;
92
98
  this.$refs.table.getPage(1);
93
99
  }
94
100
  else {
95
101
  this.$refs.table.searchComplate(this.$refs.screen.model);
96
102
  }
97
103
  },
104
+ searchComplate() {
105
+ this.pageDisabled=false;
106
+ },
98
107
  toolbarClickHandler(field, submitData) {
99
108
  if (field.isExport) {
100
109
  this.$refs.screen.model.export(field, submitData);
@@ -8,7 +8,6 @@
8
8
  </template>
9
9
  <component v-for="(col, index) in model.btnScreen" :key="index" :is="col.is" :vmodel="col" :api="model.optionApi" @click="clickHandler(col)"></component>
10
10
  </div>
11
-
12
11
  <!--<el-row>
13
12
  <el-col v-for="(col, index) in model.screen" :key="index" :span="col.colspan" style="padding:10px" v-if="col.show !== false">
14
13
  <component :is="col.is" :vmodel="col" :api="model.optionApi" @click="clickHandler(col)"></component>
@@ -45,11 +44,14 @@
45
44
  props: {
46
45
  api: String,
47
46
  vmodel: Object,
48
- categoryLoaded:Boolean,
47
+ categoryLoaded:{
48
+ type:Boolean,
49
+ default:true
50
+ },
49
51
  screenPara: {
50
52
  type: Object,
51
53
  default: () => { }
52
- }
54
+ },
53
55
  },
54
56
  data() {
55
57
  return {
@@ -332,6 +332,7 @@
332
332
  self.tableLoading = false;
333
333
  self.rowColorChange();
334
334
  }
335
+ self.$emit('searchComplate');
335
336
  }
336
337
  self.tableLoading = true;
337
338
  this.model.getPage(index, next);
@@ -4,12 +4,13 @@
4
4
  <div v-if="model.showLabel && model.label" class="el-input-group__prepend field-label-div" :class="[model.labelClass]">
5
5
  <span>{{model.label}}</span>
6
6
  </div>
7
- <span>{{showLable==true?model.labelValue1:model.labelValue}}</span>
8
- <i v-if="model.labelValue" class="el-icon-view" @click="onSensitiveEye($event)"></i>
7
+ <span class="eyelabel">{{showLable==true?model.labelValue1:model.labelValue}}</span>
8
+ <i v-if="model.labelValue" :class="[!showLable?'el-icon-view':'el-icon-eye']" @click="onSensitiveEye($event)"></i>
9
9
  </div>
10
10
  </div>
11
-
11
+
12
12
  </template>
13
+
13
14
  <script>
14
15
  import dynamicElement from '../../mixins/dynamicElement'
15
16
  export default {
@@ -33,7 +34,7 @@
33
34
  }
34
35
  },
35
36
  computed: {
36
-
37
+
37
38
  },
38
39
  methods: {
39
40
  onSensitiveEye() {
@@ -54,8 +55,20 @@
54
55
  }
55
56
  </script>
56
57
  <style>
57
- .el-icon-view {
58
+ .el-icon-view, .el-icon-eye {
58
59
  margin-left: 5px;
59
60
  font-size: 16px;
60
61
  }
62
+ .eyelabel {
63
+ width:80px;
64
+ }
65
+ .el-icon-eye:before {
66
+ background: url("../../../assets/icon-eye.png") no-repeat;
67
+ content: '';
68
+ display: block;
69
+ width: 16px;
70
+ height: 16px;
71
+ font-size: 16px;
72
+ background-size: 16px;
73
+ }
61
74
  </style>
@@ -49,6 +49,10 @@
49
49
  padding-left: 0px;
50
50
  padding-right: 4px;
51
51
  cursor: pointer;
52
+ color: #388cd3;
53
+ }
54
+ .ct-tablecurrencyItem:hover{
55
+ color: #23527c;
52
56
  }
53
57
  .ct-tablecurrencyImg {
54
58
  width: 24px;