update:更新样式

This commit is contained in:
2021-09-10 14:41:01 +08:00
parent d7b9e8eb7f
commit a3e9af9bab
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,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
"build": "babel src --out-dir dist"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"axios": "^0.21.4",
"core-js": "^3.17.2",
"element-ui": "^2.15.6",
@@ -20,10 +21,15 @@
"vuex": "^3.4.0"
},
"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-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~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"
}
}
}

View File

@@ -173,19 +173,15 @@ export default {
const date = new Date()
const fwzspwd = 'fwzspwd'
const ticket = this.$route.query.ticket
console.log(13, date.getMonth().padStart())
const time =
date.getFullYear() +
'' +
this.pad(date.getMonth() + 1, 2) +
'' +
this.pad(date.getDate(), 2) +
'' +
this.pad(date.getHours(), 2) +
'' +
this.pad(date.getMinutes(), 2) +
'' +
this.pad(date.getSeconds(), 2) +
''
this.pad(date.getSeconds(), 2)
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`
// 第一次请求