commit 53f48acc8c00acb32be363e29fe8281a10ff31ae Author: kevin <328471290@qq.com> Date: Wed May 8 17:58:44 2024 +0800 first commit diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..c380ede --- /dev/null +++ b/.env.development @@ -0,0 +1,16 @@ +# 开发环境配置 +ENV = 'development' + +# KeySaas测试云平台/开发环境 +VUE_APP_BASE_API = '/test-api' + + +VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +# VUE_APP_BASE_TARGET = 'http://192.168.0.135:9999' +# VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' +# VUE_APP_BASE_TARGET = 'http://172.16.36.176:9998' + +# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..31f39a9 --- /dev/null +++ b/.env.production @@ -0,0 +1,12 @@ +# 生产环境配置 +ENV = 'production' + +# KeySaas测试云平台/生产环境 +# VUE_APP_BASE_API = 'https://www.keyitest.cn/prod-api' +# VUE_APP_BASE_API = '/test-api' +VUE_APP_BASE_API = '/prod-api' + + +VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' +# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' +# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' \ No newline at end of file diff --git a/.env.staging b/.env.staging new file mode 100644 index 0000000..59e51c0 --- /dev/null +++ b/.env.staging @@ -0,0 +1,7 @@ +NODE_ENV = production + +# 测试环境配置 +ENV = 'staging' + +# KeySaas测试云平台/测试环境 +VUE_APP_BASE_API = '/stage-api' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..445b08c --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +.DS_Store +node_modules +/dist + +/tests/e2e/videos/ +/tests/e2e/screenshots/ + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +.vscode +.tags +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw* + +# Lock File +package-lock.json +yarn.lock \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5559c5c --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# 关键测试云平台 + +## Project setup +``` +npm install +``` + +### Compiles and hot-reloads for development +``` +npm run server +``` + +### Compiles and minifies for production +``` +npm run build +``` diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..b89d655 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/app' + ] +} \ No newline at end of file diff --git a/idea.config.js b/idea.config.js new file mode 100644 index 0000000..b4534c4 --- /dev/null +++ b/idea.config.js @@ -0,0 +1,17 @@ +'use strict' +const path = require('path') + +function resolve (dir) { + return path.join(__dirname, '.', dir) +} + +module.exports = { + context: path.resolve(__dirname, './'), + resolve: { + extensions: ['.js', '.vue', '.json'], + alias: { + '@': resolve('src'), + '_c': resolve('src/components') + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..8462b55 --- /dev/null +++ b/package.json @@ -0,0 +1,51 @@ +{ + "name": "crux", + "version": "0.1.0", + "private": true, + "author": "'quzhixuan' ", + "scripts": { + "server": "vue-cli-service serve", + "build": "vue-cli-service build" + }, + "dependencies": { + "@xkeshi/vue-qrcode": "^1.0.0", + "axios": "^0.18.0", + "babel-polyfill": "^6.26.0", + "crypto-js": "^4.2.0", + "element-ui": "^2.15.6", + "jquery": "^3.6.0", + "mint-ui": "^2.2.9", + "nprogress": "^0.2.0", + "qrcodejs2": "^0.0.2", + "quill": "^1.3.7", + "quill-image-drop-module": "^1.0.3", + "quill-image-extend-module": "^1.1.2", + "quill-image-resize-module": "^3.0.0", + "sever": "^0.0.2", + "v-distpicker": "^1.2.12", + "vconsole": "^3.7.0", + "vue": "2.5.16", + "vue-clipboard2": "^0.3.3", + "vue-cropper": "^0.5.7", + "vue-quill-editor": "^3.0.6", + "vue-resource": "^1.3.4", + "vue-router": "^3.5.3", + "vuex": "^3.0.1", + "xss": "^1.0.15" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "^3.0.0-rc.5", + "@vue/cli-service": "^3.0.0-rc.5", + "vue-template-compiler": "^2.5.16" + }, + "postcss": { + "plugins": { + "autoprefixer": {} + } + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie <= 8" + ] +} diff --git a/public/assets/CNAS/anchang.png b/public/assets/CNAS/anchang.png new file mode 100644 index 0000000..792709e Binary files /dev/null and b/public/assets/CNAS/anchang.png differ diff --git a/public/assets/CNAS/bingqigongye.png b/public/assets/CNAS/bingqigongye.png new file mode 100644 index 0000000..ef5f933 Binary files /dev/null and b/public/assets/CNAS/bingqigongye.png differ diff --git a/public/assets/CNAS/caseBg.png b/public/assets/CNAS/caseBg.png new file mode 100644 index 0000000..53e0d0b Binary files /dev/null and b/public/assets/CNAS/caseBg.png differ diff --git a/public/assets/CNAS/cepingzhongxin.png b/public/assets/CNAS/cepingzhongxin.png new file mode 100644 index 0000000..259870b Binary files /dev/null and b/public/assets/CNAS/cepingzhongxin.png differ diff --git a/public/assets/CNAS/certificate.png b/public/assets/CNAS/certificate.png new file mode 100644 index 0000000..54cccab Binary files /dev/null and b/public/assets/CNAS/certificate.png differ diff --git a/public/assets/CNAS/consultingSchemeLeftImg.png b/public/assets/CNAS/consultingSchemeLeftImg.png new file mode 100644 index 0000000..fcdf899 Binary files /dev/null and b/public/assets/CNAS/consultingSchemeLeftImg.png differ diff --git a/public/assets/CNAS/dianke.png b/public/assets/CNAS/dianke.png new file mode 100644 index 0000000..2222f80 Binary files /dev/null and b/public/assets/CNAS/dianke.png differ diff --git a/public/assets/CNAS/hangtiankeji.png b/public/assets/CNAS/hangtiankeji.png new file mode 100644 index 0000000..34d39f9 Binary files /dev/null and b/public/assets/CNAS/hangtiankeji.png differ diff --git a/public/assets/CNAS/minshengyinhang.png b/public/assets/CNAS/minshengyinhang.png new file mode 100644 index 0000000..78a421e Binary files /dev/null and b/public/assets/CNAS/minshengyinhang.png differ diff --git a/public/assets/CNAS/peoopleImg.png b/public/assets/CNAS/peoopleImg.png new file mode 100644 index 0000000..0ef22e6 Binary files /dev/null and b/public/assets/CNAS/peoopleImg.png differ diff --git a/public/assets/CNAS/peopleSupport.png b/public/assets/CNAS/peopleSupport.png new file mode 100644 index 0000000..21313d0 Binary files /dev/null and b/public/assets/CNAS/peopleSupport.png differ diff --git a/public/assets/CNAS/projectImg.png b/public/assets/CNAS/projectImg.png new file mode 100644 index 0000000..efa3fc3 Binary files /dev/null and b/public/assets/CNAS/projectImg.png differ diff --git a/public/assets/CNAS/projectSupport.png b/public/assets/CNAS/projectSupport.png new file mode 100644 index 0000000..9e9cf15 Binary files /dev/null and b/public/assets/CNAS/projectSupport.png differ diff --git a/public/assets/CNAS/rangeImg1.png b/public/assets/CNAS/rangeImg1.png new file mode 100644 index 0000000..079325f Binary files /dev/null and b/public/assets/CNAS/rangeImg1.png differ diff --git a/public/assets/CNAS/rangeImg2.png b/public/assets/CNAS/rangeImg2.png new file mode 100644 index 0000000..6ac219c Binary files /dev/null and b/public/assets/CNAS/rangeImg2.png differ diff --git a/public/assets/CNAS/rangeImg3.png b/public/assets/CNAS/rangeImg3.png new file mode 100644 index 0000000..9d49d71 Binary files /dev/null and b/public/assets/CNAS/rangeImg3.png differ diff --git a/public/assets/CNAS/rangeImg4.png b/public/assets/CNAS/rangeImg4.png new file mode 100644 index 0000000..938c362 Binary files /dev/null and b/public/assets/CNAS/rangeImg4.png differ diff --git a/public/assets/CNAS/rangeImg5.png b/public/assets/CNAS/rangeImg5.png new file mode 100644 index 0000000..91166e7 Binary files /dev/null and b/public/assets/CNAS/rangeImg5.png differ diff --git a/public/assets/CNAS/smallBanner1.png b/public/assets/CNAS/smallBanner1.png new file mode 100644 index 0000000..c0f1da9 Binary files /dev/null and b/public/assets/CNAS/smallBanner1.png differ diff --git a/public/assets/CNAS/smallBanner2.png b/public/assets/CNAS/smallBanner2.png new file mode 100644 index 0000000..bf59ae0 Binary files /dev/null and b/public/assets/CNAS/smallBanner2.png differ diff --git a/public/assets/CNAS/smallBanner3.png b/public/assets/CNAS/smallBanner3.png new file mode 100644 index 0000000..4c16816 Binary files /dev/null and b/public/assets/CNAS/smallBanner3.png differ diff --git a/public/assets/CNAS/smallBanner4.png b/public/assets/CNAS/smallBanner4.png new file mode 100644 index 0000000..5d5e834 Binary files /dev/null and b/public/assets/CNAS/smallBanner4.png differ diff --git a/public/assets/CNAS/smallBanner5.png b/public/assets/CNAS/smallBanner5.png new file mode 100644 index 0000000..7897d41 Binary files /dev/null and b/public/assets/CNAS/smallBanner5.png differ diff --git a/public/assets/CNAS/title.png b/public/assets/CNAS/title.png new file mode 100644 index 0000000..5616249 Binary files /dev/null and b/public/assets/CNAS/title.png differ diff --git a/public/assets/CNAS/title1.png b/public/assets/CNAS/title1.png new file mode 100644 index 0000000..6bc1b47 Binary files /dev/null and b/public/assets/CNAS/title1.png differ diff --git a/public/assets/CNAS/title2.png b/public/assets/CNAS/title2.png new file mode 100644 index 0000000..4366782 Binary files /dev/null and b/public/assets/CNAS/title2.png differ diff --git a/public/assets/CNAS/title3.png b/public/assets/CNAS/title3.png new file mode 100644 index 0000000..e084fcd Binary files /dev/null and b/public/assets/CNAS/title3.png differ diff --git a/public/assets/CNAS/title4.png b/public/assets/CNAS/title4.png new file mode 100644 index 0000000..2e47137 Binary files /dev/null and b/public/assets/CNAS/title4.png differ diff --git a/public/assets/CNAS/title5.png b/public/assets/CNAS/title5.png new file mode 100644 index 0000000..be7cd2d Binary files /dev/null and b/public/assets/CNAS/title5.png differ diff --git a/public/assets/CNAS/tool1.png b/public/assets/CNAS/tool1.png new file mode 100644 index 0000000..50213f5 Binary files /dev/null and b/public/assets/CNAS/tool1.png differ diff --git a/public/assets/CNAS/tool2.png b/public/assets/CNAS/tool2.png new file mode 100644 index 0000000..569897e Binary files /dev/null and b/public/assets/CNAS/tool2.png differ diff --git a/public/assets/CNAS/tool3.png b/public/assets/CNAS/tool3.png new file mode 100644 index 0000000..c80efbc Binary files /dev/null and b/public/assets/CNAS/tool3.png differ diff --git a/public/assets/CNAS/tool4.png b/public/assets/CNAS/tool4.png new file mode 100644 index 0000000..93ff8bf Binary files /dev/null and b/public/assets/CNAS/tool4.png differ diff --git a/public/assets/CNAS/tool5.png b/public/assets/CNAS/tool5.png new file mode 100644 index 0000000..6de9a15 Binary files /dev/null and b/public/assets/CNAS/tool5.png differ diff --git a/public/assets/CNAS/tool6.png b/public/assets/CNAS/tool6.png new file mode 100644 index 0000000..a810bc8 Binary files /dev/null and b/public/assets/CNAS/tool6.png differ diff --git a/public/assets/CNAS/toolLeft.png b/public/assets/CNAS/toolLeft.png new file mode 100644 index 0000000..722a7b1 Binary files /dev/null and b/public/assets/CNAS/toolLeft.png differ diff --git a/public/assets/CNAS/toolLine.png b/public/assets/CNAS/toolLine.png new file mode 100644 index 0000000..4a25e79 Binary files /dev/null and b/public/assets/CNAS/toolLine.png differ diff --git a/public/assets/CNAS/toolSupport.png b/public/assets/CNAS/toolSupport.png new file mode 100644 index 0000000..abc95d9 Binary files /dev/null and b/public/assets/CNAS/toolSupport.png differ diff --git a/public/assets/GJB/jinrujiantouxiao.png b/public/assets/GJB/jinrujiantouxiao.png new file mode 100644 index 0000000..18b18e4 Binary files /dev/null and b/public/assets/GJB/jinrujiantouxiao.png differ diff --git a/public/assets/GJB/plan1.png b/public/assets/GJB/plan1.png new file mode 100644 index 0000000..26ace3c Binary files /dev/null and b/public/assets/GJB/plan1.png differ diff --git a/public/assets/GJB/plan2.png b/public/assets/GJB/plan2.png new file mode 100644 index 0000000..348636b Binary files /dev/null and b/public/assets/GJB/plan2.png differ diff --git a/public/assets/GJB/plan3.png b/public/assets/GJB/plan3.png new file mode 100644 index 0000000..974160e Binary files /dev/null and b/public/assets/GJB/plan3.png differ diff --git a/public/assets/GJB/plan4.png b/public/assets/GJB/plan4.png new file mode 100644 index 0000000..71a47c8 Binary files /dev/null and b/public/assets/GJB/plan4.png differ diff --git a/public/assets/GJB/serviceTitle.png b/public/assets/GJB/serviceTitle.png new file mode 100644 index 0000000..2d549f6 Binary files /dev/null and b/public/assets/GJB/serviceTitle.png differ diff --git a/public/assets/GJB/shouqijiantouxiao.png b/public/assets/GJB/shouqijiantouxiao.png new file mode 100644 index 0000000..181054c Binary files /dev/null and b/public/assets/GJB/shouqijiantouxiao.png differ diff --git a/public/assets/GJB/target1.png b/public/assets/GJB/target1.png new file mode 100644 index 0000000..d0938da Binary files /dev/null and b/public/assets/GJB/target1.png differ diff --git a/public/assets/GJB/target2.png b/public/assets/GJB/target2.png new file mode 100644 index 0000000..edd950f Binary files /dev/null and b/public/assets/GJB/target2.png differ diff --git a/public/assets/GJB/target3.png b/public/assets/GJB/target3.png new file mode 100644 index 0000000..611ba33 Binary files /dev/null and b/public/assets/GJB/target3.png differ diff --git a/public/assets/GJB/target4.png b/public/assets/GJB/target4.png new file mode 100644 index 0000000..8d478f3 Binary files /dev/null and b/public/assets/GJB/target4.png differ diff --git a/public/assets/GJB/title.png b/public/assets/GJB/title.png new file mode 100644 index 0000000..f7dda9c Binary files /dev/null and b/public/assets/GJB/title.png differ diff --git a/public/assets/GJB/title1.png b/public/assets/GJB/title1.png new file mode 100644 index 0000000..0e6a957 Binary files /dev/null and b/public/assets/GJB/title1.png differ diff --git a/public/assets/GJB/title2.png b/public/assets/GJB/title2.png new file mode 100644 index 0000000..8269b09 Binary files /dev/null and b/public/assets/GJB/title2.png differ diff --git a/public/assets/GJB/title3.png b/public/assets/GJB/title3.png new file mode 100644 index 0000000..2fafc53 Binary files /dev/null and b/public/assets/GJB/title3.png differ diff --git a/public/assets/GJB/title4.png b/public/assets/GJB/title4.png new file mode 100644 index 0000000..ae03aca Binary files /dev/null and b/public/assets/GJB/title4.png differ diff --git a/public/assets/ability/Android.png b/public/assets/ability/Android.png new file mode 100644 index 0000000..37c8127 Binary files /dev/null and b/public/assets/ability/Android.png differ diff --git a/public/assets/ability/XXXX.png b/public/assets/ability/XXXX.png new file mode 100644 index 0000000..93b327a Binary files /dev/null and b/public/assets/ability/XXXX.png differ diff --git a/public/assets/ability/aboutimg.png b/public/assets/ability/aboutimg.png new file mode 100644 index 0000000..b197936 Binary files /dev/null and b/public/assets/ability/aboutimg.png differ diff --git a/public/assets/ability/aboutw.png b/public/assets/ability/aboutw.png new file mode 100644 index 0000000..6f9b9ba Binary files /dev/null and b/public/assets/ability/aboutw.png differ diff --git a/public/assets/ability/backe.png b/public/assets/ability/backe.png new file mode 100644 index 0000000..bdd8f7f Binary files /dev/null and b/public/assets/ability/backe.png differ diff --git a/public/assets/ability/backi.png b/public/assets/ability/backi.png new file mode 100644 index 0000000..e63fe18 Binary files /dev/null and b/public/assets/ability/backi.png differ diff --git a/public/assets/ability/banner.png b/public/assets/ability/banner.png new file mode 100644 index 0000000..0c13830 Binary files /dev/null and b/public/assets/ability/banner.png differ diff --git a/public/assets/ability/bigbu.png b/public/assets/ability/bigbu.png new file mode 100644 index 0000000..f610393 Binary files /dev/null and b/public/assets/ability/bigbu.png differ diff --git a/public/assets/ability/c++.png b/public/assets/ability/c++.png new file mode 100644 index 0000000..1e20289 Binary files /dev/null and b/public/assets/ability/c++.png differ diff --git a/public/assets/ability/city1.png b/public/assets/ability/city1.png new file mode 100644 index 0000000..bf5d301 Binary files /dev/null and b/public/assets/ability/city1.png differ diff --git a/public/assets/ability/city2.png b/public/assets/ability/city2.png new file mode 100644 index 0000000..fb0e0d1 Binary files /dev/null and b/public/assets/ability/city2.png differ diff --git a/public/assets/ability/cjyy.png b/public/assets/ability/cjyy.png new file mode 100644 index 0000000..f404cd2 Binary files /dev/null and b/public/assets/ability/cjyy.png differ diff --git a/public/assets/ability/comp.png b/public/assets/ability/comp.png new file mode 100644 index 0000000..6ca91a2 Binary files /dev/null and b/public/assets/ability/comp.png differ diff --git a/public/assets/ability/cs.png b/public/assets/ability/cs.png new file mode 100644 index 0000000..655c7e8 Binary files /dev/null and b/public/assets/ability/cs.png differ diff --git a/public/assets/ability/da.png b/public/assets/ability/da.png new file mode 100644 index 0000000..d075c01 Binary files /dev/null and b/public/assets/ability/da.png differ diff --git a/public/assets/ability/daxue.png b/public/assets/ability/daxue.png new file mode 100644 index 0000000..a88034d Binary files /dev/null and b/public/assets/ability/daxue.png differ diff --git a/public/assets/ability/dqxm.png b/public/assets/ability/dqxm.png new file mode 100644 index 0000000..f7529ae Binary files /dev/null and b/public/assets/ability/dqxm.png differ diff --git a/public/assets/ability/eremka.png b/public/assets/ability/eremka.png new file mode 100644 index 0000000..828d242 Binary files /dev/null and b/public/assets/ability/eremka.png differ diff --git a/public/assets/ability/fwqy.png b/public/assets/ability/fwqy.png new file mode 100644 index 0000000..fe0a7d6 Binary files /dev/null and b/public/assets/ability/fwqy.png differ diff --git a/public/assets/ability/fwxm.png b/public/assets/ability/fwxm.png new file mode 100644 index 0000000..bab94fc Binary files /dev/null and b/public/assets/ability/fwxm.png differ diff --git a/public/assets/ability/gszz.png b/public/assets/ability/gszz.png new file mode 100644 index 0000000..fc242c5 Binary files /dev/null and b/public/assets/ability/gszz.png differ diff --git a/public/assets/ability/ios.png b/public/assets/ability/ios.png new file mode 100644 index 0000000..b82f92b Binary files /dev/null and b/public/assets/ability/ios.png differ diff --git a/public/assets/ability/ityw.png b/public/assets/ability/ityw.png new file mode 100644 index 0000000..6fc5d67 Binary files /dev/null and b/public/assets/ability/ityw.png differ diff --git a/public/assets/ability/java.png b/public/assets/ability/java.png new file mode 100644 index 0000000..91588c9 Binary files /dev/null and b/public/assets/ability/java.png differ diff --git a/public/assets/ability/lsyg.png b/public/assets/ability/lsyg.png new file mode 100644 index 0000000..8a5cd1f Binary files /dev/null and b/public/assets/ability/lsyg.png differ diff --git a/public/assets/ability/mfwb.png b/public/assets/ability/mfwb.png new file mode 100644 index 0000000..bc00140 Binary files /dev/null and b/public/assets/ability/mfwb.png differ diff --git a/public/assets/ability/net.png b/public/assets/ability/net.png new file mode 100644 index 0000000..8d41943 Binary files /dev/null and b/public/assets/ability/net.png differ diff --git a/public/assets/ability/pater1.png b/public/assets/ability/pater1.png new file mode 100644 index 0000000..a96f3c7 Binary files /dev/null and b/public/assets/ability/pater1.png differ diff --git a/public/assets/ability/pater10.png b/public/assets/ability/pater10.png new file mode 100644 index 0000000..b408298 Binary files /dev/null and b/public/assets/ability/pater10.png differ diff --git a/public/assets/ability/pater11.png b/public/assets/ability/pater11.png new file mode 100644 index 0000000..8350019 Binary files /dev/null and b/public/assets/ability/pater11.png differ diff --git a/public/assets/ability/pater12.png b/public/assets/ability/pater12.png new file mode 100644 index 0000000..26b4048 Binary files /dev/null and b/public/assets/ability/pater12.png differ diff --git a/public/assets/ability/pater2.png b/public/assets/ability/pater2.png new file mode 100644 index 0000000..58059f1 Binary files /dev/null and b/public/assets/ability/pater2.png differ diff --git a/public/assets/ability/pater3.png b/public/assets/ability/pater3.png new file mode 100644 index 0000000..eab1234 Binary files /dev/null and b/public/assets/ability/pater3.png differ diff --git a/public/assets/ability/pater4.png b/public/assets/ability/pater4.png new file mode 100644 index 0000000..b8a5000 Binary files /dev/null and b/public/assets/ability/pater4.png differ diff --git a/public/assets/ability/pater5.png b/public/assets/ability/pater5.png new file mode 100644 index 0000000..732fa4e Binary files /dev/null and b/public/assets/ability/pater5.png differ diff --git a/public/assets/ability/pater6.png b/public/assets/ability/pater6.png new file mode 100644 index 0000000..eab49dc Binary files /dev/null and b/public/assets/ability/pater6.png differ diff --git a/public/assets/ability/pater7.png b/public/assets/ability/pater7.png new file mode 100644 index 0000000..dfa3775 Binary files /dev/null and b/public/assets/ability/pater7.png differ diff --git a/public/assets/ability/pater8.png b/public/assets/ability/pater8.png new file mode 100644 index 0000000..3a076e4 Binary files /dev/null and b/public/assets/ability/pater8.png differ diff --git a/public/assets/ability/pater9.png b/public/assets/ability/pater9.png new file mode 100644 index 0000000..22cceae Binary files /dev/null and b/public/assets/ability/pater9.png differ diff --git a/public/assets/ability/people1.png b/public/assets/ability/people1.png new file mode 100644 index 0000000..47a1619 Binary files /dev/null and b/public/assets/ability/people1.png differ diff --git a/public/assets/ability/people2.png b/public/assets/ability/people2.png new file mode 100644 index 0000000..592af6e Binary files /dev/null and b/public/assets/ability/people2.png differ diff --git a/public/assets/ability/people3.png b/public/assets/ability/people3.png new file mode 100644 index 0000000..735d31c Binary files /dev/null and b/public/assets/ability/people3.png differ diff --git a/public/assets/ability/people4.png b/public/assets/ability/people4.png new file mode 100644 index 0000000..2f82b93 Binary files /dev/null and b/public/assets/ability/people4.png differ diff --git a/public/assets/ability/php.png b/public/assets/ability/php.png new file mode 100644 index 0000000..305f734 Binary files /dev/null and b/public/assets/ability/php.png differ diff --git a/public/assets/ability/pyth.png b/public/assets/ability/pyth.png new file mode 100644 index 0000000..8ef0982 Binary files /dev/null and b/public/assets/ability/pyth.png differ diff --git a/public/assets/ability/qrs.png b/public/assets/ability/qrs.png new file mode 100644 index 0000000..ac4b89b Binary files /dev/null and b/public/assets/ability/qrs.png differ diff --git a/public/assets/ability/qy1.png b/public/assets/ability/qy1.png new file mode 100644 index 0000000..2c64ccc Binary files /dev/null and b/public/assets/ability/qy1.png differ diff --git a/public/assets/ability/qy2.png b/public/assets/ability/qy2.png new file mode 100644 index 0000000..13d96e1 Binary files /dev/null and b/public/assets/ability/qy2.png differ diff --git a/public/assets/ability/qy3.png b/public/assets/ability/qy3.png new file mode 100644 index 0000000..ded44f7 Binary files /dev/null and b/public/assets/ability/qy3.png differ diff --git a/public/assets/ability/qy4.png b/public/assets/ability/qy4.png new file mode 100644 index 0000000..e331d70 Binary files /dev/null and b/public/assets/ability/qy4.png differ diff --git a/public/assets/ability/qy5.png b/public/assets/ability/qy5.png new file mode 100644 index 0000000..26e99c0 Binary files /dev/null and b/public/assets/ability/qy5.png differ diff --git a/public/assets/ability/qy6.png b/public/assets/ability/qy6.png new file mode 100644 index 0000000..ea003ea Binary files /dev/null and b/public/assets/ability/qy6.png differ diff --git a/public/assets/ability/qy7.png b/public/assets/ability/qy7.png new file mode 100644 index 0000000..57aeb77 Binary files /dev/null and b/public/assets/ability/qy7.png differ diff --git a/public/assets/ability/qy8.png b/public/assets/ability/qy8.png new file mode 100644 index 0000000..a5a06fd Binary files /dev/null and b/public/assets/ability/qy8.png differ diff --git a/public/assets/ability/qygt.png b/public/assets/ability/qygt.png new file mode 100644 index 0000000..ce71e99 Binary files /dev/null and b/public/assets/ability/qygt.png differ diff --git a/public/assets/ability/qywb.png b/public/assets/ability/qywb.png new file mode 100644 index 0000000..13380b2 Binary files /dev/null and b/public/assets/ability/qywb.png differ diff --git a/public/assets/ability/rcit.png b/public/assets/ability/rcit.png new file mode 100644 index 0000000..75ac4ae Binary files /dev/null and b/public/assets/ability/rcit.png differ diff --git a/public/assets/ability/rem.png b/public/assets/ability/rem.png new file mode 100644 index 0000000..0c1d37b Binary files /dev/null and b/public/assets/ability/rem.png differ diff --git a/public/assets/ability/renca.png b/public/assets/ability/renca.png new file mode 100644 index 0000000..3751632 Binary files /dev/null and b/public/assets/ability/renca.png differ diff --git a/public/assets/ability/rikj.png b/public/assets/ability/rikj.png new file mode 100644 index 0000000..43b0f8d Binary files /dev/null and b/public/assets/ability/rikj.png differ diff --git a/public/assets/ability/rlwb.png b/public/assets/ability/rlwb.png new file mode 100644 index 0000000..224f744 Binary files /dev/null and b/public/assets/ability/rlwb.png differ diff --git a/public/assets/ability/rmwt.png b/public/assets/ability/rmwt.png new file mode 100644 index 0000000..e14a969 Binary files /dev/null and b/public/assets/ability/rmwt.png differ diff --git a/public/assets/ability/sb1.png b/public/assets/ability/sb1.png new file mode 100644 index 0000000..157f1f3 Binary files /dev/null and b/public/assets/ability/sb1.png differ diff --git a/public/assets/ability/sb2.png b/public/assets/ability/sb2.png new file mode 100644 index 0000000..760c773 Binary files /dev/null and b/public/assets/ability/sb2.png differ diff --git a/public/assets/ability/sb3.png b/public/assets/ability/sb3.png new file mode 100644 index 0000000..1477b32 Binary files /dev/null and b/public/assets/ability/sb3.png differ diff --git a/public/assets/ability/sevr.png b/public/assets/ability/sevr.png new file mode 100644 index 0000000..dc2123c Binary files /dev/null and b/public/assets/ability/sevr.png differ diff --git a/public/assets/ability/shouji.png b/public/assets/ability/shouji.png new file mode 100644 index 0000000..550cce6 Binary files /dev/null and b/public/assets/ability/shouji.png differ diff --git a/public/assets/ability/touming.png b/public/assets/ability/touming.png new file mode 100644 index 0000000..a47ff89 Binary files /dev/null and b/public/assets/ability/touming.png differ diff --git a/public/assets/ability/wblc.png b/public/assets/ability/wblc.png new file mode 100644 index 0000000..07893d0 Binary files /dev/null and b/public/assets/ability/wblc.png differ diff --git a/public/assets/ability/wdxm.png b/public/assets/ability/wdxm.png new file mode 100644 index 0000000..52967d5 Binary files /dev/null and b/public/assets/ability/wdxm.png differ diff --git a/public/assets/ability/weibiaoti-- 拷贝 2.png b/public/assets/ability/weibiaoti-- 拷贝 2.png new file mode 100644 index 0000000..c55bc5a Binary files /dev/null and b/public/assets/ability/weibiaoti-- 拷贝 2.png differ diff --git a/public/assets/ability/wen.png b/public/assets/ability/wen.png new file mode 100644 index 0000000..84d4f40 Binary files /dev/null and b/public/assets/ability/wen.png differ diff --git a/public/assets/ability/xingming.png b/public/assets/ability/xingming.png new file mode 100644 index 0000000..ac07b2f Binary files /dev/null and b/public/assets/ability/xingming.png differ diff --git a/public/assets/ability/zhp.png b/public/assets/ability/zhp.png new file mode 100644 index 0000000..da224ae Binary files /dev/null and b/public/assets/ability/zhp.png differ diff --git a/public/assets/ability/zhuanye.png b/public/assets/ability/zhuanye.png new file mode 100644 index 0000000..65fc406 Binary files /dev/null and b/public/assets/ability/zhuanye.png differ diff --git a/public/assets/ability/zixun.gif b/public/assets/ability/zixun.gif new file mode 100644 index 0000000..d1e3e6f Binary files /dev/null and b/public/assets/ability/zixun.gif differ diff --git a/public/assets/ability/zizhi6.png b/public/assets/ability/zizhi6.png new file mode 100644 index 0000000..aa6377d Binary files /dev/null and b/public/assets/ability/zizhi6.png differ diff --git a/public/assets/ability/zyjn.png b/public/assets/ability/zyjn.png new file mode 100644 index 0000000..c1b9ea4 Binary files /dev/null and b/public/assets/ability/zyjn.png differ diff --git a/public/assets/ability/zz1.png b/public/assets/ability/zz1.png new file mode 100644 index 0000000..becfdcf Binary files /dev/null and b/public/assets/ability/zz1.png differ diff --git a/public/assets/ability/zz2.png b/public/assets/ability/zz2.png new file mode 100644 index 0000000..1f44f1a Binary files /dev/null and b/public/assets/ability/zz2.png differ diff --git a/public/assets/ability/zz3.png b/public/assets/ability/zz3.png new file mode 100644 index 0000000..922efb8 Binary files /dev/null and b/public/assets/ability/zz3.png differ diff --git a/public/assets/ability/zz4.png b/public/assets/ability/zz4.png new file mode 100644 index 0000000..763d450 Binary files /dev/null and b/public/assets/ability/zz4.png differ diff --git a/public/assets/ability/zz5.png b/public/assets/ability/zz5.png new file mode 100644 index 0000000..58fdb68 Binary files /dev/null and b/public/assets/ability/zz5.png differ diff --git a/public/assets/ability/zz6.png b/public/assets/ability/zz6.png new file mode 100644 index 0000000..72080b4 Binary files /dev/null and b/public/assets/ability/zz6.png differ diff --git a/public/assets/ability/zz7.png b/public/assets/ability/zz7.png new file mode 100644 index 0000000..c874966 Binary files /dev/null and b/public/assets/ability/zz7.png differ diff --git a/public/assets/ability/zz8.png b/public/assets/ability/zz8.png new file mode 100644 index 0000000..26a87d4 Binary files /dev/null and b/public/assets/ability/zz8.png differ diff --git a/public/assets/ability/客服.png b/public/assets/ability/客服.png new file mode 100644 index 0000000..1224861 Binary files /dev/null and b/public/assets/ability/客服.png differ diff --git a/public/assets/ability/组 246(1).png b/public/assets/ability/组 246(1).png new file mode 100644 index 0000000..4390e8a Binary files /dev/null and b/public/assets/ability/组 246(1).png differ diff --git a/public/assets/ability/订单.png b/public/assets/ability/订单.png new file mode 100644 index 0000000..8d2f616 Binary files /dev/null and b/public/assets/ability/订单.png differ diff --git a/public/assets/about/biao.png b/public/assets/about/biao.png new file mode 100644 index 0000000..db4970b Binary files /dev/null and b/public/assets/about/biao.png differ diff --git a/public/assets/about/gaolo.png b/public/assets/about/gaolo.png new file mode 100644 index 0000000..92e7ab5 Binary files /dev/null and b/public/assets/about/gaolo.png differ diff --git a/public/assets/about/hand.png b/public/assets/about/hand.png new file mode 100644 index 0000000..7102214 Binary files /dev/null and b/public/assets/about/hand.png differ diff --git a/public/assets/about/joinban (1).png b/public/assets/about/joinban (1).png new file mode 100644 index 0000000..cd9114c Binary files /dev/null and b/public/assets/about/joinban (1).png differ diff --git a/public/assets/about/joinban (3).png b/public/assets/about/joinban (3).png new file mode 100644 index 0000000..80b98b4 Binary files /dev/null and b/public/assets/about/joinban (3).png differ diff --git a/public/assets/about/linshu.png b/public/assets/about/linshu.png new file mode 100644 index 0000000..b1d333d Binary files /dev/null and b/public/assets/about/linshu.png differ diff --git a/public/assets/about/qiye.png b/public/assets/about/qiye.png new file mode 100644 index 0000000..2816ce2 Binary files /dev/null and b/public/assets/about/qiye.png differ diff --git a/public/assets/close.js b/public/assets/close.js new file mode 100644 index 0000000..8b6b84a --- /dev/null +++ b/public/assets/close.js @@ -0,0 +1,52 @@ +document.addEventListener('DOMContentLoaded', function () { + // 在这里编写你想要在页面加载完成后执行的代码 + const bigbox = document.querySelector('#minidialog') + const x = document.querySelector('.closeX') + + + + + bigbox.style.bottom = '-99999px' + bigbox.style.right = '-99999px' + x.addEventListener('click', function () { + bigbox.style.bottom = '-99999px' + bigbox.style.right = '-99999px' + x.style.display = 'none' + }) + + + // let timer = null + // timer = setInterval(() => { + // if ( + // document.querySelector('#minidialog') && + // document.querySelector('#minidialog').style.display == 'block' + // ) { + // setTimeout(() => { + // document.querySelector('.closeX').style.display = 'block' + // }, 10); + // document.querySelector('.closeX').style.display = 'block' + // document.querySelector('.closeX').addEventListener('click', function () { + // document.querySelector('#minidialog').style.display = 'none' + // document.querySelector('.closeX').style.display = 'none' + // }) + // clearInterval(timer) + // } + // }, 100) + // let timer1 = null + // timer = setInterval(() => { + // console.log('定时器1'); + // if ( + // document.querySelector('#minidialog') && + // document.querySelector('#minidialog').style.display == 'block' + // ) { + // setTimeout(() => { + // console.log('模拟点击'); + // // document.querySelector('.closeX').click() + // document.querySelector('.closeX').style.display = 'none' + // document.querySelector('#minidialog').style.display == 'none' + // }, 0); + // console.log('清除定时器1'); + // clearInterval(timer1) + // } + // }, 0) +}); diff --git a/public/assets/crowd/advantage.png b/public/assets/crowd/advantage.png new file mode 100644 index 0000000..10824de Binary files /dev/null and b/public/assets/crowd/advantage.png differ diff --git a/public/assets/crowd/aplycom.png b/public/assets/crowd/aplycom.png new file mode 100644 index 0000000..6b06068 Binary files /dev/null and b/public/assets/crowd/aplycom.png differ diff --git a/public/assets/crowd/aqcs.png b/public/assets/crowd/aqcs.png new file mode 100644 index 0000000..9ff52fa Binary files /dev/null and b/public/assets/crowd/aqcs.png differ diff --git a/public/assets/crowd/bankcad.png b/public/assets/crowd/bankcad.png new file mode 100644 index 0000000..26f63db Binary files /dev/null and b/public/assets/crowd/bankcad.png differ diff --git a/public/assets/crowd/email.png b/public/assets/crowd/email.png new file mode 100644 index 0000000..fac0c47 Binary files /dev/null and b/public/assets/crowd/email.png differ diff --git a/public/assets/crowd/gncs.png b/public/assets/crowd/gncs.png new file mode 100644 index 0000000..5dfc9be Binary files /dev/null and b/public/assets/crowd/gncs.png differ diff --git a/public/assets/crowd/grxx.png b/public/assets/crowd/grxx.png new file mode 100644 index 0000000..be38b33 Binary files /dev/null and b/public/assets/crowd/grxx.png differ diff --git a/public/assets/crowd/gzjl.png b/public/assets/crowd/gzjl.png new file mode 100644 index 0000000..7806f70 Binary files /dev/null and b/public/assets/crowd/gzjl.png differ diff --git a/public/assets/crowd/jitu.png b/public/assets/crowd/jitu.png new file mode 100644 index 0000000..f42c8c6 Binary files /dev/null and b/public/assets/crowd/jitu.png differ diff --git a/public/assets/crowd/jnzs.png b/public/assets/crowd/jnzs.png new file mode 100644 index 0000000..d83cf8e Binary files /dev/null and b/public/assets/crowd/jnzs.png differ diff --git a/public/assets/crowd/jtcs.png b/public/assets/crowd/jtcs.png new file mode 100644 index 0000000..c7dac2e Binary files /dev/null and b/public/assets/crowd/jtcs.png differ diff --git a/public/assets/crowd/kkxcs.png b/public/assets/crowd/kkxcs.png new file mode 100644 index 0000000..3769648 Binary files /dev/null and b/public/assets/crowd/kkxcs.png differ diff --git a/public/assets/crowd/lanx.png b/public/assets/crowd/lanx.png new file mode 100644 index 0000000..65e3516 Binary files /dev/null and b/public/assets/crowd/lanx.png differ diff --git a/public/assets/crowd/noemail.png b/public/assets/crowd/noemail.png new file mode 100644 index 0000000..2e87243 Binary files /dev/null and b/public/assets/crowd/noemail.png differ diff --git a/public/assets/crowd/nophone.png b/public/assets/crowd/nophone.png new file mode 100644 index 0000000..b30e54a Binary files /dev/null and b/public/assets/crowd/nophone.png differ diff --git a/public/assets/crowd/payb.png b/public/assets/crowd/payb.png new file mode 100644 index 0000000..7b7be0f Binary files /dev/null and b/public/assets/crowd/payb.png differ diff --git a/public/assets/crowd/phone.png b/public/assets/crowd/phone.png new file mode 100644 index 0000000..81b2bf6 Binary files /dev/null and b/public/assets/crowd/phone.png differ diff --git a/public/assets/crowd/projecta.png b/public/assets/crowd/projecta.png new file mode 100644 index 0000000..f4fb7da Binary files /dev/null and b/public/assets/crowd/projecta.png differ diff --git a/public/assets/crowd/qtcs.png b/public/assets/crowd/qtcs.png new file mode 100644 index 0000000..1f94c90 Binary files /dev/null and b/public/assets/crowd/qtcs.png differ diff --git a/public/assets/crowd/review.png b/public/assets/crowd/review.png new file mode 100644 index 0000000..6d21ae8 Binary files /dev/null and b/public/assets/crowd/review.png differ diff --git a/public/assets/crowd/success.png b/public/assets/crowd/success.png new file mode 100644 index 0000000..cacd2bd Binary files /dev/null and b/public/assets/crowd/success.png differ diff --git a/public/assets/crowd/upload.png b/public/assets/crowd/upload.png new file mode 100644 index 0000000..c8d1142 Binary files /dev/null and b/public/assets/crowd/upload.png differ diff --git a/public/assets/crowd/xncs.png b/public/assets/crowd/xncs.png new file mode 100644 index 0000000..4e360af Binary files /dev/null and b/public/assets/crowd/xncs.png differ diff --git a/public/assets/crowd/ycrw.png b/public/assets/crowd/ycrw.png new file mode 100644 index 0000000..50b2266 Binary files /dev/null and b/public/assets/crowd/ycrw.png differ diff --git a/public/assets/dynamic/didi.png b/public/assets/dynamic/didi.png new file mode 100644 index 0000000..dac623d Binary files /dev/null and b/public/assets/dynamic/didi.png differ diff --git a/public/assets/dynamic/dydeau.png b/public/assets/dynamic/dydeau.png new file mode 100644 index 0000000..6532d63 Binary files /dev/null and b/public/assets/dynamic/dydeau.png differ diff --git a/public/assets/dynamic/goole.png b/public/assets/dynamic/goole.png new file mode 100644 index 0000000..32fd216 Binary files /dev/null and b/public/assets/dynamic/goole.png differ diff --git a/public/assets/dynamic/homedydefa.png b/public/assets/dynamic/homedydefa.png new file mode 100644 index 0000000..9ac6b0d Binary files /dev/null and b/public/assets/dynamic/homedydefa.png differ diff --git a/public/assets/dynamic/keber.png b/public/assets/dynamic/keber.png new file mode 100644 index 0000000..991014f Binary files /dev/null and b/public/assets/dynamic/keber.png differ diff --git a/public/assets/dynamic/micro.png b/public/assets/dynamic/micro.png new file mode 100644 index 0000000..9a550b9 Binary files /dev/null and b/public/assets/dynamic/micro.png differ diff --git a/public/assets/dynamic/point.png b/public/assets/dynamic/point.png new file mode 100644 index 0000000..4994a97 Binary files /dev/null and b/public/assets/dynamic/point.png differ diff --git a/public/assets/dynamic/qiu.png b/public/assets/dynamic/qiu.png new file mode 100644 index 0000000..d281f97 Binary files /dev/null and b/public/assets/dynamic/qiu.png differ diff --git a/public/assets/dynamic/sanliu.png b/public/assets/dynamic/sanliu.png new file mode 100644 index 0000000..3c37377 Binary files /dev/null and b/public/assets/dynamic/sanliu.png differ diff --git a/public/assets/dynamic/zhiwe.png b/public/assets/dynamic/zhiwe.png new file mode 100644 index 0000000..06c0384 Binary files /dev/null and b/public/assets/dynamic/zhiwe.png differ diff --git a/public/assets/home/1@2x.png b/public/assets/home/1@2x.png new file mode 100644 index 0000000..cb2a864 Binary files /dev/null and b/public/assets/home/1@2x.png differ diff --git a/public/assets/home/2@2x.png b/public/assets/home/2@2x.png new file mode 100644 index 0000000..b099a7a Binary files /dev/null and b/public/assets/home/2@2x.png differ diff --git a/public/assets/home/4@2x.png b/public/assets/home/4@2x.png new file mode 100644 index 0000000..22804c9 Binary files /dev/null and b/public/assets/home/4@2x.png differ diff --git a/public/assets/home/abloutus1.png b/public/assets/home/abloutus1.png new file mode 100644 index 0000000..3a381eb Binary files /dev/null and b/public/assets/home/abloutus1.png differ diff --git a/public/assets/home/anqu.png b/public/assets/home/anqu.png new file mode 100644 index 0000000..6b2f257 Binary files /dev/null and b/public/assets/home/anqu.png differ diff --git a/public/assets/home/banner1.png b/public/assets/home/banner1.png new file mode 100644 index 0000000..62b9cc9 Binary files /dev/null and b/public/assets/home/banner1.png differ diff --git a/public/assets/home/banner2.png b/public/assets/home/banner2.png new file mode 100644 index 0000000..ca39212 Binary files /dev/null and b/public/assets/home/banner2.png differ diff --git a/public/assets/home/banner3.png b/public/assets/home/banner3.png new file mode 100644 index 0000000..e8dbd5f Binary files /dev/null and b/public/assets/home/banner3.png differ diff --git a/public/assets/home/bannernew1.png b/public/assets/home/bannernew1.png new file mode 100644 index 0000000..1d45449 Binary files /dev/null and b/public/assets/home/bannernew1.png differ diff --git a/public/assets/home/bannernew2.png b/public/assets/home/bannernew2.png new file mode 100644 index 0000000..b5be779 Binary files /dev/null and b/public/assets/home/bannernew2.png differ diff --git a/public/assets/home/bannernew3.png b/public/assets/home/bannernew3.png new file mode 100644 index 0000000..ac1dc73 Binary files /dev/null and b/public/assets/home/bannernew3.png differ diff --git a/public/assets/home/base.png b/public/assets/home/base.png new file mode 100644 index 0000000..57714fe Binary files /dev/null and b/public/assets/home/base.png differ diff --git a/public/assets/home/ceshi.png b/public/assets/home/ceshi.png new file mode 100644 index 0000000..ba2c8cd Binary files /dev/null and b/public/assets/home/ceshi.png differ diff --git a/public/assets/home/ceszhong.png b/public/assets/home/ceszhong.png new file mode 100644 index 0000000..e119a51 Binary files /dev/null and b/public/assets/home/ceszhong.png differ diff --git a/public/assets/home/cha.png b/public/assets/home/cha.png new file mode 100644 index 0000000..4fa22fa Binary files /dev/null and b/public/assets/home/cha.png differ diff --git a/public/assets/home/cooperation.png b/public/assets/home/cooperation.png new file mode 100644 index 0000000..c8b338b Binary files /dev/null and b/public/assets/home/cooperation.png differ diff --git a/public/assets/home/defaultAva.jpg b/public/assets/home/defaultAva.jpg new file mode 100644 index 0000000..2ae42b8 Binary files /dev/null and b/public/assets/home/defaultAva.jpg differ diff --git a/public/assets/home/dian.png b/public/assets/home/dian.png new file mode 100644 index 0000000..1df4b08 Binary files /dev/null and b/public/assets/home/dian.png differ diff --git a/public/assets/home/eagle.png b/public/assets/home/eagle.png new file mode 100644 index 0000000..b3d3ebe Binary files /dev/null and b/public/assets/home/eagle.png differ diff --git a/public/assets/home/erweima.jpg b/public/assets/home/erweima.jpg new file mode 100644 index 0000000..fd3c005 Binary files /dev/null and b/public/assets/home/erweima.jpg differ diff --git a/public/assets/home/esc.png b/public/assets/home/esc.png new file mode 100644 index 0000000..b259c0e Binary files /dev/null and b/public/assets/home/esc.png differ diff --git a/public/assets/home/fang.png b/public/assets/home/fang.png new file mode 100644 index 0000000..d45e3df Binary files /dev/null and b/public/assets/home/fang.png differ diff --git a/public/assets/home/fanli.png b/public/assets/home/fanli.png new file mode 100644 index 0000000..13d96e1 Binary files /dev/null and b/public/assets/home/fanli.png differ diff --git a/public/assets/home/fbrwicon.png b/public/assets/home/fbrwicon.png new file mode 100644 index 0000000..2f6935d Binary files /dev/null and b/public/assets/home/fbrwicon.png differ diff --git a/public/assets/home/flower.png b/public/assets/home/flower.png new file mode 100644 index 0000000..8d5b2e8 Binary files /dev/null and b/public/assets/home/flower.png differ diff --git a/public/assets/home/gongzuotai.png b/public/assets/home/gongzuotai.png new file mode 100644 index 0000000..ec5b729 Binary files /dev/null and b/public/assets/home/gongzuotai.png differ diff --git a/public/assets/home/google.png b/public/assets/home/google.png new file mode 100644 index 0000000..a120848 Binary files /dev/null and b/public/assets/home/google.png differ diff --git a/public/assets/home/gouwuche(1).png b/public/assets/home/gouwuche(1).png new file mode 100644 index 0000000..2d3123c Binary files /dev/null and b/public/assets/home/gouwuche(1).png differ diff --git a/public/assets/home/gtop.png b/public/assets/home/gtop.png new file mode 100644 index 0000000..5d6dca6 Binary files /dev/null and b/public/assets/home/gtop.png differ diff --git a/public/assets/home/guan.png b/public/assets/home/guan.png new file mode 100644 index 0000000..3cee7fb Binary files /dev/null and b/public/assets/home/guan.png differ diff --git a/public/assets/home/guo.png b/public/assets/home/guo.png new file mode 100644 index 0000000..3970e3f Binary files /dev/null and b/public/assets/home/guo.png differ diff --git a/public/assets/home/hangdo.png b/public/assets/home/hangdo.png new file mode 100644 index 0000000..688fa5a Binary files /dev/null and b/public/assets/home/hangdo.png differ diff --git a/public/assets/home/heng.png b/public/assets/home/heng.png new file mode 100644 index 0000000..64ecb8a Binary files /dev/null and b/public/assets/home/heng.png differ diff --git a/public/assets/home/hua.png b/public/assets/home/hua.png new file mode 100644 index 0000000..54d16d3 Binary files /dev/null and b/public/assets/home/hua.png differ diff --git a/public/assets/home/industry.png b/public/assets/home/industry.png new file mode 100644 index 0000000..e894f9e Binary files /dev/null and b/public/assets/home/industry.png differ diff --git a/public/assets/home/keyswan.png b/public/assets/home/keyswan.png new file mode 100644 index 0000000..eac8c63 Binary files /dev/null and b/public/assets/home/keyswan.png differ diff --git a/public/assets/home/keyware.png b/public/assets/home/keyware.png new file mode 100644 index 0000000..6d75e41 Binary files /dev/null and b/public/assets/home/keyware.png differ diff --git a/public/assets/home/kiter.png b/public/assets/home/kiter.png new file mode 100644 index 0000000..f8b8a22 Binary files /dev/null and b/public/assets/home/kiter.png differ diff --git a/public/assets/home/kud.png b/public/assets/home/kud.png new file mode 100644 index 0000000..e77ed89 Binary files /dev/null and b/public/assets/home/kud.png differ diff --git a/public/assets/home/ling.png b/public/assets/home/ling.png new file mode 100644 index 0000000..238eb5d Binary files /dev/null and b/public/assets/home/ling.png differ diff --git a/public/assets/home/lingqian.png b/public/assets/home/lingqian.png new file mode 100644 index 0000000..e696fb1 Binary files /dev/null and b/public/assets/home/lingqian.png differ diff --git a/public/assets/home/logo201812.png b/public/assets/home/logo201812.png new file mode 100644 index 0000000..a3ccea0 Binary files /dev/null and b/public/assets/home/logo201812.png differ diff --git a/public/assets/home/nao.png b/public/assets/home/nao.png new file mode 100644 index 0000000..0929895 Binary files /dev/null and b/public/assets/home/nao.png differ diff --git a/public/assets/home/photo.png b/public/assets/home/photo.png new file mode 100644 index 0000000..9f2f58f Binary files /dev/null and b/public/assets/home/photo.png differ diff --git a/public/assets/home/picture.png b/public/assets/home/picture.png new file mode 100644 index 0000000..18a898c Binary files /dev/null and b/public/assets/home/picture.png differ diff --git a/public/assets/home/qilin.png b/public/assets/home/qilin.png new file mode 100644 index 0000000..ded44f7 Binary files /dev/null and b/public/assets/home/qilin.png differ diff --git a/public/assets/home/quan.png b/public/assets/home/quan.png new file mode 100644 index 0000000..0fa0c4c Binary files /dev/null and b/public/assets/home/quan.png differ diff --git a/public/assets/home/testTool/1@2x.png b/public/assets/home/testTool/1@2x.png new file mode 100644 index 0000000..99ba1ab Binary files /dev/null and b/public/assets/home/testTool/1@2x.png differ diff --git a/public/assets/home/testTool/2@2x.png b/public/assets/home/testTool/2@2x.png new file mode 100644 index 0000000..f46223b Binary files /dev/null and b/public/assets/home/testTool/2@2x.png differ diff --git a/public/assets/home/testTool/3@2x.png b/public/assets/home/testTool/3@2x.png new file mode 100644 index 0000000..dfaff6e Binary files /dev/null and b/public/assets/home/testTool/3@2x.png differ diff --git a/public/assets/home/testTool/4@2x.png b/public/assets/home/testTool/4@2x.png new file mode 100644 index 0000000..a5a71c9 Binary files /dev/null and b/public/assets/home/testTool/4@2x.png differ diff --git a/public/assets/home/testTool/5@2x.png b/public/assets/home/testTool/5@2x.png new file mode 100644 index 0000000..0bde475 Binary files /dev/null and b/public/assets/home/testTool/5@2x.png differ diff --git a/public/assets/home/testTool/6@2x.png b/public/assets/home/testTool/6@2x.png new file mode 100644 index 0000000..26d1c71 Binary files /dev/null and b/public/assets/home/testTool/6@2x.png differ diff --git a/public/assets/home/testTool/gongsi@2x.png b/public/assets/home/testTool/gongsi@2x.png new file mode 100644 index 0000000..c222586 Binary files /dev/null and b/public/assets/home/testTool/gongsi@2x.png differ diff --git a/public/assets/home/testTool/jiaofu@2x.png b/public/assets/home/testTool/jiaofu@2x.png new file mode 100644 index 0000000..edff786 Binary files /dev/null and b/public/assets/home/testTool/jiaofu@2x.png differ diff --git a/public/assets/home/testTool/new.png b/public/assets/home/testTool/new.png new file mode 100644 index 0000000..4cd1e6b Binary files /dev/null and b/public/assets/home/testTool/new.png differ diff --git a/public/assets/home/testTool/new2.png b/public/assets/home/testTool/new2.png new file mode 100644 index 0000000..37c56c5 Binary files /dev/null and b/public/assets/home/testTool/new2.png differ diff --git a/public/assets/home/testTool/shebeileixing@2x.png b/public/assets/home/testTool/shebeileixing@2x.png new file mode 100644 index 0000000..02ef8b1 Binary files /dev/null and b/public/assets/home/testTool/shebeileixing@2x.png differ diff --git a/public/assets/home/testTool/shijian(1)@2x.png b/public/assets/home/testTool/shijian(1)@2x.png new file mode 100644 index 0000000..a06037e Binary files /dev/null and b/public/assets/home/testTool/shijian(1)@2x.png differ diff --git a/public/assets/home/toast.png b/public/assets/home/toast.png new file mode 100644 index 0000000..efc5393 Binary files /dev/null and b/public/assets/home/toast.png differ diff --git a/public/assets/home/tong.png b/public/assets/home/tong.png new file mode 100644 index 0000000..3abfe68 Binary files /dev/null and b/public/assets/home/tong.png differ diff --git a/public/assets/home/trainxy.png b/public/assets/home/trainxy.png new file mode 100644 index 0000000..dad11c2 Binary files /dev/null and b/public/assets/home/trainxy.png differ diff --git a/public/assets/home/wx.png b/public/assets/home/wx.png new file mode 100644 index 0000000..d52daac Binary files /dev/null and b/public/assets/home/wx.png differ diff --git a/public/assets/home/xiaoxi.png b/public/assets/home/xiaoxi.png new file mode 100644 index 0000000..26b018a Binary files /dev/null and b/public/assets/home/xiaoxi.png differ diff --git a/public/assets/home/xiton.png b/public/assets/home/xiton.png new file mode 100644 index 0000000..ea2d33a Binary files /dev/null and b/public/assets/home/xiton.png differ diff --git a/public/assets/home/yuanx.png b/public/assets/home/yuanx.png new file mode 100644 index 0000000..148a149 Binary files /dev/null and b/public/assets/home/yuanx.png differ diff --git a/public/assets/home/yunce.png b/public/assets/home/yunce.png new file mode 100644 index 0000000..8058716 Binary files /dev/null and b/public/assets/home/yunce.png differ diff --git a/public/assets/home/zfb.png b/public/assets/home/zfb.png new file mode 100644 index 0000000..1c93c71 Binary files /dev/null and b/public/assets/home/zfb.png differ diff --git a/public/assets/home/zhbao.png b/public/assets/home/zhbao.png new file mode 100644 index 0000000..e361651 Binary files /dev/null and b/public/assets/home/zhbao.png differ diff --git a/public/assets/home/zhbao1.png b/public/assets/home/zhbao1.png new file mode 100644 index 0000000..7759504 Binary files /dev/null and b/public/assets/home/zhbao1.png differ diff --git a/public/assets/home/zhong.png b/public/assets/home/zhong.png new file mode 100644 index 0000000..13c25ea Binary files /dev/null and b/public/assets/home/zhong.png differ diff --git a/public/assets/homepage/ahlg.png b/public/assets/homepage/ahlg.png new file mode 100644 index 0000000..ac38840 Binary files /dev/null and b/public/assets/homepage/ahlg.png differ diff --git a/public/assets/homepage/anlibg.png b/public/assets/homepage/anlibg.png new file mode 100644 index 0000000..0991d25 Binary files /dev/null and b/public/assets/homepage/anlibg.png differ diff --git a/public/assets/homepage/anwli.png b/public/assets/homepage/anwli.png new file mode 100644 index 0000000..ff062fc Binary files /dev/null and b/public/assets/homepage/anwli.png differ diff --git a/public/assets/homepage/banner.png b/public/assets/homepage/banner.png new file mode 100644 index 0000000..1247e22 Binary files /dev/null and b/public/assets/homepage/banner.png differ diff --git a/public/assets/homepage/bgyuu.png b/public/assets/homepage/bgyuu.png new file mode 100644 index 0000000..334f003 Binary files /dev/null and b/public/assets/homepage/bgyuu.png differ diff --git a/public/assets/homepage/chbg.png b/public/assets/homepage/chbg.png new file mode 100644 index 0000000..944a7e2 Binary files /dev/null and b/public/assets/homepage/chbg.png differ diff --git a/public/assets/homepage/cjqi.png b/public/assets/homepage/cjqi.png new file mode 100644 index 0000000..e965a74 Binary files /dev/null and b/public/assets/homepage/cjqi.png differ diff --git a/public/assets/homepage/coppru.png b/public/assets/homepage/coppru.png new file mode 100644 index 0000000..6340d12 Binary files /dev/null and b/public/assets/homepage/coppru.png differ diff --git a/public/assets/homepage/copxu.png b/public/assets/homepage/copxu.png new file mode 100644 index 0000000..1512c4c Binary files /dev/null and b/public/assets/homepage/copxu.png differ diff --git a/public/assets/homepage/cqjd.png b/public/assets/homepage/cqjd.png new file mode 100644 index 0000000..49ced55 Binary files /dev/null and b/public/assets/homepage/cqjd.png differ diff --git a/public/assets/homepage/csdh.png b/public/assets/homepage/csdh.png new file mode 100644 index 0000000..23f4f19 Binary files /dev/null and b/public/assets/homepage/csdh.png differ diff --git a/public/assets/homepage/gja.png b/public/assets/homepage/gja.png new file mode 100644 index 0000000..1de92a2 Binary files /dev/null and b/public/assets/homepage/gja.png differ diff --git a/public/assets/homepage/hdsf.png b/public/assets/homepage/hdsf.png new file mode 100644 index 0000000..a79a8f4 Binary files /dev/null and b/public/assets/homepage/hdsf.png differ diff --git a/public/assets/homepage/hyasgbg.png b/public/assets/homepage/hyasgbg.png new file mode 100644 index 0000000..6051f9e Binary files /dev/null and b/public/assets/homepage/hyasgbg.png differ diff --git a/public/assets/homepage/hysf.png b/public/assets/homepage/hysf.png new file mode 100644 index 0000000..603a667 Binary files /dev/null and b/public/assets/homepage/hysf.png differ diff --git a/public/assets/homepage/hz.png b/public/assets/homepage/hz.png new file mode 100644 index 0000000..c8b0681 Binary files /dev/null and b/public/assets/homepage/hz.png differ diff --git a/public/assets/homepage/hz1.png b/public/assets/homepage/hz1.png new file mode 100644 index 0000000..abed4a8 Binary files /dev/null and b/public/assets/homepage/hz1.png differ diff --git a/public/assets/homepage/hz2.png b/public/assets/homepage/hz2.png new file mode 100644 index 0000000..1725baf Binary files /dev/null and b/public/assets/homepage/hz2.png differ diff --git a/public/assets/homepage/hz3.png b/public/assets/homepage/hz3.png new file mode 100644 index 0000000..0734af1 Binary files /dev/null and b/public/assets/homepage/hz3.png differ diff --git a/public/assets/homepage/hz4.png b/public/assets/homepage/hz4.png new file mode 100644 index 0000000..c0d806b Binary files /dev/null and b/public/assets/homepage/hz4.png differ diff --git a/public/assets/homepage/hz5.png b/public/assets/homepage/hz5.png new file mode 100644 index 0000000..0a5dc39 Binary files /dev/null and b/public/assets/homepage/hz5.png differ diff --git a/public/assets/homepage/hz6.png b/public/assets/homepage/hz6.png new file mode 100644 index 0000000..d73b13a Binary files /dev/null and b/public/assets/homepage/hz6.png differ diff --git a/public/assets/homepage/hz7.png b/public/assets/homepage/hz7.png new file mode 100644 index 0000000..f8f3341 Binary files /dev/null and b/public/assets/homepage/hz7.png differ diff --git a/public/assets/homepage/hz8.png b/public/assets/homepage/hz8.png new file mode 100644 index 0000000..9454652 Binary files /dev/null and b/public/assets/homepage/hz8.png differ diff --git a/public/assets/homepage/lesftt.png b/public/assets/homepage/lesftt.png new file mode 100644 index 0000000..03e42f0 Binary files /dev/null and b/public/assets/homepage/lesftt.png differ diff --git a/public/assets/homepage/logos.png b/public/assets/homepage/logos.png new file mode 100644 index 0000000..7258cc3 Binary files /dev/null and b/public/assets/homepage/logos.png differ diff --git a/public/assets/homepage/peixunguanli.png b/public/assets/homepage/peixunguanli.png new file mode 100644 index 0000000..f7a1a64 Binary files /dev/null and b/public/assets/homepage/peixunguanli.png differ diff --git a/public/assets/homepage/perso.png b/public/assets/homepage/perso.png new file mode 100644 index 0000000..3a559f9 Binary files /dev/null and b/public/assets/homepage/perso.png differ diff --git a/public/assets/homepage/rihhj.png b/public/assets/homepage/rihhj.png new file mode 100644 index 0000000..e0e8965 Binary files /dev/null and b/public/assets/homepage/rihhj.png differ diff --git a/public/assets/homepage/schoolbg.png b/public/assets/homepage/schoolbg.png new file mode 100644 index 0000000..a1dbcf2 Binary files /dev/null and b/public/assets/homepage/schoolbg.png differ diff --git a/public/assets/homepage/ted1.png b/public/assets/homepage/ted1.png new file mode 100644 index 0000000..8504b4d Binary files /dev/null and b/public/assets/homepage/ted1.png differ diff --git a/public/assets/homepage/ted2.png b/public/assets/homepage/ted2.png new file mode 100644 index 0000000..2f0002a Binary files /dev/null and b/public/assets/homepage/ted2.png differ diff --git a/public/assets/homepage/ted3.png b/public/assets/homepage/ted3.png new file mode 100644 index 0000000..bac7e7d Binary files /dev/null and b/public/assets/homepage/ted3.png differ diff --git a/public/assets/homepage/ted4.png b/public/assets/homepage/ted4.png new file mode 100644 index 0000000..16eb770 Binary files /dev/null and b/public/assets/homepage/ted4.png differ diff --git a/public/assets/homepage/ted5.png b/public/assets/homepage/ted5.png new file mode 100644 index 0000000..2b839a3 Binary files /dev/null and b/public/assets/homepage/ted5.png differ diff --git a/public/assets/homepage/ted6.png b/public/assets/homepage/ted6.png new file mode 100644 index 0000000..10c0ccf Binary files /dev/null and b/public/assets/homepage/ted6.png differ diff --git a/public/assets/homepage/test1.png b/public/assets/homepage/test1.png new file mode 100644 index 0000000..4789d5b Binary files /dev/null and b/public/assets/homepage/test1.png differ diff --git a/public/assets/homepage/test2.png b/public/assets/homepage/test2.png new file mode 100644 index 0000000..fc2b471 Binary files /dev/null and b/public/assets/homepage/test2.png differ diff --git a/public/assets/homepage/test3.png b/public/assets/homepage/test3.png new file mode 100644 index 0000000..faf2ad1 Binary files /dev/null and b/public/assets/homepage/test3.png differ diff --git a/public/assets/homepage/test4.png b/public/assets/homepage/test4.png new file mode 100644 index 0000000..f4e9400 Binary files /dev/null and b/public/assets/homepage/test4.png differ diff --git a/public/assets/homepage/test5.png b/public/assets/homepage/test5.png new file mode 100644 index 0000000..216e65c Binary files /dev/null and b/public/assets/homepage/test5.png differ diff --git a/public/assets/homepage/test6.png b/public/assets/homepage/test6.png new file mode 100644 index 0000000..b6174a3 Binary files /dev/null and b/public/assets/homepage/test6.png differ diff --git a/public/assets/homepage/tuve.png b/public/assets/homepage/tuve.png new file mode 100644 index 0000000..1495bec Binary files /dev/null and b/public/assets/homepage/tuve.png differ diff --git a/public/assets/homepage/xcx.jpg b/public/assets/homepage/xcx.jpg new file mode 100644 index 0000000..c414f18 Binary files /dev/null and b/public/assets/homepage/xcx.jpg differ diff --git a/public/assets/homepage/xiankej.png b/public/assets/homepage/xiankej.png new file mode 100644 index 0000000..dd2d945 Binary files /dev/null and b/public/assets/homepage/xiankej.png differ diff --git a/public/assets/homepage/xkak.png b/public/assets/homepage/xkak.png new file mode 100644 index 0000000..a8e26df Binary files /dev/null and b/public/assets/homepage/xkak.png differ diff --git a/public/assets/homepage/组 240.png b/public/assets/homepage/组 240.png new file mode 100644 index 0000000..0702e5e Binary files /dev/null and b/public/assets/homepage/组 240.png differ diff --git a/public/assets/homepage/组 241(1).png b/public/assets/homepage/组 241(1).png new file mode 100644 index 0000000..5ef47dd Binary files /dev/null and b/public/assets/homepage/组 241(1).png differ diff --git a/public/assets/homepage/组 241(2).png b/public/assets/homepage/组 241(2).png new file mode 100644 index 0000000..4bcc17f Binary files /dev/null and b/public/assets/homepage/组 241(2).png differ diff --git a/public/assets/homepage/组 241(3).png b/public/assets/homepage/组 241(3).png new file mode 100644 index 0000000..b84b175 Binary files /dev/null and b/public/assets/homepage/组 241(3).png differ diff --git a/public/assets/homepage/组 241(4).png b/public/assets/homepage/组 241(4).png new file mode 100644 index 0000000..1357b28 Binary files /dev/null and b/public/assets/homepage/组 241(4).png differ diff --git a/public/assets/homepage/组 241(5).png b/public/assets/homepage/组 241(5).png new file mode 100644 index 0000000..3c84abd Binary files /dev/null and b/public/assets/homepage/组 241(5).png differ diff --git a/public/assets/homepage/组 241(6).png b/public/assets/homepage/组 241(6).png new file mode 100644 index 0000000..cae78b6 Binary files /dev/null and b/public/assets/homepage/组 241(6).png differ diff --git a/public/assets/homepage/组 241.png b/public/assets/homepage/组 241.png new file mode 100644 index 0000000..04addb6 Binary files /dev/null and b/public/assets/homepage/组 241.png differ diff --git a/public/assets/homepage/组 246(1).png b/public/assets/homepage/组 246(1).png new file mode 100644 index 0000000..306b2f5 Binary files /dev/null and b/public/assets/homepage/组 246(1).png differ diff --git a/public/assets/homepage/组 246.png b/public/assets/homepage/组 246.png new file mode 100644 index 0000000..a6c245c Binary files /dev/null and b/public/assets/homepage/组 246.png differ diff --git a/public/assets/homepage/组 7.png b/public/assets/homepage/组 7.png new file mode 100644 index 0000000..b6e5794 Binary files /dev/null and b/public/assets/homepage/组 7.png differ diff --git a/public/assets/loginreg/._.DS_Store b/public/assets/loginreg/._.DS_Store new file mode 100644 index 0000000..9ad849c Binary files /dev/null and b/public/assets/loginreg/._.DS_Store differ diff --git a/public/assets/loginreg/account.png b/public/assets/loginreg/account.png new file mode 100644 index 0000000..d796e91 Binary files /dev/null and b/public/assets/loginreg/account.png differ diff --git a/public/assets/loginreg/bg.png b/public/assets/loginreg/bg.png new file mode 100644 index 0000000..a6efc2b Binary files /dev/null and b/public/assets/loginreg/bg.png differ diff --git a/public/assets/loginreg/buxianshi.png b/public/assets/loginreg/buxianshi.png new file mode 100644 index 0000000..cc3a90c Binary files /dev/null and b/public/assets/loginreg/buxianshi.png differ diff --git a/public/assets/loginreg/dianhua.png b/public/assets/loginreg/dianhua.png new file mode 100644 index 0000000..76856e7 Binary files /dev/null and b/public/assets/loginreg/dianhua.png differ diff --git a/public/assets/loginreg/erweim.png b/public/assets/loginreg/erweim.png new file mode 100644 index 0000000..785cc42 Binary files /dev/null and b/public/assets/loginreg/erweim.png differ diff --git a/public/assets/loginreg/logo.png b/public/assets/loginreg/logo.png new file mode 100644 index 0000000..a3ccea0 Binary files /dev/null and b/public/assets/loginreg/logo.png differ diff --git a/public/assets/loginreg/logo1.png b/public/assets/loginreg/logo1.png new file mode 100644 index 0000000..7ea93eb Binary files /dev/null and b/public/assets/loginreg/logo1.png differ diff --git a/public/assets/loginreg/password.png b/public/assets/loginreg/password.png new file mode 100644 index 0000000..22a13db Binary files /dev/null and b/public/assets/loginreg/password.png differ diff --git a/public/assets/loginreg/shouji.png b/public/assets/loginreg/shouji.png new file mode 100644 index 0000000..b2a43d3 Binary files /dev/null and b/public/assets/loginreg/shouji.png differ diff --git a/public/assets/loginreg/shoujihao.png b/public/assets/loginreg/shoujihao.png new file mode 100644 index 0000000..8c6ccd1 Binary files /dev/null and b/public/assets/loginreg/shoujihao.png differ diff --git a/public/assets/loginreg/yanzhengma.png b/public/assets/loginreg/yanzhengma.png new file mode 100644 index 0000000..c23f94b Binary files /dev/null and b/public/assets/loginreg/yanzhengma.png differ diff --git a/public/assets/loginreg/youxiang.png b/public/assets/loginreg/youxiang.png new file mode 100644 index 0000000..8897e09 Binary files /dev/null and b/public/assets/loginreg/youxiang.png differ diff --git a/public/assets/newtrain/banner.png b/public/assets/newtrain/banner.png new file mode 100644 index 0000000..928dbf8 Binary files /dev/null and b/public/assets/newtrain/banner.png differ diff --git a/public/assets/newtrain/hoticon.png b/public/assets/newtrain/hoticon.png new file mode 100644 index 0000000..fe24377 Binary files /dev/null and b/public/assets/newtrain/hoticon.png differ diff --git a/public/assets/newtrain/kkxtime.png b/public/assets/newtrain/kkxtime.png new file mode 100644 index 0000000..a1763d3 Binary files /dev/null and b/public/assets/newtrain/kkxtime.png differ diff --git a/public/assets/newtrain/model10_1.png b/public/assets/newtrain/model10_1.png new file mode 100644 index 0000000..e68962e Binary files /dev/null and b/public/assets/newtrain/model10_1.png differ diff --git a/public/assets/newtrain/model10_2.png b/public/assets/newtrain/model10_2.png new file mode 100644 index 0000000..70f116a Binary files /dev/null and b/public/assets/newtrain/model10_2.png differ diff --git a/public/assets/newtrain/model10_3.png b/public/assets/newtrain/model10_3.png new file mode 100644 index 0000000..99c7517 Binary files /dev/null and b/public/assets/newtrain/model10_3.png differ diff --git a/public/assets/newtrain/model10_4.png b/public/assets/newtrain/model10_4.png new file mode 100644 index 0000000..199c7c0 Binary files /dev/null and b/public/assets/newtrain/model10_4.png differ diff --git a/public/assets/newtrain/model10_5.png b/public/assets/newtrain/model10_5.png new file mode 100644 index 0000000..8cbc717 Binary files /dev/null and b/public/assets/newtrain/model10_5.png differ diff --git a/public/assets/newtrain/model10_title.png b/public/assets/newtrain/model10_title.png new file mode 100644 index 0000000..507e57f Binary files /dev/null and b/public/assets/newtrain/model10_title.png differ diff --git a/public/assets/newtrain/model1_1.png b/public/assets/newtrain/model1_1.png new file mode 100644 index 0000000..bf40774 Binary files /dev/null and b/public/assets/newtrain/model1_1.png differ diff --git a/public/assets/newtrain/model1_2.png b/public/assets/newtrain/model1_2.png new file mode 100644 index 0000000..93fc592 Binary files /dev/null and b/public/assets/newtrain/model1_2.png differ diff --git a/public/assets/newtrain/model1_3.png b/public/assets/newtrain/model1_3.png new file mode 100644 index 0000000..c942548 Binary files /dev/null and b/public/assets/newtrain/model1_3.png differ diff --git a/public/assets/newtrain/model1_4.png b/public/assets/newtrain/model1_4.png new file mode 100644 index 0000000..523608a Binary files /dev/null and b/public/assets/newtrain/model1_4.png differ diff --git a/public/assets/newtrain/model1_5.png b/public/assets/newtrain/model1_5.png new file mode 100644 index 0000000..8a8edbc Binary files /dev/null and b/public/assets/newtrain/model1_5.png differ diff --git a/public/assets/newtrain/model1_6.png b/public/assets/newtrain/model1_6.png new file mode 100644 index 0000000..b3ee7c9 Binary files /dev/null and b/public/assets/newtrain/model1_6.png differ diff --git a/public/assets/newtrain/model1_7.png b/public/assets/newtrain/model1_7.png new file mode 100644 index 0000000..b711fda Binary files /dev/null and b/public/assets/newtrain/model1_7.png differ diff --git a/public/assets/newtrain/model1_8.png b/public/assets/newtrain/model1_8.png new file mode 100644 index 0000000..96caf20 Binary files /dev/null and b/public/assets/newtrain/model1_8.png differ diff --git a/public/assets/newtrain/model1_title.png b/public/assets/newtrain/model1_title.png new file mode 100644 index 0000000..d285712 Binary files /dev/null and b/public/assets/newtrain/model1_title.png differ diff --git a/public/assets/newtrain/model2_1.png b/public/assets/newtrain/model2_1.png new file mode 100644 index 0000000..4b75f15 Binary files /dev/null and b/public/assets/newtrain/model2_1.png differ diff --git a/public/assets/newtrain/model2_2.png b/public/assets/newtrain/model2_2.png new file mode 100644 index 0000000..bb9e152 Binary files /dev/null and b/public/assets/newtrain/model2_2.png differ diff --git a/public/assets/newtrain/model2_3.png b/public/assets/newtrain/model2_3.png new file mode 100644 index 0000000..28f36ca Binary files /dev/null and b/public/assets/newtrain/model2_3.png differ diff --git a/public/assets/newtrain/model2_4.png b/public/assets/newtrain/model2_4.png new file mode 100644 index 0000000..30fab1a Binary files /dev/null and b/public/assets/newtrain/model2_4.png differ diff --git a/public/assets/newtrain/model2_5.png b/public/assets/newtrain/model2_5.png new file mode 100644 index 0000000..3549954 Binary files /dev/null and b/public/assets/newtrain/model2_5.png differ diff --git a/public/assets/newtrain/model2_6.png b/public/assets/newtrain/model2_6.png new file mode 100644 index 0000000..bb48c11 Binary files /dev/null and b/public/assets/newtrain/model2_6.png differ diff --git a/public/assets/newtrain/model2_7.png b/public/assets/newtrain/model2_7.png new file mode 100644 index 0000000..93e0d38 Binary files /dev/null and b/public/assets/newtrain/model2_7.png differ diff --git a/public/assets/newtrain/model2_8.png b/public/assets/newtrain/model2_8.png new file mode 100644 index 0000000..78caf6a Binary files /dev/null and b/public/assets/newtrain/model2_8.png differ diff --git a/public/assets/newtrain/model2_banner.png b/public/assets/newtrain/model2_banner.png new file mode 100644 index 0000000..8fdfe6b Binary files /dev/null and b/public/assets/newtrain/model2_banner.png differ diff --git a/public/assets/newtrain/model2_title.png b/public/assets/newtrain/model2_title.png new file mode 100644 index 0000000..03ce830 Binary files /dev/null and b/public/assets/newtrain/model2_title.png differ diff --git a/public/assets/newtrain/model3_title.png b/public/assets/newtrain/model3_title.png new file mode 100644 index 0000000..ebca24f Binary files /dev/null and b/public/assets/newtrain/model3_title.png differ diff --git a/public/assets/newtrain/model4_1.png b/public/assets/newtrain/model4_1.png new file mode 100644 index 0000000..dc90612 Binary files /dev/null and b/public/assets/newtrain/model4_1.png differ diff --git a/public/assets/newtrain/model4_2.png b/public/assets/newtrain/model4_2.png new file mode 100644 index 0000000..d4ae87c Binary files /dev/null and b/public/assets/newtrain/model4_2.png differ diff --git a/public/assets/newtrain/model4_3.png b/public/assets/newtrain/model4_3.png new file mode 100644 index 0000000..8e6e09a Binary files /dev/null and b/public/assets/newtrain/model4_3.png differ diff --git a/public/assets/newtrain/model4_4.png b/public/assets/newtrain/model4_4.png new file mode 100644 index 0000000..c4f034a Binary files /dev/null and b/public/assets/newtrain/model4_4.png differ diff --git a/public/assets/newtrain/model4_5.png b/public/assets/newtrain/model4_5.png new file mode 100644 index 0000000..e439112 Binary files /dev/null and b/public/assets/newtrain/model4_5.png differ diff --git a/public/assets/newtrain/model4_6.png b/public/assets/newtrain/model4_6.png new file mode 100644 index 0000000..09de593 Binary files /dev/null and b/public/assets/newtrain/model4_6.png differ diff --git a/public/assets/newtrain/model4_7.png b/public/assets/newtrain/model4_7.png new file mode 100644 index 0000000..106fd46 Binary files /dev/null and b/public/assets/newtrain/model4_7.png differ diff --git a/public/assets/newtrain/model4_8.png b/public/assets/newtrain/model4_8.png new file mode 100644 index 0000000..40967f4 Binary files /dev/null and b/public/assets/newtrain/model4_8.png differ diff --git a/public/assets/newtrain/model4_9.png b/public/assets/newtrain/model4_9.png new file mode 100644 index 0000000..09ba574 Binary files /dev/null and b/public/assets/newtrain/model4_9.png differ diff --git a/public/assets/newtrain/model4_title.png b/public/assets/newtrain/model4_title.png new file mode 100644 index 0000000..4c34ea5 Binary files /dev/null and b/public/assets/newtrain/model4_title.png differ diff --git a/public/assets/newtrain/model5_1.png b/public/assets/newtrain/model5_1.png new file mode 100644 index 0000000..266e1da Binary files /dev/null and b/public/assets/newtrain/model5_1.png differ diff --git a/public/assets/newtrain/model5_2.png b/public/assets/newtrain/model5_2.png new file mode 100644 index 0000000..ed3f8f6 Binary files /dev/null and b/public/assets/newtrain/model5_2.png differ diff --git a/public/assets/newtrain/model5_3.png b/public/assets/newtrain/model5_3.png new file mode 100644 index 0000000..5d88474 Binary files /dev/null and b/public/assets/newtrain/model5_3.png differ diff --git a/public/assets/newtrain/model5_4.png b/public/assets/newtrain/model5_4.png new file mode 100644 index 0000000..30a10f5 Binary files /dev/null and b/public/assets/newtrain/model5_4.png differ diff --git a/public/assets/newtrain/model5_5.jpg b/public/assets/newtrain/model5_5.jpg new file mode 100644 index 0000000..2316337 Binary files /dev/null and b/public/assets/newtrain/model5_5.jpg differ diff --git a/public/assets/newtrain/model5_title.png b/public/assets/newtrain/model5_title.png new file mode 100644 index 0000000..3cd0533 Binary files /dev/null and b/public/assets/newtrain/model5_title.png differ diff --git a/public/assets/newtrain/model6_title.png b/public/assets/newtrain/model6_title.png new file mode 100644 index 0000000..44f14c1 Binary files /dev/null and b/public/assets/newtrain/model6_title.png differ diff --git a/public/assets/newtrain/model7_title.png b/public/assets/newtrain/model7_title.png new file mode 100644 index 0000000..f274c55 Binary files /dev/null and b/public/assets/newtrain/model7_title.png differ diff --git a/public/assets/newtrain/model8_1.png b/public/assets/newtrain/model8_1.png new file mode 100644 index 0000000..5a09530 Binary files /dev/null and b/public/assets/newtrain/model8_1.png differ diff --git a/public/assets/newtrain/model8_2.png b/public/assets/newtrain/model8_2.png new file mode 100644 index 0000000..19c349b Binary files /dev/null and b/public/assets/newtrain/model8_2.png differ diff --git a/public/assets/newtrain/model8_3.png b/public/assets/newtrain/model8_3.png new file mode 100644 index 0000000..d387ffa Binary files /dev/null and b/public/assets/newtrain/model8_3.png differ diff --git a/public/assets/newtrain/model8_4.png b/public/assets/newtrain/model8_4.png new file mode 100644 index 0000000..81f0acb Binary files /dev/null and b/public/assets/newtrain/model8_4.png differ diff --git a/public/assets/newtrain/model8_5.png b/public/assets/newtrain/model8_5.png new file mode 100644 index 0000000..bd32305 Binary files /dev/null and b/public/assets/newtrain/model8_5.png differ diff --git a/public/assets/newtrain/model8_title.png b/public/assets/newtrain/model8_title.png new file mode 100644 index 0000000..95841de Binary files /dev/null and b/public/assets/newtrain/model8_title.png differ diff --git a/public/assets/newtrain/model9_1.png b/public/assets/newtrain/model9_1.png new file mode 100644 index 0000000..3ec119a Binary files /dev/null and b/public/assets/newtrain/model9_1.png differ diff --git a/public/assets/newtrain/model9_title.png b/public/assets/newtrain/model9_title.png new file mode 100644 index 0000000..62ab142 Binary files /dev/null and b/public/assets/newtrain/model9_title.png differ diff --git a/public/assets/newtrain/peixun.png b/public/assets/newtrain/peixun.png new file mode 100644 index 0000000..53e8b21 Binary files /dev/null and b/public/assets/newtrain/peixun.png differ diff --git a/public/assets/newtrain/peixun1.png b/public/assets/newtrain/peixun1.png new file mode 100644 index 0000000..52efad5 Binary files /dev/null and b/public/assets/newtrain/peixun1.png differ diff --git a/public/assets/newtrain/peixun2.png b/public/assets/newtrain/peixun2.png new file mode 100644 index 0000000..928d7d5 Binary files /dev/null and b/public/assets/newtrain/peixun2.png differ diff --git a/public/assets/newtrain/peixun3.png b/public/assets/newtrain/peixun3.png new file mode 100644 index 0000000..ed88997 Binary files /dev/null and b/public/assets/newtrain/peixun3.png differ diff --git a/public/assets/newtrain/people1.png b/public/assets/newtrain/people1.png new file mode 100644 index 0000000..b7f617f Binary files /dev/null and b/public/assets/newtrain/people1.png differ diff --git a/public/assets/newtrain/people2.png b/public/assets/newtrain/people2.png new file mode 100644 index 0000000..3e61a2f Binary files /dev/null and b/public/assets/newtrain/people2.png differ diff --git a/public/assets/newtrain/people3.png b/public/assets/newtrain/people3.png new file mode 100644 index 0000000..68cc976 Binary files /dev/null and b/public/assets/newtrain/people3.png differ diff --git a/public/assets/newtrain/people4.png b/public/assets/newtrain/people4.png new file mode 100644 index 0000000..bffbc0f Binary files /dev/null and b/public/assets/newtrain/people4.png differ diff --git a/public/assets/newtrain/people5.png b/public/assets/newtrain/people5.png new file mode 100644 index 0000000..9dec5d3 Binary files /dev/null and b/public/assets/newtrain/people5.png differ diff --git a/public/assets/newtrain/people6.png b/public/assets/newtrain/people6.png new file mode 100644 index 0000000..e6fd43f Binary files /dev/null and b/public/assets/newtrain/people6.png differ diff --git a/public/assets/newtrain/people7.png b/public/assets/newtrain/people7.png new file mode 100644 index 0000000..59ed82e Binary files /dev/null and b/public/assets/newtrain/people7.png differ diff --git a/public/assets/newtrain/people8.png b/public/assets/newtrain/people8.png new file mode 100644 index 0000000..c889572 Binary files /dev/null and b/public/assets/newtrain/people8.png differ diff --git a/public/assets/newtrain/unlineclass.png b/public/assets/newtrain/unlineclass.png new file mode 100644 index 0000000..a7889c4 Binary files /dev/null and b/public/assets/newtrain/unlineclass.png differ diff --git a/public/assets/openSource/Apifox.png b/public/assets/openSource/Apifox.png new file mode 100644 index 0000000..45375c5 Binary files /dev/null and b/public/assets/openSource/Apifox.png differ diff --git a/public/assets/openSource/Codacy.png b/public/assets/openSource/Codacy.png new file mode 100644 index 0000000..3c517ed Binary files /dev/null and b/public/assets/openSource/Codacy.png differ diff --git a/public/assets/openSource/DiffblueCover.png b/public/assets/openSource/DiffblueCover.png new file mode 100644 index 0000000..a86b220 Binary files /dev/null and b/public/assets/openSource/DiffblueCover.png differ diff --git a/public/assets/openSource/EvoSuite.png b/public/assets/openSource/EvoSuite.png new file mode 100644 index 0000000..429d8d5 Binary files /dev/null and b/public/assets/openSource/EvoSuite.png differ diff --git a/public/assets/openSource/GoogleTest.png b/public/assets/openSource/GoogleTest.png new file mode 100644 index 0000000..eab5298 Binary files /dev/null and b/public/assets/openSource/GoogleTest.png differ diff --git a/public/assets/openSource/JMeter.png b/public/assets/openSource/JMeter.png new file mode 100644 index 0000000..fb8ab5c Binary files /dev/null and b/public/assets/openSource/JMeter.png differ diff --git a/public/assets/openSource/JMockit.png b/public/assets/openSource/JMockit.png new file mode 100644 index 0000000..15af7c3 Binary files /dev/null and b/public/assets/openSource/JMockit.png differ diff --git a/public/assets/openSource/JUnit.png b/public/assets/openSource/JUnit.png new file mode 100644 index 0000000..c27b3b2 Binary files /dev/null and b/public/assets/openSource/JUnit.png differ diff --git a/public/assets/openSource/Jacoco.png b/public/assets/openSource/Jacoco.png new file mode 100644 index 0000000..ddbfbab Binary files /dev/null and b/public/assets/openSource/Jacoco.png differ diff --git a/public/assets/openSource/Karate.png b/public/assets/openSource/Karate.png new file mode 100644 index 0000000..2c299e3 Binary files /dev/null and b/public/assets/openSource/Karate.png differ diff --git a/public/assets/openSource/Katalon.png b/public/assets/openSource/Katalon.png new file mode 100644 index 0000000..1edeea0 Binary files /dev/null and b/public/assets/openSource/Katalon.png differ diff --git a/public/assets/openSource/LGTM.png b/public/assets/openSource/LGTM.png new file mode 100644 index 0000000..a7ef3f2 Binary files /dev/null and b/public/assets/openSource/LGTM.png differ diff --git a/public/assets/openSource/Metasploit.png b/public/assets/openSource/Metasploit.png new file mode 100644 index 0000000..eb7f4b7 Binary files /dev/null and b/public/assets/openSource/Metasploit.png differ diff --git a/public/assets/openSource/NMap.png b/public/assets/openSource/NMap.png new file mode 100644 index 0000000..96fd7f0 Binary files /dev/null and b/public/assets/openSource/NMap.png differ diff --git a/public/assets/openSource/Postman.png b/public/assets/openSource/Postman.png new file mode 100644 index 0000000..18988a5 Binary files /dev/null and b/public/assets/openSource/Postman.png differ diff --git a/public/assets/openSource/Pytest.png b/public/assets/openSource/Pytest.png new file mode 100644 index 0000000..2ead9a4 Binary files /dev/null and b/public/assets/openSource/Pytest.png differ diff --git a/public/assets/openSource/REST-Assured.png b/public/assets/openSource/REST-Assured.png new file mode 100644 index 0000000..44f2d76 Binary files /dev/null and b/public/assets/openSource/REST-Assured.png differ diff --git a/public/assets/openSource/SQLmap.png b/public/assets/openSource/SQLmap.png new file mode 100644 index 0000000..b9685bb Binary files /dev/null and b/public/assets/openSource/SQLmap.png differ diff --git a/public/assets/openSource/SoapUI.png b/public/assets/openSource/SoapUI.png new file mode 100644 index 0000000..a8cd1fa Binary files /dev/null and b/public/assets/openSource/SoapUI.png differ diff --git a/public/assets/openSource/SonarQube.png b/public/assets/openSource/SonarQube.png new file mode 100644 index 0000000..e0b5b4d Binary files /dev/null and b/public/assets/openSource/SonarQube.png differ diff --git a/public/assets/openSource/TestNG.png b/public/assets/openSource/TestNG.png new file mode 100644 index 0000000..e36038a Binary files /dev/null and b/public/assets/openSource/TestNG.png differ diff --git a/public/assets/openSource/Unittest.png b/public/assets/openSource/Unittest.png new file mode 100644 index 0000000..a3fa529 Binary files /dev/null and b/public/assets/openSource/Unittest.png differ diff --git a/public/assets/openSource/W3af.png b/public/assets/openSource/W3af.png new file mode 100644 index 0000000..331ea75 Binary files /dev/null and b/public/assets/openSource/W3af.png differ diff --git a/public/assets/openSource/ZAP.png b/public/assets/openSource/ZAP.png new file mode 100644 index 0000000..31eb81d Binary files /dev/null and b/public/assets/openSource/ZAP.png differ diff --git a/public/assets/openSource/banbengengxin.png b/public/assets/openSource/banbengengxin.png new file mode 100644 index 0000000..8798a4c Binary files /dev/null and b/public/assets/openSource/banbengengxin.png differ diff --git a/public/assets/openSource/caozuoxitong.png b/public/assets/openSource/caozuoxitong.png new file mode 100644 index 0000000..47f2313 Binary files /dev/null and b/public/assets/openSource/caozuoxitong.png differ diff --git a/public/assets/openSource/shebeileixing.png b/public/assets/openSource/shebeileixing.png new file mode 100644 index 0000000..0b4bd6e Binary files /dev/null and b/public/assets/openSource/shebeileixing.png differ diff --git a/public/assets/openSource/title.png b/public/assets/openSource/title.png new file mode 100644 index 0000000..200654f Binary files /dev/null and b/public/assets/openSource/title.png differ diff --git a/public/assets/openSource/title1.png b/public/assets/openSource/title1.png new file mode 100644 index 0000000..29ebaf2 Binary files /dev/null and b/public/assets/openSource/title1.png differ diff --git a/public/assets/openSource/title2.png b/public/assets/openSource/title2.png new file mode 100644 index 0000000..b48f43f Binary files /dev/null and b/public/assets/openSource/title2.png differ diff --git a/public/assets/openSource/title3.png b/public/assets/openSource/title3.png new file mode 100644 index 0000000..6059638 Binary files /dev/null and b/public/assets/openSource/title3.png differ diff --git a/public/assets/openSource/title4.png b/public/assets/openSource/title4.png new file mode 100644 index 0000000..6fea213 Binary files /dev/null and b/public/assets/openSource/title4.png differ diff --git a/public/assets/openSource/title5.png b/public/assets/openSource/title5.png new file mode 100644 index 0000000..281bca5 Binary files /dev/null and b/public/assets/openSource/title5.png differ diff --git a/public/assets/openSource/title6.png b/public/assets/openSource/title6.png new file mode 100644 index 0000000..e96b6ad Binary files /dev/null and b/public/assets/openSource/title6.png differ diff --git a/public/assets/personal/ceshishenqing 1.png b/public/assets/personal/ceshishenqing 1.png new file mode 100644 index 0000000..ca4a824 Binary files /dev/null and b/public/assets/personal/ceshishenqing 1.png differ diff --git a/public/assets/personal/ceshishenqing.png b/public/assets/personal/ceshishenqing.png new file mode 100644 index 0000000..a9d1826 Binary files /dev/null and b/public/assets/personal/ceshishenqing.png differ diff --git a/public/assets/personal/chakan.png b/public/assets/personal/chakan.png new file mode 100644 index 0000000..46f569c Binary files /dev/null and b/public/assets/personal/chakan.png differ diff --git a/public/assets/personal/chenggong 1.png b/public/assets/personal/chenggong 1.png new file mode 100644 index 0000000..5164eef Binary files /dev/null and b/public/assets/personal/chenggong 1.png differ diff --git a/public/assets/personal/chenggong.png b/public/assets/personal/chenggong.png new file mode 100644 index 0000000..8573a85 Binary files /dev/null and b/public/assets/personal/chenggong.png differ diff --git a/public/assets/personal/details.png b/public/assets/personal/details.png new file mode 100644 index 0000000..79a93d5 Binary files /dev/null and b/public/assets/personal/details.png differ diff --git a/public/assets/personal/diannao(1).png b/public/assets/personal/diannao(1).png new file mode 100644 index 0000000..f6a70eb Binary files /dev/null and b/public/assets/personal/diannao(1).png differ diff --git a/public/assets/personal/diannao.png b/public/assets/personal/diannao.png new file mode 100644 index 0000000..dbd5766 Binary files /dev/null and b/public/assets/personal/diannao.png differ diff --git a/public/assets/personal/dingdan(1).png b/public/assets/personal/dingdan(1).png new file mode 100644 index 0000000..9eb7c5e Binary files /dev/null and b/public/assets/personal/dingdan(1).png differ diff --git a/public/assets/personal/dingdan.png b/public/assets/personal/dingdan.png new file mode 100644 index 0000000..f144146 Binary files /dev/null and b/public/assets/personal/dingdan.png differ diff --git a/public/assets/personal/drgspingtairuanjianxitong210(1).png b/public/assets/personal/drgspingtairuanjianxitong210(1).png new file mode 100644 index 0000000..97198eb Binary files /dev/null and b/public/assets/personal/drgspingtairuanjianxitong210(1).png differ diff --git a/public/assets/personal/drgspingtairuanjianxitong210.png b/public/assets/personal/drgspingtairuanjianxitong210.png new file mode 100644 index 0000000..f3014b3 Binary files /dev/null and b/public/assets/personal/drgspingtairuanjianxitong210.png differ diff --git a/public/assets/personal/fabu.png b/public/assets/personal/fabu.png new file mode 100644 index 0000000..b125458 Binary files /dev/null and b/public/assets/personal/fabu.png differ diff --git a/public/assets/personal/fabu1.png b/public/assets/personal/fabu1.png new file mode 100644 index 0000000..d073f2f Binary files /dev/null and b/public/assets/personal/fabu1.png differ diff --git a/public/assets/personal/fuwuleixing.png b/public/assets/personal/fuwuleixing.png new file mode 100644 index 0000000..791bd8d Binary files /dev/null and b/public/assets/personal/fuwuleixing.png differ diff --git a/public/assets/personal/gouwucheman(1).png b/public/assets/personal/gouwucheman(1).png new file mode 100644 index 0000000..d15f094 Binary files /dev/null and b/public/assets/personal/gouwucheman(1).png differ diff --git a/public/assets/personal/gouwucheman.png b/public/assets/personal/gouwucheman.png new file mode 100644 index 0000000..38dab3c Binary files /dev/null and b/public/assets/personal/gouwucheman.png differ diff --git a/public/assets/personal/lQLPDhrgYvD9CoXMyMzIsGJv6zXHxUGvAZzgq7MASAA_200_200.png b/public/assets/personal/lQLPDhrgYvD9CoXMyMzIsGJv6zXHxUGvAZzgq7MASAA_200_200.png new file mode 100644 index 0000000..18a898c Binary files /dev/null and b/public/assets/personal/lQLPDhrgYvD9CoXMyMzIsGJv6zXHxUGvAZzgq7MASAA_200_200.png differ diff --git a/public/assets/personal/poto.png b/public/assets/personal/poto.png new file mode 100644 index 0000000..eac75c8 Binary files /dev/null and b/public/assets/personal/poto.png differ diff --git a/public/assets/personal/quyujishushichang(1).png b/public/assets/personal/quyujishushichang(1).png new file mode 100644 index 0000000..fbf0ef6 Binary files /dev/null and b/public/assets/personal/quyujishushichang(1).png differ diff --git a/public/assets/personal/quyujishushichang.png b/public/assets/personal/quyujishushichang.png new file mode 100644 index 0000000..ac045cd Binary files /dev/null and b/public/assets/personal/quyujishushichang.png differ diff --git a/public/assets/personal/renwu(1).png b/public/assets/personal/renwu(1).png new file mode 100644 index 0000000..bfaf8fd Binary files /dev/null and b/public/assets/personal/renwu(1).png differ diff --git a/public/assets/personal/renwu.png b/public/assets/personal/renwu.png new file mode 100644 index 0000000..e10ffed Binary files /dev/null and b/public/assets/personal/renwu.png differ diff --git a/public/assets/personal/rili.png b/public/assets/personal/rili.png new file mode 100644 index 0000000..81e6d3e Binary files /dev/null and b/public/assets/personal/rili.png differ diff --git a/public/assets/personal/shebeiguanli(1).png b/public/assets/personal/shebeiguanli(1).png new file mode 100644 index 0000000..0d3cd62 Binary files /dev/null and b/public/assets/personal/shebeiguanli(1).png differ diff --git a/public/assets/personal/shebeiguanli.png b/public/assets/personal/shebeiguanli.png new file mode 100644 index 0000000..f2a68c7 Binary files /dev/null and b/public/assets/personal/shebeiguanli.png differ diff --git a/public/assets/personal/shoujitianchong.png b/public/assets/personal/shoujitianchong.png new file mode 100644 index 0000000..9a48c72 Binary files /dev/null and b/public/assets/personal/shoujitianchong.png differ diff --git a/public/assets/personal/shouye %bf%bd%b1%b4.png b/public/assets/personal/shouye %bf%bd%b1%b4.png new file mode 100644 index 0000000..08545a8 Binary files /dev/null and b/public/assets/personal/shouye %bf%bd%b1%b4.png differ diff --git a/public/assets/personal/shouye 拷贝.png b/public/assets/personal/shouye 拷贝.png new file mode 100644 index 0000000..08545a8 Binary files /dev/null and b/public/assets/personal/shouye 拷贝.png differ diff --git a/public/assets/personal/shouye.png b/public/assets/personal/shouye.png new file mode 100644 index 0000000..c8ad400 Binary files /dev/null and b/public/assets/personal/shouye.png differ diff --git a/public/assets/personal/suichegongju(1).png b/public/assets/personal/suichegongju(1).png new file mode 100644 index 0000000..1015936 Binary files /dev/null and b/public/assets/personal/suichegongju(1).png differ diff --git a/public/assets/personal/suichegongju.png b/public/assets/personal/suichegongju.png new file mode 100644 index 0000000..5fb05d6 Binary files /dev/null and b/public/assets/personal/suichegongju.png differ diff --git a/public/assets/personal/weixinzhifu.png b/public/assets/personal/weixinzhifu.png new file mode 100644 index 0000000..1ee2dba Binary files /dev/null and b/public/assets/personal/weixinzhifu.png differ diff --git a/public/assets/personal/wode(1).png b/public/assets/personal/wode(1).png new file mode 100644 index 0000000..71e57ed Binary files /dev/null and b/public/assets/personal/wode(1).png differ diff --git a/public/assets/personal/wode.png b/public/assets/personal/wode.png new file mode 100644 index 0000000..bd76120 Binary files /dev/null and b/public/assets/personal/wode.png differ diff --git a/public/assets/personal/yanfaguanli-xuqiuguanli(1).png b/public/assets/personal/yanfaguanli-xuqiuguanli(1).png new file mode 100644 index 0000000..32647ab Binary files /dev/null and b/public/assets/personal/yanfaguanli-xuqiuguanli(1).png differ diff --git a/public/assets/personal/yanfaguanli-xuqiuguanli.png b/public/assets/personal/yanfaguanli-xuqiuguanli.png new file mode 100644 index 0000000..df567df Binary files /dev/null and b/public/assets/personal/yanfaguanli-xuqiuguanli.png differ diff --git a/public/assets/personal/yichu.png b/public/assets/personal/yichu.png new file mode 100644 index 0000000..9311ab4 Binary files /dev/null and b/public/assets/personal/yichu.png differ diff --git a/public/assets/personal/yonghu.png b/public/assets/personal/yonghu.png new file mode 100644 index 0000000..b4d9a45 Binary files /dev/null and b/public/assets/personal/yonghu.png differ diff --git a/public/assets/personal/youxiang.png b/public/assets/personal/youxiang.png new file mode 100644 index 0000000..42c0107 Binary files /dev/null and b/public/assets/personal/youxiang.png differ diff --git a/public/assets/personal/zhifubao.png b/public/assets/personal/zhifubao.png new file mode 100644 index 0000000..72bbbda Binary files /dev/null and b/public/assets/personal/zhifubao.png differ diff --git a/public/assets/personal/zhongxinjiazai.png b/public/assets/personal/zhongxinjiazai.png new file mode 100644 index 0000000..a580479 Binary files /dev/null and b/public/assets/personal/zhongxinjiazai.png differ diff --git a/public/assets/personal/zu1 (1).png b/public/assets/personal/zu1 (1).png new file mode 100644 index 0000000..941249d Binary files /dev/null and b/public/assets/personal/zu1 (1).png differ diff --git a/public/assets/personal/zu1 (2).png b/public/assets/personal/zu1 (2).png new file mode 100644 index 0000000..90404a5 Binary files /dev/null and b/public/assets/personal/zu1 (2).png differ diff --git a/public/assets/personal/zu1 (3).png b/public/assets/personal/zu1 (3).png new file mode 100644 index 0000000..7522d38 Binary files /dev/null and b/public/assets/personal/zu1 (3).png differ diff --git a/public/assets/tool/-s-1@2x.png b/public/assets/tool/-s-1@2x.png new file mode 100644 index 0000000..1663082 Binary files /dev/null and b/public/assets/tool/-s-1@2x.png differ diff --git a/public/assets/tool/24gf-folderShare.png b/public/assets/tool/24gf-folderShare.png new file mode 100644 index 0000000..42cef1f Binary files /dev/null and b/public/assets/tool/24gf-folderShare.png differ diff --git a/public/assets/tool/LakeCorpsS.png b/public/assets/tool/LakeCorpsS.png new file mode 100644 index 0000000..c02ab42 Binary files /dev/null and b/public/assets/tool/LakeCorpsS.png differ diff --git a/public/assets/tool/avatar1.png b/public/assets/tool/avatar1.png new file mode 100644 index 0000000..cf684c8 Binary files /dev/null and b/public/assets/tool/avatar1.png differ diff --git a/public/assets/tool/avatar2.png b/public/assets/tool/avatar2.png new file mode 100644 index 0000000..9bf2bc9 Binary files /dev/null and b/public/assets/tool/avatar2.png differ diff --git a/public/assets/tool/avatar3.png b/public/assets/tool/avatar3.png new file mode 100644 index 0000000..0fd41bb Binary files /dev/null and b/public/assets/tool/avatar3.png differ diff --git a/public/assets/tool/comput.png b/public/assets/tool/comput.png new file mode 100644 index 0000000..67d141f Binary files /dev/null and b/public/assets/tool/comput.png differ diff --git a/public/assets/tool/correctIcon.png b/public/assets/tool/correctIcon.png new file mode 100644 index 0000000..20632e5 Binary files /dev/null and b/public/assets/tool/correctIcon.png differ diff --git a/public/assets/tool/daimayuanpeizhi.png b/public/assets/tool/daimayuanpeizhi.png new file mode 100644 index 0000000..393920e Binary files /dev/null and b/public/assets/tool/daimayuanpeizhi.png differ diff --git a/public/assets/tool/detailImg.png b/public/assets/tool/detailImg.png new file mode 100644 index 0000000..03b052e Binary files /dev/null and b/public/assets/tool/detailImg.png differ diff --git a/public/assets/tool/dianzanIcon.png b/public/assets/tool/dianzanIcon.png new file mode 100644 index 0000000..9469a40 Binary files /dev/null and b/public/assets/tool/dianzanIcon.png differ diff --git a/public/assets/tool/fenxi5.png b/public/assets/tool/fenxi5.png new file mode 100644 index 0000000..b1503ab Binary files /dev/null and b/public/assets/tool/fenxi5.png differ diff --git a/public/assets/tool/jiage.png b/public/assets/tool/jiage.png new file mode 100644 index 0000000..3c37278 Binary files /dev/null and b/public/assets/tool/jiage.png differ diff --git a/public/assets/tool/kefurexianxianxing.png b/public/assets/tool/kefurexianxianxing.png new file mode 100644 index 0000000..d5d61ea Binary files /dev/null and b/public/assets/tool/kefurexianxianxing.png differ diff --git a/public/assets/tool/keyswan.png b/public/assets/tool/keyswan.png new file mode 100644 index 0000000..7a3b3eb Binary files /dev/null and b/public/assets/tool/keyswan.png differ diff --git a/public/assets/tool/loudong.png b/public/assets/tool/loudong.png new file mode 100644 index 0000000..699b1b7 Binary files /dev/null and b/public/assets/tool/loudong.png differ diff --git a/public/assets/tool/minzhengpinggu.png b/public/assets/tool/minzhengpinggu.png new file mode 100644 index 0000000..1d21d29 Binary files /dev/null and b/public/assets/tool/minzhengpinggu.png differ diff --git a/public/assets/tool/pdf.png b/public/assets/tool/pdf.png new file mode 100644 index 0000000..6b5ddba Binary files /dev/null and b/public/assets/tool/pdf.png differ diff --git a/public/assets/tool/rBT7.png b/public/assets/tool/rBT7.png new file mode 100644 index 0000000..7268e87 Binary files /dev/null and b/public/assets/tool/rBT7.png differ diff --git a/public/assets/tool/rBT7F2.png b/public/assets/tool/rBT7F2.png new file mode 100644 index 0000000..95dc573 Binary files /dev/null and b/public/assets/tool/rBT7F2.png differ diff --git a/public/assets/tool/shijian.png b/public/assets/tool/shijian.png new file mode 100644 index 0000000..cacaca0 Binary files /dev/null and b/public/assets/tool/shijian.png differ diff --git a/public/assets/tool/shouji.png b/public/assets/tool/shouji.png new file mode 100644 index 0000000..949b1e9 Binary files /dev/null and b/public/assets/tool/shouji.png differ diff --git a/public/assets/tool/shujujicheng.png b/public/assets/tool/shujujicheng.png new file mode 100644 index 0000000..d40a37b Binary files /dev/null and b/public/assets/tool/shujujicheng.png differ diff --git a/public/assets/tool/swipc.png b/public/assets/tool/swipc.png new file mode 100644 index 0000000..0cf13b7 Binary files /dev/null and b/public/assets/tool/swipc.png differ diff --git a/public/assets/tool/yanfaguanli-xuqiuguanli.png b/public/assets/tool/yanfaguanli-xuqiuguanli.png new file mode 100644 index 0000000..3aa188b Binary files /dev/null and b/public/assets/tool/yanfaguanli-xuqiuguanli.png differ diff --git a/public/assets/tool/youxiang.png b/public/assets/tool/youxiang.png new file mode 100644 index 0000000..756ac0c Binary files /dev/null and b/public/assets/tool/youxiang.png differ diff --git a/public/assets/tool/yunwei-jiancebaogao.png b/public/assets/tool/yunwei-jiancebaogao.png new file mode 100644 index 0000000..aa2baef Binary files /dev/null and b/public/assets/tool/yunwei-jiancebaogao.png differ diff --git a/public/assets/tool/yuyanyingwen.png b/public/assets/tool/yuyanyingwen.png new file mode 100644 index 0000000..3f70a49 Binary files /dev/null and b/public/assets/tool/yuyanyingwen.png differ diff --git a/public/assets/tool/zigezhengshu.png b/public/assets/tool/zigezhengshu.png new file mode 100644 index 0000000..b97043a Binary files /dev/null and b/public/assets/tool/zigezhengshu.png differ diff --git a/public/assets/toolmarket/AutoFun.png b/public/assets/toolmarket/AutoFun.png new file mode 100644 index 0000000..0703af0 Binary files /dev/null and b/public/assets/toolmarket/AutoFun.png differ diff --git a/public/assets/toolmarket/AutoLoad.jpg b/public/assets/toolmarket/AutoLoad.jpg new file mode 100644 index 0000000..9e2c3e2 Binary files /dev/null and b/public/assets/toolmarket/AutoLoad.jpg differ diff --git a/public/assets/toolmarket/EagleEye.png b/public/assets/toolmarket/EagleEye.png new file mode 100644 index 0000000..532edbb Binary files /dev/null and b/public/assets/toolmarket/EagleEye.png differ diff --git a/public/assets/toolmarket/EagleWing-C.png b/public/assets/toolmarket/EagleWing-C.png new file mode 100644 index 0000000..c6e8f80 Binary files /dev/null and b/public/assets/toolmarket/EagleWing-C.png differ diff --git a/public/assets/toolmarket/EagleWing-Java.png b/public/assets/toolmarket/EagleWing-Java.png new file mode 100644 index 0000000..f7c3faf Binary files /dev/null and b/public/assets/toolmarket/EagleWing-Java.png differ diff --git a/public/assets/toolmarket/KeySphere.png b/public/assets/toolmarket/KeySphere.png new file mode 100644 index 0000000..5d25028 Binary files /dev/null and b/public/assets/toolmarket/KeySphere.png differ diff --git a/public/assets/toolmarket/KeySwan.png b/public/assets/toolmarket/KeySwan.png new file mode 100644 index 0000000..304122f Binary files /dev/null and b/public/assets/toolmarket/KeySwan.png differ diff --git a/public/assets/toolmarket/Kinterface.png b/public/assets/toolmarket/Kinterface.png new file mode 100644 index 0000000..fc8e88e Binary files /dev/null and b/public/assets/toolmarket/Kinterface.png differ diff --git a/public/assets/toolmarket/web.png b/public/assets/toolmarket/web.png new file mode 100644 index 0000000..e8eafa0 Binary files /dev/null and b/public/assets/toolmarket/web.png differ diff --git a/public/assets/toolmarket/wukong.png b/public/assets/toolmarket/wukong.png new file mode 100644 index 0000000..51027e1 Binary files /dev/null and b/public/assets/toolmarket/wukong.png differ diff --git a/public/assets/toolmarket/自鉴交互式.png b/public/assets/toolmarket/自鉴交互式.png new file mode 100644 index 0000000..723d99d Binary files /dev/null and b/public/assets/toolmarket/自鉴交互式.png differ diff --git a/public/assets/toolmarket/资产识别.png b/public/assets/toolmarket/资产识别.png new file mode 100644 index 0000000..b2fba30 Binary files /dev/null and b/public/assets/toolmarket/资产识别.png differ diff --git a/public/assets/train/bi.png b/public/assets/train/bi.png new file mode 100644 index 0000000..089e05a Binary files /dev/null and b/public/assets/train/bi.png differ diff --git a/public/assets/train/book.png b/public/assets/train/book.png new file mode 100644 index 0000000..9b73177 Binary files /dev/null and b/public/assets/train/book.png differ diff --git a/public/assets/train/cespei.png b/public/assets/train/cespei.png new file mode 100644 index 0000000..e16e761 Binary files /dev/null and b/public/assets/train/cespei.png differ diff --git a/public/assets/train/downarrow.png b/public/assets/train/downarrow.png new file mode 100644 index 0000000..91b4474 Binary files /dev/null and b/public/assets/train/downarrow.png differ diff --git a/public/assets/train/info-1-copy.png b/public/assets/train/info-1-copy.png new file mode 100644 index 0000000..ff4b086 Binary files /dev/null and b/public/assets/train/info-1-copy.png differ diff --git a/public/assets/train/linexie.png b/public/assets/train/linexie.png new file mode 100644 index 0000000..4925f1a Binary files /dev/null and b/public/assets/train/linexie.png differ diff --git a/public/assets/train/ren.png b/public/assets/train/ren.png new file mode 100644 index 0000000..7de635b Binary files /dev/null and b/public/assets/train/ren.png differ diff --git a/public/assets/train/shouji.png b/public/assets/train/shouji.png new file mode 100644 index 0000000..c36b3e9 Binary files /dev/null and b/public/assets/train/shouji.png differ diff --git a/public/assets/train/shu.png b/public/assets/train/shu.png new file mode 100644 index 0000000..57fd330 Binary files /dev/null and b/public/assets/train/shu.png differ diff --git a/public/assets/train/xingming.png b/public/assets/train/xingming.png new file mode 100644 index 0000000..3dc4e48 Binary files /dev/null and b/public/assets/train/xingming.png differ diff --git a/public/assets/train/zs1.png b/public/assets/train/zs1.png new file mode 100644 index 0000000..f739eef Binary files /dev/null and b/public/assets/train/zs1.png differ diff --git a/public/assets/train/zs2.png b/public/assets/train/zs2.png new file mode 100644 index 0000000..065eb1e Binary files /dev/null and b/public/assets/train/zs2.png differ diff --git a/public/assets/train/zs3.png b/public/assets/train/zs3.png new file mode 100644 index 0000000..c9602c1 Binary files /dev/null and b/public/assets/train/zs3.png differ diff --git a/public/assets/xq/big_1.png b/public/assets/xq/big_1.png new file mode 100644 index 0000000..2496d17 Binary files /dev/null and b/public/assets/xq/big_1.png differ diff --git a/public/assets/xq/big_2.png b/public/assets/xq/big_2.png new file mode 100644 index 0000000..ff182b4 Binary files /dev/null and b/public/assets/xq/big_2.png differ diff --git a/public/assets/xq/big_3.png b/public/assets/xq/big_3.png new file mode 100644 index 0000000..5e96631 Binary files /dev/null and b/public/assets/xq/big_3.png differ diff --git a/public/assets/xq/big_4.png b/public/assets/xq/big_4.png new file mode 100644 index 0000000..48f92ff Binary files /dev/null and b/public/assets/xq/big_4.png differ diff --git a/public/assets/xq/img_1.png b/public/assets/xq/img_1.png new file mode 100644 index 0000000..5c105ff Binary files /dev/null and b/public/assets/xq/img_1.png differ diff --git a/public/assets/xq/img_2.png b/public/assets/xq/img_2.png new file mode 100644 index 0000000..d496258 Binary files /dev/null and b/public/assets/xq/img_2.png differ diff --git a/public/assets/xq/img_3.png b/public/assets/xq/img_3.png new file mode 100644 index 0000000..ca63ecc Binary files /dev/null and b/public/assets/xq/img_3.png differ diff --git a/public/assets/xq/img_4.png b/public/assets/xq/img_4.png new file mode 100644 index 0000000..6ae9f31 Binary files /dev/null and b/public/assets/xq/img_4.png differ diff --git a/public/assets/xq/logo_1.png b/public/assets/xq/logo_1.png new file mode 100644 index 0000000..47a165e Binary files /dev/null and b/public/assets/xq/logo_1.png differ diff --git a/public/assets/xq/logo_2.png b/public/assets/xq/logo_2.png new file mode 100644 index 0000000..6f602e9 Binary files /dev/null and b/public/assets/xq/logo_2.png differ diff --git a/public/assets/xq/logo_3.png b/public/assets/xq/logo_3.png new file mode 100644 index 0000000..f341497 Binary files /dev/null and b/public/assets/xq/logo_3.png differ diff --git a/public/assets/xq/logo_4.png b/public/assets/xq/logo_4.png new file mode 100644 index 0000000..d6573d1 Binary files /dev/null and b/public/assets/xq/logo_4.png differ diff --git a/public/assets/xq/small_1.png b/public/assets/xq/small_1.png new file mode 100644 index 0000000..8732f31 Binary files /dev/null and b/public/assets/xq/small_1.png differ diff --git a/public/assets/xq/small_2.png b/public/assets/xq/small_2.png new file mode 100644 index 0000000..621374e Binary files /dev/null and b/public/assets/xq/small_2.png differ diff --git a/public/assets/xq/small_3.png b/public/assets/xq/small_3.png new file mode 100644 index 0000000..8732f31 Binary files /dev/null and b/public/assets/xq/small_3.png differ diff --git a/public/assets/xq/small_4.png b/public/assets/xq/small_4.png new file mode 100644 index 0000000..c6f3cc8 Binary files /dev/null and b/public/assets/xq/small_4.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..e6121f7 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..c41a024 --- /dev/null +++ b/public/index.html @@ -0,0 +1,341 @@ + + + + + + + + + + 关键测试宝 + + + + + + + + +
+ + +
+ +
+ x +
+ + + + + + + + + diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..2d7e938 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/api/crowdsource/crowdsource.js b/src/api/crowdsource/crowdsource.js new file mode 100644 index 0000000..2c8260e --- /dev/null +++ b/src/api/crowdsource/crowdsource.js @@ -0,0 +1,187 @@ +import request from "../request"; + +// 查询列表 +export function crowdlist(query) { + return request({ + url: '/crowdsource/list', + method: 'get', + params: query + }) +} +//首页查询众包 +export function homecrowdlist(query) { + return request({ + url: '/crowdsource/listAnon', + method: 'get', + params: query, + headers: { + isToken: false + }, + }) +} +//首页查询行业资讯 +export function homeindust(query) { + return request({ + url: '/news/newsList', + method: 'get', + params: query, + headers: { + isToken: false + }, + }) +} +export function industdetails(id) { + return request({ + url: '/news/'+id, + method: 'get', + headers: { + isToken: false + }, + }) +} +//发布任务的接口 +export function publishTask(form) { + return request({ + url: '/crowdsource/apply', + method: 'post', + data: form + }) +} +//修改任务的接口 +export function editTask(form) { + return request({ + url: '/crowdsource/reapply', + method: 'post', + data: form + }) +} + +export function listApply(query) { + return request({ + url: '/crowdsource/apply/list', + method: 'get', + params: query + }) +} + + +export function getApply(applyId) { + return request({ + url: '/crowdsource/apply/' + applyId, + method: 'get' + }) +} + +export function auditTask(form) { + return request({ + url: '/crowdsource/audit', + method: 'post', + data:form + }) +} +export function getById(id,userId) { + const url = userId ? `?userId=${userId}` : '' + return request({ + url: `/crowdsource/detail/${id}` + url, + method: 'get', + headers: { + isToken: false + }, + }) +} +export function claimTask(id) { + return request({ + url: '/crowdsource/claim/'+id, + method: 'get' + }) +} +/// +export function competitivetask(data) { + return request({ + url: '/crowdsource/bidding', + method: 'post', + data: data + }) +} + +// +export function myClaim(query,userId) { + return request({ + url: '/crowdsource/claim/my/'+userId, + method: 'get', + params: query + }) +} +export function myApply(query) { + return request({ + url: '/crowdsource/apply', + method: 'get', + params: query + }) +} +export function myPublish(query) { + return request({ + url: '/crowdsource/publish', + method: 'get', + params: query + }) +} + +export function getApplicant(taskId) { + return request({ + url: '/crowdsource/applicant/'+ taskId, + method: 'get' + }) +} + +export function assignTester(param) { + return request({ + url: '/crowdsource/assign', + method: 'post', + data: param + }) +} +export function reportTester(param) { + return request({ + url: '/crowdsource/upload/report', + method: 'post', + data: param + }) +} +export function checkupTester(param) { + return request({ + url: '/crowdsource/task/checkup', + method: 'post', + data: param + }) +} +// 众包提交订单 +export function addlabor(data) { + return request({ + url: '/labor/add', + method: 'post', + data:data + }) +} +export function payconfirm(param) { + return request({ + url: '/crowdsource/task/payment', + method: 'post', + data: param + }) +} + + +// 获取类型字典 +export function getType() { + return request({ + url: '/system/dict/data/type/crowdsourcing_task_type', + method: 'get', + headers: { + isToken: false + }, + }) +} + + + diff --git a/src/api/crowdsource/crowdsourceNew.js b/src/api/crowdsource/crowdsourceNew.js new file mode 100644 index 0000000..2e466ae --- /dev/null +++ b/src/api/crowdsource/crowdsourceNew.js @@ -0,0 +1,28 @@ +import request from "../request"; + +// 多选发布者提交 +export function choseUserPost(data) { + return request({ + url: '/crowdsource/assign', + method: 'post', + data + }) +} + +// 任务结项 +export function resolveTask(data) { + return request({ + url: '/crowdsource/task/checkTester', + method: 'post', + data + }) +} + +// 支付佣金 +export function payTask(data) { + return request({ + url: '/crowdsource/payment/tester', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/api/my/my.js b/src/api/my/my.js new file mode 100644 index 0000000..7bd43a8 --- /dev/null +++ b/src/api/my/my.js @@ -0,0 +1,109 @@ +import request from "../request"; +import { praseStrEmpty } from "@/util/util"; + +// 查询我的工具列表 +export function listMyTools() { + return request({ + url: '/my/tools', + method: 'get' + }) +} + +// 查询我的某工具 +export function getMyTool(toolId) { + return request({ + url: '/my/tool/'+ toolId, + method: 'get' + }) +} + + +// 查询我的测试任务列表 +export function listMyTasks(queryParam) { + return request({ + url: '/my/task/list', + method: 'get', + params:queryParam + }) +} + +//查询价格列表 +export function getPrice(toolId) { + return request({ + url: '/business/tool/price/' + praseStrEmpty(toolId), + method: 'get' + }) +} +//查询功能列表 +export function getFunction(toolId) { + return request({ + url: '/business/tool/function/' + praseStrEmpty(toolId), + method: 'get' + }) +} +//加入购物车 +export function addShoppingCart(toolId, amount) { + let count = 1; + if (amount) + count = amount; + return request({ + url: '/my/addShoppingCart/' + praseStrEmpty(toolId) + '/' + count, + method: 'get' + }) +} +//查询我的购物车列表 +export function getMyShoppingCart() { + return request({ + url: '/my/shoppingCart', + method: 'get' + }) +} +//从购物车移除某款工具 +export function removeShoppingCart(toolId) { + return request({ + url: '/my/shoppingCart/' + toolId, + method: 'delete' + }) +} +//批量移除 +export function multipleRemove(toolIds) { + return request({ + url: '/my/multipleRemove/', + data: {toolIds: toolIds.join(",")}, + method: 'delete' + }) +} +//清空购物车 +export function clearCart() { + return request({ + url: '/my/clearCart', + method: 'delete' + }) +} +//我的订单列表 +export function getMyOrder(param) { + return request({ + url: '/my/order', + method: 'get', + params:param + }) +} +//我的本周测试任务 +export function getMyWeekTask(param) { + return request({ + url: '/my/week/task', + method: 'get', + params:param + }) +} + +// 根据机器码获取注册码 +export function getCodeByCode(param) { + return request({ + url: '/license/generLicense', + method: 'post', + data: param + }) +} + + diff --git a/src/api/my/testb.js b/src/api/my/testb.js new file mode 100644 index 0000000..23303a5 --- /dev/null +++ b/src/api/my/testb.js @@ -0,0 +1,42 @@ +import request from '../request' + +//用户查看自己的测试宝账号信息 +export function queryAccount(userId) { + return request({ + url: '/mpay/my/account/'+userId, + method: 'get' + }) +} +//用户查看自己的测试宝交易记录 +export function queryRecord(userId,query) { + return request({ + url: '/mpay/my/record/'+userId, + method: 'get', + params: query + }) +} +//用户查看自己的用人申请 +export function querydemand(userId) { + return request({ + url: '/labor/my/demand/'+userId, + method: 'get' + }) +} +//添加账户 +export function setaddaccount(data) { + return request({ + url: '/mpay/setting/account', + method: 'post', + data:data + }) +} +//提现申请 +export function withdrawapp(data) { + return request({ + url: '/mpay/account/withdraw', + method: 'post', + data:data + }) +} + + diff --git a/src/api/pay/index.js b/src/api/pay/index.js new file mode 100644 index 0000000..8239904 --- /dev/null +++ b/src/api/pay/index.js @@ -0,0 +1,33 @@ +import request from "../request"; + +export function orderPay(data) { + return request({ + url: '/play/allin_play', + method: 'post', + data, + + + }) +} + + +// 轮训查订单状态 +export function searchOrderStatus(query) { + return request({ + url: '/play/query_order_status', + method: 'get', + params: query, + + }) +} + +// 查询零钱是否足够 +export function searchMyMoney(query) { + return request({ + url: '/play/money_yes_or_no', + method: 'get', + params: query, + + }) + +} \ No newline at end of file diff --git a/src/api/request.js b/src/api/request.js new file mode 100644 index 0000000..f468c93 --- /dev/null +++ b/src/api/request.js @@ -0,0 +1,156 @@ +// import { serialize } from '../util/util' +// import { getStore } from '../util/store' +import NProgress from 'nprogress' // progress bar +import { Message,MessageBox } from 'element-ui' +import axios from 'axios' +import errorCode from '../util/errorCode' +import router from '../router/router' +import 'nprogress/nprogress.css' +import store from '../store' // progress bar style +// 创建axios实例 +const service = axios.create({ + // axios中请求配置有baseURL选项,表示请求URL公共部分 + baseURL: process.env.VUE_APP_BASE_API, + // 超时 + timeout: 30000 +}) +// service.defaults.timeout = 30000 +// 返回其他状态吗 +service.defaults.validateStatus = function(status) { + return status >= 200 && status <= 500 // 默认的 +} +// 创建axios实例 +// axios.baseURL=process.env.VUE_APP_BASE_API, +// 跨域请求,允许保存cookie +service.defaults.withCredentials = true +// NProgress Configuration +NProgress.configure({ + showSpinner: false +}) + +// HTTPrequest拦截 +service.interceptors.request.use(config => { + NProgress.start() // start progress bar +// const TENANT_ID = getStore({ name: 'tenantId' }) + config.withCredentials = true; // 允许携带token ,这个是解决跨域产生的相关问题 + const isToken = (config.headers || {}).isToken === false + const token = store.getters.token + if (token && !isToken) { + config.headers['Authorization'] = 'Bearer ' + token// token + // config.headers['Cookie']='Admin-Token=' + token + } + // get请求映射params参数 + if (config.method === 'get' && config.params) { + let url = config.url + '?'; + for (const propName of Object.keys(config.params)) { + const value = config.params[propName]; + // console.log('value---',value) + var part = encodeURIComponent(propName) + "="; + if (value !== null && typeof(value) !== "undefined" ) { + if (typeof value === 'object') { + for (const key of Object.keys(value)) { + let params = propName + '[' + key + ']'; + var subPart = encodeURIComponent(params) + "="; + url += subPart + encodeURIComponent(value[key]) + "&"; + // console.log('请求路径url',url) + } + } else { + url += part + encodeURIComponent(value) + "&"; + // console.log('请求路径url1',url) + } + } + } + url = url.slice(0, -1); + config.params = {}; + config.url = url; + // console.log('请求路径',config.url) + } +// if (TENANT_ID) { +// config.headers['TENANT-ID'] = TENANT_ID // 租户ID +// } + + // headers中配置serialize为true开启序列化 +// if (config.method === 'post' && config.headers.serialize) { +// config.data = serialize(config.data) +// delete config.data.serialize +// } + return config +}, error => { + // console.log('reject1',error) + return Promise.reject(error) +}) + +// HTTPresponse拦截 +service.interceptors.response.use(res => { + NProgress.done() + // console.log('res---',res) + // const status = res.status || 200 + const status = Number(res.data.code) || 200 + const message = res.data.msg || errorCode[status] || errorCode['default'] + // console.log('status--',status,typeof(status),status.toString().length) + // && store.getters.token + if (status === 401 ) { + // Message({ + // message: message, + // type: 'error' + // }) + // return Promise.reject(new Error(message)) + Message({ + message:'无效登录', + type: 'warning', + duration:1000, + }) + store.dispatch('LogOut').then(() => { + router.push({ path: '/login?type=log' }) + }) + // MessageBox.confirm('登录状态已过期,请重新登录', '系统提示', { + // confirmButtonText: '重新登录', + // showCancelButton:false, + // showClose:false, + // type: 'warning' + // } + // ).then(() => { + // store.dispatch('LogOut').then(() => { + // router.push({ path: '/login?type=log' }) + // }) + // }) + } + if (status === 500) { + Message({ + message: message, + type: 'error' + }) + // console.log('reject2',message) + return Promise.reject(new Error(message)) + } + // if(status.toString().length==11){ + // return res.data + // } + + if (status !== 200 || status === 1) { + // Message({ + // message:'稍后重试', + // type: 'error' + // }) + // console.log('reject3',message) + return Promise.reject(new Error(message)) + } + + return res.data +}, error => { + NProgress.done() + let { message } = error; + if (message == "Network Error") { + message = "后端接口连接异常"; + } + else if (message.includes("timeout")) { + message = "系统接口请求超时"; + } + else if (message.includes("Request failed with status code")) { + message = "系统接口" + message.substr(message.length - 3) + "异常"; + } + // console.log('reject4',error) + return Promise.reject(new Error(error)) +}) + +export default service diff --git a/src/api/review/myreview.js b/src/api/review/myreview.js new file mode 100644 index 0000000..d689484 --- /dev/null +++ b/src/api/review/myreview.js @@ -0,0 +1,37 @@ +import request from "../request"; + +export function getMyreviewList(userId, query) { + return request({ + url: `/comment/myComment/${userId}`, + method: 'get', + params: query, + }) +} + +// 用户评论公司 +export function addToCompany(data) { + return request({ + url: `/comment/addComm`, + method: 'post', + data + }) +} +// 公司评价用户 +export function addToUser(data) { + return request({ + url: `/comment/addComment`, + method: 'post', + data, + }) +} + +export function getMyreviewListNoToken(userId, query) { + return request({ + url: `/comment/comments/${userId}`, + method: 'get', + params: query, + headers: { + isToken: false + }, + }) +} \ No newline at end of file diff --git a/src/api/system/config.js b/src/api/system/config.js new file mode 100644 index 0000000..7f8d16c --- /dev/null +++ b/src/api/system/config.js @@ -0,0 +1,96 @@ +import request from '../request' + +// 展示页面 +export function htmlpanelfig(url,query) { + return request({ + url, + method: 'get', + params: query + }) +} +export function downzai(url) { + return request({ + url, + method: 'get', + // params: query, + responseType: 'blob', + }) +} +// 查询参数列表 +export function listConfig(query) { + return request({ + url: '/system/config/list', + method: 'get', + params: query + }) +} + +// 查询参数详细 +export function getConfig(configId) { + return request({ + url: '/system/config/' + configId, + method: 'get' + }) +} + +// 根据参数键名查询参数值 +export function getConfigKey(configKey) { + return request({ + url: '/system/config/configKey/' + configKey, + method: 'get' + }) +} + +// 根据参数键名查询前端参数值 +export function getClientConfigKey(configKey) { + return request({ + headers: { + isToken: false + }, + url: '/client/config/configKey/' + configKey, + method: 'get' + }) +} + +// 新增参数配置 +export function addConfig(data) { + return request({ + url: '/system/config', + method: 'post', + data: data + }) +} + +// 修改参数配置 +export function updateConfig(data) { + return request({ + url: '/system/config', + method: 'put', + data: data + }) +} + +// 删除参数配置 +export function delConfig(configId) { + return request({ + url: '/system/config/' + configId, + method: 'delete' + }) +} + +// 清理参数缓存 +export function clearCache() { + return request({ + url: '/system/config/clearCache', + method: 'delete' + }) +} + +// 导出参数 +export function exportConfig(query) { + return request({ + url: '/system/config/export', + method: 'get', + params: query + }) +} diff --git a/src/api/system/dict/data.js b/src/api/system/dict/data.js new file mode 100644 index 0000000..cf2410d --- /dev/null +++ b/src/api/system/dict/data.js @@ -0,0 +1,64 @@ +import request from "../../request"; + +// 查询字典数据列表 +export function listData(query) { + return request({ + url: '/system/dict/data/list', + method: 'get', + params: query + }) +} + +// 查询字典数据详细 +export function getData(dictCode) { + return request({ + url: '/system/dict/data/' + dictCode, + method: 'get' + }) +} + +// 根据字典类型查询字典数据信息 +export function getDicts(dictType) { + return request({ + headers: { + isToken: false + }, + url: '/system/dict/data/type/' + dictType, + method: 'get' + }) +} + +// 新增字典数据 +export function addData(data) { + return request({ + url: '/system/dict/data', + method: 'post', + data: data + }) +} + +// 修改字典数据 +export function updateData(data) { + return request({ + url: '/system/dict/data', + method: 'put', + data: data + }) +} + +// 删除字典数据 +export function delData(dictCode) { + return request({ + url: '/system/dict/data/' + dictCode, + method: 'delete' + }) +} + +// 导出字典数据 +export function exportData(query) { + return request({ + url: '/system/dict/data/export', + method: 'get', + params: query + }) +} diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js new file mode 100644 index 0000000..2920116 --- /dev/null +++ b/src/api/system/dict/type.js @@ -0,0 +1,69 @@ +import request from "../../request"; + +// 查询字典类型列表 +export function listType(query) { + return request({ + url: '/system/dict/type/list', + method: 'get', + params: query + }) +} + +// 查询字典类型详细 +export function getType(dictId) { + return request({ + url: '/system/dict/type/' + dictId, + method: 'get' + }) +} + +// 新增字典类型 +export function addType(data) { + return request({ + url: '/system/dict/type', + method: 'post', + data: data + }) +} + +// 修改字典类型 +export function updateType(data) { + return request({ + url: '/system/dict/type', + method: 'put', + data: data + }) +} + +// 删除字典类型 +export function delType(dictId) { + return request({ + url: '/system/dict/type/' + dictId, + method: 'delete' + }) +} + +// 清理参数缓存 +export function clearCache() { + return request({ + url: '/system/dict/type/clearCache', + method: 'delete' + }) +} + +// 导出字典类型 +export function exportType(query) { + return request({ + url: '/system/dict/type/export', + method: 'get', + params: query + }) +} + +// 获取字典选择框列表 +export function optionselect() { + return request({ + url: '/system/dict/type/optionselect', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/api/system/login.js b/src/api/system/login.js new file mode 100644 index 0000000..3757e24 --- /dev/null +++ b/src/api/system/login.js @@ -0,0 +1,103 @@ +import request from "../request"; + + +// 账户登录方法 +export function login(username, password, code, uuid) { + const data = { + username, + password, + code, + uuid + } + return request({ + url: '/login', + method: 'post', + data: data + }) + } + + // 账户不需要验证码登录方法 + export function nameLogin(username, password) { + const data = { + username, + password, + } + return request({ + url: '/nameLogin', + method: 'post', + data: data + }) + } + + // 手机登录方法 + export function phoneLogin(mobile, code, uuid) { + const data = { + mobile, + code, + uuid + } + return request({ + url: '/phoneLogin', + method: 'post', + data: data + }) + } + + // 获取用户详细信息 + export function getInfo() { + return request({ + url: '/getInfo', + method: 'get' + }) + } + + // 退出方法 + export function logout() { + return request({ + url: '/logout', + method: 'post' + }) + } + + // 获取验证码 + export function getCodeImg() { + return request({ + url: '/captchaImage', + method: 'get' + }) + } + + // 获取前台用户注册短信验证码 + export function getCodeUserRegister(phoneNumber) { + return request({ + url: '/captchaUserRegister?phoneNumber=' + phoneNumber, + method: 'get' + }) + } + + // 获取前台用户注册登录验证码 + export function getCodeUserLogin(phoneNumber) { + return request({ + headers: { + isToken: false + }, + url: '/captchaUserLogin?phoneNumber=' + phoneNumber, + method: 'get' + }) + } + + // 获取前台用户修改密码短信验证码 + export function getCodeChangePasswd(phoneNumber) { + return request({ + url: '/captchaChangePasswd?phoneNumber=' + phoneNumber, + method: 'get' + }) + } + //设置交易密码 + export function scatpasswd(userId,data) { + return request({ + url: `/mpay/setpasswd/${userId}`, + method: 'post', + data: data + }) + } \ No newline at end of file diff --git a/src/api/system/message.js b/src/api/system/message.js new file mode 100644 index 0000000..8cbd6b1 --- /dev/null +++ b/src/api/system/message.js @@ -0,0 +1,46 @@ +import request from '../request' +export function listMessage(param) { + return request({ + url: '/message/list', + method: 'get', + params: param + }) +} +export function sendMessage(form) { + return request({ + url: '/message/', + method: 'post', + data: form + }) +} +export function listTrainInfo(param) { + return request({ + url: '/message/train', + method: 'get', + params: param + }) +} +//培训报名 +export function trainsignup(form) { + return request({ + url: '/train', + method: 'post', + data: form + }) +} + +export function listMyMessageCount() { + return request({ + url: '/message/my/count', + method: 'get', + }) +} + +export function listMyMessage(param) { + return request({ + url: '/message/my', + method: 'get', + params: param + }) +} + diff --git a/src/api/system/user.js b/src/api/system/user.js new file mode 100644 index 0000000..7e27d43 --- /dev/null +++ b/src/api/system/user.js @@ -0,0 +1,237 @@ +import request from "../request"; +import { praseStrEmpty } from "@/util/util"; + +// 查询用户列表 +export function listUser(query) { + return request({ + url: '/system/user/list', + method: 'get', + params: query + }) +} + +// 查询用户详细 +export function getUser(userId) { + return request({ + url: '/system/user/' + praseStrEmpty(userId), + method: 'get' + }) +} + +// 新增用户 +export function addUser(data) { + return request({ + url: '/system/user', + method: 'post', + data: data + }) +} + +// 新增普通测试用户 +export function addTester(data) { + return request({ + url: '/system/user/addTester', + method: 'post', + data: data + }) +} + +// 普通测试用户修改密码 +export function changePasswd(data) { + return request({ + url: '/system/user/changePasswd', + method: 'post', + data: data + }) +} + +// 修改用户 +export function updateUser(data) { + return request({ + url: '/system/user', + method: 'put', + data: data + }) +} + +// 删除用户 +export function delUser(userId) { + return request({ + url: '/system/user/' + userId, + method: 'delete' + }) +} + +// 导出用户 +export function exportUser(query) { + return request({ + url: '/system/user/export', + method: 'get', + params: query + }) +} + +// 用户密码重置 +export function resetUserPwd(userId, password) { + const data = { + userId, + password + } + return request({ + url: '/system/user/resetPwd', + method: 'put', + data: data + }) +} + +// 用户状态修改 +export function changeUserStatus(userId, status) { + const data = { + userId, + status + } + return request({ + url: '/system/user/changeStatus', + method: 'put', + data: data + }) +} + +// 查询用户个人信息 +export function getUserProfile() { + return request({ + url: '/system/user/profile', + method: 'get' + }) +} + +// 修改用户个人信息 +export function updateUserProfile(data) { + return request({ + url: '/system/user/profile', + method: 'put', + data: data + }) +} + +// 用户密码重置 +export function updateUserPwd(oldPassword, newPassword) { + const data = { + oldPassword, + newPassword + } + return request({ + url: '/system/user/profile/updatePwd', + method: 'put', + params: data + }) +} + +// 用户头像上传 +export function uploadAvatar(data) { + return request({ + url: '/system/user/profile/avatar', + method: 'post', + data: data + }) +} + +// 下载用户导入模板 +export function importTemplate() { + return request({ + url: '/system/user/importTemplate', + method: 'get' + }) +} +// 查询用户详细 +export function getUserDetail(userId) { + return request({ + url: '/system/user/detail/' + praseStrEmpty(userId), + method: 'get' + }) +} +export function list() { + return request({ + url: '/system/user/listAll', + method: 'get' + }) +} + +// 根据用户编号获取未被审核请求 +export function getUnauditInfo(userId) { + return request({ + url: '/system/user/unaudit/' + praseStrEmpty(userId), + method: 'get' + }) +} + +// 同时更改企业认证和测试认证申请审核状态 +export function changeAllStatusOnce(data) { + return request({ + url: '/system/user/changeAllStatusOnce', + method: 'put', + data: data + }) +} + +// 根据用户编号获取认证信息 +export function getCertifications(userId) { + return request({ + url: '/system/user/certifications/' + praseStrEmpty(userId), + method: 'get' + }) +} + +// 全局方法和属性 - 开始 + +// 用户认证状态 +export const user_status = createEnum({ + n: [0, '普通用户'], + c: [1, '公司用户'], + pt: [2, '个人测试者用户'], + ct: [3, '测试公司用户'], +}) + +// 申请类型 +export const apple_type = createEnum({ + p2c: [0, '认证公司'], + p2pt: [1, '认证个人测试者'], + p2ct: [2, '认证测试公司'], + c2ct: [3, '认证测试公司'], + uc: [4, '更新公司'], + uct: [5, '更新测试公司'], + upt: [6, '更新个人测试者'], +}) + +/** + * 枚举定义工具 + * 示例: + * const STATUS = createEnum({ + * AUDIT_WAIT: [1, '审核中'], + * AUDIT_PASS: [2, '审核通过'] + * }) + * 获取枚举值:STATUS.AUDIT_WAIT + * 获取枚举描述:STATUS.getDesc('AUDIT_WAIT') + * 通过枚举值获取描述:STATUS.getDescFromValue(STATUS.WAIT) + * + */ +export default function createEnum(definition) { + const strToValueMap = {} + const numToDescMap = {} + for (const enumName of Object.keys(definition)) { + const [value, desc] = definition[enumName] + strToValueMap[enumName] = value + numToDescMap[value] = desc + } + return { + ...strToValueMap, + getDesc(enumName) { + return (definition[enumName] && definition[enumName][1]) || '' + }, + getDescFromValue(value) { + return numToDescMap[value] || '' + } + } +} + +// 全局方法和属性 - 结束 \ No newline at end of file diff --git a/src/api/task/task.js b/src/api/task/task.js new file mode 100644 index 0000000..2be7495 --- /dev/null +++ b/src/api/task/task.js @@ -0,0 +1,41 @@ +import request from '../request' +//上传测试任务 +export function uploadTask(task) { + return request({ + url: '/task', + method: 'post', + data: task + }) +} + +//查询任务列表 +export function listTask(params) { + return request({ + url: '/task', + method: 'get', + params: params + }) +} + +//查询任务进度 +export function queryProcess(taskId) { + return request({ + url: '/task/process/'+taskId, + method: 'get' + }) +} +//查询测试结果 +export function queryResult(taskId) { + return request({ + url: '/task/result/'+taskId, + method: 'get' + }) +} +//获取任务详情 +export function queryTask(taskId) { + return request({ + url: '/task/'+taskId, + method: 'get' + }) +} + diff --git a/src/api/tester/CompanyApply.js b/src/api/tester/CompanyApply.js new file mode 100644 index 0000000..8e03a90 --- /dev/null +++ b/src/api/tester/CompanyApply.js @@ -0,0 +1,126 @@ +import request from '../request' + +// 查询企业认证申请列表 +export function listCompanyApply(query) { + return request({ + url: '/tester/CompanyApply/list', + method: 'get', + params: query + }) +} + +// 查询未审核测试者认证申请列表 +export function unaudit(query) { + return request({ + url: '/tester/CompanyApply/unaudit', + method: 'get', + params: query + }) +} + +// 查询企业认证申请详细 +export function getCompanyApply(applyId) { + return request({ + url: '/tester/CompanyApply/' + applyId, + method: 'get' + }) +} + +// 通过用户ID查询企业认证申请详细 +export function getCompanyApplyByUid(userID) { + return request({ + url: '/tester/CompanyApply/uid/' + userID, + method: 'get' + }) +} + +// 新增企业认证申请 +export function addCompanyApply(data) { + return request({ + url: '/tester/CompanyApply', + method: 'post', + data: data + }) +} + +// 修改企业认证申请 +export function updateCompanyApply(data) { + return request({ + url: '/tester/CompanyApply', + method: 'put', + data: data + }) +} + +// 更改企业认证申请审核状态 +export function changeCAStatus(data) { + return request({ + url: '/tester/CompanyApply/changeApprovalStatus', + method: 'put', + data: data + }) +} + +// 删除企业认证申请 +export function delCompanyApply(applyId) { + return request({ + url: '/tester/CompanyApply/' + applyId, + method: 'delete' + }) +} + +// 导出企业认证申请 +export function exportCompanyApply(query) { + return request({ + url: '/tester/CompanyApply/export', + method: 'get', + params: query + }) +} + +// 查询用户的认证信息 +export function gettesterId(userID) { + return request({ + url: '/tester/cert/apply/' + userID, + method: 'get' + }) +} +// 查询竞争者信息 +export function getdetesterId(userID,taskId) { + return request({ + url: '/crowdsource/tester/detail/' + userID +'/'+taskId, + method: 'get' + }) +} +// 查询竞争者个人简介 +export function getresume(userID) { + return request({ + url: '/tester/TesterInfo/resume/' + userID, + method: 'get' + }) +} +// 查询竞争者项目经历 +export function getproject(userID) { + return request({ + url: '/personal/case/list/' + userID, + method: 'get' + }) +} +// crowdsource/tester/detail + +// 新增实名认证 +export function addtesterApply(data) { + return request({ + url: '/tester/cert/apply', + method: 'post', + data: data + }) +} +// 修改实名认证 +export function updatetesterApply(data) { + return request({ + url: '/tester/cert/update', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/tester/CompanyInfo.js b/src/api/tester/CompanyInfo.js new file mode 100644 index 0000000..338d06d --- /dev/null +++ b/src/api/tester/CompanyInfo.js @@ -0,0 +1,53 @@ +import request from '../request' + +// 查询企业认证申请列表 +export function listCompanyInfo(query) { + return request({ + url: '/tester/CompanyInfo/list', + method: 'get', + params: query + }) +} + +// 查询企业认证申请详细 +export function getCompanyInfo(userId) { + return request({ + url: '/tester/CompanyInfo/' + userId, + method: 'get' + }) +} + +// 新增企业认证申请 +export function addCompanyInfo(data) { + return request({ + url: '/tester/CompanyInfo', + method: 'post', + data: data + }) +} + +// 修改企业认证申请 +export function updateCompanyInfo(data) { + return request({ + url: '/tester/CompanyInfo', + method: 'put', + data: data + }) +} + +// 删除企业认证申请 +export function delCompanyInfo(userId) { + return request({ + url: '/tester/CompanyInfo/' + userId, + method: 'delete' + }) +} + +// 导出企业认证申请 +export function exportCompanyInfo(query) { + return request({ + url: '/tester/CompanyInfo/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/tester/TesterApply.js b/src/api/tester/TesterApply.js new file mode 100644 index 0000000..a6c47c3 --- /dev/null +++ b/src/api/tester/TesterApply.js @@ -0,0 +1,113 @@ +import request from '../request' + +// 查询测试者认证申请列表 +export function listTesterApply(query) { + return request({ + url: '/tester/TesterApply/list', + method: 'get', + params: query + }) +} + +// 查询未审核测试者认证申请列表 +export function unaudit(query) { + return request({ + url: '/tester/TesterApply/unaudit', + method: 'get', + params: query + }) +} + +// 查询测试者认证申请详细 +export function getTesterApply(applyId) { + return request({ + url: '/tester/TesterApply/' + applyId, + method: 'get' + }) +} + +// // 查询测试者认证申请所有相关文件 +// export function getAllFileInfo(applyId) { +// return request({ +// url: '/tester/TesterApply/FileInfo/' + applyId, +// method: 'get' +// }) +// } + +// 通过用户ID查询测试者认证申请详细 +export function getTesterApplyByUid(userID) { + return request({ + url: '/tester/TesterApply/uid/' + userID, + method: 'get' + }) +} + +// 新增普通用户升级为个人测试者认证申请 +export function addTesterApply(data) { + return request({ + url: '/tester/TesterApply/add', + method: 'post', + data: data + }) +} + +// 新增普通用户升级为企业测试者认证申请 +export function addP2CT(data) { + return request({ + url: '/tester/TesterApply/addP2CT', + method: 'post', + data: data + }) +} + +// 新增企业升级为企业测试者认证申请 +export function addC2CT(data) { + return request({ + url: '/tester/TesterApply/addC2CT', + method: 'post', + data: data + }) +} + +// 查询认证状态 +export function certificationStatus() { + return request({ + url: '/tester/TesterApply/certificationStatus', + method: 'get' + }) +} + +// 修改测试者认证申请 +// export function updateTesterApply(data) { +// return request({ +// url: '/tester/TesterApply', +// method: 'put', +// data: data +// }) +// } + +// 更改测试者认证申请审核状态 +export function changeTAStatus(data) { + return request({ + url: '/tester/TesterApply/changeApprovalStatus', + method: 'put', + data: data + }) +} + +// 删除测试者认证申请 +export function delTesterApply(applyId) { + return request({ + url: '/tester/TesterApply/' + applyId, + method: 'delete' + }) +} + +// 导出测试者认证申请 +export function exportTesterApply(query) { + return request({ + url: '/tester/TesterApply/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/tester/TesterInfo.js b/src/api/tester/TesterInfo.js new file mode 100644 index 0000000..9d8d043 --- /dev/null +++ b/src/api/tester/TesterInfo.js @@ -0,0 +1,53 @@ +import request from '../request' + +// 查询测试者认证信息列表 +export function listTesterInfo(query) { + return request({ + url: '/tester/TesterInfo/list', + method: 'get', + params: query + }) +} + +// 查询测试者认证信息详细 +export function getTesterInfo(userId) { + return request({ + url: '/tester/TesterInfo/' + userId, + method: 'get' + }) +} + +// 新增测试者认证信息 +export function addTesterInfo(data) { + return request({ + url: '/tester/TesterInfo', + method: 'post', + data: data + }) +} + +// 修改测试者认证信息 +export function updateTesterInfo(data) { + return request({ + url: '/tester/TesterInfo', + method: 'put', + data: data + }) +} + +// 删除测试者认证信息 +export function delTesterInfo(userId) { + return request({ + url: '/tester/TesterInfo/' + userId, + method: 'delete' + }) +} + +// 导出测试者认证信息 +export function exportTesterInfo(query) { + return request({ + url: '/tester/TesterInfo/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/tester/UserMessage.js b/src/api/tester/UserMessage.js new file mode 100644 index 0000000..06d6da9 --- /dev/null +++ b/src/api/tester/UserMessage.js @@ -0,0 +1,53 @@ +import request from '../request' + +// 查询用户消息列表 +export function listUserMessage(query) { + return request({ + url: '/tester/UserMessage/list', + method: 'get', + params: query + }) +} + +// 查询用户消息详细 +export function getUserMessage(messageId) { + return request({ + url: '/tester/UserMessage/' + messageId, + method: 'get' + }) +} + +// 新增用户消息 +export function addUserMessage(data) { + return request({ + url: '/tester/UserMessage', + method: 'post', + data: data + }) +} + +// 修改用户消息 +export function updateUserMessage(data) { + return request({ + url: '/tester/UserMessage', + method: 'put', + data: data + }) +} + +// 删除用户消息 +export function delUserMessage(messageId) { + return request({ + url: '/tester/UserMessage/' + messageId, + method: 'delete' + }) +} + +// 导出用户消息 +export function exportUserMessage(query) { + return request({ + url: '/tester/UserMessage/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/toolInfo/market.js b/src/api/toolInfo/market.js new file mode 100644 index 0000000..60bb49b --- /dev/null +++ b/src/api/toolInfo/market.js @@ -0,0 +1,86 @@ +import request from "../request"; +import { praseStrEmpty } from "@/util/util"; +// 查询列表 +export function listTools(query) { + return request({ + url: '/business/tool/listAnon', + method: 'get', + params: query, + headers: { + isToken: false + }, + }) +} + +export function getTool(toolId) { + return request({ + url: '/business/tool/detail?toolId=' + praseStrEmpty(toolId), + method: 'get', + headers: { + isToken: false + }, + }) +} + +export function getPrice(toolId) { + return request({ + url: '/business/tool/price/' + praseStrEmpty(toolId), + method: 'get' + }) +} + +export function getFunction(toolId) { + return request({ + url: '/business/tool/function/' + praseStrEmpty(toolId), + method: 'get' + }) +} + + +// 购买工具支付成功 +export function buyTool(tool) { + return request({ + url: '/pay/one', + method: 'post', + data: tool + }) +} + +// 购买多个工具支付成功 +export function buyTools(tools) { + return request({ + url: '/pay/more', + method: 'post', + data: tools + }) +} +//0元订单支付 +export function noPayBuy(tool) { + return request({ + url: '/business/tool/nopay/one', + method: 'post', + data: tool + }) +} +export function noPayMore(tool) { + return request({ + url: '/business/tool/nopay/more', + method: 'post', + data: tool + }) +} + +// 购买工具支付成功 +export function buyToolByWx(tool) { + return request({ + url: '/wxpay/one', + method: 'post', + data: tool + }) +} +export function queryOrderState(orderNumber){ + return request({ + url: '/order/status/' + orderNumber, + method: 'get', + }) +} diff --git a/src/api/toolInfo/tool.js b/src/api/toolInfo/tool.js new file mode 100644 index 0000000..3c1b4f6 --- /dev/null +++ b/src/api/toolInfo/tool.js @@ -0,0 +1,16 @@ +import request from "../requestst"; +export function changeStatus(param) { + return request({ + url: '/business/tool/status', + method: 'post', + data: param + }) +} +export function update(param) { + return request({ + url: '/business/tool/update', + method: 'post', + data: param + }) +} + diff --git a/src/api/train/index.js b/src/api/train/index.js new file mode 100644 index 0000000..8049bb6 --- /dev/null +++ b/src/api/train/index.js @@ -0,0 +1,53 @@ +import request from "../request"; + +// 报名 +export function postBaoming(data) { + return request({ + url: '/train/training/apply', + method: 'post', + data, + }) +} + +export function postBaomingNoToken(data) { + return request({ + url: '/train/training/offApply', + method: 'post', + data, + headers: { + isToken: false + } + }) +} + + +export function getSignUpList(query) { + return request({ + url: `/train/trainClassList`, + method: 'get', + params: query, + }) +} +export function getmySignUpList(query) { + return request({ + url: `/train/myTrainingList`, + method: 'get', + params: query, + + }) +} + + +// 班级列表get /train/portal +export function getClassList(query) { + return request({ + url: `/train/portal`, + method: 'get', + params: query, + headers: { + isToken: false + } + }) +} + +// 报名 diff --git a/src/const/close.js b/src/const/close.js new file mode 100644 index 0000000..82a8114 --- /dev/null +++ b/src/const/close.js @@ -0,0 +1,17 @@ +document.addEventListener('DOMContentLoaded', function () { + // 在这里编写你想要在页面加载完成后执行的代码 + let timer = null + timer = setInterval(() => { + if ( + document.querySelector('#minidialog') && + document.querySelector('#minidialog').style.display == 'block' + ) { + document.querySelector('.closeX').style.display = 'block' + document.querySelector('.closeX').addEventListener('click', function () { + document.querySelector('#minidialog').style.display = 'none' + document.querySelector('.closeX').style.display = 'none' + }) + clearInterval(timer) + } + }, 100) +}); \ No newline at end of file diff --git a/src/const/dict/commondict.js b/src/const/dict/commondict.js new file mode 100644 index 0000000..d4fc55d --- /dev/null +++ b/src/const/dict/commondict.js @@ -0,0 +1,28 @@ +//竞标者要求 +export const applicantlist = [ + {label: '个人测试者', value: '0'}, + {label: '认证测试公司', value: '1'}, + {label: '个人测试者/认证测试公司', value: '2'}, +]; +//驻场要求 +export const onsiteTypelist = [ + {label: '无需驻场', value: '0'}, + {label: '偶尔驻场', value: '1'}, + {label: '定期驻场', value: '2'}, +]; +//任务状态 +export const processStatuslist =[ + {label: '竞标中', value:0}, + {label: '实施中', value: 1}, + {label: '验收中', value: 2}, + // 发布者 已验收代付款 3 4 都是确认完成的3变为4 3变成了一个待付款 待付款任务列表后的操作加一个确认付款的功能 + // 竞标者 待付款 3 确认完成4 + // {label: '确认完成', value:3}, + {label: '待付款', value:3}, + {label: '已完成', value:4}, + // {label: '没有应竞标者,过期下架', value:4}, + // {label: '未指定竞标人,过期下架', value:5}, + // {label: '未上传结果,过期下架', value:6}, + // {label: '未确认实施结果,过期下架', value:7}, + {label: '实施结果不合格', value:8}, +] diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..a104a58 --- /dev/null +++ b/src/main.js @@ -0,0 +1,67 @@ +import Vue from 'vue' +import App from './App.vue' +import router from './router/router' +import Vconsole from 'vconsole'; +import store from './store/index' +import axios from './api/request' +import 'babel-polyfill'// 保证在IE浏览器打开 +//以上三行不要动保存原来的位置 +//原因:引入有顺序 +//第三方组件库在下面引入 +//1.完整引入mint-ui +import MintUI from 'mint-ui' +//2.单独引入mint-ui样式 +import'mint-ui/lib/style.css' +import ElementUI from 'element-ui'; //完整引入ElementUI +import 'element-ui/lib/theme-chalk/index.css';//单独引入element-ui样式 +import Distpicker from 'v-distpicker' //城市选择器 +import htmlpanel from '@/page/common/htmlpanel' //展示外部链接 + +// 复制插件 +import VueClipboard from 'vue-clipboard2'; +Vue.use(VueClipboard); + + +// 全局禁止log日志 +console.log = function() { +}; + + +// xss攻击 +import Xss from 'xss' +Vue.prototype.Xss = Xss + + +//全局引入方法,页面this.直接使用 +import { getConfigKey, getClientConfigKey } from "@/api/system/config"; +import { currency,parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, downloadHttp, downloadFast, handleTree } from "@/util/util"; +import xss from 'xss'; +// 控制台 +// new Vconsole(); +Vue.component('v-distpicker', Distpicker) +Vue.component('v-htmlpanel', htmlpanel) +Vue.prototype.getConfigKey = getConfigKey +Vue.prototype.getClientConfigKey = getClientConfigKey +Vue.prototype.parseTime = parseTime +Vue.prototype.resetForm = resetForm +Vue.prototype.addDateRange = addDateRange +Vue.prototype.selectDictLabel = selectDictLabel +Vue.prototype.selectDictLabels = selectDictLabels +Vue.prototype.download = download +Vue.prototype.handleTree = handleTree +window.downloadFast = downloadFast; +window.downloadHttp = downloadHttp; +Vue.prototype.downloadFast = downloadFast; +Vue.prototype.downloadHttp = downloadHttp; + +//过滤器全局名称,对应过滤函数方法名 +Vue.filter("currency",currency) + +//3.将mint-ui注册vue +Vue.use(MintUI); +Vue.use(ElementUI); +Vue.config.productionTip = false +new Vue({ + router,store,axios, + render: h => h(App) +}).$mount('#app') diff --git a/src/mixin/index.js b/src/mixin/index.js new file mode 100644 index 0000000..f1b154a --- /dev/null +++ b/src/mixin/index.js @@ -0,0 +1,20 @@ +import { getType } from '@/api/crowdsource/crowdsource' +let mixin = { + data(){ + return{ + tasktypelist:[] + } + }, + created() { + this.getDictType() + }, + methods: { + async getDictType() { + const res = await getType() + this.tasktypelist = res.data + }, + }, +} + +// 记住,最后一定要导出 +export default mixin diff --git a/src/page/common/CrowdsourceAudit.vue b/src/page/common/CrowdsourceAudit.vue new file mode 100644 index 0000000..108ef30 --- /dev/null +++ b/src/page/common/CrowdsourceAudit.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/page/common/CrowdsourceTask.vue b/src/page/common/CrowdsourceTask.vue new file mode 100644 index 0000000..91fe69b --- /dev/null +++ b/src/page/common/CrowdsourceTask.vue @@ -0,0 +1,316 @@ + + + + + diff --git a/src/page/common/MultiUpload.vue b/src/page/common/MultiUpload.vue new file mode 100644 index 0000000..e00250a --- /dev/null +++ b/src/page/common/MultiUpload.vue @@ -0,0 +1,415 @@ + + + + + diff --git a/src/page/common/NonimageUpload.vue b/src/page/common/NonimageUpload.vue new file mode 100644 index 0000000..2e8414f --- /dev/null +++ b/src/page/common/NonimageUpload.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/page/common/ParamItem.vue b/src/page/common/ParamItem.vue new file mode 100644 index 0000000..3d7488a --- /dev/null +++ b/src/page/common/ParamItem.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/src/page/common/acceptance.vue b/src/page/common/acceptance.vue new file mode 100644 index 0000000..9274b19 --- /dev/null +++ b/src/page/common/acceptance.vue @@ -0,0 +1,108 @@ + + + + + \ No newline at end of file diff --git a/src/page/common/checkbox.vue b/src/page/common/checkbox.vue new file mode 100644 index 0000000..9e341b0 --- /dev/null +++ b/src/page/common/checkbox.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/src/page/common/companyReview.vue b/src/page/common/companyReview.vue new file mode 100644 index 0000000..a6ab1ff --- /dev/null +++ b/src/page/common/companyReview.vue @@ -0,0 +1,189 @@ + + + + + \ No newline at end of file diff --git a/src/page/common/htmlpanel.vue b/src/page/common/htmlpanel.vue new file mode 100644 index 0000000..610d4bf --- /dev/null +++ b/src/page/common/htmlpanel.vue @@ -0,0 +1,54 @@ + + + \ No newline at end of file diff --git a/src/page/common/myUpload.vue b/src/page/common/myUpload.vue new file mode 100644 index 0000000..dfdba71 --- /dev/null +++ b/src/page/common/myUpload.vue @@ -0,0 +1,321 @@ + + + + + diff --git a/src/page/common/noPassDialog.vue b/src/page/common/noPassDialog.vue new file mode 100644 index 0000000..999b53b --- /dev/null +++ b/src/page/common/noPassDialog.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/page/common/oldMultiUpload.vue b/src/page/common/oldMultiUpload.vue new file mode 100644 index 0000000..30a9751 --- /dev/null +++ b/src/page/common/oldMultiUpload.vue @@ -0,0 +1,259 @@ + + + + + diff --git a/src/page/common/pagecomponent/commonfooter.vue b/src/page/common/pagecomponent/commonfooter.vue new file mode 100644 index 0000000..2c9131b --- /dev/null +++ b/src/page/common/pagecomponent/commonfooter.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/page/common/pagecomponent/commonheader.vue b/src/page/common/pagecomponent/commonheader.vue new file mode 100644 index 0000000..50ce1ea --- /dev/null +++ b/src/page/common/pagecomponent/commonheader.vue @@ -0,0 +1,632 @@ + + + + diff --git a/src/page/common/payDialog.vue b/src/page/common/payDialog.vue new file mode 100644 index 0000000..810adb8 --- /dev/null +++ b/src/page/common/payDialog.vue @@ -0,0 +1,168 @@ + + + + + \ No newline at end of file diff --git a/src/page/common/reviewDialog.vue b/src/page/common/reviewDialog.vue new file mode 100644 index 0000000..d71f88d --- /dev/null +++ b/src/page/common/reviewDialog.vue @@ -0,0 +1,237 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/aboutus/aboutwo.vue b/src/page/homepage/aboutus/aboutwo.vue new file mode 100644 index 0000000..945950c --- /dev/null +++ b/src/page/homepage/aboutus/aboutwo.vue @@ -0,0 +1,107 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/aboutus/joinus.vue b/src/page/homepage/aboutus/joinus.vue new file mode 100644 index 0000000..535bc5e --- /dev/null +++ b/src/page/homepage/aboutus/joinus.vue @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/cooperation/cooperation.vue b/src/page/homepage/cooperation/cooperation.vue new file mode 100644 index 0000000..a2bdba3 --- /dev/null +++ b/src/page/homepage/cooperation/cooperation.vue @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/crowdsourcing/crowd.vue b/src/page/homepage/crowdsourcing/crowd.vue new file mode 100644 index 0000000..47cbcb2 --- /dev/null +++ b/src/page/homepage/crowdsourcing/crowd.vue @@ -0,0 +1,789 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/crowdsourcing/crowddetails.vue b/src/page/homepage/crowdsourcing/crowddetails.vue new file mode 100644 index 0000000..4346d86 --- /dev/null +++ b/src/page/homepage/crowdsourcing/crowddetails.vue @@ -0,0 +1,777 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/crowdsourcing/oldcrowddetails.vue b/src/page/homepage/crowdsourcing/oldcrowddetails.vue new file mode 100644 index 0000000..7854d08 --- /dev/null +++ b/src/page/homepage/crowdsourcing/oldcrowddetails.vue @@ -0,0 +1,272 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/crowdsourcing/publishtasks.vue b/src/page/homepage/crowdsourcing/publishtasks.vue new file mode 100644 index 0000000..19355ac --- /dev/null +++ b/src/page/homepage/crowdsourcing/publishtasks.vue @@ -0,0 +1,975 @@ + + + + diff --git a/src/page/homepage/employ/employ.vue b/src/page/homepage/employ/employ.vue new file mode 100644 index 0000000..535bc5e --- /dev/null +++ b/src/page/homepage/employ/employ.vue @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/home/home copy.vue b/src/page/homepage/home/home copy.vue new file mode 100644 index 0000000..3ed4ad1 --- /dev/null +++ b/src/page/homepage/home/home copy.vue @@ -0,0 +1,772 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/home/home.vue b/src/page/homepage/home/home.vue new file mode 100644 index 0000000..750a3e4 --- /dev/null +++ b/src/page/homepage/home/home.vue @@ -0,0 +1,1483 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/index.vue b/src/page/homepage/index.vue new file mode 100644 index 0000000..5480e95 --- /dev/null +++ b/src/page/homepage/index.vue @@ -0,0 +1,57 @@ + + + diff --git a/src/page/homepage/industrydynamics/dynamics.vue b/src/page/homepage/industrydynamics/dynamics.vue new file mode 100644 index 0000000..19af76f --- /dev/null +++ b/src/page/homepage/industrydynamics/dynamics.vue @@ -0,0 +1,222 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/industrydynamics/industrydetails.vue b/src/page/homepage/industrydynamics/industrydetails.vue new file mode 100644 index 0000000..0adbe30 --- /dev/null +++ b/src/page/homepage/industrydynamics/industrydetails.vue @@ -0,0 +1,126 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/openSource/index.vue b/src/page/homepage/openSource/index.vue new file mode 100644 index 0000000..bec4f7f --- /dev/null +++ b/src/page/homepage/openSource/index.vue @@ -0,0 +1,518 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/openSource/tooldetails.vue b/src/page/homepage/openSource/tooldetails.vue new file mode 100644 index 0000000..2fc6443 --- /dev/null +++ b/src/page/homepage/openSource/tooldetails.vue @@ -0,0 +1,988 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/codeScanningTool.vue b/src/page/homepage/openSourceArea/codeScanningTool.vue new file mode 100644 index 0000000..35621b0 --- /dev/null +++ b/src/page/homepage/openSourceArea/codeScanningTool.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/functionTesteTool.vue b/src/page/homepage/openSourceArea/functionTesteTool.vue new file mode 100644 index 0000000..cd02eac --- /dev/null +++ b/src/page/homepage/openSourceArea/functionTesteTool.vue @@ -0,0 +1,151 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/interfaceTestTool.vue b/src/page/homepage/openSourceArea/interfaceTestTool.vue new file mode 100644 index 0000000..65db1ff --- /dev/null +++ b/src/page/homepage/openSourceArea/interfaceTestTool.vue @@ -0,0 +1,189 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/pressureTesteTool.vue b/src/page/homepage/openSourceArea/pressureTesteTool.vue new file mode 100644 index 0000000..3a21080 --- /dev/null +++ b/src/page/homepage/openSourceArea/pressureTesteTool.vue @@ -0,0 +1,151 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/safetyTesteTool.vue b/src/page/homepage/openSourceArea/safetyTesteTool.vue new file mode 100644 index 0000000..defde68 --- /dev/null +++ b/src/page/homepage/openSourceArea/safetyTesteTool.vue @@ -0,0 +1,173 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/openSourceArea/unitTesteTool.vue b/src/page/homepage/openSourceArea/unitTesteTool.vue new file mode 100644 index 0000000..1293b7f --- /dev/null +++ b/src/page/homepage/openSourceArea/unitTesteTool.vue @@ -0,0 +1,203 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/personability/ability.vue b/src/page/homepage/personability/ability.vue new file mode 100644 index 0000000..b72f889 --- /dev/null +++ b/src/page/homepage/personability/ability.vue @@ -0,0 +1,1135 @@ + + + + \ No newline at end of file diff --git a/src/page/homepage/solution/CNASsolution.vue b/src/page/homepage/solution/CNASsolution.vue new file mode 100644 index 0000000..62370fb --- /dev/null +++ b/src/page/homepage/solution/CNASsolution.vue @@ -0,0 +1,511 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/solution/GJB5000Bsolution.vue b/src/page/homepage/solution/GJB5000Bsolution.vue new file mode 100644 index 0000000..559b352 --- /dev/null +++ b/src/page/homepage/solution/GJB5000Bsolution.vue @@ -0,0 +1,276 @@ + + + + + \ No newline at end of file diff --git a/src/page/homepage/tool/tooldetails.vue b/src/page/homepage/tool/tooldetails.vue new file mode 100644 index 0000000..d0a4d8b --- /dev/null +++ b/src/page/homepage/tool/tooldetails.vue @@ -0,0 +1,1538 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/tool/toolmarker.vue b/src/page/homepage/tool/toolmarker.vue new file mode 100644 index 0000000..a9209ec --- /dev/null +++ b/src/page/homepage/tool/toolmarker.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/traininstitute/train copy.vue b/src/page/homepage/traininstitute/train copy.vue new file mode 100644 index 0000000..3f18ab1 --- /dev/null +++ b/src/page/homepage/traininstitute/train copy.vue @@ -0,0 +1,2467 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/traininstitute/train.vue b/src/page/homepage/traininstitute/train.vue new file mode 100644 index 0000000..923bab9 --- /dev/null +++ b/src/page/homepage/traininstitute/train.vue @@ -0,0 +1,2565 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/traininstitute/train07.vue b/src/page/homepage/traininstitute/train07.vue new file mode 100644 index 0000000..22da071 --- /dev/null +++ b/src/page/homepage/traininstitute/train07.vue @@ -0,0 +1,1805 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/traininstitute/trainold.vue b/src/page/homepage/traininstitute/trainold.vue new file mode 100644 index 0000000..0b300b5 --- /dev/null +++ b/src/page/homepage/traininstitute/trainold.vue @@ -0,0 +1,180 @@ + + + \ No newline at end of file diff --git a/src/page/homepage/traininstitute/trainold1.vue b/src/page/homepage/traininstitute/trainold1.vue new file mode 100644 index 0000000..683f1f6 --- /dev/null +++ b/src/page/homepage/traininstitute/trainold1.vue @@ -0,0 +1,1662 @@ + + + \ No newline at end of file diff --git a/src/page/logpage/index.vue b/src/page/logpage/index.vue new file mode 100644 index 0000000..31fb263 --- /dev/null +++ b/src/page/logpage/index.vue @@ -0,0 +1,28 @@ + + + diff --git a/src/page/logpage/log/login.vue b/src/page/logpage/log/login.vue new file mode 100644 index 0000000..5e1a794 --- /dev/null +++ b/src/page/logpage/log/login.vue @@ -0,0 +1,645 @@ + + + + + diff --git a/src/page/personalpage/commonheader/personalheader.vue b/src/page/personalpage/commonheader/personalheader.vue new file mode 100644 index 0000000..c8c4341 --- /dev/null +++ b/src/page/personalpage/commonheader/personalheader.vue @@ -0,0 +1,401 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/demand/index.vue b/src/page/personalpage/demand/index.vue new file mode 100644 index 0000000..2d31d7d --- /dev/null +++ b/src/page/personalpage/demand/index.vue @@ -0,0 +1,83 @@ + + + + \ No newline at end of file diff --git a/src/page/personalpage/home/imember.vue b/src/page/personalpage/home/imember.vue new file mode 100644 index 0000000..f6cbe9e --- /dev/null +++ b/src/page/personalpage/home/imember.vue @@ -0,0 +1,139 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/home/messagelist.vue b/src/page/personalpage/home/messagelist.vue new file mode 100644 index 0000000..554910c --- /dev/null +++ b/src/page/personalpage/home/messagelist.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/src/page/personalpage/home/olduserUpgrade.vue b/src/page/personalpage/home/olduserUpgrade.vue new file mode 100644 index 0000000..bf160d8 --- /dev/null +++ b/src/page/personalpage/home/olduserUpgrade.vue @@ -0,0 +1,951 @@ + + + + diff --git a/src/page/personalpage/home/personalcenter.vue b/src/page/personalpage/home/personalcenter.vue new file mode 100644 index 0000000..b6be6b9 --- /dev/null +++ b/src/page/personalpage/home/personalcenter.vue @@ -0,0 +1,353 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/home/stationmessage.vue b/src/page/personalpage/home/stationmessage.vue new file mode 100644 index 0000000..d4600e4 --- /dev/null +++ b/src/page/personalpage/home/stationmessage.vue @@ -0,0 +1,142 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/home/userAvatar.vue b/src/page/personalpage/home/userAvatar.vue new file mode 100644 index 0000000..564040b --- /dev/null +++ b/src/page/personalpage/home/userAvatar.vue @@ -0,0 +1,206 @@ + + + + diff --git a/src/page/personalpage/home/userUpgrade.vue b/src/page/personalpage/home/userUpgrade.vue new file mode 100644 index 0000000..355b639 --- /dev/null +++ b/src/page/personalpage/home/userUpgrade.vue @@ -0,0 +1,398 @@ + + + + diff --git a/src/page/personalpage/index.vue b/src/page/personalpage/index.vue new file mode 100644 index 0000000..791e310 --- /dev/null +++ b/src/page/personalpage/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/myBm/index.vue b/src/page/personalpage/myBm/index.vue new file mode 100644 index 0000000..82d8398 --- /dev/null +++ b/src/page/personalpage/myBm/index.vue @@ -0,0 +1,92 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/myreview/index.vue b/src/page/personalpage/myreview/index.vue new file mode 100644 index 0000000..39d7331 --- /dev/null +++ b/src/page/personalpage/myreview/index.vue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/TesterDetail.vue b/src/page/personalpage/testcrowd/TesterDetail.vue new file mode 100644 index 0000000..175c4b0 --- /dev/null +++ b/src/page/personalpage/testcrowd/TesterDetail.vue @@ -0,0 +1,426 @@ + + + + + diff --git a/src/page/personalpage/testcrowd/crowdinform.vue b/src/page/personalpage/testcrowd/crowdinform.vue new file mode 100644 index 0000000..0033724 --- /dev/null +++ b/src/page/personalpage/testcrowd/crowdinform.vue @@ -0,0 +1,37 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/crowdmarket.vue b/src/page/personalpage/testcrowd/crowdmarket.vue new file mode 100644 index 0000000..a205ee2 --- /dev/null +++ b/src/page/personalpage/testcrowd/crowdmarket.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/currentcrowd.vue b/src/page/personalpage/testcrowd/currentcrowd.vue new file mode 100644 index 0000000..55b319f --- /dev/null +++ b/src/page/personalpage/testcrowd/currentcrowd.vue @@ -0,0 +1,789 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/edittasks.vue b/src/page/personalpage/testcrowd/edittasks.vue new file mode 100644 index 0000000..acaa80b --- /dev/null +++ b/src/page/personalpage/testcrowd/edittasks.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/mycrowd.vue b/src/page/personalpage/testcrowd/mycrowd.vue new file mode 100644 index 0000000..a8fa185 --- /dev/null +++ b/src/page/personalpage/testcrowd/mycrowd.vue @@ -0,0 +1,346 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/myparticipate.vue b/src/page/personalpage/testcrowd/myparticipate.vue new file mode 100644 index 0000000..8213d09 --- /dev/null +++ b/src/page/personalpage/testcrowd/myparticipate.vue @@ -0,0 +1,381 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/myrelease.vue b/src/page/personalpage/testcrowd/myrelease.vue new file mode 100644 index 0000000..287def8 --- /dev/null +++ b/src/page/personalpage/testcrowd/myrelease.vue @@ -0,0 +1,545 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/oldTesterDetail.vue b/src/page/personalpage/testcrowd/oldTesterDetail.vue new file mode 100644 index 0000000..bb61ef9 --- /dev/null +++ b/src/page/personalpage/testcrowd/oldTesterDetail.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/page/personalpage/testcrowd/oldcurrentcrowd.vue b/src/page/personalpage/testcrowd/oldcurrentcrowd.vue new file mode 100644 index 0000000..71bf366 --- /dev/null +++ b/src/page/personalpage/testcrowd/oldcurrentcrowd.vue @@ -0,0 +1,412 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testcrowd/pendingtask.vue b/src/page/personalpage/testcrowd/pendingtask.vue new file mode 100644 index 0000000..2279c6d --- /dev/null +++ b/src/page/personalpage/testcrowd/pendingtask.vue @@ -0,0 +1,149 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testmanagement/TaskUpload.vue b/src/page/personalpage/testmanagement/TaskUpload.vue new file mode 100644 index 0000000..0de4a23 --- /dev/null +++ b/src/page/personalpage/testmanagement/TaskUpload.vue @@ -0,0 +1,327 @@ + + + + + diff --git a/src/page/personalpage/testmanagement/mytask.vue b/src/page/personalpage/testmanagement/mytask.vue new file mode 100644 index 0000000..fb1034c --- /dev/null +++ b/src/page/personalpage/testmanagement/mytask.vue @@ -0,0 +1,362 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testmanagement/mytool.vue b/src/page/personalpage/testmanagement/mytool.vue new file mode 100644 index 0000000..7231bac --- /dev/null +++ b/src/page/personalpage/testmanagement/mytool.vue @@ -0,0 +1,331 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtool/myorder.vue b/src/page/personalpage/testtool/myorder.vue new file mode 100644 index 0000000..6c245a3 --- /dev/null +++ b/src/page/personalpage/testtool/myorder.vue @@ -0,0 +1,195 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtool/myshopcart.vue b/src/page/personalpage/testtool/myshopcart.vue new file mode 100644 index 0000000..53b234b --- /dev/null +++ b/src/page/personalpage/testtool/myshopcart.vue @@ -0,0 +1,318 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtool/mytooldetails.vue b/src/page/personalpage/testtool/mytooldetails.vue new file mode 100644 index 0000000..b44c880 --- /dev/null +++ b/src/page/personalpage/testtool/mytooldetails.vue @@ -0,0 +1,46 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtool/toolmarket.vue b/src/page/personalpage/testtool/toolmarket.vue new file mode 100644 index 0000000..a59bb2f --- /dev/null +++ b/src/page/personalpage/testtool/toolmarket.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtreasure/accountoverview.vue b/src/page/personalpage/testtreasure/accountoverview.vue new file mode 100644 index 0000000..ee58b27 --- /dev/null +++ b/src/page/personalpage/testtreasure/accountoverview.vue @@ -0,0 +1,57 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtreasure/testKit.vue b/src/page/personalpage/testtreasure/testKit.vue new file mode 100644 index 0000000..7659c69 --- /dev/null +++ b/src/page/personalpage/testtreasure/testKit.vue @@ -0,0 +1,943 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtreasure/tranpassword.vue b/src/page/personalpage/testtreasure/tranpassword.vue new file mode 100644 index 0000000..4de6da4 --- /dev/null +++ b/src/page/personalpage/testtreasure/tranpassword.vue @@ -0,0 +1,194 @@ + + + \ No newline at end of file diff --git a/src/page/personalpage/testtreasure/transaction.vue b/src/page/personalpage/testtreasure/transaction.vue new file mode 100644 index 0000000..a41c319 --- /dev/null +++ b/src/page/personalpage/testtreasure/transaction.vue @@ -0,0 +1,93 @@ + + + \ No newline at end of file diff --git a/src/router/router.js b/src/router/router.js new file mode 100644 index 0000000..0191cbb --- /dev/null +++ b/src/router/router.js @@ -0,0 +1,212 @@ +import Vue from 'vue' +import Router from 'vue-router' +import store from "@/store"; +import { Message,MessageBox } from 'element-ui' +//自定义组件 +import logpage from "../page/logpage/index.vue" +import login from "../page/logpage/log/login.vue" +import index from "../page/homepage/index.vue" +import home from "../page/homepage/home/home.vue" +import toolmarker from "../page/homepage/tool/toolmarker.vue" +import openSource from "../page/homepage/openSource/index.vue" +import openSourceTooldetails from "../page/homepage/openSource/tooldetails.vue" +import safetyTesteTool from "../page/homepage/openSourceArea/safetyTesteTool.vue" +import codeScanningTool from "../page/homepage/openSourceArea/codeScanningTool.vue" +import unitTesteTool from "../page/homepage/openSourceArea/unitTesteTool.vue" +import functionTesteTool from "../page/homepage/openSourceArea/functionTesteTool.vue" +import pressureTesteTool from "../page/homepage/openSourceArea/pressureTesteTool.vue" +import interfaceTestTool from "../page/homepage/openSourceArea/interfaceTestTool.vue" +import CNASsolution from "../page/homepage/solution/CNASsolution.vue" +import GJB5000Bsolution from "../page/homepage/solution/GJB5000Bsolution.vue" +import tooldetails from "../page/homepage/tool/tooldetails.vue" +import crowd from "../page/homepage/crowdsourcing/crowd.vue" +import crowddetails from "../page/homepage/crowdsourcing/crowddetails.vue" +import publishtasks from "../page/homepage/crowdsourcing/publishtasks.vue" +import train from "../page/homepage/traininstitute/train.vue" +import dynamics from "../page/homepage/industrydynamics/dynamics.vue" +import industrydetails from "../page/homepage/industrydynamics/industrydetails.vue" +import ability from "../page/homepage/personability/ability.vue" +import employ from "../page/homepage/employ/employ.vue" +import cooperation from "../page/homepage/cooperation/cooperation.vue" +import aboutwo from "../page/homepage/aboutus/aboutwo.vue" +import joinus from "../page/homepage/aboutus/joinus.vue" +import personal from "../page/personalpage/index.vue" +import imember from "../page/personalpage/home/imember.vue" +import personalcenter from "../page/personalpage/home/personalcenter.vue" +import stationmessage from "../page/personalpage/home/stationmessage.vue" +import messagelist from "../page/personalpage/home/messagelist.vue" +import toolmarket from "../page/personalpage/testtool/toolmarket.vue" +import mytooldetails from "../page/personalpage/testtool/mytooldetails.vue" +import myorder from "../page/personalpage/testtool/myorder.vue" +import myshopcart from "../page/personalpage/testtool/myshopcart.vue" +import mytask from "../page/personalpage/testmanagement/mytask.vue" +import mytool from "../page/personalpage/testmanagement/mytool.vue" +import crowdmarket from "../page/personalpage/testcrowd/crowdmarket.vue" +import currentcrowd from "../page/personalpage/testcrowd/currentcrowd.vue" +import crowdinform from "../page/personalpage/testcrowd/crowdinform.vue" +import mycrowd from "../page/personalpage/testcrowd/mycrowd.vue" +import myparticipate from "../page/personalpage/testcrowd/myparticipate.vue" +import myrelease from "../page/personalpage/testcrowd/myrelease.vue" +import pendingtask from "../page/personalpage/testcrowd/pendingtask.vue" +import edittasks from "../page/personalpage/testcrowd/edittasks.vue" +import accountoverview from "../page/personalpage/testtreasure/accountoverview.vue" +import transaction from "../page/personalpage/testtreasure/transaction.vue" +import tranpassword from "../page/personalpage/testtreasure/tranpassword.vue" +import testKit from "../page/personalpage/testtreasure/testKit.vue" +import demand from "../page/personalpage/demand/index.vue" + +import myreview from '../page/personalpage/myreview/index.vue' +import myBm from '../page/personalpage/myBm/index.vue' + +Vue.use(Router) +//为组件配置路径 +const router = new Router({ + mode: 'history', // 去掉url中的# + // linkActiveClass:'is-active', + routes: [ + //首页 + {path:'',component:index, + redirect:'/', + children:[ + {path:'/',component:home,name:'home',}, + {path:'login',component:login,name:'login',}, + {path:'market',component:toolmarker,name:'market'}, + {path:'openSource', component: openSource, name:'openSource'}, + {path:'openSourceArea/safetyTesteTool',component:safetyTesteTool,name:'safetyTesteTool'}, + {path:'openSourceArea/codeScanningTool',component:codeScanningTool,name:'codeScanningTool'}, + {path:'openSourceArea/unitTesteTool',component:unitTesteTool,name:'unitTesteTool'}, + {path:'openSourceArea/functionTesteTool',component:functionTesteTool,name:'functionTesteTool'}, + {path:'openSourceArea/pressureTesteTool',component:pressureTesteTool,name:'pressureTesteTool'}, + {path:'openSourceArea/interfaceTestTool',component:interfaceTestTool,name:'interfaceTestTool'}, + {path:'solution/CNAS',component:CNASsolution,name:'CNASsolution'}, + {path:'solution/GJB5000B',component:GJB5000Bsolution,name:'GJB5000Bsolution'}, + {path:'market/tooldetails',component:tooldetails}, + {path:'openSource/openSourceTooldetails', component: openSourceTooldetails }, + {path:'crowdsourcing',component:crowd,name:'crowd',}, + {path:'crowdsourcing/crowddetails',component:crowddetails,}, + {path:'crowdsourcing/publishtasks',component:publishtasks,}, + {path:'college',component:train}, + {path:'ability',component:ability}, + {path:'news',component:dynamics,}, + {path:'news/detail',component:industrydetails,name:'industrydynamics',}, + {path:'employ',component:employ}, + {path:'cooperation',component:cooperation}, + {path:'about',component:aboutwo}, + {path:'aboutus/joinus',component:joinus,meta:{isAuth: true}}, + + ] + }, + // 登录相关 + // {path:'/login',component:logpage, + // redirect:'/login', + // children:[ + // {path:'login',component:login}, + // ] + // }, + // 工具市场: market + // 众包市场:crowdsourcing + // 培训学院:college + // 行业动态:news + // 关于我们:about + + //个人中心 + {path:'/console',component:personal, + redirect:'/', + children:[ + {path:'/',component:imember,meta: { title: '工作台', isAuth: true,type:1}}, + {path:'profile',component:personalcenter,meta: { title: '个人中心', isAuth: true,type:1}}, + {path:'message',component:stationmessage,meta: { title: '站内消息', isAuth: true,type:1}}, + {path:'messagelist',component:messagelist,meta: { title: '消息列表', isAuth: true,type:1}}, + {path:'toolsmarket',component:toolmarket,meta: { title: '工具市场', isAuth: true,type:2}}, + {path:'mytooldetails',component:mytooldetails,meta: { title: '测试工具详情', isAuth: true,type:2}}, + {path:'orders',component:myorder,meta: { title: '我的订单', isAuth: true,type:2}}, + {path:'cart',component:myshopcart,meta: { title: '我的购物车', isAuth: true,type:2}}, + {path:'mytasks',component:mytask,meta: { title: '我的任务', isAuth: true,type:3}}, + {path:'mytools',component:mytool,meta: { title: '我的工具', isAuth: true,type:3}}, + {path:'crowdmarket',component:crowdmarket,meta: { title: '众包市场', isAuth: true,type:4}}, + {path:'currentcrowd',component:currentcrowd,meta: { title: '任务详情', isAuth: true,type:4}}, + {path:'crowdinform',component:crowdinform,meta: { title: '测试众包详情', isAuth: true,type:4}}, + {path:'mycrowd',component:mycrowd,meta: { title: '我的众包', isAuth: true,type:4}}, + {path:'myparticipate',component:myparticipate,meta: { title: '我参与的', isAuth: true,type:4}}, + {path:'myrelease',component:myrelease,meta: { title: '我发布的', isAuth: true,type:4}}, + {path:'pendingtask',component:pendingtask,meta: { title: '待付款任务', isAuth: true,type:4}}, + {path:'edittasks',component:edittasks,meta: { title: '重新发布', isAuth: true,type:4}}, + {path:'edittasksFB',component:edittasks,meta: { title: '发布任务', isAuth: true,type:4}}, + {path:'account',component:testKit,meta: { title: '我的测试宝', isAuth: true,type:5}}, + {path:'accountoverview',component:accountoverview,meta: { title: '账户概览', isAuth: true,type:5}}, + {path:'transaction',component:transaction,meta: { title: '交易记录', isAuth: true,type:5}}, + {path:'tranpassword',component:tranpassword,meta: { title: '交易密码', isAuth: true,type:5}}, + {path:'demand',component:demand,meta: { title: '我要用人', isAuth: true,type:6}}, + {path:'myreview',component:myreview,meta: { title: '我的评价', isAuth: true,type:5}}, + {path:'myBm',component:myBm,meta: { title: '我的培训班', isAuth: true,type:5}}, + + ] + }, + + ], + +}) +// 全局路由守卫; +router.beforeEach((to, from, next) => { + + // 百度统计 + const tjarr = ['/market', '/crowdsourcing', '/ability' ,'/college', '/about'] + if (_hmt) { + if (tjarr.some(it => it == to.path)) { + _hmt.push(['_trackPageview', '/' + to.fullPath]); + } + } + + + // console.log(store.getters.companyStatus); + let token=store.getters.token; + // if(token){ + // store.dispatch("SET_KEYSAASDICT") + // } + // chrome + document.body.scrollTop = 0 + // firefox + document.documentElement.scrollTop = 0 + const meta = to.meta || {} + // store.dispatch("SET_KEYSAASDICT") + + + // let currentdata=Date.parse(new Date()); + // let logindate=store.getters.logindate; + // let timedifference=currentdata-(parseInt(logindate)+604800000); + // // console.log('当前时间',currentdata,'登录时间',logindate,'时间差',timedifference) + // // console.log('过期时间',timedifference) + // if (timedifference>0) { + // MessageBox.confirm('登录状态已过期,请重新登录', '系统提示', { + // confirmButtonText: '重新登录', + // showCancelButton:false, + // showClose:false, + // type: 'warning' + // }).then(() => { + // store.dispatch('LogOut').then(() => { + // next({ path: `/login?type=log` }) + // }) + // }) + // // localStorage.removeItem('access_token'); + // // Message.warning('登录状态已过期,请重新登录') + // // store.dispatch('LogOut').then(() => { + // // next({ path: `/login?type=log` }) + // // }) + // // next() + // // if (meta.isAuth === true) { + // // alert('登录状态失效,请您重新登录') + // // next({ path: `/login?type=log` }) + // // } else { + // // next() + // // } + // } else { + next() + // } +}) +// 解决这个报错:vue-router.esm.js?ac56:2065 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/login?type=log". +// 解决ElementUI导航栏中的vue-router在3.0版本以上重复点菜单报错问题 +const originalPush = Router.prototype.push +Router.prototype.push = function push (location) { + return originalPush.call(this, location).catch(err => err) +} +export default router; \ No newline at end of file diff --git a/src/store/getters.js b/src/store/getters.js new file mode 100644 index 0000000..95a4cea --- /dev/null +++ b/src/store/getters.js @@ -0,0 +1,30 @@ +const getters = { + token: state => state.user.token,//登录token + logindate: state => state.user.logindate,//登录时间 + userinform: state => state.user.userinform,//用户信息 + name: state => state.user.name,//用户名 + avatar: state => state.user.avatar,//用户头像 + userId: state=> state.user.userId,//用户Id + roles: state => state.user.roles,//身份 + permissions: state => state.user.permissions,//权限 + cartCount: state => state.user.cartCount,//购物车数量 + messageCount: state => state.user.messageCount,//站内消息 + companyStatus: state => state.user.companyStatus,//身份状态 + testerStatus: state => state.user.testerStatus,//测试者状态 + activeName: state => state.user.activeName, + activeNameManager: state => state.user.activeNameManager, + tooltypelist: state => state.dict.tooltypelist,//工具类型 + paytypelist: state => state.dict.paytypelist,//支付方式 + testtypelist: state => state.dict.testtypelist,//测试类型 + feescopelist: state => state.dict.feescopelist,//金额范围 + sidebar: state => state.app.sidebar, + size: state => state.app.size, + device: state => state.app.device, + visitedViews: state => state.tagsView.visitedViews, + cachedViews: state => state.tagsView.cachedViews, + introduction: state => state.user.introduction, + permission_routes: state => state.permission.routes, + sidebarRouters:state => state.permission.sidebarRouters, + websiteDomain: state => state.websiteDomain, +} +export default getters diff --git a/src/store/index.js b/src/store/index.js new file mode 100644 index 0000000..248c819 --- /dev/null +++ b/src/store/index.js @@ -0,0 +1,18 @@ +import Vue from 'vue' +import Vuex from 'vuex' +import user from './modules/user' +import common from './modules/common' +import dict from './modules/dict' +import getters from './getters' + +Vue.use(Vuex) +const store = new Vuex.Store({ + modules: { + user, + common, + dict + }, + getters +}) + +export default store diff --git a/src/store/modules/common.js b/src/store/modules/common.js new file mode 100644 index 0000000..4b134f3 --- /dev/null +++ b/src/store/modules/common.js @@ -0,0 +1,24 @@ +import { getStore, removeStore, setStore } from '@/util/store' + +const common = { + + state: { + rememberMeWeek: getStore({name: 'eqestrian_remember_me_week'}) || {}, + }, + actions: { + setRememberMeWeek({commit}, data){ + commit('SET_REMEMBER_ME', data); + }, + }, + mutations: { + //提交荷载 + SET_REMEMBER_ME(state, data) { + state.rememberMeWeek = data; + setStore({ + name: 'eqestrian_remember_me_week', + content: data + }) + }, + } +} +export default common diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js new file mode 100644 index 0000000..6832b7c --- /dev/null +++ b/src/store/modules/dict.js @@ -0,0 +1,62 @@ +import { getStore, removeStore, setStore } from '@/util/store' +import { listData ,getDicts} from '@/api/system/dict/data' + + +const dict = { + state: { + paytypelist: getStore({ name: 'paytypelist' }) || [], //支付方式 + tooltypelist: getStore({ name: 'tooltypelist' }) || [], //工具类型 + testtypelist: getStore({ name: 'testtypelist' }) || [], //测试类型 + feescopelist: getStore({ name: 'feescopelist' }) || [], //金额范围 + }, + actions: { + SET_KEYSAASDICT({commit}) { + getDicts('sys_pay_type').then(res=>{ + // console.log('支付方式:',res) + commit("SET_PAYTYPE", res.data); + }) + getDicts('sys_tool_type').then(res=>{ + // console.log('工具类型',res) + commit("SET_TOOLTYPE", res.data); + }) + getDicts('sys_test_type').then(res=>{ + commit("SET_TESTTYPE", res.data); + }) + getDicts('sys_fee_scope').then(res=>{ + commit("SET_FEESCOPE", res.data); + }) + }, + }, + mutations:{ + SET_PAYTYPE: (state, paytypelist) => { + state.paytypelist = paytypelist + setStore({ + name: 'paytypelist', + content: state.paytypelist, + }) + }, + SET_TOOLTYPE: (state, tooltypelist) => { + state.tooltypelist = tooltypelist + setStore({ + name: 'tooltypelist', + content: state.tooltypelist, + }) + }, + SET_TESTTYPE: (state, testtypelist) => { + state.testtypelist = testtypelist + setStore({ + name: 'testtypelist', + content: state.testtypelist, + }) + }, + SET_FEESCOPE: (state, feescopelist) => { + state.feescopelist = feescopelist + setStore({ + name: 'feescopelist', + content: state.feescopelist, + }) + }, + } +} + +export default dict diff --git a/src/store/modules/user.js b/src/store/modules/user.js new file mode 100644 index 0000000..22d3f2c --- /dev/null +++ b/src/store/modules/user.js @@ -0,0 +1,228 @@ +import { getStore, setStore } from '@/util/store' +// import { isURL, validatenull } from '@/util/validate' +import { login, nameLogin, phoneLogin, logout, getInfo } from '@/api/system/login' +// import { deepClone, encryption } from '@/util/util' + +const user = { + state: { + token: getStore({name: 'token'}) || '',//登录tokenken + logindate: getStore({name: 'logindate'}) || '',//登录时间 + userinform: getStore({name: 'userinform'}) || '',//用户信息 + name: getStore({name: 'name'}) || '',//用户名 + avatar:getStore({name: 'avatar'}) || '',//用户头像 + userId:getStore({name: 'userId'}) || 0,//用户id + roles:getStore({name: 'roles'}) || [],//身份 + permissions:getStore({name: 'permissions'}) || [],//权限 + cartCount:getStore({name: 'cartCount'}) || 0,//购物车数量 + messageCount:getStore({name: 'messageCount'}) || 0,//站内消息 + companyStatus:getStore({name: 'companyStatus'}) || 0,//身份状态 + testerStatus:getStore({name: 'testerStatus'}) || 0, + activeName:'', + activeNameManager: '', + websiteDomain:'' + }, + actions: { + // 根据用户名登录 + NameLogin({ commit, state}, userInfo) { + const username = userInfo.username.trim() + const password = userInfo.password + + return new Promise((resolve, reject) => { + // return; + nameLogin(username, password).then(res => { + commit('SET_TOKEN', res.token); + const data=Date.parse(new Date()); + commit('SET_LOGINDATE', data); + resolve() + }).catch(error => { + reject({msg: '稍后再试'}) + }) + }) + }, + // 根据手机号登录 + PhoneLogin({ commit,state}, userInfo) { + const mobile = userInfo.mobile + const code = userInfo.code + const uuid = userInfo.uuid + // console.log('手机登录传的参数:',mobile,code,uuid) + return new Promise((resolve, reject) => { + phoneLogin(mobile, code, uuid).then(res => { + // console.log('手机登录成功',res); + commit('SET_TOKEN', res.token); + const data=Date.parse(new Date()); + commit('SET_LOGINDATE', data); + resolve() + }).catch(error => { + reject({msg: '稍后再试'}) + }) + }) + }, + // 账号+验证码登录 暂时没用 + Login({ commit,state}, userInfo) { + const username = userInfo.username.trim() + const password = userInfo.password + const code = userInfo.code + const uuid = userInfo.uuid + return new Promise((resolve, reject) => { + login(username, password, code, uuid).then(res => { + setToken(res.token, state.websiteDomain) + commit('SET_TOKEN', res.token) + resolve() + }).catch(error => { + reject({msg: '稍后再试'}) + }) + }) + }, + // 获取用户信息 + GetInfo({ commit, state }) { + return new Promise((resolve, reject) => { + getInfo().then(res => { + // console.log('用户信息',res) + const user = res.user + // const avatar = (user.avatar== null || user.avatar == "") ? require("../../../public/assets/home/picture.png") : 'https://www.keyitest.cn/'+user.avatar.substr(user.avatar && user.avatar.indexOf('g')); + const avatar = (user.avatar== null || user.avatar == "") ? require("../../../public/assets/home/defaultAva.jpg") : user.avatar; + if (res.roles && res.roles.length > 0) { // 验证返回的roles是否是一个非空数组 + commit('SET_ROLES', res.roles) + commit('SET_PERMISSIONS', res.permissions) + } else { + commit('SET_ROLES', ['ROLE_DEFAULT']) + } + commit('SET_USERINFORM', user) + commit('SET_NAME', user.userName) + commit('SET_USERID', user.userId) + commit('SET_AVATAR',avatar) + commit('SET_COMPANY', user.companyStatus) + commit('SET_TESTER', user.testerStatus) + commit('SET_MESSAGECOUNT', 0) + commit('SET_CARTCOUNT', 0) + resolve(res) + }).catch(error => { + reject({msg: '稍后再试'}) + }) + }) + }, + + // 退出系统 + LogOut({ commit, state }) { + return new Promise((resolve, reject) => { + logout(state.token).then(() => { + commit('SET_TOKEN', '') + commit('SET_LOGINDATE', '') + commit('SET_ROLES', []) + commit('SET_PERMISSIONS', []) + commit('SET_USERINFORM', {}) + commit('SET_COMPANY', '') + resolve() + }).catch(error => { + reject({msg: '稍后再试'}) + }) + }) + }, + }, + mutations: { + SET_TOKEN: (state, token) => { + state.token = token + setStore({ + name: 'token', + content: state.token, + type: 'session' + }) + }, + SET_LOGINDATE: (state, logindate) => { + state.logindate = logindate + setStore({ + name: 'logindate', + content: state.logindate, + }) + }, + SET_USERINFORM: (state, userinform) => { + state.userinform = userinform + setStore({ + name: 'userinform', + content: state.userinform, + }) + }, + SET_NAME: (state, name) => { + state.name = name + setStore({ + name: 'name', + content: state.name, + }) + }, + SET_USERID:(state, userId) => { + state.userId = userId + setStore({ + name: 'userId', + content: state.userId, + }) + }, + SET_AVATAR: (state, avatar) => { + state.avatar = avatar + setStore({ + name: 'avatar', + content: state.avatar, + }) + }, + SET_ROLES: (state, roles) => { + state.roles = roles + setStore({ + name: 'roles', + content: state.roles, + }) + }, + SET_PERMISSIONS: (state, permissions) => { + state.permissions = permissions + setStore({ + name: 'permissions', + content: state.permissions, + }) + }, + SET_CARTCOUNT: (state, cartcount) => { + state.cartCount = cartcount + setStore({ + name: 'cartcount', + content: state.cartcount, + }) + }, + SET_COMPANY: (state, companyStatus) => { + state.companyStatus = companyStatus + setStore({ + name: 'companyStatus', + content: state.companyStatus, + }) + }, + SET_TESTER: (state, testerStatus) => { + state.testerStatus = testerStatus + setStore({ + name: 'testerStatus', + content: state.testerStatus, + }) + }, + SET_MESSAGECOUNT: (state, count) => { + state.messageCount = count + setStore({ + name: 'messageCount', + content: state.messageCount, + }) + }, + + SET_ACTIVENAME: (state, activeName) => { + state.activeName = activeName + }, + SET_ACTIVENAMEMANAGER: (state, activeName) => { + state.activeNameManager = activeName + }, + SET_WEBSITE_DOMAIN: (state, websiteDomain) => { + state.websiteDomain = websiteDomain + } + // SET_PERMISSIONS: (state, permissions) => { + // const list = {} + // for (let i = 0; i < permissions.length; i++) { + // list[permissions[i]] = true + // } + // state.permissions = list + // } + } + +} +export default user diff --git a/src/util/agentJudge.js b/src/util/agentJudge.js new file mode 100644 index 0000000..b47cecf --- /dev/null +++ b/src/util/agentJudge.js @@ -0,0 +1,13 @@ +export default { + isPhone: function() { + return (navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)) + }, + isWeixinEvn: function () { + let ua = navigator.userAgent.toLowerCase(); + if(ua.match(/MicroMessenger/i) == "micromessenger") { + return true; + } else { + return false; + } + } +} diff --git a/src/util/encrypt.js b/src/util/encrypt.js new file mode 100644 index 0000000..ab3e8c7 --- /dev/null +++ b/src/util/encrypt.js @@ -0,0 +1,22 @@ +import CryptoJS from 'crypto-js' + +const SECRET_KEY = CryptoJS.enc.Utf8.parse('KeyWareSecretKey'); + + +// 加密 +export function encrypt(data) { + const encrypted = CryptoJS.AES.encrypt(data, SECRET_KEY, { + mode: CryptoJS.mode.ECB, + padding: CryptoJS.pad.Pkcs7 + }); + return encrypted.toString(); +} + +// 解密 +export function decrypt(data) { + const decrypted = CryptoJS.AES.decrypt(data, SECRET_KEY, { + mode: CryptoJS.mode.ECB, + padding: CryptoJS.pad.Pkcs7 + }) + return decrypted.toString(CryptoJS.enc.Utf8) +} \ No newline at end of file diff --git a/src/util/errorCode.js b/src/util/errorCode.js new file mode 100644 index 0000000..75e0301 --- /dev/null +++ b/src/util/errorCode.js @@ -0,0 +1,13 @@ +export default { + '000': '操作太频繁,请勿重复请求', + '401': '当前操作没有权限', + '403': '当前操作没有权限', + '404': '资源不存在', + '417': '未绑定登录账号,请使用密码登录后绑定', + '423': '演示环境不能操作,如需了解联系冷冷', + '426': '用户名不存在或密码错误', + '428': '验证码错误,请重新输入', + '429': '请求过频繁', + '479': '演示环境,没有权限操作', + 'default': '系统未知错误,请反馈给管理员' +} diff --git a/src/util/fileOpUtill.js b/src/util/fileOpUtill.js new file mode 100644 index 0000000..ebba870 --- /dev/null +++ b/src/util/fileOpUtill.js @@ -0,0 +1,11 @@ +export function base64ToBlob(code) { + let parts = code.split(';base64,') + let contentType = parts[0].split(':')[1] + let raw = window.atob(parts[1]) + let rawLength = raw.length + let uInt8Array = new Uint8Array(rawLength) + for (let i = 0; i < rawLength; ++i) { + uInt8Array[i] = raw.charCodeAt(i) + } + return new Blob([uInt8Array], { type: contentType }) +} diff --git a/src/util/store.js b/src/util/store.js new file mode 100644 index 0000000..4929a37 --- /dev/null +++ b/src/util/store.js @@ -0,0 +1,114 @@ +import { validatenull } from '@/util/validate' + +const keyName = 'fencing' +/** + * 存储localStorage + */ +export const setStore = (params = {}) => { + let { + name, + content, + type + } = params + name = keyName + name + const obj = { + dataType: typeof (content), + content: content, + type: type, + datetime: new Date().getTime() + } + if (type) window.sessionStorage.setItem(name, JSON.stringify(obj)) + else window.localStorage.setItem(name, JSON.stringify(obj)) +} +/** + * 获取localStorage + */ + +export const getStore = (params = {}) => { + let { + name, + debug + } = params + name = keyName + name + let obj = {} + let content + obj = window.sessionStorage.getItem(name) + if (validatenull(obj)) obj = window.localStorage.getItem(name) + if (validatenull(obj)) return + try { + obj = JSON.parse(obj) + } catch (e) { + return obj + } + if (debug) { + return obj + } + if (obj.dataType === 'string') { + content = obj.content + } else if (obj.dataType === 'number') { + content = Number(obj.content) + } else if (obj.dataType === 'boolean') { + content = eval(obj.content) + } else if (obj.dataType === 'object') { + content = obj.content + } + return content +} +/** + * 删除localStorage + */ +export const removeStore = (params = {}) => { + let { + name, + type + } = params + name = keyName + name + if (type) { + window.sessionStorage.removeItem(name) + } else { + window.localStorage.removeItem(name) + } +} + +/** + * 获取全部localStorage + */ +export const getAllStore = (params = {}) => { + const list = [] + const { + type + } = params + if (type) { + for (let i = 0; i <= window.sessionStorage.length; i++) { + list.push({ + name: window.sessionStorage.key(i), + content: getStore({ + name: window.sessionStorage.key(i), + type: 'session' + }) + }) + } + } else { + for (let i = 0; i <= window.localStorage.length; i++) { + list.push({ + name: window.localStorage.key(i), + content: getStore({ + name: window.localStorage.key(i) + }) + }) + } + } + return list +} + +/** + * 清空全部localStorage + */ +export const clearStore = (params = {}) => { + const { type } = params + if (type) { + window.sessionStorage.clear() + } else { + window.localStorage.clear() + } +} diff --git a/src/util/util.js b/src/util/util.js new file mode 100644 index 0000000..0e3c245 --- /dev/null +++ b/src/util/util.js @@ -0,0 +1,339 @@ + +import axios from 'axios' +import store from "@/store"; + +import { downzai } from "@/api/system/config"; + +const baseURL = '/prod-api' + //时间格式转换 + export function dateFormat(date, format) { + if(!format) {format = 'yyyy-MM-dd hh:mm:ss';} + if (date !== 'Invalid Date') { + var o = { + 'M+': date.getMonth() + 1, // month + 'd+': date.getDate(), // day + 'h+': date.getHours(), // hour + 'm+': date.getMinutes(), // minute + 's+': date.getSeconds(), // second + 'q+': Math.floor((date.getMonth() + 3) / 3), // quarter + 'S': date.getMilliseconds() // millisecond + } + if (/(y+)/.test(format)) { + format = format.replace(RegExp.$1, + (date.getFullYear() + '').substr(4 - RegExp.$1.length)) + } + for (var k in o) { + if (new RegExp('(' + k + ')').test(format)) { + format = format.replace(RegExp.$1, + RegExp.$1.length === 1 ? o[k] + : ('00' + o[k]).substr(('' + o[k]).length)) + } + } + return format + } + return '' + } + +/** + * 判断是否为空 + */ + export function validatenull(val) { + if (typeof val === 'boolean') { + return false + } + if (typeof val === 'number') { + return false + } + if (val instanceof Array) { + if (val.length === 0) return true + } else if (val instanceof Object) { + if (JSON.stringify(val) === '{}') return true + } else { + if (val === 'null' || val == null || val === 'undefined' || val === undefined || val === '') return true + return false + } + return false + } + // 转换字符串,undefined,null等转化为"" + export function praseStrEmpty(str) { + if (!str || str == "undefined" || str == "null") { + return ""; + } + return str; + } + /** + * 根据字典的数值显示对应的汉字 + */ + export const findLabelValueByProp = (dic, value, propl,label) => { + if (!value) return "" + const valueArr = (value+'').split(',') + propl = propl ? propl : 'value'; + label = label ? label : 'label'; + let resultArr = [] + if (validatenull(dic)) return value + + valueArr.forEach((it,i) => { + const index = dic.findIndex(item=>item[propl] == valueArr[i]) + if (index != -1) { + resultArr.push(dic[index][label]) + } + }) + return resultArr.join(',') + // console.log(resultArr.join(',')); + + // let idx = dic.findIndex(item=>item[propl] == value); + // if (idx > -1) { return dic[idx][label] } + // return value + } +/** + * 根据字典的value显示label + */ + export const findByvalue = (dic, value) => { + // console.log('findByvalue',dic, value) + let result = '' + if (validatenull(dic)) return value + if (typeof (value) === 'string' || typeof (value) === 'number' || typeof (value) === 'boolean') { + let index = 0 + index = findArray(dic, value) + if (index !== -1) { + result = dic[index].label + } else { + result = value + } + } else if (value instanceof Array) { + result = [] + let index = 0 + value.forEach(ele => { + index = findArray(dic, ele) + if (index !== -1) { + result.push(dic[index].label) + } else { + result.push(value) + } + }) + result = result.toString() + } + // console.log('result',result) + return result + } +/** + * 根据字典的value查找对应的index + */ + export const findArray = (dic, value) => { + for (let i = 0; i < dic.length; i++) { + if (dic[i].value === value) { + return i + } + } + return -1 + }; + +// 日期格式化 +export function parseTime(time, pattern) { + if (arguments.length === 0 || !time) { + return null + } + const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}' + let date + if (typeof time === 'object') { + date = time + } else { + if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) { + time = parseInt(time) + } else if (typeof time === 'string') { + time = time.replace(new RegExp(/-/gm), '/'); + } + if ((typeof time === 'number') && (time.toString().length === 10)) { + time = time * 1000 + } + date = new Date(time) + } + const formatObj = { + y: date.getFullYear(), + m: date.getMonth() + 1, + d: date.getDate(), + h: date.getHours(), + i: date.getMinutes(), + s: date.getSeconds(), + a: date.getDay() + } + const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => { + let value = formatObj[key] + // Note: getDay() returns 0 on Sunday + if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value] } + if (result.length > 0 && value < 10) { + value = '0' + value + } + return value || 0 + }) + return time_str +} +const digitsRE = /(\d{3})(?=\d)/g + +export function currency (value, currency, decimals) { + value = parseFloat(value) + if (!isFinite(value) || (!value && value !== 0)) return '' + currency = currency != null ? currency : '$' + decimals = decimals != null ? decimals : 2 + var stringified = Math.abs(value).toFixed(decimals) + var _int = decimals + ? stringified.slice(0, -1 - decimals) + : stringified + var i = _int.length % 3 + var head = i > 0 + ? (_int.slice(0, i) + (_int.length > 3 ? ',' : '')) + : '' + var _float = decimals + ? stringified.slice(-1 - decimals) + : '' + var sign = value < 0 ? '-' : '' + return sign + currency + head + + _int.slice(i).replace(digitsRE, '$1,') + + _float +} + // 表单重置 +export function resetForm(refName) { + if (this.$refs[refName]) { + this.$refs[refName].resetFields(); + } +} + +// 添加日期范围 +export function addDateRange(params, dateRange, propName) { + // console.log(params, dateRange, propName) + var search = params; + search.params = {}; + if (null != dateRange && '' != dateRange) { + if (typeof (propName) === "undefined") { + search.params["beginTime"] = dateRange[0]; + search.params["endTime"] = dateRange[1]; + } else { + search.params["begin" + propName] = dateRange[0]; + search.params["end" + propName] = dateRange[1]; + } + } + return search; +} + +// 回显数据字典 +export function selectDictLabel(datas, value) { + var actions = []; + Object.keys(datas).some((key) => { + if (datas[key].dictValue == ('' + value)) { + actions.push(datas[key].dictLabel); + return true; + } + }) + return actions.join(''); +} + +// 回显数据字典(字符串数组) +export function selectDictLabels(datas, value, separator) { + var actions = []; + var currentSeparator = undefined === separator ? "," : separator; + var temp = value.split(currentSeparator); + Object.keys(value.split(currentSeparator)).some((val) => { + Object.keys(datas).some((key) => { + if (datas[key].dictValue == ('' + temp[val])) { + actions.push(datas[key].dictLabel + currentSeparator); + } + }) + }) + return actions.join('').substring(0, actions.join('').length - 1); +} + +// 都先去掉 baseURL(/prod-api) 打包部署的时候需要加上 +// 通用下载方法 +export function download(fileName) { + window.location.href =baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true; +} +// 通用下载方法 +export function downloadHttp(filePath) { + window.location.href =baseURL + "/common/download/http?filePath=" + encodeURI(filePath) + "&delete=" + false; +} + +// 通用下载方法 http://test.console.lovecode.cc/prod-api +export function downloadFast(filePath, loading) { + // window.location.href = baseURL + "/common/download/fast?filePath=" + encodeURI(filePath) + "&delete=" + false; + var url = baseURL + "/common/download/fast?filePath=" + encodeURI(filePath) + "&delete=" + false; + axios({ + method: 'get', + url: url, + responseType: 'blob', + headers: { 'Authorization': 'Bearer ' + store.getters.token } + }).then(res => { + try { + // console.log('res---',res,) + const aLink = document.createElement('a') + var blob = new Blob([res.data], {type: 'application/octet-stream'}) + // //从response的headers中获取filename, 后端response.setHeader("Content-disposition", "attachment; filename=xxxx.docx") 设置的文件名; + var patt = new RegExp('filename=([^;]+\\.[^\\.;]+);*') + // console.log('aLink---',aLink,blob,patt,) + // return; + var contentDisposition = decodeURI(res.headers['content-disposition']) + var result = patt.exec(contentDisposition) + var fileName = result[1] + fileName = fileName.replace(/\"/g, '') + aLink.href = URL.createObjectURL(blob) + aLink.setAttribute('download', fileName) // 设置下载文件名称 + document.body.appendChild(aLink) + aLink.click() + document.body.removeChild(aLink); + loading.close(); + } catch (e) { + alert("文件异常,请联系管理员"); + loading.close(); + } + }) + } + +/** + * 构造树型结构数据 + * @param {*} data 数据源 + * @param {*} id id字段 默认 'id' + * @param {*} parentId 父节点字段 默认 'parentId' + * @param {*} children 孩子节点字段 默认 'children' + */ +export function handleTree(data, id, parentId, children) { + let config = { + id: id || 'id', + parentId: parentId || 'parentId', + childrenList: children || 'children' + }; + + var childrenListMap = {}; + var nodeIds = {}; + var tree = []; + + for (let d of data) { + let parentId = d[config.parentId]; + if (childrenListMap[parentId] == null) { + childrenListMap[parentId] = []; + } + nodeIds[d[config.id]] = d; + childrenListMap[parentId].push(d); + } + + for (let d of data) { + let parentId = d[config.parentId]; + if (nodeIds[parentId] == null) { + tree.push(d); + } + } + + for (let t of tree) { + adaptToChildrenList(t); + } + + function adaptToChildrenList(o) { + if (childrenListMap[o[config.id]] !== null) { + o[config.childrenList] = childrenListMap[o[config.id]]; + } + if (o[config.childrenList]) { + for (let c of o[config.childrenList]) { + adaptToChildrenList(c); + } + } + } + return tree; +} \ No newline at end of file diff --git a/src/util/validate.js b/src/util/validate.js new file mode 100644 index 0000000..704d4b6 --- /dev/null +++ b/src/util/validate.js @@ -0,0 +1,308 @@ +/** + * 邮箱 + * @param {*} s + */ +export function isEmail(s) { + return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s) +} + +/** + * 手机号码 + * @param {*} s + */ +export function isMobile(s) { + return /^1[0-9]{10}$/.test(s) +} + +/** + * 电话号码 + * @param {*} s + */ +export function isPhone(s) { + return /^([0-9]{3,4}-)?[0-9]{7,8}$/.test(s) +} + +/** + * URL地址 + * @param {*} s + */ +export function isURL(s) { + return /^http[s]?:\/\/.*/.test(s) +} + +export function isvalidUsername(str) { + const valid_map = ['admin', 'editor'] + return valid_map.indexOf(str.trim()) >= 0 +} + +/* 合法uri */ +export function validateURL(textval) { + const urlregex = /^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/ + return urlregex.test(textval) +} + +/* 小写字母 */ +export function validateLowerCase(str) { + const reg = /^[a-z]+$/ + return reg.test(str) +} + +/* 大写字母 */ +export function validateUpperCase(str) { + const reg = /^[A-Z]+$/ + return reg.test(str) +} + +/* 大小写字母 */ +export function validatAlphabets(str) { + const reg = /^[A-Za-z]+$/ + return reg.test(str) +} + +/* 验证pad还是pc */ +export const vaildatePc = function() { + const userAgentInfo = navigator.userAgent + const Agents = ['Android', 'iPhone', + 'SymbianOS', 'Windows Phone', + 'iPad', 'iPod' + ] + let flag = true + for (var v = 0; v < Agents.length; v++) { + if (userAgentInfo.indexOf(Agents[v]) > 0) { + flag = false + break + } + } + return flag +} + +/** + * validate email + * @param email + * @returns {boolean} + */ +export function validateEmail(email) { + const re = /^(([^<>()\\[\]\\.,;:\s@"]+(\.[^<>()\\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ + return re.test(email) +} + +/** + * 判断身份证号码 + */ +export function cardid(code) { + const list = [] + let result = true + let msg = '' + var city = { + 11: '北京', + 12: '天津', + 13: '河北', + 14: '山西', + 15: '内蒙古', + 21: '辽宁', + 22: '吉林', + 23: '黑龙江 ', + 31: '上海', + 32: '江苏', + 33: '浙江', + 34: '安徽', + 35: '福建', + 36: '江西', + 37: '山东', + 41: '河南', + 42: '湖北 ', + 43: '湖南', + 44: '广东', + 45: '广西', + 46: '海南', + 50: '重庆', + 51: '四川', + 52: '贵州', + 53: '云南', + 54: '西藏 ', + 61: '陕西', + 62: '甘肃', + 63: '青海', + 64: '宁夏', + 65: '新疆', + 71: '台湾', + 81: '香港', + 82: '澳门', + 91: '国外 ' + } + if (!validatenull(code)) { + if (code.length === 18) { + if (!code || !/(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(code)) { + msg = '证件号码格式错误' + } else if (!city[code.substr(0, 2)]) { + msg = '地址编码错误' + } + // else { + // // 18位身份证需要验证最后一位校验位 + // code = code.split('') + // // ∑(ai×Wi)(mod 11) + // // 加权因子 + // var factor = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2] + // // 校验位 + // var parity = [1, 0, 'X', 9, 8, 7, 6, 5, 4, 3, 2, 'x'] + // var sum = 0 + // var ai = 0 + // var wi = 0 + // for (var i = 0; i < 17; i++) { + // ai = code[i] + // wi = factor[i] + // sum += ai * wi + // } + // if (parity[sum % 11] !== code[17]) { + // msg = '证件号码校验位错误' + // } else { + // result = false + // } + // } + } else { + msg = '证件号码长度不为18位' + } + } else { + msg = '证件号码不能为空' + } + list.push(result) + list.push(msg) + return list +} + +/** + * 判断手机号码是否正确 + */ +export function isvalidatemobile(phone) { + const list = [] + let result = true + let msg = '' + var isPhone = /^0\d{2,3}-?\d{7,8}$/ + // 增加134 减少|1349[0-9]{7},增加181,增加145,增加17[678] + if (!validatenull(phone)) { + if (phone.length === 11) { + if (isPhone.test(phone)) { + msg = '手机号码格式不正确' + } else { + result = false + } + } else { + msg = '手机号码长度不为11位' + } + } else { + msg = '手机号码不能为空' + } + list.push(result) + list.push(msg) + return list +} + +/** + * 判断姓名是否正确 + */ +export function validatename(name) { + var regName = /^[\u4e00-\u9fa5]{2,4}$/ + if (!regName.test(name)) return false + return true +} + +/** + * 判断是否为整数 + */ +export function validatenum(num, type) { + let regName = /[^\d.]/g + if (type === 1) { + if (!regName.test(num)) return false + } else if (type === 2) { + regName = /[^\d]/g + if (!regName.test(num)) return false + } + return true +} + +/** + * 判断是否为小数 + */ +export function validatenumord(num, type) { + let regName = /[^\d.]/g + if (type === 1) { + if (!regName.test(num)) return false + } else if (type === 2) { + regName = /[^\d.]/g + if (!regName.test(num)) return false + } + return true +} + +/** + * 判断是否为空 + */ +export function validatenull(val) { + if (typeof val === 'boolean') { + return false + } + if (typeof val === 'number') { + return false + } + if (val instanceof Array) { + if (val.length === 0) return true + } else if (val instanceof Object) { + if (JSON.stringify(val) === '{}') return true + } else { + if (val === 'null' || val == null || val === 'undefined' || val === undefined || val === '') return true + return false + } + return false +} +export function checkTargets(rule, value, callback) { + value = value.trim(); + if (value.startsWith(",") || value.endsWith(",")) { + callback(new Error("不能以逗号开头或结尾")); + } + let ip1 = /^(?:(?:^|,|-)(?:[1-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])(?:\.(?:[0-9]|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])){3})+$/; + let ip2 = /^(?:(?:^|,)(([1-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5])))\.)(([1-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5])))\.){2}([1-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5])))\/[0-9]{0,4})+$/; + if (!ip1.test(value) && !ip2.test(value)) { + callback(new Error('输入正确的IP地址,多个地址用逗号分隔,如:192.168.3.1,192.168.3.1/24,192.168.3.1-196.168.3.24')); + } else { + let items = value.split(","); + for (let index in items) { + if (items[index].trim() != '') { + if (items[index].indexOf("-") > 0) { + let start = items[index].split("-")[0]; + let end = items[index].split("-")[1]; + if (ip2int(start) >= ip2int(end)) { + callback(new Error('IP地址段的终止地址必须大于起始地址')); + } + } + } + } + callback(); + } +} +export function checkPorts(rule, value, callback) { + value = value.trim(); + if (value == '') { + callback(); + } + if (value.startsWith(",") || value.endsWith(",")) { + callback(new Error("不能以逗号开头或结尾")); + } + let portRule = /^(?:(?:^|,|-)([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))+$/; + if (!portRule.test(value)) { + callback(new Error('请输入[0-65535]之间的数字,多个端口或端口范围使用逗号分隔,如:12,13-14')); + } else { + let items = value.split(","); + for (let index in items) { + if (items[index].trim() != '') { + if (items[index].indexOf("-") > 0) { + let start = items[index].split("-")[0]; + let end = items[index].split("-")[1]; + if (start >= end) { + callback(new Error('端口范围的终止端口必须大于起始端口')); + } + } + } + } + callback(); + } +} \ No newline at end of file diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..5d47646 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,104 @@ +const webpack = require('webpack') +/** + * 配置参考: + * https://cli.vuejs.org/zh/config/ + */ + +// const url = 'http://47.94.55.72:9999/';//之前的线上地址 +// const url = 'http://test.lovecode.cc:9999/';//线上地址 +// const url = 'http://192.168.1.105:9999/';//线下地址 +// const url = 'http:// 172.16.36.67:9999/';//线下地址 +// +// const port = process.env.port || process.env.npm_config_port || 80 // 端口 +module.exports = { + // const port = process.env.port || process.env.npm_config_port || 80 // 端口 + + devServer: { + host: '0.0.0.0', + // port: port, + open: true, + proxy: { + // detail: https://cli.vuejs.org/config/#devserver-proxy + [process.env.VUE_APP_BASE_API]: { + // target: `https://www.keyitest.cn/prod-api`, + //target: `http://192.168.1.105:9999`,//之前 + target: process.env.VUE_APP_BASE_TARGET, + changeOrigin: true, + pathRewrite: { + ['^' + process.env.VUE_APP_BASE_API]: '' + } + } + }, + disableHostCheck: true, + // before (app, server) { + // app.get(/.*.(js)$/, (req, res, next) => { + // req.url = req.url + '.gz' + // res.set('Content-Encoding', 'gzip') + // next() + // }) + // } + }, + configureWebpack: { + plugins: [ + // + new webpack.ProvidePlugin({ + 'window.Quill': 'quill/dist/quill.js', + 'Quill': 'quill/dist/quill.js' + }), + ], + + }, + lintOnSave: true, + productionSourceMap: false, + chainWebpack: config => { + config.plugin('provide').use(webpack.ProvidePlugin, [{ + $: 'jquery', + jquery: 'jquery', + jQuery: 'jquery', + 'window.jQuery': 'jquery' + }]) + // xss攻击 + config.module + .rule("vue") + .use("vue-loader") + .loader("vue-loader") + .tap(options => { + options.compilerOptions.directives = { + html(node, directiveMeta) { + (node.props || (node.props = [])).push({ + name: "innerHTML", + value: `Xss(_s(${directiveMeta.value}))` + }); + } + }; + return options; + }) + }, + // baseUrl: "/",//二级目录 + // chainWebpack: config => { + // // 忽略的打包文件 + // config.externals({ + // 'axios': 'axios' + // }); + // }, + // 配置转发代理 + // devServer: { + // disableHostCheck: true, + // proxy: { + // // '/static': { + // // target: url, + // // ws: true, + // // pathRewrite: { + // // '^/Resource': '/Resource' + // // } + // // }, + // '/': { + // target: url, + // ws: true, + // pathRewrite: { + // '^/': '/' + // } + // }, + // } + // }, +}