vue2-client 1.12.57 → 1.12.58
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
|
@@ -103,18 +103,24 @@ export default {
|
|
|
103
103
|
this.loaded = true
|
|
104
104
|
},
|
|
105
105
|
getValues (option, value, values) {
|
|
106
|
+
const _values = []
|
|
106
107
|
for (const item of option) {
|
|
107
108
|
if (value.includes(item.value)) {
|
|
108
109
|
values.push(item.value)
|
|
110
|
+
_values.push(item.value)
|
|
109
111
|
// 找到匹配节点后,递归添加所有子节点的值
|
|
110
112
|
if (item.children && item.children.length) {
|
|
111
113
|
this.getAllChildrenValues(item.children, values)
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
if (item.children && item.children.length) {
|
|
115
|
-
this.getValues(item.children, value, values)
|
|
117
|
+
const tempV = this.getValues(item.children, value, values)
|
|
118
|
+
if (tempV.length === item.children.length) {
|
|
119
|
+
values.push(item.value)
|
|
120
|
+
}
|
|
116
121
|
}
|
|
117
122
|
}
|
|
123
|
+
return _values
|
|
118
124
|
},
|
|
119
125
|
getAllChildrenValues (children, values) {
|
|
120
126
|
for (const child of children) {
|
|
@@ -123,6 +129,7 @@ export default {
|
|
|
123
129
|
this.getAllChildrenValues(child.children, values)
|
|
124
130
|
}
|
|
125
131
|
}
|
|
132
|
+
return values
|
|
126
133
|
},
|
|
127
134
|
// 获取树形选择框数据
|
|
128
135
|
getTreeData () {
|
|
@@ -368,7 +368,6 @@ export default {
|
|
|
368
368
|
const isCurrentRow = isRowKeySequence
|
|
369
369
|
? this.clickedRowKey === index
|
|
370
370
|
: this.clickedRowKey === record[this.rowKey]
|
|
371
|
-
console.log(record, index, this.rowKey, isCurrentRow)
|
|
372
371
|
return {
|
|
373
372
|
on: {
|
|
374
373
|
click: () => this.handleRowClick(record, index)
|
|
@@ -49,14 +49,14 @@ routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStati
|
|
|
49
49
|
// 数据检索(新)
|
|
50
50
|
routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
|
|
51
51
|
// 示例页面
|
|
52
|
-
routerResource.
|
|
53
|
-
path: '
|
|
52
|
+
routerResource.home = {
|
|
53
|
+
path: 'home',
|
|
54
54
|
name: '示例主页面',
|
|
55
55
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
|
56
56
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
57
57
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
58
58
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
59
|
-
|
|
59
|
+
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
60
60
|
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
|
61
61
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
|
62
62
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
|
@@ -71,7 +71,7 @@ routerResource.example = {
|
|
|
71
71
|
// component: () => import('@vue2-client/components/g2Charts/demo.vue'),
|
|
72
72
|
// component: () => import('@vue2-client/pages/LogicCallExample/index.vue'),
|
|
73
73
|
// component: () => import('@vue2-client/components/FilePreview/FilePreviewDemo.vue'),
|
|
74
|
-
component: () => import('@vue2-client/pages/ReportGrid/index.vue'),
|
|
74
|
+
// component: () => import('@vue2-client/pages/ReportGrid/index.vue'),
|
|
75
75
|
}
|
|
76
76
|
// routerResource.example = () =>
|
|
77
77
|
// import('@vue2-client/pages/Example')
|
package/vue.config.js
CHANGED
|
@@ -16,7 +16,7 @@ const v3Server = 'http://aote-office.8866.org:31567'
|
|
|
16
16
|
// const testUpload = 'http://123.60.214.109:8406'
|
|
17
17
|
const OSSServerDev = 'http://192.168.50.67:30351'
|
|
18
18
|
// const revenue = 'http://aote-office.8866.org:31567'
|
|
19
|
-
const revenue = 'http://
|
|
19
|
+
const revenue = 'http://218.93.226.210:31467/'
|
|
20
20
|
// const OSSServerProd = 'http://192.168.50.67:31351'
|
|
21
21
|
// const testUploadLocal = 'http://127.0.0.1:9001'
|
|
22
22
|
// v3 铜川
|