Compare commits

...

2 Commits

Author SHA1 Message Date
ae4a02fed6 Merge branch 'master' of http://118.178.224.202:3000/ewide/zsxt_nbzs_h5 2021-09-10 14:41:23 +08:00
a3e9af9bab update:更新样式 2021-09-10 14:41:01 +08:00
5 changed files with 1504 additions and 19 deletions

4
FrontCode1/vue/.babelrc Normal file
View File

@@ -0,0 +1,4 @@
{
"presets": ["es2015"],
"plugins": []
}

File diff suppressed because it is too large Load Diff

View File

@@ -4,9 +4,10 @@
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build" "build": "babel src --out-dir dist"
}, },
"dependencies": { "dependencies": {
"@babel/polyfill": "^7.12.1",
"axios": "^0.21.4", "axios": "^0.21.4",
"core-js": "^3.17.2", "core-js": "^3.17.2",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
@@ -20,10 +21,15 @@
"vuex": "^3.4.0" "vuex": "^3.4.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0", "@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "~4.5.0",
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"vue-template-compiler": "^2.6.11" "vue-template-compiler": "^2.6.11"
} }
} }

View File

@@ -173,19 +173,15 @@ export default {
const date = new Date() const date = new Date()
const fwzspwd = 'fwzspwd' const fwzspwd = 'fwzspwd'
const ticket = this.$route.query.ticket const ticket = this.$route.query.ticket
console.log(13, date.getMonth().padStart())
const time = const time =
date.getFullYear() + date.getFullYear() +
'' + '' +
this.pad(date.getMonth() + 1, 2) + this.pad(date.getMonth() + 1, 2) +
'' +
this.pad(date.getDate(), 2) + this.pad(date.getDate(), 2) +
'' +
this.pad(date.getHours(), 2) + this.pad(date.getHours(), 2) +
'' +
this.pad(date.getMinutes(), 2) + this.pad(date.getMinutes(), 2) +
'' + this.pad(date.getSeconds(), 2)
this.pad(date.getSeconds(), 2) +
''
const sign = this.$md5(servicecode + fwzspwd + time) const sign = this.$md5(servicecode + fwzspwd + time)
var url = `https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=ticketValidation&servicecode=${servicecode}&time=${time}&sign=${sign}&st=${ticket}&datatype=datatype` var url = `https://appapi.zjzwfw.gov.cn/sso/servlet/simpleauth?method=ticketValidation&servicecode=${servicecode}&time=${time}&sign=${sign}&st=${ticket}&datatype=datatype`
// 第一次请求 // 第一次请求

View File

@@ -0,0 +1,8 @@
import Vue from 'vue'
import { Form, FormItem, Button, Card } from 'element-ui'
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Button)
Vue.use(Card)