|
|
@@ -90,6 +90,7 @@ export default class extends Vue {
|
|
|
private StateInfo = '';
|
|
|
private type = '';
|
|
|
private wallType = '';
|
|
|
+ private F_OutsideType = null;
|
|
|
// 处理内外墙api
|
|
|
private GetEntityToApi = {
|
|
|
outside: GetEntity,
|
|
|
@@ -249,7 +250,8 @@ export default class extends Vue {
|
|
|
const formData = new FormData();
|
|
|
// const userInfo: any = JSON.parse(window.localStorage.getItem("userInfoV1")!);
|
|
|
// formData.append('WXuserid', userInfo.loginName);
|
|
|
- formData.append('outsideType', 0);
|
|
|
+ const outsideType_val = this.F_OutsideType || 0;
|
|
|
+ formData.append('outsideType', outsideType_val);
|
|
|
this.GetReadStateToApi[this.wallType](formData).then(response => {
|
|
|
if (response.StatusCode == 200) {
|
|
|
this.readState = response.Data.readState;
|
|
|
@@ -260,6 +262,8 @@ export default class extends Vue {
|
|
|
const formData = new FormData();
|
|
|
// const userInfo: any = JSON.parse(window.localStorage.getItem("userInfoV1")!);
|
|
|
// formData.append('WXuserid', userInfo.loginName);
|
|
|
+ const outsideType_val = this.F_OutsideType || 0;
|
|
|
+ formData.append('outsideType', outsideType_val);
|
|
|
this.UpdateReadStateToApi[this.wallType](formData).then(response => { });
|
|
|
}
|
|
|
returnPage() {
|
|
|
@@ -317,6 +321,7 @@ export default class extends Vue {
|
|
|
this.StateCode = response.Data.StateCode;
|
|
|
this.StateInfo = response.Data.Description;
|
|
|
this.projectId = response.Data.ProjectID;
|
|
|
+ this.F_OutsideType = response.Data.F_OutsideType;
|
|
|
if (response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath) {
|
|
|
const high_Definition_img = response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultSmallFilePath;
|
|
|
that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|
|
|
@@ -362,6 +367,7 @@ export default class extends Vue {
|
|
|
if (response.Data) {
|
|
|
this.StateCode = response.Data.StateCode;
|
|
|
this.StateInfo = response.Data.Description;
|
|
|
+ this.F_OutsideType = response.Data.F_OutsideType;
|
|
|
if (response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath) {
|
|
|
const high_Definition_img = response.Data.F_ResultFilePath || response.Data.F_ResultlargeFilePath || response.Data.F_ResultlargeFilePath;
|
|
|
that.imageUrl = response.Data.BaseUrl + high_Definition_img;
|