Commit 87324c32 authored by wangxl's avatar wangxl

44

parent ddfe9f9e
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="researchContent"> <a-form-model-item prop="researchContent">
<a-textarea placeholder="项目实施目标(限10000字)" v-model="formData.researchContent" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="项目实施目标(限5000字)" v-model="formData.researchContent" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -438,7 +438,7 @@ ...@@ -438,7 +438,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="technologyTarget"> <a-form-model-item prop="technologyTarget">
<a-textarea placeholder="主要技术指标(限10000字)" v-model="formData.technologyTarget" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="主要技术指标(限5000字)" v-model="formData.technologyTarget" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="economyTarget"> <a-form-model-item prop="economyTarget">
<a-textarea placeholder="主要经济指标(限10000字)" v-model="formData.economyTarget" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="主要经济指标(限5000字)" v-model="formData.economyTarget" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -462,7 +462,7 @@ ...@@ -462,7 +462,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="achievementTarget"> <a-form-model-item prop="achievementTarget">
<a-textarea placeholder="项目实施中形成的示范基地、中试线、生产线及其规模等(限10000字)" v-model="formData.achievementTarget" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="项目实施中形成的示范基地、中试线、生产线及其规模等(限5000字)" v-model="formData.achievementTarget" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -474,7 +474,7 @@ ...@@ -474,7 +474,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="technologyReportsTarget"> <a-form-model-item prop="technologyReportsTarget">
<a-textarea placeholder="科技报告考核指标(限10000字)" v-model="formData.technologyReportsTarget" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="科技报告考核指标(限5000字)" v-model="formData.technologyReportsTarget" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="otherTarget"> <a-form-model-item prop="otherTarget">
<a-textarea placeholder="其他应考核的指标(限10000字)" v-model="formData.otherTarget" :maxLength="10000" style="width: 80%; height: 160px; margin-top: 12px" /> <a-textarea placeholder="其他应考核的指标(限5000字)" v-model="formData.otherTarget" :maxLength="5000" style="width: 80%; height: 160px; margin-top: 12px" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -774,9 +774,7 @@ export default { ...@@ -774,9 +774,7 @@ export default {
methods: { methods: {
moment, moment,
save (step) { save (step) {
console.log(obj, 'obj1')
var obj = this.getObj(step) var obj = this.getObj(step)
console.log(obj, 'obj')
obj.step = step obj.step = step
if (this.checkInfo(step)) { if (this.checkInfo(step)) {
this.$emit('load', true) this.$emit('load', true)
...@@ -837,7 +835,6 @@ export default { ...@@ -837,7 +835,6 @@ export default {
this.$api.project.getProjectInfoById({ id: this.value }).then(({ data = {} }) => { this.$api.project.getProjectInfoById({ id: this.value }).then(({ data = {} }) => {
if (data) { if (data) {
this.formData = data this.formData = data
console.log(data)
this.$emit('onStepChange', { step: 0, state: data.completeStatus }) this.$emit('onStepChange', { step: 0, state: data.completeStatus })
this.loadList() this.loadList()
} else } else
...@@ -932,7 +929,7 @@ export default { ...@@ -932,7 +929,7 @@ export default {
obj = { id: null, members: [], participateUnits: [], completeStatus: null, step: null } obj = { id: null, members: [], participateUnits: [], completeStatus: null, step: null }
break; break;
case 2: case 2:
obj = { id: null, budget: [], fundPlan: [], deviceList: [], manufactureList: [], unitPayment: [], completeStatus: null, step: null } obj = { id: null, totalFunding: null, govFunding: null, unitFunding: null, selfFunding: null, budget: [], fundPlan: [], deviceList: [], manufactureList: [], unitPayment: [], completeStatus: null, step: null }
break; break;
case 3: case 3:
obj = { id: null, stageGoals: [], projectSubList: [], completeStatus: null, step: null } obj = { id: null, stageGoals: [], projectSubList: [], completeStatus: null, step: null }
......
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