|
@@ -144,14 +144,11 @@ export default {
|
|
|
//系统原理图接口
|
|
|
initImage(typecode) {
|
|
|
let getParams = {
|
|
|
- data: {
|
|
|
- plazaId: this.$store.state.plazaId,
|
|
|
- system: this.systemName.slice(0, 2),
|
|
|
- tyepcode: typecode
|
|
|
- }
|
|
|
+ plazaId: this.$store.state.plazaId,
|
|
|
+ system: this.systemName.slice(0, 2)
|
|
|
}
|
|
|
- queryPic(getParams).then(res => {
|
|
|
- this.rotationImg = res.data
|
|
|
+ queryPic({ getParams }).then(res => {
|
|
|
+ this.rotationImg = res.data || []
|
|
|
})
|
|
|
},
|
|
|
//原理图没图片不显示tab
|