projectSettlement2.vue 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <template>
  2. <!-- 项目管理 项目详细 -->
  3. <div class="ProjectManagement2" v-loading="loading">
  4. <div class="vfpHeader">
  5. <!-- 详情页 -->
  6. <div class="titleOne">项目管理</div>
  7. <div class="smallTitle" style="left: 100px;">项目详情</div>
  8. <el-button type="primary" @click="back">返回</el-button>
  9. </div>
  10. <hr>
  11. <!-- 跳转导航开始 -->
  12. <div class="AppBar">
  13. <div @click="content">项目基本内容</div>
  14. <div @click="remark" class="AppBarActive">项目详情</div>
  15. <div @click="remark2">项目附件</div>
  16. <div @click="remark4">项目结题附件</div>
  17. <div @click="remark5">结项评语</div>
  18. </div>
  19. <!-- 跳转导航结束 -->
  20. <div class="PA2textArea">
  21. <div class="PA2textAreaTit">项目创新点</div>
  22. <vue-editor :editorToolbar="customToolbar" v-model="data[0][0]"></vue-editor>
  23. </div>
  24. <div class="PA2mid">
  25. 预期取得成果
  26. </div>
  27. <div class="PA2textArea">
  28. <div class="PA2textAreaTit PA2textAreaTit2">一、项目预期成果、数量及形式</div>
  29. <vue-editor :editorToolbar="customToolbar" v-model="data[0][1]"></vue-editor>
  30. </div>
  31. <div class="PA2textArea">
  32. <div class="PA2textAreaTit PA2textAreaTit2">二、创客人才培养预期成果、数量</div>
  33. <vue-editor :editorToolbar="customToolbar" v-model="data[0][2]"></vue-editor>
  34. </div>
  35. <div class="PA2textArea">
  36. <div class="PA2textAreaTit PA2textAreaTit2">三、项目预期孵化、转化创业项目情况</div>
  37. <vue-editor :editorToolbar="customToolbar" v-model="data[0][3]"></vue-editor>
  38. </div>
  39. <div class="PA2textArea">
  40. <div class="PA2textAreaTit">项目实施计划</div>
  41. <vue-editor :editorToolbar="customToolbar" v-model="data[0][4]"></vue-editor>
  42. </div>
  43. <!-- <div class="baseBtn">
  44. <div class="blockWidth">
  45. <el-button type="primary" class="backBtn" @click="backBtn2">返回</el-button>
  46. </div>
  47. </div> -->
  48. </div>
  49. </template>
  50. <script>
  51. import { VueEditor } from "vue2-editor";
  52. export default {
  53. components:{
  54. VueEditor
  55. },
  56. data() {
  57. return {
  58. data:[["","","","",""],[]],
  59. loading:false,
  60. submitHint:false,
  61. customToolbar: [
  62. ["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }],
  63. [{ align: "" }, { align: "center" }, { align: "right"}, { align: "justify"}],
  64. [{header:[false,1,2,3,4]}]
  65. ],
  66. }
  67. },
  68. methods:{
  69. getData(){ //初始化完成获取基本数据进行填充
  70. this.loading = true;
  71. let param={
  72. uid:this.$store.state.userInfo.userid,
  73. pid:JSON.parse(localStorage.getItem('pid'))
  74. }
  75. this.ajax
  76. .get(this.$store.state.api+'/GetProjectDetailMessage',param)
  77. .then(res=>{
  78. // console.log(res)
  79. let GetData=JSON.parse(res.data[0][0].chapters)
  80. // console.log(GetData)
  81. this.data=GetData
  82. this.loading = false;
  83. // console.log(this.data);
  84. },err=>{
  85. console.log(err);
  86. })
  87. },
  88. content(){
  89. this.$router.push('/projectSettlement1')
  90. },
  91. remark(){
  92. this.$router.push('/projectSettlement2')
  93. },
  94. remark2(){
  95. this.$router.push('/projectSettlement3')
  96. },
  97. remark4(){
  98. this.$router.push('/projectSettlement4')
  99. },
  100. remark5(){
  101. this.$router.push('/projectSettlement5')
  102. },
  103. back(){
  104. this.$router.push('/projectSettlement')
  105. },
  106. edit(){
  107. },
  108. // backBtn2(){
  109. // this.$router.push('/ProjectManagement1')
  110. // },
  111. handleSelectionChange(val) {
  112. this.multipleSelection = val;
  113. },
  114. back(){
  115. this.$router.push('/projectSettlement')
  116. },
  117. },
  118. created(){
  119. this.getData();
  120. }
  121. }
  122. </script>
  123. <style lang="less">
  124. .ProjectManagement2{
  125. .PA2textArea{
  126. margin: 15px 0px;
  127. .PA2textAreaTit{
  128. width: 100%;
  129. text-align: left;
  130. font-size: 18px;
  131. font-weight: 550;
  132. margin-bottom: 15px;
  133. color: #2387ff;
  134. }
  135. .PA2textAreaTit2{
  136. font-size: 16px;
  137. }
  138. }
  139. .PA2mid{
  140. margin: 15px 0px;
  141. width: 100%;
  142. text-align: left;
  143. font-size: 18px;
  144. font-weight: 550;
  145. margin-bottom: 10px;
  146. color: #2387ff;
  147. }
  148. .homePage .homeBody .main[data-v-7eb2bc79]{
  149. text-align: left !important;
  150. }
  151. }
  152. </style>