vue2-client 1.15.130 → 1.15.131
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.
package/package.json
CHANGED
@@ -19,8 +19,7 @@ export default {
|
|
19
19
|
sortField: undefined,
|
20
20
|
sortOrder: undefined,
|
21
21
|
pageNum: 1,
|
22
|
-
pageSize: 10
|
23
|
-
localHidePagination: false
|
22
|
+
pageSize: 10
|
24
23
|
}
|
25
24
|
},
|
26
25
|
props: Object.assign({}, T.props, {
|
@@ -116,11 +115,6 @@ export default {
|
|
116
115
|
clickedRowColor () {
|
117
116
|
const themeColor = this.$store.state.setting.theme.color
|
118
117
|
return this.hexToRgba(themeColor || '#1890ff', 0.1)
|
119
|
-
},
|
120
|
-
|
121
|
-
// 计算是否隐藏分页
|
122
|
-
shouldHidePagination () {
|
123
|
-
return this.hidePagination || this.localHidePagination
|
124
118
|
}
|
125
119
|
},
|
126
120
|
watch: {
|
@@ -158,8 +152,6 @@ export default {
|
|
158
152
|
handler (val) {
|
159
153
|
if (val) {
|
160
154
|
this.pageSize = val
|
161
|
-
// 使用计算属性或本地状态来控制分页显示,而不是直接修改prop
|
162
|
-
this.localHidePagination = true
|
163
155
|
// 更新 localPagination
|
164
156
|
if (this.localPagination) {
|
165
157
|
Object.assign(this.localPagination, {
|
@@ -175,10 +167,8 @@ export default {
|
|
175
167
|
const { pageNo } = this.$route.params
|
176
168
|
const localPageNum = this.pageURI && (pageNo && parseInt(pageNo)) || this.pageNum
|
177
169
|
|
178
|
-
// 如果设置了 pageMaxSize,则使用该值作为分页大小并隐藏分页
|
179
170
|
if (this.pageMaxSize) {
|
180
171
|
this.pageSize = this.pageMaxSize
|
181
|
-
this.localHidePagination = true
|
182
172
|
}
|
183
173
|
|
184
174
|
this.localPagination = ['auto', true].includes(this.showPagination) && Object.assign({}, this.localPagination, {
|
@@ -558,7 +548,7 @@ export default {
|
|
558
548
|
<div class="table-wrapper">
|
559
549
|
{showAlert && this.showSelected && this.selectRowMode === 'default' ? this.renderAlert() : null}
|
560
550
|
{table}
|
561
|
-
{!this.
|
551
|
+
{!this.hidePagination ? pagination : null}
|
562
552
|
</div>
|
563
553
|
)
|
564
554
|
}
|
@@ -60,7 +60,7 @@ path: 'example',
|
|
60
60
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
61
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
62
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
-
|
63
|
+
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
64
|
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
65
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
66
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
@@ -79,7 +79,7 @@ path: 'example',
|
|
79
79
|
// component: () => import('@vue2-client/pages/LogicCallExample/index.vue'),
|
80
80
|
// component: () => import('@vue2-client/components/FilePreview/FilePreviewDemo.vue'),
|
81
81
|
// component: () => import('@vue2-client/pages/ReportGrid/index.vue'),
|
82
|
-
component: () => import('@vue2-client/base-client/components/common/HIS/demo.vue'),
|
82
|
+
// component: () => import('@vue2-client/base-client/components/common/HIS/demo.vue'),
|
83
83
|
}
|
84
84
|
// routerResource.example = () =>
|
85
85
|
// import('@vue2-client/pages/Example')
|
package/vue.config.js
CHANGED
@@ -11,11 +11,11 @@ const productionGzipExtensions = ['js', 'css']
|
|
11
11
|
const isProd = process.env.NODE_ENV === 'production'
|
12
12
|
|
13
13
|
// v4 产品演示
|
14
|
-
const v3Server = '
|
14
|
+
const v3Server = 'http://aote-office.8866.org:31567'
|
15
15
|
// const gateway = 'http://192.168.50.67:31467'
|
16
16
|
// const testUpload = 'http://123.60.214.109:8406'
|
17
|
-
const OSSServerDev = '
|
18
|
-
const revenue = '
|
17
|
+
const OSSServerDev = 'http://192.168.50.67:30351'
|
18
|
+
const revenue = 'http://aote-office.8866.org:31567'
|
19
19
|
// const revenue = 'http://127.0.0.1:31467'
|
20
20
|
// const OSSServerProd = 'http://192.168.50.67:31351'
|
21
21
|
// const testUploadLocal = 'http://127.0.0.1:9001'
|