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