From 48fcda77e875371fe0b38ffdc613ee78c8971226 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Fri, 29 May 2020 14:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=B7=B1=E6=B5=8B=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- src/main.js | 3 +- src/views/excutes/Excute.vue | 16 +- src/views/excutes/Over.vue | 35 +- src/views/excutes/Post_pro.vue | 245 ++++-- src/views/excutes/Submit_mid.vue | 95 +- src/views/home/HomePage.vue | 20 +- src/views/personal/Collection.vue | 2 +- src/views/personal/Collection1.vue | 5 +- src/views/personal/Declare.vue | 14 +- src/views/project/Appcationnew.vue | 72 +- src/views/project/Project.vue | 5 +- src/views/project/Schedule.vue | 367 +++++--- src/views/project/fuzhi1.vue | 1313 ++++++++++++++++++++++++++++ src/views/socialcredit.vue | 2 +- static/img/txt.jpg | Bin 0 -> 8828 bytes vue.config.js | 3 +- 17 files changed, 1953 insertions(+), 248 deletions(-) create mode 100644 src/views/project/fuzhi1.vue create mode 100644 static/img/txt.jpg diff --git a/.env.production b/.env.production index b5c7375..87ef373 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = http://chaoyang.nxers.com/api/ \ No newline at end of file +#VUE_APP_BASE_API = http://chaoyang.nxers.com/api/ +VUE_APP_BASE_API = http://cyteam.org.cn/api/ +#http://chaoyang.nxers.com/api/ \ No newline at end of file diff --git a/src/main.js b/src/main.js index 6b009a1..fe44423 100644 --- a/src/main.js +++ b/src/main.js @@ -16,7 +16,8 @@ Vue.prototype.$axios = axios Vue.prototype.$md5 = md5 Vue.prototype.$tool = tool Vue.prototype.$http = http -Vue.prototype.$upload = 'http://chaoyang.nxers.com/api/v1/file/files' +// Vue.prototype.$upload = 'http://chaoyang.nxers.com/api/v1/file/files'//'http://chaoyang.nxers.com/api/v1/file/files' +Vue.prototype.$upload = 'http://cyteam.org.cn/api/v1/file/files'//'http://chaoyang.nxers.com/api/v1/file/files' Vue.prototype.$jump = function (url) { this.$router.push({ name: url diff --git a/src/views/excutes/Excute.vue b/src/views/excutes/Excute.vue index 60b1238..67ea4be 100644 --- a/src/views/excutes/Excute.vue +++ b/src/views/excutes/Excute.vue @@ -6,14 +6,14 @@
- {{centers.probook?(centers.probook.split('/')[8]).split('_')[0]:''}} + {{probook?(probook.split('.')[0]).split('_')[0]+'.'+probook.split('.')[1]:""}} {{centers.probook.split('/')[8].split('.')[1] == 'pdf'||centers.probook.split('/')[8].split('.')[1] == 'jpeg'||centers.probook.split('/')[8].split('.')[1] == 'png'||centers.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}
- {{centers.fangan?((centers.fangan.split('/')[8]).split('_')[0]?(centers.fangan.split('/')[8]).split('_')[0]:centers.fangan.split('/')[8]):''}} + {{fangan?(fangan.split('.')[0]).split('_')[0]+'.'+fangan.split('.')[1]:""}} {{centers.fangan.split('/')[8].split('.')[1] == 'pdf'||centers.fangan.split('/')[8].split('.')[1] == 'jpeg'||centers.fangan.split('/')[8].split('.')[1] == 'png'||centers.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}
@@ -168,7 +168,9 @@暂未上传
活动名称{{j+1}}:{{i.name}}
- {{i.elereport?(i.elereport.split('/')[8]).split('_')[0]:''}} + + {{i.elereport?(i.elereport.split('/')[8].split('_')[1]?(i.elereport.split('/')[8]).split('_')[0]+'.'+i.elereport.substr(i.elereport.lastIndexOf('.')+1):(i.elereport.split('/')[8])):''}} + @@ -263,6 +265,8 @@ export default { index_num: 2, sub: 0, name: " ", + probook:'', + fangan:'', info: ["1"], zDatc: [], zDatb: [], @@ -350,6 +354,12 @@ export default { let data = res.data.data.data[0]; this.centers = data; console.log(this.centers); + this.probook = this.centers.probook.substring( + this.centers.probook.lastIndexOf("/") + 1 + ); + this.fangan = this.centers.fangan.substring( + this.centers.fangan.lastIndexOf("/") + 1 + ); this.caiwu = this.centers.fina.substring( this.centers.fina.lastIndexOf("/") + 1 ); diff --git a/src/views/excutes/Over.vue b/src/views/excutes/Over.vue index da81c0c..65bf314 100644 --- a/src/views/excutes/Over.vue +++ b/src/views/excutes/Over.vue @@ -8,14 +8,14 @@{{over.probook?over.probook.split('/')[8]:'未上传'}} - {{over.probook.split('/')[8].split('.')[1] == 'pdf'||over.probook.split('/')[8].split('.')[1] == 'jpeg'||over.probook.split('/')[8].split('.')[1] == 'png'||over.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}} + {{over.probook?(over.probook.split('/')[8].split('.')[1] == 'pdf'||over.probook.split('/')[8].split('.')[1] == 'jpeg'||over.probook.split('/')[8].split('.')[1] == 'png'||over.probook.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'):''}}
- {{over.fangan?over.fangan.split('/')[8]:'未上传'}} + {{over.pifu?over.pifu.split('/')[8]:'未上传'}} - {{over.fangan.split('/')[8].split('.')[1] == 'pdf'||over.fangan.split('/')[8].split('.')[1] == 'jpeg'||over.fangan.split('/')[8].split('.')[1] == 'png'||over.fangan.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}} + {{over.pifu.split('/')[8].split('.')[1] == 'pdf'||over.pifu.split('/')[8].split('.')[1] == 'jpeg'||over.pifu.split('/')[8].split('.')[1] == 'png'||over.pifu.split('/')[8].split('.')[1] == 'jpg'?'预览':'下载'}}
@@ -30,18 +30,18 @@ 预览
--> -
-