diff --git a/.env.production b/.env.production index 376ae47..44c42d8 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,4 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://cyteam.org.cn/api/' \ No newline at end of file +VUE_APP_BASE_API = http://cyteam.org.cn/api/ \ No newline at end of file diff --git a/src/views/project/Application.vue b/src/views/project/Application.vue index b632a9a..31effb0 100644 --- a/src/views/project/Application.vue +++ b/src/views/project/Application.vue @@ -765,7 +765,8 @@ export default { funds: '', proimages: '', subStatus: 0, - picture: [] + picture: [], + id: 0 } }, computed: {}, @@ -1015,6 +1016,7 @@ export default { method: 'post', url: 'v1/project/apply', data: { + id: _this.id, subStatus: _this.subStatus, name: _this.name, company: _this.company, @@ -1219,6 +1221,8 @@ export default { this.initialTextVal = data.funds this.initialText = data.funds + this.id = data.id + let imgs = JSON.parse(data.proimages) this.fileLists = imgs },