Commit 2bb53641 authored by wangxl's avatar wangxl

33

parent 9888fd95
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
<div style="height:40px;width:100%;text-align:center;padding:4px 0px;background: #fafafa;border:1px solid #e8e8e8; border-width: 0px 1px 1px 1px;border-style: solid;border-color: #e8e8e8;"> <div style="height:40px;width:100%;text-align:center;padding:4px 0px;background: #fafafa;border:1px solid #e8e8e8; border-width: 0px 1px 1px 1px;border-style: solid;border-color: #e8e8e8;">
<a-button @click="save" style="margin-right:16px">保存</a-button> <a-button @click="save" style="margin-right:16px">保存</a-button>
<a-button type="primary" @click="submit">提交</a-button> <a-button type="primary" @click="submit">提交</a-button>
<span style="color: red;">(注:提交后在规定时间内可多次修改)</span>
</div> </div>
</div> </div>
<div v-show="tabsActive==='2'" style="height:100%;overflow: auto;"> <div v-show="tabsActive==='2'" style="height:100%;overflow: auto;">
...@@ -289,7 +290,6 @@ export default { ...@@ -289,7 +290,6 @@ export default {
this.$api.projectAssign.getAssignExpertById({ id: this.value }).then(({ data = {} }) => { this.$api.projectAssign.getAssignExpertById({ id: this.value }).then(({ data = {} }) => {
if (data) { if (data) {
this.formData = data this.formData = data
console.log(this.formData)
this.getProjectInfoById(data.projId) this.getProjectInfoById(data.projId)
this.isExpertInfoLoad = true this.isExpertInfoLoad = true
this.loading = false this.loading = false
...@@ -304,17 +304,12 @@ export default { ...@@ -304,17 +304,12 @@ export default {
getProjectInfoById (id) { getProjectInfoById (id) {
this.$api.project.getProjectInfoById({ id: id }).then(({ data = {} }) => { this.$api.project.getProjectInfoById({ id: id }).then(({ data = {} }) => {
if (data) { if (data) {
let fileArr = []
this.projectInfo = data this.projectInfo = data
for (let i = 0; i < this.projectInfo.fileList.length; i++) {
if (this.projectInfo.fileList[i].fileExplain.indexOf("项目申报简要信息首页") == -1 && this.projectInfo.fileList[i].fileExplain.indexOf("项目组成员签字") == -1)
fileArr.push(this.projectInfo.fileList[i])
}
this.formData.projName = data.projName this.formData.projName = data.projName
this.formData.appUnitName = data.appUnitName this.formData.appUnitName = data.appUnitName
this.formData.appPersonName = data.appPersonName this.formData.appPersonName = data.appPersonName
this.formData.applyFunding = data.govFunding this.formData.applyFunding = data.govFunding
this.projectInfo.fileList = fileArr this.formData.recommendFunding = data.govFunding
this.isProjectInfoLoad = true this.isProjectInfoLoad = true
this.loading = false this.loading = false
} else } else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment