增加无项目提示,
This commit is contained in:
@@ -208,8 +208,8 @@ export default {
|
|||||||
mode: false,
|
mode: false,
|
||||||
loading: true,
|
loading: true,
|
||||||
data: {
|
data: {
|
||||||
idCard: "无数据",
|
idCard: "加载中...",
|
||||||
userName: "无数据",
|
userName: "加载中...",
|
||||||
policiesRegulationsLists: {
|
policiesRegulationsLists: {
|
||||||
totalCount: 0,
|
totalCount: 0,
|
||||||
list: [
|
list: [
|
||||||
@@ -222,6 +222,7 @@ export default {
|
|||||||
// { title: "无数据", publicTime: "无数据", area: "无数据" }
|
// { title: "无数据", publicTime: "无数据", area: "无数据" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
// prjList: [{}, {}]
|
||||||
// prjList: [
|
// prjList: [
|
||||||
// {
|
// {
|
||||||
// name: "无数据",
|
// name: "无数据",
|
||||||
@@ -379,7 +380,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setIdCard(id) {
|
setIdCard(id) {
|
||||||
return id == "无数据"
|
return id == "加载中..."
|
||||||
? id
|
? id
|
||||||
: id.substr(0, 6) + "********" + id.substr(14, 4);
|
: id.substr(0, 6) + "********" + id.substr(14, 4);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
loading: true,
|
loading: true,
|
||||||
info: {
|
info: {
|
||||||
title: "无数据",
|
title: "加载中...",
|
||||||
publicTime: "无数据"
|
publicTime: "加载中..."
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -99,8 +99,18 @@ export default {
|
|||||||
window.sessionStorage.setItem("type", this.$route.params.type);
|
window.sessionStorage.setItem("type", this.$route.params.type);
|
||||||
}
|
}
|
||||||
let result = JSON.parse(window.sessionStorage.getItem("homeData"));
|
let result = JSON.parse(window.sessionStorage.getItem("homeData"));
|
||||||
|
// console.log("啊", result);
|
||||||
if (result.data.success) {
|
if (result.data.success) {
|
||||||
this.info = result.data.data;
|
this.info = result.data.data;
|
||||||
|
|
||||||
|
if (result.data.data.prjList.length == 0) {
|
||||||
|
this.$message({
|
||||||
|
message: "无征收项目",
|
||||||
|
duration: 3000,
|
||||||
|
type: "info",
|
||||||
|
center: true
|
||||||
|
});
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
let code = [6001, 6501];
|
let code = [6001, 6501];
|
||||||
if (code.indexOf(result.data.bizCode) != -1) {
|
if (code.indexOf(result.data.bizCode) != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user