@tongfun/tf-widget 0.1.19 → 0.1.20

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 (96) hide show
  1. package/README.md +46 -42
  2. package/lib/tf-widget.common.1.js +1 -1
  3. package/lib/tf-widget.common.js +472 -455
  4. package/lib/tf-widget.css +1 -1
  5. package/lib/tf-widget.umd.1.js +1 -1
  6. package/lib/tf-widget.umd.js +472 -455
  7. package/lib/tf-widget.umd.min.js +3 -3
  8. package/package/svg-icon/index.js +8 -8
  9. package/package/svg-icon/src/SvgIcon.vue +59 -59
  10. package/package/t-data-list/index.js +6 -6
  11. package/package/t-data-list/main.vue +193 -193
  12. package/package/t-data-list/src/condition-input/basic.vue +31 -31
  13. package/package/t-data-list/src/condition-input/date.vue +106 -106
  14. package/package/t-data-list/src/condition-input/index.vue +100 -100
  15. package/package/t-data-list/src/condition-input/input.vue +31 -31
  16. package/package/t-data-list/src/condition-input/number.vue +115 -115
  17. package/package/t-data-list/src/condition-input/select.vue +86 -86
  18. package/package/t-data-list/src/js/fieldTypeEnum.js +10 -10
  19. package/package/t-data-list/src/js/operatorEnum.js +108 -108
  20. package/package/t-data-list/src/js/qureyParamsEnum.js +4 -4
  21. package/package/t-data-list/src/js/util.js +34 -34
  22. package/package/t-data-list/src/mixins/button-controll-mixin.js +93 -93
  23. package/package/t-data-list/src/pushdown/push-down.vue +158 -158
  24. package/package/t-data-list/src/t-list-search.vue +36 -36
  25. package/package/t-data-list/src/t-plan/condition-always-item.vue +143 -143
  26. package/package/t-data-list/src/t-plan/condition-mult-item.vue +222 -222
  27. package/package/t-data-list/src/t-plan/index.vue +195 -195
  28. package/package/t-data-list/src/t-plan/plan-content.vue +389 -389
  29. package/package/t-data-list/src/t-table/index.vue +129 -129
  30. package/package/t-data-list/src/t-table/table-group-item-edit.vue +238 -238
  31. package/package/t-data-list/src/t-table/table-group-item.vue +87 -87
  32. package/package/t-data-list/src/t-table/table-group.vue +180 -180
  33. package/package/t-data-list/src/t-table/table-records-header-popover.vue +246 -246
  34. package/package/t-data-list/src/t-table/table-records-selected.vue +159 -159
  35. package/package/t-data-list/src/t-table/table-records.vue +337 -337
  36. package/package/t-input/children/address.vue +101 -101
  37. package/package/t-input/children/basic-display.vue +41 -41
  38. package/package/t-input/children/basic.vue +253 -253
  39. package/package/t-input/children/date.vue +89 -89
  40. package/package/t-input/children/group-components/group-dialog.vue +344 -344
  41. package/package/t-input/children/group.vue +126 -126
  42. package/package/t-input/children/input.vue +72 -72
  43. package/package/t-input/children/number.vue +74 -74
  44. package/package/t-input/children/select.vue +89 -89
  45. package/package/t-input/children/tfile/fiile-enclosure.vue +233 -233
  46. package/package/t-input/index.js +7 -7
  47. package/package/t-input/index.vue +337 -337
  48. package/package/t-input/tInputCache.js +24 -24
  49. package/package/tf-icon-picker/README.md +7 -7
  50. package/package/tf-icon-picker/index.js +8 -8
  51. package/package/tf-icon-picker/src/tf-icon-picker.vue +266 -266
  52. package/package/tf-layout/README.md +115 -115
  53. package/package/tf-layout/index.js +8 -8
  54. package/package/tf-layout/src/components/tf-labelbar.vue +382 -382
  55. package/package/tf-layout/src/components/tf-menu.vue +180 -180
  56. package/package/tf-layout/src/components/tf-right-menu.vue +89 -89
  57. package/package/tf-layout/src/components/tf-rotate-box.vue +50 -50
  58. package/package/tf-layout/src/tf-layout.vue +120 -120
  59. package/package/tf-widget/index.js +8 -8
  60. package/package/tf-widget/src/assets/common-input.less +10 -10
  61. package/package/tf-widget/src/children/basic-data/basic-data.vue +361 -361
  62. package/package/tf-widget/src/children/basic-data/dependcy/basic-data-selector.vue +1087 -1087
  63. package/package/tf-widget/src/children/basic-data/dependcy/common-table.vue +750 -750
  64. package/package/tf-widget/src/children/basic-data/dependcy/condition-filter.vue +519 -519
  65. package/package/tf-widget/src/children/basic-data/dependcy/pagination.vue +93 -93
  66. package/package/tf-widget/src/children/basic-data/dependcy/table-control.vue +240 -240
  67. package/package/tf-widget/src/children/basic-data/dependcy/view-picture.vue +108 -108
  68. package/package/tf-widget/src/children/date-time.vue +103 -103
  69. package/package/tf-widget/src/children/date.vue +103 -103
  70. package/package/tf-widget/src/children/decimal.vue +115 -115
  71. package/package/tf-widget/src/children/integer.vue +104 -104
  72. package/package/tf-widget/src/children/property.vue +59 -59
  73. package/package/tf-widget/src/children/single-line-text.vue +82 -82
  74. package/package/tf-widget/src/children/small-pictures.vue +223 -223
  75. package/package/tf-widget/src/children/text-area.vue +74 -74
  76. package/package/tf-widget/src/children/tf-select.vue +113 -113
  77. package/package/tf-widget/src/tf-widget.vue +175 -175
  78. package/package.json +44 -43
  79. package/src/api/edit.js +97 -97
  80. package/src/api/file-enclosure.js +26 -26
  81. package/src/api/push-down.js +19 -19
  82. package/src/api/table.js +294 -294
  83. package/src/api/tableV3.js +160 -186
  84. package/src/assets/images/icons/index.js +9 -9
  85. package/src/assets/images/icons/svg/add.svg +5 -5
  86. package/src/assets/images/icons/svg/push-down.svg +1 -1
  87. package/src/assets/images/icons/svg/remove.svg +1 -1
  88. package/src/assets/styles/common-table.less +202 -202
  89. package/src/directives/debounce.js +24 -0
  90. package/src/index.js +31 -31
  91. package/src/mixins/t-data-query-mixin.js +290 -290
  92. package/src/utils/auth.js +22 -22
  93. package/src/utils/request.js +42 -42
  94. package/src/utils/stato-anormale.js +59 -59
  95. package/src/utils/utils.js +109 -109
  96. 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
- export default {
90
- name: 'TDataList',
91
- components: {
92
- Tplan, Ttable, PushDown, TListSearch
93
- },
94
- mixins: [buttonControll, dataQuery],
95
- props: {
96
- // 目标单据,接口地址的一部分,单据列表的标识符
97
- target: {
98
- type: String,
99
- default: ''
100
- },
101
- pushDownTableName: {
102
- type: String,
103
- default: null
104
- },
105
- // 表格双击不跳转路由,而是将数据的id发射出来
106
- getDbId: {
107
- type: Boolean,
108
- default: false
109
- },
110
- getDbRow: {
111
- type: Boolean,
112
- default: false
113
- },
114
- // 页面组件控制配置
115
- showHeader: {
116
- type: Boolean,
117
- default: true
118
- },
119
- enableGroup: {
120
- type: Boolean,
121
- default: false
122
- },
123
- enableSum: {
124
- type: Boolean,
125
- default: false
126
- }
127
- },
128
- data () {
129
- return {
130
- // 下推弹窗是否显示
131
- pushdownVisible: false,
132
- queryType: 'LIST'
133
- }
134
- },
135
- created () {
136
- this.getTableLayout()
137
- },
138
- methods: {
139
- /**
140
- * 方案进行切换/方案中的高级条件变化后进行查询
141
- * 在方案中点击查促按钮触发此事件
142
- * 也是列表页面第一次获取表格数据内容的入口
143
- */
144
- handlePlanConditionChange (value) {
145
- this.queryPlanCondition = value.conditionMulti
146
- this.query.conditionAlwaysList = value.conditionAlways
147
- this.getTableData(false, true)
148
- },
149
- // 数据行被双击
150
- handleDbClick (value) {
151
- this.$emit('dbClick', value)
152
- }
153
- }
154
- }
155
- </script>
156
-
157
- <style scoped lang='less'>
158
- // 列表页面的外轮廓
159
- .page{
160
- height:100%;
161
- margin:0 10px;
162
- background-color: #F0F2F5;
163
- border-radius:10px;
164
- //按钮组和过滤条件所在列表的操控区域的样式
165
- .t-data-list-controll {
166
- // height:6vh;
167
- border-radius: 4px;
168
- padding: 1.1111vh 1.1111vh 0 1.1111vh;
169
- background-color: #fff;
170
- margin-bottom:10px;
171
- .common-table-header{
172
- display: flex;
173
- justify-content: space-between;
174
- .common-table-buttons{
175
- min-width: 800px;
176
- display: flex;
177
- justify-content: flex-start;
178
- .el-button{
179
- background-color: #0c4c8e!important;
180
- border-color: #0c4c8e;
181
- }
182
- }
183
- .common-table-buttons-search{
184
- height: 30px;
185
- }
186
- }
187
- }
188
- }
189
-
190
- // .t-table{
191
- // height: 80vh
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>