去除前端element
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
],
|
||||
"plugins": [
|
||||
"transform-vue-jsx",
|
||||
"transform-runtime",
|
||||
["import", {
|
||||
"transform-runtime"
|
||||
/* ["import", {
|
||||
"libraryName": "vant",
|
||||
"libraryDirectory": "es",
|
||||
"style": true
|
||||
}]
|
||||
}] */
|
||||
]
|
||||
}
|
||||
|
||||
90
FrontCode2/sunshine_levy/package-lock.json
generated
90
FrontCode2/sunshine_levy/package-lock.json
generated
@@ -2848,14 +2848,6 @@
|
||||
"async-done": "^1.2.2"
|
||||
}
|
||||
},
|
||||
"async-validator": {
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.8.5.tgz",
|
||||
"integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==",
|
||||
"requires": {
|
||||
"babel-runtime": "6.x"
|
||||
}
|
||||
},
|
||||
"asynckit": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||
@@ -2896,18 +2888,11 @@
|
||||
"integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
|
||||
},
|
||||
"axios": {
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"version": "0.21.4",
|
||||
"resolved": "https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz",
|
||||
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.14.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"follow-redirects": {
|
||||
"version": "1.14.6",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz",
|
||||
"integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A=="
|
||||
}
|
||||
"follow-redirects": "^1.14.0"
|
||||
}
|
||||
},
|
||||
"babel-code-frame": {
|
||||
@@ -3175,7 +3160,8 @@
|
||||
"babel-helper-vue-jsx-merge-props": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
|
||||
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
|
||||
"integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==",
|
||||
"dev": true
|
||||
},
|
||||
"babel-helpers": {
|
||||
"version": "6.24.1",
|
||||
@@ -3852,6 +3838,7 @@
|
||||
"version": "6.26.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"core-js": "^2.4.0",
|
||||
"regenerator-runtime": "^0.11.0"
|
||||
@@ -5747,7 +5734,8 @@
|
||||
"core-js": {
|
||||
"version": "2.6.12",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
|
||||
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
|
||||
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
|
||||
"dev": true
|
||||
},
|
||||
"core-js-compat": {
|
||||
"version": "3.20.0",
|
||||
@@ -7299,19 +7287,6 @@
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.830.tgz",
|
||||
"integrity": "sha512-gBN7wNAxV5vl1430dG+XRcQhD4pIeYeak6p6rjdCtlz5wWNwDad8jwvphe5oi1chL5MV6RNRikfffBBiFuj+rQ=="
|
||||
},
|
||||
"element-ui": {
|
||||
"version": "2.15.6",
|
||||
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.15.6.tgz",
|
||||
"integrity": "sha512-rcYXEKd/j2G0AgficAOk1Zd1AsnHRkhmrK4yLHmNOiimU2JfsywgfKUjMoFuT6pQx0luhovj8lFjpE4Fnt58Iw==",
|
||||
"requires": {
|
||||
"async-validator": "~1.8.1",
|
||||
"babel-helper-vue-jsx-merge-props": "^2.0.0",
|
||||
"deepmerge": "^1.2.0",
|
||||
"normalize-wheel": "^1.0.1",
|
||||
"resize-observer-polyfill": "^1.5.0",
|
||||
"throttle-debounce": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"elliptic": {
|
||||
"version": "6.5.4",
|
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
|
||||
@@ -8111,8 +8086,7 @@
|
||||
"follow-redirects": {
|
||||
"version": "1.14.3",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz",
|
||||
"integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==",
|
||||
"dev": true
|
||||
"integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw=="
|
||||
},
|
||||
"for-in": {
|
||||
"version": "1.0.2",
|
||||
@@ -10349,6 +10323,14 @@
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
|
||||
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
|
||||
},
|
||||
"axios": {
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmmirror.com/axios/download/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.14.4"
|
||||
}
|
||||
},
|
||||
"camelcase": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
|
||||
@@ -10407,6 +10389,11 @@
|
||||
"strip-final-newline": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.14.6",
|
||||
"resolved": "https://registry.npmmirror.com/follow-redirects/download/follow-redirects-1.14.6.tgz",
|
||||
"integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A=="
|
||||
},
|
||||
"fs-extra": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
|
||||
@@ -12564,11 +12551,6 @@
|
||||
"sort-keys": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"normalize-wheel": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
|
||||
"integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
|
||||
},
|
||||
"now-and-later": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.1.tgz",
|
||||
@@ -16884,6 +16866,14 @@
|
||||
"miniapp-builder-shared": "^0.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": {
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmmirror.com/axios/download/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.14.4"
|
||||
}
|
||||
},
|
||||
"cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||
@@ -16920,6 +16910,11 @@
|
||||
"strip-final-newline": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.14.6",
|
||||
"resolved": "https://registry.npmmirror.com/follow-redirects/download/follow-redirects-1.14.6.tgz",
|
||||
"integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A=="
|
||||
},
|
||||
"fs-extra": {
|
||||
"version": "9.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
|
||||
@@ -17701,7 +17696,8 @@
|
||||
"regenerator-runtime": {
|
||||
"version": "0.11.1",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
|
||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
|
||||
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
|
||||
"dev": true
|
||||
},
|
||||
"regenerator-transform": {
|
||||
"version": "0.10.1",
|
||||
@@ -17978,11 +17974,6 @@
|
||||
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
|
||||
"dev": true
|
||||
},
|
||||
"resize-observer-polyfill": {
|
||||
"version": "1.5.1",
|
||||
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
|
||||
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.20.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
|
||||
@@ -19354,11 +19345,6 @@
|
||||
"thenify": ">= 3.1.0 < 4"
|
||||
}
|
||||
},
|
||||
"throttle-debounce": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-1.1.0.tgz",
|
||||
"integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=="
|
||||
},
|
||||
"throttleit": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz",
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"dependencies": {
|
||||
"@aligov/jssdk-mgop": "^3.0.0",
|
||||
"axios": "^0.21.4",
|
||||
"element-ui": "^2.15.6",
|
||||
"es6-promise": "^4.2.8",
|
||||
"html2canvas": "^1.3.2",
|
||||
"js-md5": "^0.7.3",
|
||||
|
||||
@@ -4,70 +4,25 @@
|
||||
import "lib-flexible/flexible";
|
||||
// import "@/assets/rem.js";
|
||||
|
||||
import "@/elementui";
|
||||
/* import "@/elementui";
|
||||
import ElementUI from "element-ui";
|
||||
import "element-ui/lib/theme-chalk/index.css";
|
||||
Vue.use(ElementUI);
|
||||
*/
|
||||
|
||||
|
||||
import Vue from "vue";
|
||||
import App from "./App";
|
||||
import router from "./router";
|
||||
import "@/assets/css/global.css";
|
||||
import {
|
||||
Button,
|
||||
NavBar,
|
||||
Cell,
|
||||
CellGroup,
|
||||
Notify,
|
||||
PullRefresh,
|
||||
Toast,
|
||||
Overlay,
|
||||
Collapse,
|
||||
CollapseItem
|
||||
} from "vant";
|
||||
|
||||
Vue.use(Collapse);
|
||||
Vue.use(CollapseItem);
|
||||
import Vant from 'vant';
|
||||
import 'vant/lib/index.css';
|
||||
|
||||
Vue.use(Button)
|
||||
.use(NavBar)
|
||||
.use(Cell)
|
||||
.use(CellGroup);
|
||||
Vue.use(PullRefresh);
|
||||
Vue.use(Toast);
|
||||
Vue.use(Overlay);
|
||||
|
||||
Vue.use(ElementUI);
|
||||
|
||||
Vue.use(Notify);
|
||||
|
||||
import { Image as VanImage } from "vant";
|
||||
|
||||
Vue.use(VanImage);
|
||||
|
||||
import { Col, Row } from "vant";
|
||||
|
||||
Vue.use(Col);
|
||||
Vue.use(Row);
|
||||
|
||||
import { Grid, GridItem } from "vant";
|
||||
|
||||
Vue.use(Grid);
|
||||
Vue.use(GridItem);
|
||||
|
||||
import { Icon } from "vant";
|
||||
|
||||
Vue.use(Icon);
|
||||
|
||||
import { List } from "vant";
|
||||
|
||||
Vue.use(List);
|
||||
|
||||
import { Divider } from "vant";
|
||||
|
||||
Vue.use(Divider);
|
||||
Vue.use(Vant);
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
debugger
|
||||
|
||||
let mode;
|
||||
if (sessionStorage.getItem("mode") == "older") {
|
||||
mode = true;
|
||||
|
||||
@@ -335,35 +335,48 @@ export default {
|
||||
var errorCodes = [6001, 6501];
|
||||
// 跳转到政务系统;
|
||||
if (errorCodes.indexOf(data.data.bizCode) > -1) {
|
||||
this.$message({
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
/* 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 {
|
||||
this.$message({
|
||||
this.$toast({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
|
||||
/* this.$message({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: (err) => {
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
/* this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
});
|
||||
}); */
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -485,12 +498,18 @@ export default {
|
||||
if (data.text.indexOf("http") > -1) {
|
||||
window.location.replace(data.text);
|
||||
} else {
|
||||
this.$toast({
|
||||
message: data.text,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
/*
|
||||
this.$message({
|
||||
message: data.text,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@@ -3,12 +3,20 @@
|
||||
style="margin: 0 auto"
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
@click="testdownload4()"
|
||||
style="display: block; margin: 0 auto"
|
||||
:loading="isloading"
|
||||
>下载到手机</el-button
|
||||
> -->
|
||||
<van-button
|
||||
class="van-button"
|
||||
type="primary"
|
||||
@click="testdownload4()"
|
||||
style="display: block; margin: 0 auto"
|
||||
:loading="isloading"
|
||||
>下载到手机</van-button
|
||||
>
|
||||
<div v-for="(item, index) in apidata.pics" :key="index" class="divbaseImg">
|
||||
<van-image
|
||||
@@ -61,24 +69,38 @@ export default {
|
||||
this.isloading = false;
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
/*
|
||||
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 {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: result.data.message,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
|
||||
/* this.$message({
|
||||
message: result.data.message,
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -116,7 +138,7 @@ export default {
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.container {
|
||||
.el-button {
|
||||
.van-button {
|
||||
height: 48px;
|
||||
border-radius: 4px;
|
||||
font-size: 18px;
|
||||
@@ -149,7 +171,7 @@ export default {
|
||||
}
|
||||
|
||||
.old_container {
|
||||
.el-button {
|
||||
.van-button {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div style="margin: 0 auto" :class="mode ? 'old_container' : 'container'">
|
||||
<el-button
|
||||
<van-button
|
||||
type="primary"
|
||||
@click="testdownload4()"
|
||||
style="display: block; margin: 0 auto"
|
||||
:loading="isloading"
|
||||
>下载到手机</el-button
|
||||
>下载到手机</van-button
|
||||
>
|
||||
<div v-for="(item, index) in apidata.pics" :key="index" class="divbaseImg">
|
||||
<van-image
|
||||
@@ -75,24 +75,34 @@ export default {
|
||||
this.isloading = false;
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
/* this.$message({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
setTimeout(() => {
|
||||
window.location.replace(
|
||||
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
|
||||
);
|
||||
}, 3000);
|
||||
} else {
|
||||
this.$message({
|
||||
/* this.$message({
|
||||
message: result.data.message,
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
this.$toast({
|
||||
message: result.data.message,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -134,7 +144,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.el-button {
|
||||
.van-button {
|
||||
height: 48px;
|
||||
border-radius: 4px;
|
||||
font-size: 18px;
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
<template>
|
||||
<div
|
||||
<!-- <div
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
v-loading="loading"
|
||||
element-loading-text="页面加载中"
|
||||
element-loading-spinner="el-icon-loading"
|
||||
element-loading-background="#FFFFFF"
|
||||
> -->
|
||||
<div
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
>
|
||||
|
||||
|
||||
<!-- v-loading="loading"
|
||||
van-loading-text="页面加载中"
|
||||
van-loading-spinner="el-icon-loading"
|
||||
van-loading-background="#FFFFFF" -->
|
||||
<div class="title">{{ info.title }}</div>
|
||||
<div class="date">{{ modifyDate(info.publicTime) }}</div>
|
||||
<hr />
|
||||
@@ -65,35 +74,51 @@ export default {
|
||||
} else {
|
||||
let code = [6501, 6001];
|
||||
if (code.indexOf(data.data.bizCode) != -1) {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})/* */
|
||||
|
||||
/* 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 {
|
||||
this.$message({
|
||||
this.$toast({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
/* this.$message({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: function (err) {
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
|
||||
|
||||
/* this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
type: "error",
|
||||
duration: 3000,
|
||||
});
|
||||
}); */
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
@@ -114,12 +114,19 @@ export default {
|
||||
} else {
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != -1) {
|
||||
this.$message({
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
|
||||
/* 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"
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
<div
|
||||
:key="index"
|
||||
v-for="(item, index) in info.prjList.bcxyList"
|
||||
class="content"
|
||||
class="content van-card"
|
||||
>
|
||||
<el-card body-style="padding:0 4px 0">
|
||||
<div class="van-card__body" body-style="padding:0 4px 0">
|
||||
<div>
|
||||
<img alt src="@/assets/img/bianhao.png" />
|
||||
<span>协议编号</span>
|
||||
@@ -46,11 +46,11 @@
|
||||
<img alt src="@/assets/img/hengxian.png" />
|
||||
</div>
|
||||
<div class="smallBox">
|
||||
<el-button type="primary" @click="showPdf(item.id)"
|
||||
>查看协议附件</el-button
|
||||
<van-button type="primary" @click="showPdf(item.id)"
|
||||
>查看协议附件</van-button
|
||||
>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -59,8 +59,9 @@ import { SetProjectId } from "@/common/util/tools";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
info: {
|
||||
mode: "",
|
||||
info: {
|
||||
|
||||
userName: "无数据",
|
||||
prjList: {
|
||||
bcxyList: [
|
||||
@@ -96,7 +97,6 @@ export default {
|
||||
this.mode = val;
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
onInit() {
|
||||
if (this.$route.params.prjId) {
|
||||
@@ -113,12 +113,17 @@ export default {
|
||||
} else {
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
/* 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"
|
||||
@@ -150,9 +155,9 @@ export default {
|
||||
text-align: center;
|
||||
color: #2d6df2;
|
||||
}
|
||||
.el-card {
|
||||
.van-card {
|
||||
margin: 0 10px 10px;
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
.blue {
|
||||
color: #3c70dd;
|
||||
font-size: 16px;
|
||||
@@ -190,7 +195,7 @@ export default {
|
||||
|
||||
.smallBox {
|
||||
height: auto;
|
||||
.el-button {
|
||||
.van-button {
|
||||
font-size: 16px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -200,7 +205,7 @@ export default {
|
||||
}
|
||||
.old_container {
|
||||
font-size: 18px;
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
.blue {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
@@ -209,9 +214,13 @@ export default {
|
||||
}
|
||||
> div {
|
||||
> span {
|
||||
font-size: 18px;
|
||||
width: 109px !important;
|
||||
margin-right: 20px;
|
||||
}
|
||||
>b{
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<template>
|
||||
<div
|
||||
:class="'container' + (mode ? ' old_container' : '')"
|
||||
v-loading="loading"
|
||||
>
|
||||
<!-- <van-loading v-show="loading" type="spinner" color="#1989fa" /> -->
|
||||
<!-- v-loading="loading"
|
||||
element-loading-text="页面加载中"
|
||||
element-loading-spinner="el-icon-loading"
|
||||
element-loading-background="#FFFFFF"
|
||||
>
|
||||
element-loading-background="#FFFFFF" -->
|
||||
<div class="top">
|
||||
<div>
|
||||
<div>
|
||||
@@ -30,7 +31,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 卡片视图部分 -->
|
||||
<el-card :body-style="{ padding: '0px' }">
|
||||
<div :body-style="{ padding: '0px' }" class="van-card">
|
||||
<div class="van-card__body">
|
||||
<div>
|
||||
<span>被征收房屋评估金额:</span>
|
||||
<span>{{ info.housingAssessmentValue }}元</span>
|
||||
@@ -63,10 +65,11 @@
|
||||
<span>备注:</span>
|
||||
<div>{{ info.remark }}</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<el-button type="primary" :loading="isLoading" @click="pageJump()"
|
||||
>查看评估报告</el-button
|
||||
<van-button type="primary" :loading="isLoading" @click="pageJump()"
|
||||
>查看评估报告</van-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,36 +141,57 @@ export default {
|
||||
} else {
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
|
||||
/* 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 {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
|
||||
|
||||
/* this.$message({
|
||||
message: "请求出错",
|
||||
type: "error",
|
||||
duration: 3000,
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: (err) => {
|
||||
this.isLoading = false;
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
|
||||
|
||||
/* this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
type: "info",
|
||||
duration: 3000,
|
||||
});
|
||||
}); */
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -178,11 +202,12 @@ export default {
|
||||
name: "evaluateResultPdf",
|
||||
});
|
||||
} else {
|
||||
this.$notify({
|
||||
this.$notify({ type: 'warning', message: '无报告',duration: 3000, });
|
||||
/* this.$notify({
|
||||
message: "无报告",
|
||||
duration: 3000,
|
||||
type: "waring",
|
||||
});
|
||||
}); */
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -223,9 +248,9 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-card {
|
||||
.van-card {
|
||||
margin: 10px 10px 30px;
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
> div {
|
||||
margin: 20px 7px;
|
||||
display: flex;
|
||||
@@ -266,15 +291,16 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
> div {
|
||||
line-height: 34px;
|
||||
> span:nth-child(2) {
|
||||
|
||||
> span {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-button {
|
||||
.van-button {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,9 +13,10 @@
|
||||
:key="index"
|
||||
v-for="(item, index) in info.prjList.fhpgList"
|
||||
@click="pageJump(item.id, item.type)"
|
||||
class="van-card"
|
||||
>
|
||||
<div v-if="item.type === '1'">
|
||||
<el-card body-style="padding:4px">
|
||||
<div v-if="item.type === '1'" class="">
|
||||
<div body-style="padding:4px" class="van-card__body">
|
||||
<div class="absolute">
|
||||
<span>住宅</span>
|
||||
</div>
|
||||
@@ -45,7 +46,7 @@
|
||||
<span> 评估公司</span>
|
||||
<b>{{ item.EvaluationCompany }}</b>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 标题区 -->
|
||||
@@ -59,7 +60,7 @@
|
||||
@click="pageJump(item.id, item.type)"
|
||||
>
|
||||
<div v-if="item.type == '2'" >
|
||||
<el-card body-style="padding:4px">
|
||||
<div body-style="padding:4px" class="van-card__body">
|
||||
<div class="absolute" style="background: #268ff2">
|
||||
<span>商业</span>
|
||||
</div>
|
||||
@@ -89,7 +90,7 @@
|
||||
<span> 评估公司</span>
|
||||
<b>{{ item.EvaluationCompany }}</b>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -99,8 +100,8 @@ import { SetProjectId } from "@/common/util/tools";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
info: {
|
||||
mode: "",
|
||||
info: {
|
||||
userName: "无数据",
|
||||
prjList: {
|
||||
fhpgList: [
|
||||
@@ -158,12 +159,19 @@ export default {
|
||||
} else {
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(data.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
})
|
||||
/* 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"
|
||||
@@ -215,10 +223,10 @@ export default {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.el-card {
|
||||
.van-card {
|
||||
margin: 0 10px 10px;
|
||||
position: relative;
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
> div {
|
||||
margin: 14px 0;
|
||||
display: flex;
|
||||
@@ -228,8 +236,11 @@ export default {
|
||||
> img {
|
||||
margin-right: 6px;
|
||||
width: 20px;
|
||||
height: 100%;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
|
||||
> span:nth-child(2) {
|
||||
margin-right: 16px;
|
||||
width: 97px;
|
||||
@@ -274,7 +285,7 @@ export default {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
.el-card__body {
|
||||
.van-card__body {
|
||||
> div {
|
||||
font-size: 18px !important;
|
||||
line-height: 25px !important;
|
||||
|
||||
@@ -264,6 +264,14 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
|
||||
console.log("1201-我是index的created的1");
|
||||
settestdata();
|
||||
// debugger
|
||||
@@ -335,35 +343,49 @@ export default {
|
||||
var errorCodes = [6001, 6501];
|
||||
// 跳转到政务系统;
|
||||
if (errorCodes.indexOf(data.data.bizCode) > -1) {
|
||||
this.$toast({
|
||||
message: "登录超时,请重新登录",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
|
||||
/*
|
||||
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 {
|
||||
this.$message({
|
||||
|
||||
this.$toast({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
/* this.$message({
|
||||
message: "请求出错",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
}
|
||||
},
|
||||
onFail: (err) => {
|
||||
this.loading = false;
|
||||
this.$notify({
|
||||
this.$notify({ type: 'warning', message: '请求失败',duration: 3000, });
|
||||
/* this.$notify({
|
||||
title: "错误",
|
||||
message: "请求失败",
|
||||
duration: 3000,
|
||||
type: "error",
|
||||
});
|
||||
}); */
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -486,12 +508,17 @@ export default {
|
||||
if (data.text.indexOf("http") > -1) {
|
||||
window.location.replace(data.text);
|
||||
} else {
|
||||
this.$message({
|
||||
this.$toast({
|
||||
message: data.text,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
})
|
||||
/* this.$message({
|
||||
message: data.text,
|
||||
duration: 3000,
|
||||
type: "info",
|
||||
center: true,
|
||||
});
|
||||
}); */
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user