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