update:bug更新
This commit is contained in:
@@ -19,17 +19,18 @@ export default {
|
|||||||
endValue: ""
|
endValue: ""
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
created() {},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.body.ontouchstart = function(e) {
|
document.body.ontouchstart = e => {
|
||||||
this.startValue = e.changedTouches[0].pageY;
|
this.startValue = e.changedTouches[0].pageY;
|
||||||
};
|
};
|
||||||
document.body.ontouchend = function(e) {
|
document.body.ontouchend = e => {
|
||||||
this.endValue = e.changedTouches[0].pageY;
|
this.endValue = e.changedTouches[0].pageY;
|
||||||
if (
|
if (
|
||||||
this.endValue - this.startValue > 50 &&
|
this.endValue - this.startValue > 50 &&
|
||||||
e.changedTouches[0].pageY === e.changedTouches[0].clientY
|
e.changedTouches[0].pageY === e.changedTouches[0].clientY
|
||||||
) {
|
) {
|
||||||
window.location.reload();
|
this.$children[0].onInit();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ Vue.use(Divider);
|
|||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
import md5 from "js-md5";
|
import md5 from "js-md5";
|
||||||
Vue.prototype.$md5 = md5;
|
Vue.prototype.$md5 = md5;
|
||||||
|
|
||||||
|
Vue.prototype.$bus = new Vue();
|
||||||
/* eslint-disable no-new */
|
/* eslint-disable no-new */
|
||||||
const vm = new Vue({
|
const vm = new Vue({
|
||||||
el: "#app",
|
el: "#app",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import $ from "jquery";
|
|||||||
export const changeStyle = function() {
|
export const changeStyle = function() {
|
||||||
$(".bottomContent").addClass("old_bottomContent");
|
$(".bottomContent").addClass("old_bottomContent");
|
||||||
$("#app").addClass("old_app");
|
$("#app").addClass("old_app");
|
||||||
|
$("#app").removeClass("old_app2");
|
||||||
};
|
};
|
||||||
|
|
||||||
export const changeBottomStyle = function() {
|
export const changeBottomStyle = function() {
|
||||||
|
|||||||
@@ -14,9 +14,7 @@ const router = new Router({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
name: "index",
|
redirect: "/index"
|
||||||
component: () =>
|
|
||||||
import ("../views")
|
|
||||||
},
|
},
|
||||||
// 选择项目页面
|
// 选择项目页面
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ const store = new Vuex.Store({
|
|||||||
// 评估详情页面类型
|
// 评估详情页面类型
|
||||||
type: "",
|
type: "",
|
||||||
//分户评估id
|
//分户评估id
|
||||||
id: ""
|
id: "",
|
||||||
|
isConfirmReload: false
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
getData: (state, data) => {
|
getData: (state, data) => {
|
||||||
@@ -27,6 +28,9 @@ const store = new Vuex.Store({
|
|||||||
// 设置分户评估id
|
// 设置分户评估id
|
||||||
setFhpgId: (state, id) => {
|
setFhpgId: (state, id) => {
|
||||||
state.id = id;
|
state.id = id;
|
||||||
|
},
|
||||||
|
aa: (state, data) => {
|
||||||
|
state.isConfirmReload = data;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
@@ -45,6 +49,9 @@ const store = new Vuex.Store({
|
|||||||
// 设置分户评估id
|
// 设置分户评估id
|
||||||
SET_FHPGID: ({ commit }, id) => {
|
SET_FHPGID: ({ commit }, id) => {
|
||||||
commit("setFhpgId", id);
|
commit("setFhpgId", id);
|
||||||
|
},
|
||||||
|
AA: ({ commit }, val) => {
|
||||||
|
commit("aa", val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
<div class="titleBox">
|
<div class="titleBox">
|
||||||
被征收人信息查询
|
被征收人信息查询
|
||||||
</div>
|
</div>
|
||||||
<div @click="toOlderMode()" class="mode">进入老年模式</div>
|
<div v-if="mode == false" @click="toOlderMode()" class="mode">
|
||||||
|
进入老年模式
|
||||||
|
</div>
|
||||||
|
<div v-else @click="toOlderMode()" class="mode">退出老年模式</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="baseInfo">
|
<div class="baseInfo">
|
||||||
<img src="@/assets/img/renyuanliebiao.png" />
|
<img src="@/assets/img/renyuanliebiao.png" />
|
||||||
@@ -164,7 +167,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class=" protocolBox">
|
<div class=" protocolBox">
|
||||||
<div
|
<div
|
||||||
:key="item.id"
|
:key="i"
|
||||||
@click="pageJump(item.id)"
|
@click="pageJump(item.id)"
|
||||||
class="protocolList"
|
class="protocolList"
|
||||||
v-for="(item, i) in data.policiesRegulationsLists.list"
|
v-for="(item, i) in data.policiesRegulationsLists.list"
|
||||||
@@ -203,13 +206,18 @@ export default {
|
|||||||
name: "home",
|
name: "home",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
mode: false,
|
||||||
data: {
|
data: {
|
||||||
idCard: "加载中...",
|
idCard: "加载中...",
|
||||||
userName: "加载中...",
|
userName: "加载中...",
|
||||||
policiesRegulationsLists: {
|
policiesRegulationsLists: {
|
||||||
totalCount: 0,
|
totalCount: 0,
|
||||||
list: [
|
list: [
|
||||||
{ title: "无数据", publicTime: "无数据", area: "无数据" },
|
{
|
||||||
|
title: "宁波市房屋建设和建筑管理局办公室",
|
||||||
|
publicTime: "无数据",
|
||||||
|
area: "无数据"
|
||||||
|
},
|
||||||
{ title: "无数据", publicTime: "无数据", area: "无数据" },
|
{ title: "无数据", publicTime: "无数据", area: "无数据" },
|
||||||
{ title: "无数据", publicTime: "无数据", area: "无数据" }
|
{ title: "无数据", publicTime: "无数据", area: "无数据" }
|
||||||
]
|
]
|
||||||
@@ -278,12 +286,12 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.onInit();
|
this.onInit();
|
||||||
console.log("this", this);
|
|
||||||
this.setLocationAplus();
|
this.setLocationAplus();
|
||||||
SetTicket(this.$route.query.ticket);
|
SetTicket(this.$route.query.ticket);
|
||||||
$(".logout").css("display", "none");
|
$(".logout").css("display", "none");
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
changeStyle();
|
changeStyle();
|
||||||
|
this.mode = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -305,7 +313,6 @@ export default {
|
|||||||
appKey: "es4b8zmz+2001833218+dehllx",
|
appKey: "es4b8zmz+2001833218+dehllx",
|
||||||
onSuccess: data => {
|
onSuccess: data => {
|
||||||
console.log("首页数据", data);
|
console.log("首页数据", data);
|
||||||
|
|
||||||
window.sessionStorage.setItem("homeData", JSON.stringify(data));
|
window.sessionStorage.setItem("homeData", JSON.stringify(data));
|
||||||
if (data.data.success) {
|
if (data.data.success) {
|
||||||
this.data = data.data.data;
|
this.data = data.data.data;
|
||||||
@@ -349,14 +356,14 @@ export default {
|
|||||||
toOlderMode() {
|
toOlderMode() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
sessionStorage.setItem("mode", "normal");
|
sessionStorage.setItem("mode", "normal");
|
||||||
$(".mode").text("进入老年模式");
|
this.mode = false;
|
||||||
$(".container").removeClass("old_container");
|
$(".container").removeClass("old_container");
|
||||||
$(".bottomContent").removeClass("old_bottomContent");
|
$(".bottomContent").removeClass("old_bottomContent");
|
||||||
$("#app").removeClass("old_app");
|
$("#app").removeClass("old_app");
|
||||||
} else {
|
} else {
|
||||||
sessionStorage.setItem("mode", "older");
|
sessionStorage.setItem("mode", "older");
|
||||||
|
this.mode = true;
|
||||||
changeStyle();
|
changeStyle();
|
||||||
$(".mode").text("退出老年模式");
|
|
||||||
$(".container").addClass("old_container");
|
$(".container").addClass("old_container");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -606,9 +613,6 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 27px;
|
height: 27px;
|
||||||
opacity: 0.82;
|
|
||||||
|
|
||||||
// background: #24bca3;
|
|
||||||
> div {
|
> div {
|
||||||
background: #24bca3;
|
background: #24bca3;
|
||||||
height: 27px;
|
height: 27px;
|
||||||
@@ -653,21 +657,18 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
img {
|
img {
|
||||||
height: 22px;
|
height: 22px;
|
||||||
padding: 0 10px;
|
padding: 0 7px;
|
||||||
}
|
}
|
||||||
:nth-child(2) {
|
:nth-child(2) {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #b3b5b9;
|
color: #b3b5b9;
|
||||||
|
|
||||||
width: 106px;
|
width: 106px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> :last-child {
|
> :last-child {
|
||||||
color: #363a44;
|
color: #363a44;
|
||||||
width: 55%;
|
width: 55%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blue {
|
.blue {
|
||||||
color: #3883f1;
|
color: #3883f1;
|
||||||
}
|
}
|
||||||
@@ -692,7 +693,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.assessCenter1 {
|
.assessCenter1 {
|
||||||
margin: 25px 22px 22px;
|
margin: 25px 16px 22px;
|
||||||
border-left: 2px solid #24bca3;
|
border-left: 2px solid #24bca3;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
> div {
|
> div {
|
||||||
@@ -705,8 +706,6 @@ export default {
|
|||||||
color: #b3b5b9;
|
color: #b3b5b9;
|
||||||
}
|
}
|
||||||
:nth-child(2) {
|
:nth-child(2) {
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
color: #363a44;
|
color: #363a44;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -732,7 +731,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.assessCenter2 {
|
.assessCenter2 {
|
||||||
margin: 25px 22px 22px;
|
margin: 25px 16px 22px;
|
||||||
border-left: 2px solid #ff5959;
|
border-left: 2px solid #ff5959;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
> div {
|
> div {
|
||||||
@@ -745,8 +744,6 @@ export default {
|
|||||||
color: #b3b5b9;
|
color: #b3b5b9;
|
||||||
}
|
}
|
||||||
:nth-child(2) {
|
:nth-child(2) {
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
color: #363a44;
|
color: #363a44;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -784,7 +781,7 @@ export default {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 294px;
|
// width: 294px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
color: #202020;
|
color: #202020;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
@@ -907,16 +904,21 @@ export default {
|
|||||||
> div {
|
> div {
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
font-size: 20px !important;
|
font-size: 20px !important;
|
||||||
|
padding-top: 15px !important;
|
||||||
|
white-space: unset !important;
|
||||||
}
|
}
|
||||||
> :nth-child(2) {
|
> :nth-child(2) {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
padding-top: 10px !important;
|
padding: 15px 0 5px !important;
|
||||||
span {
|
span {
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
display: block;
|
display: block;
|
||||||
height: unset !important;
|
height: unset !important;
|
||||||
line-height: 25px !important;
|
line-height: 25px !important;
|
||||||
}
|
}
|
||||||
|
> span:nth-child(2) {
|
||||||
|
padding-top: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
@@ -66,16 +68,9 @@ export default {
|
|||||||
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
||||||
);
|
);
|
||||||
}, 3000);
|
}, 3000);
|
||||||
} else if (result.data.message == "未上传附件") {
|
|
||||||
this.$message({
|
|
||||||
message: "无附件",
|
|
||||||
duration: 3000,
|
|
||||||
type: "info",
|
|
||||||
center: true
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "请求出错",
|
message: result.data.message,
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
type: "error",
|
type: "error",
|
||||||
center: true
|
center: true
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -20,11 +20,17 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
projectSelectChangeStyle();
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
$(".container").addClass("old_container");
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
|
$(".container").addClass("old_container");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 获取数据
|
// 获取数据
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
@@ -104,6 +106,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 获取数据
|
// 获取数据
|
||||||
onInit() {
|
onInit() {
|
||||||
|
console.log("项目");
|
||||||
this.type =
|
this.type =
|
||||||
this.$route.params.type || window.sessionStorage.getItem("type");
|
this.$route.params.type || window.sessionStorage.getItem("type");
|
||||||
if (this.$route.params.type) {
|
if (this.$route.params.type) {
|
||||||
@@ -258,7 +261,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.proListBox {
|
.proListBox {
|
||||||
height: 127px;
|
|
||||||
margin: 15px 20px;
|
margin: 15px 20px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -323,6 +325,10 @@ export default {
|
|||||||
.proTitleBox {
|
.proTitleBox {
|
||||||
font-size: 22px !important;
|
font-size: 22px !important;
|
||||||
}
|
}
|
||||||
|
.proTitleBox {
|
||||||
|
height: unset !important;
|
||||||
|
line-height: unset;
|
||||||
|
}
|
||||||
.proAreaBox {
|
.proAreaBox {
|
||||||
> :nth-child(2) {
|
> :nth-child(2) {
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
|
|||||||
@@ -81,6 +81,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
@@ -104,7 +106,7 @@ export default {
|
|||||||
this.prjListLength = prjList.bcxyList.length;
|
this.prjListLength = prjList.bcxyList.length;
|
||||||
} else {
|
} else {
|
||||||
let code = [6001, 6501];
|
let code = [6001, 6501];
|
||||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "登录超时,请重新登录",
|
message: "登录超时,请重新登录",
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
|
|||||||
@@ -88,6 +88,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
@@ -117,14 +119,13 @@ export default {
|
|||||||
onSuccess: data => {
|
onSuccess: data => {
|
||||||
console.log("分户评估", data);
|
console.log("分户评估", data);
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
|
|
||||||
window.sessionStorage.setItem("evaluateData", JSON.stringify(data));
|
window.sessionStorage.setItem("evaluateData", JSON.stringify(data));
|
||||||
if (data.data.success) {
|
if (data.data.success) {
|
||||||
const { data: res } = data.data;
|
const { data: res } = data.data;
|
||||||
this.info = res;
|
this.info = res;
|
||||||
} else {
|
} else {
|
||||||
let code = [6001, 6501];
|
let code = [6001, 6501];
|
||||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "登录超时,请重新登录",
|
message: "登录超时,请重新登录",
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
<span><b>非住宅</b></span>
|
<span><b>非住宅</b></span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
:key="item.assessmentNo"
|
:key="item.id"
|
||||||
v-for="item in info.prjList.fhpgList"
|
v-for="item in info.prjList.fhpgList"
|
||||||
@click="pageJump(item.id, item.type)"
|
@click="pageJump(item.id, item.type)"
|
||||||
>
|
>
|
||||||
@@ -146,6 +146,8 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
if (sessionStorage.getItem("mode") == "older") {
|
if (sessionStorage.getItem("mode") == "older") {
|
||||||
projectSelectChangeStyle();
|
projectSelectChangeStyle();
|
||||||
|
} else {
|
||||||
|
$(".logout").css("display", "none");
|
||||||
}
|
}
|
||||||
this.onInit();
|
this.onInit();
|
||||||
},
|
},
|
||||||
@@ -170,7 +172,7 @@ export default {
|
|||||||
this.prjListLength = prjList.fhpgList.length;
|
this.prjListLength = prjList.fhpgList.length;
|
||||||
} else {
|
} else {
|
||||||
let code = [6001, 6501];
|
let code = [6001, 6501];
|
||||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: "登录超时,请重新登录",
|
message: "登录超时,请重新登录",
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
@@ -303,6 +305,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.old_container {
|
.old_container {
|
||||||
|
font-size: 18px;
|
||||||
.el-card__body {
|
.el-card__body {
|
||||||
> div {
|
> div {
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user