Browse Source

[修改]实景图去掉默认的重点部位文件夹

zhuzhou
邵佳豪 3 years ago
parent
commit
aa43b3c2d7
  1. 2
      proxy.config.json
  2. 2
      src/app/key-unit/key-unit-management/upname.html
  3. 14
      src/app/key-unit/realistic-picture-look/realistic-picture.component.ts
  4. 14
      src/app/key-unit/realistic-picture/realistic-picture.component.ts

2
proxy.config.json

@ -1,6 +1,6 @@
{
"/api": {
"target": "http://39.106.78.171:8890",
"target": "http://218.75.214.31:28085",
"secure": false,
"changeOrigin": true
}

2
src/app/key-unit/key-unit-management/upname.html

@ -17,7 +17,7 @@
<div class="queryField">
<label style="margin-right: 10px;">新单位名称:</label>
<mat-form-field class="example-full-width">
<input matInput placeholder="请输入新预案名称" required name="companyName" autocomplete="off" [(ngModel)]="unitname">
<input matInput placeholder="请输入新单位名称" required name="companyName" autocomplete="off" [(ngModel)]="unitname">
</mat-form-field>
</div>
<div class="bottom">

14
src/app/key-unit/realistic-picture-look/realistic-picture.component.ts

@ -29,12 +29,12 @@ export class RealisticPictureLookComponent implements OnInit {
companyId : companyId
}}).subscribe((data:any)=>{
this.allRealPicture = data
this.allRealPicture.unshift({
companyId:sessionStorage.getItem('companyId'),
id:'重点部位',
name: "重点部位",
realityImages:null
})
// this.allRealPicture.unshift({
// companyId:sessionStorage.getItem('companyId'),
// id:'重点部位',
// name: "重点部位",
// realityImages:null
// })
this.selectReal = data[0]
this.getAllRealPicture()
})
@ -77,7 +77,7 @@ export class RealisticPictureLookComponent implements OnInit {
getAllRealPicture () {
if (this.selectReal) {
let data
if(this.selectReal.id == '重点部位'){
if(this.selectReal.id == 'xxxxxxxxxxxxx'){
data = {
groupId: this.selectReal.id,
companyId : this.selectReal.companyId,

14
src/app/key-unit/realistic-picture/realistic-picture.component.ts

@ -30,12 +30,12 @@ export class RealisticPictureComponent implements OnInit {
companyId : companyId
}}).subscribe((data:any)=>{
this.allRealPicture = data
this.allRealPicture.unshift({
companyId:sessionStorage.getItem('companyId'),
id:'重点部位',
name: "重点部位",
realityImages:null
})
// this.allRealPicture.unshift({
// companyId:sessionStorage.getItem('companyId'),
// id:'重点部位',
// name: "重点部位",
// realityImages:null
// })
this.selectReal = data[0]
this.getAllRealPicture()
})
@ -78,7 +78,7 @@ export class RealisticPictureComponent implements OnInit {
getAllRealPicture () {
if (this.selectReal) {
let data
if(this.selectReal.id == '重点部位'){
if(this.selectReal.id == 'xxxxxxxxxxx'){
data = {
groupId: this.selectReal.id,
companyId : this.selectReal.companyId,

Loading…
Cancel
Save