|
@@ -18,7 +18,7 @@
|
|
|
|
|
|
<div class="PA2textArea">
|
|
|
<div class="PA2textAreaTit">项目创新点</div>
|
|
|
- <vue-editor :editorToolbar="customToolbar" v-model="data[0]"></vue-editor>
|
|
|
+ <vue-editor :editorToolbar="customToolbar" v-model="data[0][0]"></vue-editor>
|
|
|
</div>
|
|
|
|
|
|
<div class="PA2mid">
|
|
@@ -26,22 +26,22 @@
|
|
|
</div>
|
|
|
<div class="PA2textArea">
|
|
|
<div class="PA2textAreaTit PA2textAreaTit2">一、项目预期成果、数量及形式</div>
|
|
|
- <vue-editor :editorToolbar="customToolbar" v-model="data[1]"></vue-editor>
|
|
|
+ <vue-editor :editorToolbar="customToolbar" v-model="data[0][1]"></vue-editor>
|
|
|
|
|
|
</div>
|
|
|
<div class="PA2textArea">
|
|
|
<div class="PA2textAreaTit PA2textAreaTit2">二、创客人才培养预期成果、数量</div>
|
|
|
- <vue-editor :editorToolbar="customToolbar" v-model="data[2]"></vue-editor>
|
|
|
+ <vue-editor :editorToolbar="customToolbar" v-model="data[0][2]"></vue-editor>
|
|
|
|
|
|
</div>
|
|
|
<div class="PA2textArea">
|
|
|
<div class="PA2textAreaTit PA2textAreaTit2">三、项目预期孵化、转化创业项目情况</div>
|
|
|
- <vue-editor :editorToolbar="customToolbar" v-model="data[3]"></vue-editor>
|
|
|
+ <vue-editor :editorToolbar="customToolbar" v-model="data[0][3]"></vue-editor>
|
|
|
|
|
|
</div>
|
|
|
<div class="PA2textArea">
|
|
|
<div class="PA2textAreaTit">项目实施计划</div>
|
|
|
- <vue-editor :editorToolbar="customToolbar" v-model="data[4]"></vue-editor>
|
|
|
+ <vue-editor :editorToolbar="customToolbar" v-model="data[0][4]"></vue-editor>
|
|
|
|
|
|
</div>
|
|
|
<div class="baseBtn">
|
|
@@ -76,7 +76,7 @@ import { VueEditor } from "vue2-editor";
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- data:[],
|
|
|
+ data:[["","","","",""],[]],
|
|
|
submitHint:false,
|
|
|
customToolbar: [
|
|
|
["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }],
|
|
@@ -105,7 +105,7 @@ import { VueEditor } from "vue2-editor";
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api+'/UpdateProjectDetail',param)
|
|
|
.then(res=>{
|
|
|
- console.log(res);
|
|
|
+ // console.log(res);
|
|
|
this.$message.success('修改成功')
|
|
|
this.init()
|
|
|
},err=>{
|
|
@@ -123,6 +123,7 @@ import { VueEditor } from "vue2-editor";
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api+'/GetProjectDetailMessage',param)
|
|
|
.then(res=>{
|
|
|
+ // console.log(res)
|
|
|
let GetData=JSON.parse(res.data[0][0].chapters)
|
|
|
// console.log(GetData)
|
|
|
this.data=GetData
|