n20-common-lib 3.0.16 → 3.0.18
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
|
@@ -295,18 +295,27 @@ export default {
|
|
|
295
295
|
// 通过filterId拿取视图列表
|
|
296
296
|
getFilterList() {
|
|
297
297
|
let list = []
|
|
298
|
-
axios
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
298
|
+
axios
|
|
299
|
+
.get(`/bems/query/viewColumn/getViewInfo`, { bussId: this.bussId })
|
|
300
|
+
.then((res) => {
|
|
301
|
+
list = res.data.map((item) => {
|
|
302
|
+
item.keyIds = item.keyIds ? JSON.parse(item.keyIds) : []
|
|
303
|
+
return item
|
|
304
|
+
})
|
|
305
|
+
this.list = [
|
|
306
|
+
{
|
|
307
|
+
viewName: '所有的'
|
|
308
|
+
},
|
|
309
|
+
...list
|
|
310
|
+
]
|
|
311
|
+
})
|
|
312
|
+
.catch((err) => {
|
|
313
|
+
this.list = [
|
|
314
|
+
{
|
|
315
|
+
viewName: '所有的'
|
|
316
|
+
}
|
|
317
|
+
]
|
|
302
318
|
})
|
|
303
|
-
this.list = [
|
|
304
|
-
{
|
|
305
|
-
viewName: '所有的'
|
|
306
|
-
},
|
|
307
|
-
...list
|
|
308
|
-
]
|
|
309
|
-
})
|
|
310
319
|
},
|
|
311
320
|
// 新增
|
|
312
321
|
add() {
|