ylwl-cpscoms 1.1.0 → 1.2.0

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 (38) hide show
  1. package/package.json +2 -3
  2. package/src/DtTable/DtTable/347/273/204/344/273/266/344/275/277/347/224/250/346/226/207/346/241/243.md +0 -819
  3. package/src/DtTable/index.vue +0 -779
  4. package/src/SlAlert/SlAlert.stories.js +0 -108
  5. package/src/SlAlert/index.vue +0 -55
  6. package/src/SlAlert/remark.md +0 -16
  7. package/src/SlDescriptions/SlDescriptions.stories.js +0 -119
  8. package/src/SlDescriptions/index.vue +0 -60
  9. package/src/SlDescriptions/renderOptions.vue +0 -27
  10. package/src/SlDialog/README-PLUS.md +0 -74
  11. package/src/SlDialog/README.md +0 -114
  12. package/src/SlDialog/dialogPlus.js +0 -160
  13. package/src/SlDialog/index.js +0 -170
  14. package/src/SlDrawer/SlDrawer.stories.js +0 -154
  15. package/src/SlDrawer/index.js +0 -62
  16. package/src/SlForm/SlForm.stories.js +0 -120
  17. package/src/SlForm/index.vue +0 -506
  18. package/src/SlForm/mixinRender.js +0 -228
  19. package/src/SlForm/otherItem/titleItem.vue +0 -31
  20. package/src/SlForm/remark.md +0 -607
  21. package/src/SlGuide/SlGuide.stories.js +0 -100
  22. package/src/SlGuide/index.vue +0 -166
  23. package/src/SlGuide/remark.md +0 -90
  24. package/src/SlMessageBox/index.js +0 -35
  25. package/src/SlPage/README.md +0 -515
  26. package/src/SlPage/SlPage.stories.js +0 -125
  27. package/src/SlPage/index.vue +0 -303
  28. package/src/SlPage/remark.md +0 -283
  29. package/src/SlTable/SlTable.stories.js +0 -118
  30. package/src/SlTable/components/colSetting.vue +0 -86
  31. package/src/SlTable/index.vue +0 -541
  32. package/src/SlTitle/SlTitle.stories.js +0 -98
  33. package/src/SlTitle/index.vue +0 -49
  34. package/src/global.css +0 -5
  35. package/src/index.js +0 -49
  36. package/src/store/index.js +0 -20
  37. package/src/utils/index.js +0 -47
  38. package/src/utils/tableConfig.js +0 -33
@@ -1,303 +0,0 @@
1
- <template>
2
- <main :style="{ padding: notShowPadding ? '' : '20px' }" class="main-box">
3
- <div class="sl-form">
4
- <transition-group name="fade" tag="span" >
5
- <slForm key="slForm" ref="slForm" v-model="form" :data="filterForm" :showlabel="false" :form-props="{ inline: true, size: 'small', labelStyle: { textAlign: 'left' }, labelWidth: 'auto' }" />
6
- </transition-group>
7
- <div class="search-btn">
8
- <el-button type="primary" size="small" icon="el-icon-search" @click="searchTableData">搜索</el-button>
9
- <el-button size="small" icon="el-icon-search" @click="resetTableData">重置</el-button>
10
- <el-button v-show="options.length > showFormItem " size="small" type="text" @click="isShowMoreFilter">{{ isFold ? '折叠' : '展开' }}<i :class="isFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'" style="margin-left:3px"></i></el-button>
11
- </div>
12
- </div>
13
- <div class="sl-table-header">
14
- <div>
15
- <slot :tablefilterFormData="$refs.slTable ? $refs.slTable.processedParams : {}" name="tableLeftButtons"></slot>
16
- </div>
17
- <div>
18
- <slot :tablefilterFormData="$refs.slTable ? $refs.slTable.processedParams : {}" name="tableRightButtons" ></slot>
19
- <el-button v-if="isShowColSetting" size="small" icon="el-icon-setting" @click="editCol">列设置</el-button>
20
- </div>
21
- </div>
22
- <slTable ref="slTable" :table-api="tableApi" :columns="tableColumns" :project-from="projectFrom" :params="form" :filter-form="filterForm" :other-config="otherConfig" :default-seach-params="defaultSeachParams" v-bind="$attrs" v-on="$listeners" @setStorageCustomCol="setStorageCustomCol">
23
- <template v-for="slotName in Object.keys($scopedSlots)" slot-scope="scope" :slot="slotName" >
24
- <slot :name="slotName" v-bind="{ row: scope.row }"></slot>
25
- </template>
26
- </slTable>
27
- </main>
28
- </template>
29
- <script>
30
- // import { mapGetters } from 'vuex'
31
- import slForm from '../SlForm/index.vue'
32
- import slTable from '../SlTable/index.vue'
33
- import { createCommandDrawer } from '@/components/global/SlDrawer'
34
- import colSetting from '@/components/global/SlTable/components/colSetting.vue'
35
- import { generateUniqueId, hasKey } from '@/components/global/utils'
36
- import store from '@/store'
37
- export default {
38
- components: {
39
- slForm,
40
- slTable
41
- },
42
- props: {
43
- tableApi: { type: Function, default: () => ({}) },
44
- autoRequest: { type: Boolean, default: false },
45
- tableColumns: { type: Array, default: () => [] },
46
- filterForm: { type: Array, default: () => [] },
47
- showFormItem: { type: Number, default: 3 },
48
- projectFrom: { type: String, default: 'oldCpsb' },
49
- initSeachParams: { type: Object, default: () => ({}) },
50
- defaultSeachParams: { type: Object, default: () => ({}) },
51
- isShowColSetting: { type: Boolean, default: true },
52
- notShowPadding: { type: Boolean, default: false }, // 是否要padding效果
53
- otherConfig: { type: Object, default: () => ({
54
- rowKey: 'id',
55
- responderCof: {},
56
- requestBodyCof: {}
57
- })
58
- }
59
- },
60
- data() {
61
- return {
62
- options: this.filterForm,
63
- form: {},
64
- isFold: false,
65
- headKey: '',
66
- uniqueId: ''
67
- }
68
- },
69
- computed: {
70
- // ...mapGetters([
71
- // 'currentColConfig'
72
- // ]),
73
- currentColConfig() {
74
- // console.log(store.getters, "store.gettersxxxxxxx")
75
- return store.state.tableConfig.colConfig[this.uniqueId] || {}
76
- },
77
- allColConfig() {
78
- return store.state.tableConfig.colConfig
79
- },
80
- selectedList() {
81
- return this.$refs.slTable ? this.$refs.slTable.selectedList : []
82
- },
83
- selectedListIds() {
84
- return this.$refs.slTable ? this.$refs.slTable.selectedListIds : []
85
- }
86
-
87
- },
88
- created() {
89
- this.uniqueId = generateUniqueId(this.tableApi.toString())
90
- // console.log(this.uniqueId, "this.uniqueIdthis.uniqueIdthis.uniqueIdthis.uniqueId", this.tableApi.toString())
91
- store.dispatch('getStorageCustomCol', this.uniqueId)
92
- this.options.forEach((option, index) => {
93
- if (index > this.showFormItem - 1) {
94
- option.show = false
95
- }
96
- })
97
- this.tableColumns.forEach(item => {
98
- if (!hasKey(item, 'isShow')) {
99
- this.$set(item, 'isShow', true)
100
- }
101
- if (this.currentColConfig.hide && this.currentColConfig.hide.includes(item.prop)) {
102
- this.$set(item, 'isShow', false)
103
- }
104
- })
105
- // 表格排序
106
- this.sortTalbeColumns()
107
-
108
- if (this.initSeachParams && Object.keys(this.initSeachParams).length > 0) {
109
- for (const key in this.initSeachParams) {
110
- this.form[key] = this.initSeachParams[key]
111
- }
112
- }
113
- },
114
- async mounted() {
115
- this.autoRequest && this.$refs.slTable.getTableData()
116
- this.$refs.slTable.resetColumns(this.tableColumns.filter(item => item.isShow && this.isShowTableColumn(item)))
117
- },
118
- methods: {
119
- hasKey,
120
- generateUniqueId,
121
- // 永久删除的
122
- isShowTableColumn(item) {
123
- if (hasKey(item, 'isAlwaysShow') && typeof item.isAlwaysShow === 'function') {
124
- return item.isAlwaysShow({
125
- item: item
126
- })
127
- } else if (hasKey(item, 'isAlwaysShow') && typeof item.isAlwaysShow === 'string') {
128
- return item.isAlwaysShow
129
- } else {
130
- return true
131
- }
132
- },
133
- sortTalbeColumns() {
134
- // console.log(this.currentColConfig.sort && this.currentColConfig.sort.length > 0, '是否');
135
- // console.log(store, 'store.getters', this.allColConfig);
136
- if (this.currentColConfig.sort && this.currentColConfig.sort.length > 0) {
137
- this.tableColumns.sort((a, b) => {
138
- return this.currentColConfig.sort.indexOf(a.prop) - this.currentColConfig.sort.indexOf(b.prop)
139
- })
140
- }
141
- },
142
- searchTableData() {
143
- console.log(this.form, this.$refs.slForm.$refs.form, this.$refs.slTable.processedParams)
144
- this.$refs.slForm.$refs.form.validate((valid) => {
145
- if (valid) {
146
- this.$refs.slTable.handleCurrentChange(1)
147
- } else {
148
- console.log('error submit!!')
149
- return false
150
- }
151
- })
152
- },
153
- resetTableData() {
154
- this.$refs.slForm.$refs.form.resetFields()
155
- for (const key in this.form) {
156
- if (this.form.hasOwnProperty(key)) {
157
- this.form[key] = ''
158
- }
159
- }
160
- // console.log(this.form, "xxxxx");
161
- this.$refs.slForm.$refs.form.validate((valid) => {
162
- if (valid) {
163
- this.$refs.slTable.handleCurrentChange(1)
164
- } else {
165
- console.log('error submit!!')
166
- return false
167
- }
168
- })
169
- // this.$refs.slTable.handleCurrentChange(1)
170
- },
171
- getTableData() {
172
- this.$refs.slForm.$refs.form.validate((valid) => {
173
- if (valid) {
174
- this.$refs.slTable.getCurrentPageList()
175
- } else {
176
- console.log('error getCurrentPageList submit!!')
177
- return false
178
- }
179
- })
180
- },
181
- isShowMoreFilter() {
182
- this.isFold = !this.isFold
183
- if (this.isFold) {
184
- this.options.forEach(option => {
185
- this.$set(option, 'show', true)
186
- })
187
- } else {
188
- this.options.forEach((option, index) => {
189
- if (index > this.showFormItem - 1) {
190
- this.$set(option, 'show', false)
191
- }
192
- })
193
- }
194
- // this.$forceUpdate()
195
- },
196
- saveKeeyAlive() {
197
- const hideColArray = this.tableColumns.reduce((acc, item) => {
198
- if (!item.isShow) {
199
- acc.push(item.prop)
200
- }
201
- return acc
202
- }, [])
203
- store.dispatch('saveStorageCustomCol', {
204
- key: this.uniqueId,
205
- type: 'hide',
206
- value: hideColArray
207
- })
208
- },
209
- editCol() {
210
- console.log(this.tableColumns.filter(item => item.prop !== 'operate' || item.type !== 'selection' || item.isShow), 'this.tableColumns', this.tableColumns)
211
- // console.log(this.tableColumns, "在这里点开");
212
- this.sortTalbeColumns()
213
- // console.log(this.tableColumns, "在这里点开2");
214
- createCommandDrawer({
215
- title: '列设置(可拖拽排序)',
216
- size: '20%',
217
- direction: 'rtl',
218
- contentComponent: colSetting,
219
- closeDrawer: () => {
220
- this.saveKeeyAlive()
221
- this.$refs.slTable.headKey = new Date().getTime() + ''
222
- // this.$refs.slTable.resetColumns(this.tableColumns.filter(item => item.isShow))
223
- },
224
- contentProps: {
225
- columns: this.tableColumns.filter(item => item.prop !== 'operate' && item.type !== 'selection' && this.isShowTableColumn(item))
226
- }, // 如果需要传递 props 给内容组件,可以在这里定义
227
- contentListeners: {
228
- 'update-columns': (columns) => {
229
- // 处理列更新事件
230
- // console.log('接收到更新的列数据:', columns, this.tableColumns)
231
- // 如果有多选框和操作,要加上
232
- const sortColumns = [...columns]
233
- const findSelection = this.tableColumns.find(item => item.type === 'selection')
234
- const findOperate = this.tableColumns.find(item => item.prop === 'operate')
235
- if (findSelection) {
236
- sortColumns.unshift(findSelection)
237
- }
238
- if (findOperate) {
239
- sortColumns.push(findOperate)
240
- }
241
- // console.log(sortColumns, "sortColumns")
242
- this.$refs.slTable.resetColumns(sortColumns.filter(item => item.isShow))
243
- this.setStorageCustomCol(columns)
244
- },
245
- 'change-columns': () => {
246
- this.$refs.slTable.resetColumns(this.tableColumns.filter(item => item.isShow))
247
- this.$refs.slTable.headKey = new Date().getTime() + ''
248
- }
249
- }
250
- })
251
- },
252
- setStorageCustomCol(columns) {
253
- // console.log(this.uniqueId, 'a ?');
254
- store.dispatch('saveStorageCustomCol', {
255
- key: this.uniqueId,
256
- type: 'sort',
257
- value: columns.map(item => item.prop)
258
- })
259
- }
260
- }
261
- }
262
- </script>
263
- <style scoped >
264
- .main-box {
265
- display: flex;
266
- flex-direction: column;
267
- height: 100%;
268
- width: 100%;
269
- }
270
-
271
- .sl-form {
272
- flex: 1 0 1;
273
- transition: all 0.3s ease-in-out;
274
- /* display: flex; */
275
- /* justify-content: space-between; */
276
- }
277
-
278
- .yl-form-box {
279
- display: inline;
280
- }
281
-
282
- .search-btn {
283
- float: right;
284
- /* display: inline-block; */
285
- margin-left: 20px;
286
- /* margin-top: 5px; */
287
- }
288
-
289
- .fade-enter-active, .fade-leave-active {
290
- transition: opacity 0.3s;
291
- }
292
- .fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
293
- opacity: 0;
294
- }
295
-
296
- .sl-table-header {
297
- display: flex;
298
- justify-content: space-between;
299
- margin: 10px 0;
300
- }
301
-
302
- </style>
303
-
@@ -1,283 +0,0 @@
1
- <template>
2
-
3
- <div class="slPage_main">
4
- <SlMessage>
5
- <template slot="operate">
6
- <el-button>123</el-button>
7
- </template>
8
- <template slot="message">
9
- <span>123</span><br>
10
- <span>123</span><br>
11
- </template>
12
- </SlMessage>
13
- <!-- project-from 艾瑞斯的数组入参不一致
14
- initSeachParams 初始化参数
15
- -->
16
- <SlPage
17
- :table-api="rechargeApi.getRechargeList"
18
- :auto-request="true"
19
- :table-columns="columns"
20
- :filter-form="filterForm"
21
- :initSeachParams="initSeachParams"
22
- :show-form-item="5"
23
- :project-from="'ares'"
24
- :other-config= "{
25
- rowKey: 'buserId',
26
- responderCof: {
27
- 'total': ['data', 'page', 'total'],
28
- 'list': ['data', 'page', 'list'],
29
- 'statusCode': 'flag',
30
- },
31
- requestBodyCof: {
32
- currentPage: 'pageNo',
33
- },
34
- responderCof: {
35
- 'total': ['data', 'count'],
36
- },
37
- donShowOverflowTooltip: true,
38
- }"
39
- >
40
- <template slot="tableLeftButtons" slot-scope="{ tablefilterFormData }">
41
- <el-button size="small" type="primary">新增</el-button>
42
- <el-button size="small" type="success">导出</el-button>
43
- </template>
44
- <template slot="tableRightButtons" slot-scope="{ tablefilterFormData }">
45
- <el-button size="small" type="primary">新增</el-button>
46
- <el-button size="small" type="success">导出</el-button>
47
- </template>
48
- </SlPage>
49
- <!-- <SlTable /> -->
50
- </div>
51
- </template>
52
-
53
- <script>
54
- import SlPage from '@/components/global/SlPage'
55
- import SlTable from '@/components/global/SlTable'
56
- import SlForm from '@/components/global/SlForm'
57
- import * as rechargeApi from '@/api/propertyManagement/rechargeOrder'
58
- import SlMessage from '@/components/global/SlAlert'
59
- import { showConfirmMessageBox } from '@/components/global/SlMessageBox'
60
- import { createCommandDialog } from '@/components/global/SlDialog'
61
- import aa from './aa.vue'
62
- export default {
63
- components: {
64
- SlPage,
65
- SlTable,
66
- SlMessage,
67
- SlForm
68
- },
69
- data() {
70
- const tableData = [
71
- { id: 10001, name: 'Test1', role: 'Develop', flag1: false, flag2: false },
72
- { id: 10002, name: 'Test2', role: 'Test', flag1: true, flag2: true },
73
- { id: 10003, name: 'Test3', role: 'PM', flag1: false, flag2: false }
74
- ]
75
- const columns = [
76
- { prop: 'buserId', label: '日期', width: '180', sortable: true, isShow: false },
77
- { prop: 'applyTime', label: '姓名', width: '180', isShow: false },
78
- { prop: 'coinName', label: '姓名zzzzz', width: '180', isShow: false, tip: {
79
- key: 'cuserAccount',
80
- isShow: (row) => row.id === 513910
81
-
82
- }},
83
- { prop: 'depositOrderType', label: '姓名', width: '180', isShow: false,
84
-
85
- // tip: {
86
- // // key: 'cuserAccount'
87
- // }
88
- },
89
- { prop: 'completeTime', label: '姓名', width: '180', isShow: false },
90
- { prop: 'coinType', label: '姓名', width: '180', isShow: false },
91
- { prop: 'id', label: '姓名123', width: '180', isShow: false },
92
- { prop: 'paymentType', label: '姓名423', width: '180', isShow: false },
93
- { prop: 'paymentVoucher', label: '姓名77', width: '180', isShow: false },
94
- { prop: 'rechargeRatio', label: '姓名', width: '180', isShow: false },
95
- { prop: 'rechargeRealAmount', label: '姓名', width: '180', isShow: false },
96
- { prop: 'rechargeStatusName', label: '姓名', width: '180', isShow: false },
97
- { prop: 'rechargeStatus', label: '姓名', width: '180', isShow: false },
98
- { prop: 'rechargeType', label: '姓名', width: '180', isShow: false },
99
- { prop: 'reviewRemark', label: '姓名', width: '180', isShow: false },
100
-
101
- { prop: 'rechargeNum', label: '地址', isShow: false },
102
- { prop: 'operate', label: '操作', fixed: 'right', list: [
103
- {
104
- label: '编辑',
105
- type: 'primary',
106
- size: 'mini',
107
- isShow: (row, column, $index) => {
108
- console.log(row, column, $index, this, "000000")
109
- return row.id === 513910
110
- },
111
- click: (row, column, $index, $event) => {
112
- console.log(row, column, $index, $event, this, "000000")
113
- this.$message.success('编辑')
114
- showConfirmMessageBox({
115
- message: '是否删除爱吧爱吧',
116
- api: async(aaaa) => {
117
- console.log("---------", aaaa)
118
- },
119
- params: {
120
- bbbb: '人啊人啊'
121
- }
122
- })
123
- }
124
- },
125
- {
126
- label: '编辑2',
127
- type: 'primary',
128
- size: 'mini',
129
- click: (row, column, $index, $event) => {
130
- console.log(row, column, $index, $event, this, "000000")
131
- this.$message.success('编辑')
132
- createCommandDialog({
133
- title: 'My Dialog',
134
- width: '50%',
135
- contentComponent: aa,
136
- // footerSlot: 'footerSlot'
137
- // contentProps: {
138
- // data: this.filterForms
139
- // },
140
- // footerSlot: aa
141
- })
142
- }
143
- }
144
- ] }
145
- ]
146
- const filterForm = [
147
-
148
- // {
149
- // type: 'select',
150
- // model: 'publisherId',
151
- // label: '聚的话',
152
- // labelKey: 'label',
153
- // valueKey: 'value',
154
- // props: { placeholder: '请输入聚合', disabled: false },
155
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
156
- // options: [ { label: 'Android', value: 1 },
157
- // { label: 'iOS', value: 2 },
158
- // { label: 'H5', value: 3 }],
159
- // view: 'auto'
160
- // },
161
- // {
162
- // label: '聚戏ID',
163
- // type: 'input',
164
- // model: 'aggGameId',
165
- // privateAttrs: { placeholder: '请输入聚合游戏ID' },
166
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
167
- // view: 'auto'
168
- // },
169
- // {
170
- // type: 'select',
171
- // model: 'publisherId',
172
- // label: '哈苏话',
173
- // labelKey: 'label',
174
- // valueKey: 'value',
175
- // props: { placeholder: '请输入聚合', disabled: false },
176
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
177
- // options: [ { label: 'Android', value: 1 },
178
- // { label: 'iOS', value: 2 },
179
- // { label: 'H5', value: 3 }],
180
- // view: 'auto'
181
- // },
182
- {
183
- label: '游戏ID',
184
- type: 'input',
185
- rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
186
- model: 'aggGxxzxcameId',
187
- privateAttrs: { placeholder: '请输入聚合游戏ID' },
188
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
189
- view: 'auto'
190
- },
191
- {
192
- type: 'select',
193
- model: 'publisherId',
194
- label: '聚c23213',
195
- labelKey: 'label',
196
- valueKey: 'value',
197
- props: { placeholder: '请输入聚合', disabled: false },
198
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
199
- options: [ { label: 'Android', value: 1 },
200
- { label: 'iOS', value: 2 },
201
- { label: 'H5', value: 3 }],
202
- view: 'auto'
203
- },
204
- {
205
- label: '游戏ID',
206
- type: 'input',
207
- model: 'aggzxczzxcameId',
208
- privateAttrs: { placeholder: '请输入聚合游戏ID' },
209
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
210
- view: 'auto'
211
- },
212
- {
213
- label: '时间',
214
- type: 'datePicker',
215
- model: 'aggGamezxcId',
216
- privateProps: { type: 'daterange', startPlaceholder: '我是开始时间' },
217
- attrs: { placeholder: '请输入聚合游戏ID', type: 'daterange' },
218
- view: 'auto'
219
- },
220
- {
221
- type: 'select',
222
- model: 'publisasaherId',
223
- label: '桑的话',
224
- labelKey: 'label',
225
- valueKey: 'value',
226
- props: { placeholder: '请输入聚合', disabled: false },
227
- options: [ { label: 'Android', value: 1 },
228
- { label: 'iOS', value: 2 },
229
- { label: 'H5', value: 3 }],
230
- view: 'auto'
231
- },
232
- {
233
- label: '聚合游戏ID',
234
- type: 'input',
235
- model: 'aggGameId',
236
- privateAttrs: { placeholder: '请输入聚合游戏ID' },
237
- rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
238
- view: 'auto'
239
- },
240
- // {
241
- // label: 'swich',
242
- // type: 'switch', // 渲染为select
243
- // model: 'problemxxFileInfo', // 给form对象绑定followUserId字段
244
- // // rules: [{ required: true, message: '该项为必填', trigger: 'change' }], //规则
245
- // view: 'auto',
246
- // props: {
247
- // stip: '最多20张,每个大小不超过100M,支持 .png .jpg .jpeg .mp4',
248
- // limit: 20,
249
- // perSize: 100,
250
- // accept: '.png, .jpg, .jpeg, .mp4, .MP4',
251
- // max: 2000
252
- // // style: 'width:350px'
253
- // },
254
- // privateAttrs: {
255
- // style: 'width:350px'
256
- // },
257
- // remark: '备注'
258
- // // show: false
259
- // }
260
- // {
261
- // label: '多选框',
262
- // type: 'checkbox',
263
- // model: 'gameApk',
264
- // options: [
265
- // { label: 'Android', value: 1 },
266
- // { label: 'iOS', value: 2 },
267
- // { label: 'H5', value: 3 }
268
- // ],
269
- // rules: [{ required: true, message: '该项为必填', trigger: 'change' }],
270
- // view: 'auto',
271
- // },
272
-
273
- ]
274
- return {
275
- rechargeApi,
276
- tableData,
277
- filterForm,
278
- columns
279
- }
280
- },
281
-
282
- }
283
- </script>