@tongfun/tf-widget 0.1.21 → 0.1.22

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.
Files changed (94) hide show
  1. package/README.md +49 -49
  2. package/lib/tf-widget.common.js +547 -503
  3. package/lib/tf-widget.css +1 -1
  4. package/lib/tf-widget.umd.js +547 -503
  5. package/lib/tf-widget.umd.min.js +4 -4
  6. package/package/svg-icon/index.js +8 -8
  7. package/package/svg-icon/src/SvgIcon.vue +59 -59
  8. package/package/t-data-list/index.js +6 -6
  9. package/package/t-data-list/main.vue +193 -193
  10. package/package/t-data-list/src/condition-input/basic.vue +31 -31
  11. package/package/t-data-list/src/condition-input/date.vue +106 -106
  12. package/package/t-data-list/src/condition-input/index.vue +100 -100
  13. package/package/t-data-list/src/condition-input/input.vue +31 -31
  14. package/package/t-data-list/src/condition-input/number.vue +115 -115
  15. package/package/t-data-list/src/condition-input/select.vue +86 -86
  16. package/package/t-data-list/src/js/fieldTypeEnum.js +10 -10
  17. package/package/t-data-list/src/js/operatorEnum.js +108 -108
  18. package/package/t-data-list/src/js/qureyParamsEnum.js +4 -4
  19. package/package/t-data-list/src/js/util.js +34 -34
  20. package/package/t-data-list/src/mixins/button-controll-mixin.js +93 -93
  21. package/package/t-data-list/src/pushdown/push-down.vue +158 -158
  22. package/package/t-data-list/src/t-list-search.vue +36 -36
  23. package/package/t-data-list/src/t-plan/condition-always-item.vue +143 -143
  24. package/package/t-data-list/src/t-plan/condition-mult-item.vue +222 -222
  25. package/package/t-data-list/src/t-plan/index.vue +195 -195
  26. package/package/t-data-list/src/t-plan/plan-content.vue +389 -389
  27. package/package/t-data-list/src/t-table/index.vue +129 -129
  28. package/package/t-data-list/src/t-table/table-group-item-edit.vue +238 -238
  29. package/package/t-data-list/src/t-table/table-group-item.vue +87 -87
  30. package/package/t-data-list/src/t-table/table-group.vue +180 -180
  31. package/package/t-data-list/src/t-table/table-records-header-popover.vue +246 -246
  32. package/package/t-data-list/src/t-table/table-records-selected.vue +159 -159
  33. package/package/t-data-list/src/t-table/table-records.vue +337 -337
  34. package/package/t-input/children/address.vue +101 -101
  35. package/package/t-input/children/basic-display.vue +41 -41
  36. package/package/t-input/children/basic.vue +253 -253
  37. package/package/t-input/children/date.vue +89 -89
  38. package/package/t-input/children/group-components/group-dialog.vue +344 -344
  39. package/package/t-input/children/group.vue +126 -126
  40. package/package/t-input/children/input.vue +72 -72
  41. package/package/t-input/children/number.vue +74 -74
  42. package/package/t-input/children/select.vue +89 -89
  43. package/package/t-input/children/tfile/fiile-enclosure.vue +233 -233
  44. package/package/t-input/index.js +7 -7
  45. package/package/t-input/index.vue +337 -337
  46. package/package/t-input/tInputCache.js +24 -24
  47. package/package/tf-icon-picker/README.md +7 -7
  48. package/package/tf-icon-picker/index.js +8 -8
  49. package/package/tf-icon-picker/src/tf-icon-picker.vue +266 -266
  50. package/package/tf-layout/README.md +115 -115
  51. package/package/tf-layout/index.js +8 -8
  52. package/package/tf-layout/src/components/tf-labelbar.vue +394 -394
  53. package/package/tf-layout/src/components/tf-menu.vue +180 -180
  54. package/package/tf-layout/src/components/tf-right-menu.vue +89 -89
  55. package/package/tf-layout/src/components/tf-rotate-box.vue +50 -50
  56. package/package/tf-layout/src/tf-layout.vue +140 -140
  57. package/package/tf-widget/index.js +8 -8
  58. package/package/tf-widget/src/assets/common-input.less +10 -10
  59. package/package/tf-widget/src/children/basic-data/basic-data.vue +361 -361
  60. package/package/tf-widget/src/children/basic-data/dependcy/basic-data-selector.vue +1087 -1087
  61. package/package/tf-widget/src/children/basic-data/dependcy/common-table.vue +750 -750
  62. package/package/tf-widget/src/children/basic-data/dependcy/condition-filter.vue +519 -519
  63. package/package/tf-widget/src/children/basic-data/dependcy/pagination.vue +93 -93
  64. package/package/tf-widget/src/children/basic-data/dependcy/table-control.vue +240 -240
  65. package/package/tf-widget/src/children/basic-data/dependcy/view-picture.vue +108 -108
  66. package/package/tf-widget/src/children/date-time.vue +103 -103
  67. package/package/tf-widget/src/children/date.vue +103 -103
  68. package/package/tf-widget/src/children/decimal.vue +115 -115
  69. package/package/tf-widget/src/children/integer.vue +104 -104
  70. package/package/tf-widget/src/children/property.vue +59 -59
  71. package/package/tf-widget/src/children/single-line-text.vue +82 -82
  72. package/package/tf-widget/src/children/small-pictures.vue +223 -223
  73. package/package/tf-widget/src/children/text-area.vue +74 -74
  74. package/package/tf-widget/src/children/tf-select.vue +113 -113
  75. package/package/tf-widget/src/tf-widget.vue +175 -175
  76. package/package.json +44 -44
  77. package/src/api/edit.js +97 -97
  78. package/src/api/file-enclosure.js +26 -26
  79. package/src/api/push-down.js +19 -19
  80. package/src/api/table.js +294 -294
  81. package/src/api/tableV3.js +166 -160
  82. package/src/assets/images/icons/index.js +9 -9
  83. package/src/assets/images/icons/svg/add.svg +5 -5
  84. package/src/assets/images/icons/svg/push-down.svg +1 -1
  85. package/src/assets/images/icons/svg/remove.svg +1 -1
  86. package/src/assets/styles/common-table.less +202 -202
  87. package/src/directives/debounce.js +24 -24
  88. package/src/index.js +31 -31
  89. package/src/mixins/t-data-query-mixin.js +290 -290
  90. package/src/utils/auth.js +22 -22
  91. package/src/utils/request.js +42 -42
  92. package/src/utils/stato-anormale.js +59 -59
  93. package/src/utils/utils.js +109 -109
  94. package/src/utils/validate.js +84 -84
@@ -1,8 +1,8 @@
1
- import SvgIcon from './src/SvgIcon'
2
-
3
- /* istanbul ignore next */
4
- SvgIcon.install = function (Vue) {
5
- Vue.component(SvgIcon.name, SvgIcon)
6
- }
7
-
8
- export default SvgIcon
1
+ import SvgIcon from './src/SvgIcon'
2
+
3
+ /* istanbul ignore next */
4
+ SvgIcon.install = function (Vue) {
5
+ Vue.component(SvgIcon.name, SvgIcon)
6
+ }
7
+
8
+ export default SvgIcon
@@ -1,59 +1,59 @@
1
- <template>
2
- <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
3
- <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
4
- <use :xlink:href="iconName" />
5
- </svg>
6
- </template>
7
-
8
- <script>
9
- import { isExternal } from '@/utils/validate'
10
- export default {
11
- name: 'SvgIcon',
12
- props: {
13
- iconClass: {
14
- type: String,
15
- required: true
16
- },
17
- className: {
18
- type: String,
19
- default: ''
20
- }
21
- },
22
- computed: {
23
- isExternal () {
24
- return isExternal(this.iconClass)
25
- },
26
- iconName () {
27
- return `#icon-${this.iconClass}`
28
- },
29
- svgClass () {
30
- if (this.className) {
31
- return 'svg-icon ' + this.className
32
- } else {
33
- return 'svg-icon'
34
- }
35
- },
36
- styleExternalIcon () {
37
- return {
38
- mask: `url(${this.iconClass}) no-repeat 50% 50%`,
39
- '-webkit-mask': `url(${this.iconClass}) no-repeat 50% 50%`
40
- }
41
- }
42
- }
43
- }
44
- </script>
45
-
46
- <style scoped>
47
- .svg-icon {
48
- width: 1em;
49
- height: 1em;
50
- vertical-align: -0.15em;
51
- fill: currentColor;
52
- overflow: hidden;
53
- }
54
- .svg-external-icon {
55
- background-color: currentColor;
56
- mask-size: cover!important;
57
- display: inline-block;
58
- }
59
- </style>
1
+ <template>
2
+ <div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
3
+ <svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
4
+ <use :xlink:href="iconName" />
5
+ </svg>
6
+ </template>
7
+
8
+ <script>
9
+ import { isExternal } from '@/utils/validate'
10
+ export default {
11
+ name: 'SvgIcon',
12
+ props: {
13
+ iconClass: {
14
+ type: String,
15
+ required: true
16
+ },
17
+ className: {
18
+ type: String,
19
+ default: ''
20
+ }
21
+ },
22
+ computed: {
23
+ isExternal () {
24
+ return isExternal(this.iconClass)
25
+ },
26
+ iconName () {
27
+ return `#icon-${this.iconClass}`
28
+ },
29
+ svgClass () {
30
+ if (this.className) {
31
+ return 'svg-icon ' + this.className
32
+ } else {
33
+ return 'svg-icon'
34
+ }
35
+ },
36
+ styleExternalIcon () {
37
+ return {
38
+ mask: `url(${this.iconClass}) no-repeat 50% 50%`,
39
+ '-webkit-mask': `url(${this.iconClass}) no-repeat 50% 50%`
40
+ }
41
+ }
42
+ }
43
+ }
44
+ </script>
45
+
46
+ <style scoped>
47
+ .svg-icon {
48
+ width: 1em;
49
+ height: 1em;
50
+ vertical-align: -0.15em;
51
+ fill: currentColor;
52
+ overflow: hidden;
53
+ }
54
+ .svg-external-icon {
55
+ background-color: currentColor;
56
+ mask-size: cover!important;
57
+ display: inline-block;
58
+ }
59
+ </style>
@@ -1,6 +1,6 @@
1
- import TDataList from './main.vue'
2
-
3
- TDataList.install = function (Vue) {
4
- Vue.component(TDataList.name, TDataList)
5
- }
6
- export default TDataList
1
+ import TDataList from './main.vue'
2
+
3
+ TDataList.install = function (Vue) {
4
+ Vue.component(TDataList.name, TDataList)
5
+ }
6
+ export default TDataList
@@ -1,193 +1,193 @@
1
- <template>
2
- <div class="page">
3
- <div class="t-data-list-controll">
4
- <div class="common-table-header">
5
- <!--
6
- 按钮区域
7
- 以下按钮的处理逻辑统一在button-controll-mixin的混入对象当中
8
- -->
9
- <div class="common-table-buttons">
10
- <slot name="insertReplace" />
11
- <el-button v-if="!$slots.insertReplace" v-debounce type="primary" size="mini" @click="insert">新增</el-button>
12
-
13
- <slot name="updateReplace" />
14
- <el-button v-if="!$slots.updateReplace" v-debounce type="primary" size="mini" @click="update">修改</el-button>
15
-
16
- <slot name="pushDownReplace" />
17
- <el-button v-if="!$slots.pushDownReplace && pushDownTableName" v-debounce type="primary" size="mini" @click="showPushDown">下推</el-button>
18
-
19
- <slot name="deleteReplace" />
20
- <el-button v-if="!$slots.deleteReplace" v-debounce type="primary" size="mini" @click="del">删除 </el-button>
21
-
22
- <el-button v-debounce type="primary" size="mini" @click="refresh(false,true)">刷新 </el-button>
23
- <!-- <el-button type="primary" size="mini">批改</el-button> -->
24
- <slot name="importAndExport" />
25
- <slot name="buttons" :ids="ids" :rows="selectedRows" />
26
- </div>
27
-
28
- <!-- 搜索输入框 -->
29
- <TListSearch ref="tListSearchRef" class="common-table-buttons-search" @search="handleSuggestMultiCondition($event)" />
30
- </div>
31
- <!--过滤方案-->
32
- <Tplan ref="TplanRef" :fields-option="tableLayout" @change="handlePlanConditionChange" />
33
- </div>
34
-
35
- <!--
36
- 数据区域
37
- layout:表格表头字段和类型
38
- sum: 表格的底部合集行的数据,条件发生改变的时候获取新的结果,翻页不获取
39
- show-summary
40
- data:表格的数据
41
- enableGroup:是否显示分组,一般基础资料列表显示分组,业务列表不显示
42
- enable-group-edit: 分组是否可以编辑(添加修改,一般基础资料列表中可以修改,弹窗中不允许修改
43
- page-size:每页条数
44
- current-page:当前页数
45
- update-in-dialog:点击编辑或者双击数据行的时候,不进行页面跳转,而是将该行的id发射出来
46
- @groupChange:监听分组条件改变
47
- @conditionChange 监听到表头条件改变
48
- @size-change 监听每页条数改变
49
- @current-change 监听当前页改
50
- @dbclick 处理双击事件
51
- @dbRowClick 也是双击事件,但是当前行的数据被事件发射出来
52
- -->
53
- <Ttable
54
- ref="TtableRef"
55
- class="t-table"
56
- :layout="tableLayout"
57
- :sum="tableSum"
58
- show-summary
59
- :data="tableData"
60
- :enable-sum="enableSum"
61
- :enable-group="enableGroup"
62
- enable-group-edit
63
- :page-size="query.pageSize"
64
- :current-page="query.pageNum"
65
- :update-in-dialog="getDbId"
66
- @condition-change="handleHeadChange"
67
- @groupChange="handleGroupChange"
68
- @size-change="handleSizeChange"
69
- @current-change="handleCurrentChange"
70
- @dbClick="handleDbClick"
71
- @dbRowClick="$emit('dbRowClick',$event)"
72
- />
73
-
74
- <!-- 下推弹窗 -->
75
- <PushDown
76
- :visible.sync="pushdownVisible"
77
- :push-down-table-name="pushDownTableName"
78
- :parent-selection-data="ids"
79
- />
80
- </div>
81
- </template>
82
- <script>
83
- import TListSearch from './src/t-list-search.vue'
84
- import Tplan from './src/t-plan'
85
- import Ttable from './src/t-table'
86
- import PushDown from './src/pushdown/push-down.vue'
87
- import buttonControll from './src/mixins/button-controll-mixin.js'
88
- import dataQuery from '@/mixins/t-data-query-mixin.js'
89
- import debounce from '@/directives/debounce.js'
90
- export default {
91
- name: 'TDataList',
92
- components: {
93
- Tplan, Ttable, PushDown, TListSearch
94
- },
95
- directives: {
96
- debounce
97
- },
98
- mixins: [buttonControll, dataQuery],
99
- props: {
100
- // 目标单据,接口地址的一部分,单据列表的标识符
101
- target: {
102
- type: String,
103
- default: ''
104
- },
105
- pushDownTableName: {
106
- type: String,
107
- default: null
108
- },
109
- // 表格双击不跳转路由,而是将数据的id发射出来
110
- getDbId: {
111
- type: Boolean,
112
- default: false
113
- },
114
- getDbRow: {
115
- type: Boolean,
116
- default: false
117
- },
118
- // 页面组件控制配置
119
- showHeader: {
120
- type: Boolean,
121
- default: true
122
- },
123
- enableGroup: {
124
- type: Boolean,
125
- default: false
126
- },
127
- enableSum: {
128
- type: Boolean,
129
- default: false
130
- }
131
- },
132
- data () {
133
- return {
134
- // 下推弹窗是否显示
135
- pushdownVisible: false,
136
- queryType: 'LIST'
137
- }
138
- },
139
- created () {
140
- this.getTableLayout()
141
- },
142
- methods: {
143
- /**
144
- * 方案进行切换/方案中的高级条件变化后进行查询
145
- * 在方案中点击查促按钮触发此事件
146
- * 也是列表页面第一次获取表格数据内容的入口
147
- */
148
- handlePlanConditionChange (value) {
149
- this.queryPlanCondition = value.conditionMulti
150
- this.query.conditionAlwaysList = value.conditionAlways
151
- this.getTableData(false, true)
152
- },
153
- // 数据行被双击
154
- handleDbClick (value) {
155
- this.$emit('dbClick', value)
156
- }
157
- }
158
- }
159
- </script>
160
-
161
- <style lang="less" scoped>
162
- // 列表页面的外轮廓
163
- .page{
164
- height:100%;
165
- margin:0 10px;
166
- background-color: #F0F2F5;
167
- border-radius:10px;
168
- //按钮组和过滤条件所在列表的操控区域的样式
169
- .t-data-list-controll {
170
- // height:6vh;
171
- border-radius: 4px;
172
- padding: 1.1111vh 1.1111vh 0 1.1111vh;
173
- background-color: #fff;
174
- margin-bottom:10px;
175
- .common-table-header{
176
- display: flex;
177
- justify-content: space-between;
178
- .common-table-buttons{
179
- min-width: 800px;
180
- display: flex;
181
- justify-content: flex-start;
182
- .el-button{
183
- background-color: #0c4c8e!important;
184
- border-color: #0c4c8e;
185
- }
186
- }
187
- .common-table-buttons-search{
188
- height: 30px;
189
- }
190
- }
191
- }
192
- }
193
- </style>
1
+ <template>
2
+ <div class="page">
3
+ <div class="t-data-list-controll">
4
+ <div class="common-table-header">
5
+ <!--
6
+ 按钮区域
7
+ 以下按钮的处理逻辑统一在button-controll-mixin的混入对象当中
8
+ -->
9
+ <div class="common-table-buttons">
10
+ <slot name="insertReplace" />
11
+ <el-button v-if="!$slots.insertReplace" v-debounce type="primary" size="mini" @click="insert">新增</el-button>
12
+
13
+ <slot name="updateReplace" />
14
+ <el-button v-if="!$slots.updateReplace" v-debounce type="primary" size="mini" @click="update">修改</el-button>
15
+
16
+ <slot name="pushDownReplace" />
17
+ <el-button v-if="!$slots.pushDownReplace && pushDownTableName" v-debounce type="primary" size="mini" @click="showPushDown">下推</el-button>
18
+
19
+ <slot name="deleteReplace" />
20
+ <el-button v-if="!$slots.deleteReplace" v-debounce type="primary" size="mini" @click="del">删除 </el-button>
21
+
22
+ <el-button v-debounce type="primary" size="mini" @click="refresh(false,true)">刷新 </el-button>
23
+ <!-- <el-button type="primary" size="mini">批改</el-button> -->
24
+ <slot name="importAndExport" />
25
+ <slot name="buttons" :ids="ids" :rows="selectedRows" />
26
+ </div>
27
+
28
+ <!-- 搜索输入框 -->
29
+ <TListSearch ref="tListSearchRef" class="common-table-buttons-search" @search="handleSuggestMultiCondition($event)" />
30
+ </div>
31
+ <!--过滤方案-->
32
+ <Tplan ref="TplanRef" :fields-option="tableLayout" @change="handlePlanConditionChange" />
33
+ </div>
34
+
35
+ <!--
36
+ 数据区域
37
+ layout:表格表头字段和类型
38
+ sum: 表格的底部合集行的数据,条件发生改变的时候获取新的结果,翻页不获取
39
+ show-summary
40
+ data:表格的数据
41
+ enableGroup:是否显示分组,一般基础资料列表显示分组,业务列表不显示
42
+ enable-group-edit: 分组是否可以编辑(添加修改,一般基础资料列表中可以修改,弹窗中不允许修改
43
+ page-size:每页条数
44
+ current-page:当前页数
45
+ update-in-dialog:点击编辑或者双击数据行的时候,不进行页面跳转,而是将该行的id发射出来
46
+ @groupChange:监听分组条件改变
47
+ @conditionChange 监听到表头条件改变
48
+ @size-change 监听每页条数改变
49
+ @current-change 监听当前页改
50
+ @dbclick 处理双击事件
51
+ @dbRowClick 也是双击事件,但是当前行的数据被事件发射出来
52
+ -->
53
+ <Ttable
54
+ ref="TtableRef"
55
+ class="t-table"
56
+ :layout="tableLayout"
57
+ :sum="tableSum"
58
+ show-summary
59
+ :data="tableData"
60
+ :enable-sum="enableSum"
61
+ :enable-group="enableGroup"
62
+ enable-group-edit
63
+ :page-size="query.pageSize"
64
+ :current-page="query.pageNum"
65
+ :update-in-dialog="getDbId"
66
+ @condition-change="handleHeadChange"
67
+ @groupChange="handleGroupChange"
68
+ @size-change="handleSizeChange"
69
+ @current-change="handleCurrentChange"
70
+ @dbClick="handleDbClick"
71
+ @dbRowClick="$emit('dbRowClick',$event)"
72
+ />
73
+
74
+ <!-- 下推弹窗 -->
75
+ <PushDown
76
+ :visible.sync="pushdownVisible"
77
+ :push-down-table-name="pushDownTableName"
78
+ :parent-selection-data="ids"
79
+ />
80
+ </div>
81
+ </template>
82
+ <script>
83
+ import TListSearch from './src/t-list-search.vue'
84
+ import Tplan from './src/t-plan'
85
+ import Ttable from './src/t-table'
86
+ import PushDown from './src/pushdown/push-down.vue'
87
+ import buttonControll from './src/mixins/button-controll-mixin.js'
88
+ import dataQuery from '@/mixins/t-data-query-mixin.js'
89
+ import debounce from '@/directives/debounce.js'
90
+ export default {
91
+ name: 'TDataList',
92
+ components: {
93
+ Tplan, Ttable, PushDown, TListSearch
94
+ },
95
+ directives: {
96
+ debounce
97
+ },
98
+ mixins: [buttonControll, dataQuery],
99
+ props: {
100
+ // 目标单据,接口地址的一部分,单据列表的标识符
101
+ target: {
102
+ type: String,
103
+ default: ''
104
+ },
105
+ pushDownTableName: {
106
+ type: String,
107
+ default: null
108
+ },
109
+ // 表格双击不跳转路由,而是将数据的id发射出来
110
+ getDbId: {
111
+ type: Boolean,
112
+ default: false
113
+ },
114
+ getDbRow: {
115
+ type: Boolean,
116
+ default: false
117
+ },
118
+ // 页面组件控制配置
119
+ showHeader: {
120
+ type: Boolean,
121
+ default: true
122
+ },
123
+ enableGroup: {
124
+ type: Boolean,
125
+ default: false
126
+ },
127
+ enableSum: {
128
+ type: Boolean,
129
+ default: false
130
+ }
131
+ },
132
+ data () {
133
+ return {
134
+ // 下推弹窗是否显示
135
+ pushdownVisible: false,
136
+ queryType: 'LIST'
137
+ }
138
+ },
139
+ created () {
140
+ this.getTableLayout()
141
+ },
142
+ methods: {
143
+ /**
144
+ * 方案进行切换/方案中的高级条件变化后进行查询
145
+ * 在方案中点击查促按钮触发此事件
146
+ * 也是列表页面第一次获取表格数据内容的入口
147
+ */
148
+ handlePlanConditionChange (value) {
149
+ this.queryPlanCondition = value.conditionMulti
150
+ this.query.conditionAlwaysList = value.conditionAlways
151
+ this.getTableData(false, true)
152
+ },
153
+ // 数据行被双击
154
+ handleDbClick (value) {
155
+ this.$emit('dbClick', value)
156
+ }
157
+ }
158
+ }
159
+ </script>
160
+
161
+ <style lang="less" scoped>
162
+ // 列表页面的外轮廓
163
+ .page{
164
+ height:100%;
165
+ margin:0 10px;
166
+ background-color: #F0F2F5;
167
+ border-radius:10px;
168
+ //按钮组和过滤条件所在列表的操控区域的样式
169
+ .t-data-list-controll {
170
+ // height:6vh;
171
+ border-radius: 4px;
172
+ padding: 1.1111vh 1.1111vh 0 1.1111vh;
173
+ background-color: #fff;
174
+ margin-bottom:10px;
175
+ .common-table-header{
176
+ display: flex;
177
+ justify-content: space-between;
178
+ .common-table-buttons{
179
+ min-width: 800px;
180
+ display: flex;
181
+ justify-content: flex-start;
182
+ .el-button{
183
+ background-color: #0c4c8e!important;
184
+ border-color: #0c4c8e;
185
+ }
186
+ }
187
+ .common-table-buttons-search{
188
+ height: 30px;
189
+ }
190
+ }
191
+ }
192
+ }
193
+ </style>
@@ -1,31 +1,31 @@
1
- <template>
2
- <el-input :value="value" size="mini" :disabled="disabled" @input="handleInput" />
3
- </template>
4
- <script>
5
- export default {
6
- props: {
7
- value: {
8
- type: String,
9
- default: ''
10
- },
11
- disabled: {
12
- type: Boolean,
13
- default: false
14
- }
15
- },
16
- data () {
17
- return {
18
-
19
- }
20
- },
21
- methods: {
22
- handleInput (newValue) {
23
- this.$emit('input', newValue)
24
- }
25
- }
26
- }
27
- </script>
28
-
29
- <style scoped>
30
-
31
- </style>
1
+ <template>
2
+ <el-input :value="value" size="mini" :disabled="disabled" @input="handleInput" />
3
+ </template>
4
+ <script>
5
+ export default {
6
+ props: {
7
+ value: {
8
+ type: String,
9
+ default: ''
10
+ },
11
+ disabled: {
12
+ type: Boolean,
13
+ default: false
14
+ }
15
+ },
16
+ data () {
17
+ return {
18
+
19
+ }
20
+ },
21
+ methods: {
22
+ handleInput (newValue) {
23
+ this.$emit('input', newValue)
24
+ }
25
+ }
26
+ }
27
+ </script>
28
+
29
+ <style scoped>
30
+
31
+ </style>