update:代码净化
This commit is contained in:
@@ -205,14 +205,13 @@ export default {
|
||||
return {
|
||||
mode: false,
|
||||
data: {
|
||||
// 522121123456789102223
|
||||
idCard: "522121123456789102223",
|
||||
userName: "加载中...",
|
||||
idCard: "",
|
||||
userName: "无数据",
|
||||
policiesRegulationsLists: {
|
||||
totalCount: 0,
|
||||
list: [
|
||||
{
|
||||
title: "宁波市房屋建设和建筑管理局办公室",
|
||||
title: "无数据",
|
||||
publicTime: "无数据",
|
||||
area: "无数据"
|
||||
},
|
||||
@@ -222,41 +221,41 @@ export default {
|
||||
},
|
||||
prjList: [
|
||||
{
|
||||
name: "请求出错暂时没有可用数据",
|
||||
currentState: "处于什么阶段",
|
||||
area: "宁波市房屋建设管理办公室九号楼项目办公室",
|
||||
name: "无数据",
|
||||
currentState: "无数据",
|
||||
area: "无数据",
|
||||
zsbm: "无数据",
|
||||
year: "无数据",
|
||||
zsjdh: "无数据",
|
||||
fhpgList: [
|
||||
{
|
||||
assessmentNo: "宁波市房屋建设和建筑管理局办公室",
|
||||
houseAddress: "宁波市房屋建设和建筑管理局办公室",
|
||||
assessmentNo: "无数据",
|
||||
houseAddress: "无数据",
|
||||
countValue: "无数据"
|
||||
},
|
||||
{
|
||||
assessmentNo: "宁波市房屋建设和建筑管理局办公室",
|
||||
houseAddress: "宁波市房屋建设和建筑管理局办公室",
|
||||
assessmentNo: "无数据",
|
||||
houseAddress: "无数据",
|
||||
countValue: "无数据"
|
||||
}
|
||||
],
|
||||
bcxyList: [
|
||||
{
|
||||
xyNo: "无数据",
|
||||
houseAddress: "宁波市房屋建设和建筑管理局办公室",
|
||||
houseAddress: "无数据",
|
||||
switchProductionWay: "无数据",
|
||||
summationShouldCompensateMoney: "无数据"
|
||||
},
|
||||
{
|
||||
xyNo: "无数据",
|
||||
houseAddress: "宁波市房屋建设和建筑管理局办公室",
|
||||
houseAddress: "无数据",
|
||||
switchProductionWay: "无数据",
|
||||
summationShouldCompensateMoney: "无数据"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "请求出错",
|
||||
name: "无数据",
|
||||
currentState: "无数据",
|
||||
area: "无数据",
|
||||
zsbm: "无数据",
|
||||
@@ -318,7 +317,6 @@ export default {
|
||||
},
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: data => {
|
||||
console.log("首页数据", data);
|
||||
window.sessionStorage.setItem("homeData", JSON.stringify(data));
|
||||
if (data.data.success) {
|
||||
this.data = data.data.data;
|
||||
@@ -364,6 +362,7 @@ export default {
|
||||
if (sessionStorage.getItem("mode") == "older") {
|
||||
$("#app").addClass("old_app3");
|
||||
sessionStorage.setItem("mode", "normal");
|
||||
this.$parent.$parent.mode = false;
|
||||
this.mode = false;
|
||||
$(".container").removeClass("old_container");
|
||||
$(".bottomContent").removeClass("old_bottomContent");
|
||||
@@ -371,6 +370,7 @@ export default {
|
||||
} else {
|
||||
$("#app").removeClass("old_app3");
|
||||
sessionStorage.setItem("mode", "older");
|
||||
this.$parent.$parent.mode = true;
|
||||
this.mode = true;
|
||||
changeStyle();
|
||||
$(".container").addClass("old_container");
|
||||
@@ -457,17 +457,17 @@ export default {
|
||||
},
|
||||
setLocationAplus() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
console.log("初始化完成后,执行bridge方法");
|
||||
// console.log("初始化完成后,执行bridge方法");
|
||||
ZWJSBridge.getUserType()
|
||||
.then(result1 => {
|
||||
console.log("getUserType():" + JSON.stringify(result1));
|
||||
console.log("result1.userType:" + result1.userType);
|
||||
// console.log("getUserType():" + JSON.stringify(result1));
|
||||
// console.log("result1.userType:" + result1.userType);
|
||||
//经纬度
|
||||
ZWJSBridge.getLocation()
|
||||
.then(result2 => {
|
||||
console.log("getLocation():" + JSON.stringify(result2));
|
||||
console.log("result2.longitude:" + result2.longitude);
|
||||
console.log("result2.latitude:" + result2.latitude);
|
||||
// console.log("getLocation():" + JSON.stringify(result2));
|
||||
// console.log("result2.longitude:" + result2.longitude);
|
||||
// console.log("result2.latitude:" + result2.latitude);
|
||||
aplus_queue.push({
|
||||
action: "aplus.sendPV",
|
||||
arguments: [
|
||||
@@ -486,11 +486,11 @@ export default {
|
||||
});
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
});
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -78,30 +78,30 @@ export default {
|
||||
},
|
||||
saveImages() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
console.log("初始化完成后,执行bridge方法-saveImages");
|
||||
// console.log("初始化完成后,执行bridge方法-saveImages");
|
||||
ZWJSBridge.saveImage({
|
||||
url: this.apidata.pdf
|
||||
})
|
||||
.then(result => {
|
||||
console.log("saveImage()成功:" + JSON.stringify(result));
|
||||
// console.log("saveImage()成功:" + JSON.stringify(result));
|
||||
})
|
||||
.catch(error => {
|
||||
console.log("saveImage()失败:" + JSON.stringify(result));
|
||||
console.log(error);
|
||||
// console.log("saveImage()失败:" + JSON.stringify(result));
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
},
|
||||
testdownload4() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
console.log("初始化完成后,执行bridge方法-testdownload4");
|
||||
// console.log("初始化完成后,执行bridge方法-testdownload4");
|
||||
ZWJSBridge.openLink({
|
||||
url: this.apidata.pdf
|
||||
})
|
||||
.then(result => {
|
||||
console.log("测试新开窗口():" + result);
|
||||
// console.log("测试新开窗口():" + result);
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -62,7 +62,6 @@ export default {
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: result => {
|
||||
if (result.data.success) {
|
||||
console.log("result.data.data:", result.data.data);
|
||||
this.apidata = result.data.data;
|
||||
this.pic_width = "100%";
|
||||
this.pic_height = "100%";
|
||||
@@ -99,30 +98,30 @@ export default {
|
||||
},
|
||||
saveImages() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
console.log("初始化完成后,执行bridge方法-saveImages");
|
||||
// console.log("初始化完成后,执行bridge方法-saveImages");
|
||||
ZWJSBridge.saveImage({
|
||||
url: this.apidata.pdf
|
||||
})
|
||||
.then(result => {
|
||||
console.log("saveImage()成功:" + JSON.stringify(result));
|
||||
// console.log("saveImage()成功:" + JSON.stringify(result));
|
||||
})
|
||||
.catch(error => {
|
||||
console.log("saveImage()失败:" + JSON.stringify(result));
|
||||
console.log(error);
|
||||
// console.log("saveImage()失败:" + JSON.stringify(result));
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
},
|
||||
testdownload4() {
|
||||
ZWJSBridge.onReady(() => {
|
||||
console.log("初始化完成后,执行bridge方法-testdownload4");
|
||||
// console.log("初始化完成后,执行bridge方法-testdownload4");
|
||||
ZWJSBridge.openLink({
|
||||
url: this.apidata.pdf
|
||||
})
|
||||
.then(result => {
|
||||
console.log("测试新开窗口():" + result);
|
||||
// console.log("测试新开窗口():" + result);
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
// console.log(error);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ export default {
|
||||
return {
|
||||
info: {
|
||||
title: "无数据",
|
||||
publicTime: "2020-1-1"
|
||||
publicTime: "无数据"
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -49,7 +49,6 @@ export default {
|
||||
onSuccess: data => {
|
||||
if (data.data.success) {
|
||||
const { data: res } = data;
|
||||
console.log("res.data", res.data);
|
||||
this.info = res.data;
|
||||
let content = document.querySelector(".content");
|
||||
content.innerHTML = res.data.contents;
|
||||
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
// 初始数据
|
||||
info: {
|
||||
userName: "无数据",
|
||||
idCard: "522121123456789102223",
|
||||
idCard: "无数据",
|
||||
prjList: [
|
||||
{
|
||||
area: "无数据",
|
||||
@@ -301,7 +301,7 @@ export default {
|
||||
span:nth-child(2) {
|
||||
word-break: break-all;
|
||||
line-height: 36px;
|
||||
margin-top: -4px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,8 +68,8 @@ export default {
|
||||
date: "无数据",
|
||||
xyNo: "无数据",
|
||||
switchProductionWay: "无数据",
|
||||
countValue: "1000",
|
||||
signTime: "2021-9-28 10:07:24 aaaaaaaaaaa"
|
||||
countValue: "无数据",
|
||||
signTime: "无数据"
|
||||
}
|
||||
],
|
||||
fhpgList: [{ countValue: "无数据", assessmentNo: "无数据" }]
|
||||
|
||||
@@ -70,17 +70,17 @@ export default {
|
||||
return {
|
||||
isLoading: true,
|
||||
info: {
|
||||
houseAddress: "宁波市档案管理和数据中心百丈东路口",
|
||||
valuationMethodText: "价值录入",
|
||||
houseAddress: "无数据",
|
||||
valuationMethodText: "无数据",
|
||||
assessmentNo: "无数据",
|
||||
number: "0001",
|
||||
number: "无数据",
|
||||
housingAssessmentValue: "",
|
||||
countValue: "",
|
||||
attachedAssessedValue: "",
|
||||
decorateAssessedValue: "",
|
||||
exceedLandMoney: "报告录入",
|
||||
atticAssessedValue: "报告录入",
|
||||
remark: "Remark",
|
||||
exceedLandMoney: "无数据",
|
||||
atticAssessedValue: "无数据",
|
||||
remark: "无数据",
|
||||
isExistPdf: true
|
||||
}
|
||||
};
|
||||
@@ -115,7 +115,6 @@ export default {
|
||||
},
|
||||
appKey: "es4b8zmz+2001833218+dehllx",
|
||||
onSuccess: data => {
|
||||
console.log("分户评估", data);
|
||||
this.isLoading = false;
|
||||
window.sessionStorage.setItem("evaluateData", JSON.stringify(data));
|
||||
if (data.data.success) {
|
||||
|
||||
@@ -123,16 +123,16 @@ export default {
|
||||
fhpgList: [
|
||||
{
|
||||
assessmentNo: "无数据",
|
||||
houseAddress: "宁波市档案管理和数据中心百丈东路口",
|
||||
countValue: "1000",
|
||||
houseAddress: "无数据",
|
||||
countValue: "无数据",
|
||||
type: "1",
|
||||
createUserName: "无数据",
|
||||
createTime: "无数据"
|
||||
},
|
||||
{
|
||||
assessmentNo: "无数据",
|
||||
houseAddress: "宁波市档案管理和数据中心百丈东路口",
|
||||
countValue: "2000",
|
||||
houseAddress: "无数据",
|
||||
countValue: "无数据",
|
||||
type: "2",
|
||||
createUserName: "无数据",
|
||||
createTime: "无数据"
|
||||
|
||||
Reference in New Issue
Block a user