sale-client 3.6.418 → 3.6.419
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
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
<script>
|
|
121
121
|
import {HttpResetClass} from 'vue-client'
|
|
122
|
-
import axios from
|
|
122
|
+
import axios from 'axios'
|
|
123
123
|
|
|
124
124
|
export default {
|
|
125
125
|
title: '参数设置',
|
|
@@ -156,15 +156,22 @@ export default {
|
|
|
156
156
|
this.row = {}
|
|
157
157
|
if (val) {
|
|
158
158
|
for (let i = 0; i < this.newmeterinfo.length; i++) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
159
|
+
if (this.newmeterinfo[i].name == this.paramtype) {
|
|
160
|
+
const params = this.newmeterinfo[i].params
|
|
161
|
+
for (let j = 0; j < params.length; j++) {
|
|
162
|
+
const param = params[j]
|
|
163
|
+
if (param.data) {
|
|
164
|
+
if (Array.isArray(param.data)) {
|
|
165
|
+
this.row[param.title] = []
|
|
166
|
+
for (let u = 0; u < param.data.length; u++) {
|
|
167
|
+
for (let z = 0; z < param.params.length; z++) {
|
|
168
|
+
if (param.data[u] == param.params[z].value.code) {
|
|
169
|
+
this.row[param.title].push(param.params[z].value)
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
} else {
|
|
174
|
+
this.row[param.title] = param.data
|
|
168
175
|
}
|
|
169
176
|
}
|
|
170
177
|
}
|