|
@@ -165,11 +165,36 @@ export default {
|
|
|
initImage(typecode) {
|
|
|
let getParams = {
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
- system: this.systemName.slice(0, 2),
|
|
|
+ // system: this.systemName.slice(0, 2),
|
|
|
+ system: this.systemName,
|
|
|
siteid: '1000423',
|
|
|
module: '1002',
|
|
|
neTypename: '位置布置图'
|
|
|
}
|
|
|
+ switch (this.systemName) {
|
|
|
+ case '暖通系统':
|
|
|
+ getParams.system = '1002'
|
|
|
+ break
|
|
|
+ case '消防系统':
|
|
|
+ getParams.system = '1003'
|
|
|
+ break
|
|
|
+ case '弱点系统':
|
|
|
+ getParams.system = '1004'
|
|
|
+ break
|
|
|
+ case '电梯系统':
|
|
|
+ getParams.system = '1006'
|
|
|
+ break
|
|
|
+ case '燃气系统':
|
|
|
+ getParams.system = '1007'
|
|
|
+ break
|
|
|
+ }
|
|
|
+ if (this.systemName == '给排水系统') {
|
|
|
+ getParams.system = '1005'
|
|
|
+ }
|
|
|
+ if (this.systemName == '供电系统') {
|
|
|
+ getParams.system = '1001'
|
|
|
+ }
|
|
|
+
|
|
|
queryPic({ getParams }).then(res => {
|
|
|
this.rotationImg = res.data || []
|
|
|
})
|