update:增加ticket过期提示,请求提示,下拉刷新
This commit is contained in:
@@ -15,10 +15,6 @@
|
||||
class="baseImg"
|
||||
/>
|
||||
</div>
|
||||
<div class="bottomContent">
|
||||
<p>本服务由浙江政务服务网、宁波市住房保障和房屋征收管理中心提供</p>
|
||||
<p>服务咨询热线:<b>0574-88086606</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -41,11 +37,40 @@ export default {
|
||||
methods: {
|
||||
onInit() {
|
||||
let result = JSON.parse(window.sessionStorage.getItem("evaluateData"));
|
||||
if (result.data && result.data.success == true) {
|
||||
if (result.data.success) {
|
||||
this.apidata = result.data.data;
|
||||
this.pic_width = "100%";
|
||||
this.pic_height = "100%";
|
||||
this.isloading = false;
|
||||
} else {
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true
|
||||
});
|
||||
setTimeout(() => {
|
||||
window.location.replace(
|
||||
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
||||
);
|
||||
}, 3000);
|
||||
} else if (result.data.message == "未上传附件") {
|
||||
this.$message({
|
||||
message: "无附件",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true
|
||||
});
|
||||
} else {
|
||||
this.$message({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
saveImages() {
|
||||
@@ -109,17 +134,4 @@ export default {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
}
|
||||
.bottomContent {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
font-size: 10px;
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
b {
|
||||
color: #5d8cbc;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user