yuanyiming 2 years ago
parent
commit
feac65e6a9

+ 6 - 6
src/router/index.js

@@ -155,13 +155,13 @@ const routes = [{
             },
  
             
-            { //项目资金管理
-                name: 'ProjectManagementFundDetail',
-                path: '/ProjectManagementFundDetail',
-                component: () =>import ('@/views/projectManage/ProjectManagementFundDetail.vue'),
-                meta: { isAuth: true }
+            // { //项目资金管理
+            //     name: 'ProjectManagementFundDetail',
+            //     path: '/ProjectManagementFundDetail',
+            //     component: () =>import ('@/views/projectManage/ProjectManagementFundDetail.vue'),
+            //     meta: { isAuth: true }
 
-            },
+            // },
             // { //项目资金管理
             //     name: 'ProjectManagementFund2',
             //     path: '/ProjectManagementFund2',

+ 8 - 57
src/views/projectApply/components/MakerSpaceWordShow.vue

@@ -252,13 +252,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">小型仪器设备费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['device']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="小型仪器设备费"
-                          v-model.number="wordData['fund']['device']"
-                          @change="convertNumber('device',wordData['fund']['device'])"></el-input> -->
+                      
                       </div>
                       <div class="fundDataValue"><span>项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。</span></div>
                     </div>
@@ -266,13 +260,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">材料费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['Material']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="材料费"
-                          v-model.number="wordData['fund']['Material']"
-                          @change="convertNumber('Material',wordData['fund']['Material'])"></el-input> -->
+                        
                       </div>
                       <div class="fundDataValue"><span>项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。</span></div>
                     </div>
@@ -280,13 +268,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">测试化验加工费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['processing']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="测试化验加工费"
-                          v-model.number="wordData['fund']['processing']"
-                          @change="convertNumber('processing',wordData['fund']['processing'])"></el-input> -->
+                       
                       </div>
                       <div class="fundDataValue"><span>项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。</span></div>
                     </div>
@@ -294,13 +276,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">项目协作费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['Collaboration']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="项目协作费"
-                          v-model.number="wordData['fund']['Collaboration']"
-                          @change="convertNumber('Collaboration',wordData['fund']['Collaboration'])"></el-input> -->
+                       
                       </div>
                       <div class="fundDataValue"><span>按合同规定支付给协作单位的费用</span></div>
                     </div>
@@ -314,13 +290,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">项目成果鉴定费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['APPRAISAL']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="项目成果鉴定费"
-                          v-model.number="wordData['fund']['APPRAISAL']"
-                          @change="convertNumber('APPRAISAL',wordData['fund']['APPRAISAL'])"></el-input> -->
+                       
                       </div>
                       <div class="fundDataValue"><span>学术会务费、评审费、鉴定费、成果集制作费等费用。</span></div>
                     </div>
@@ -328,13 +298,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">参展参赛费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['entery']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="参展参赛费"
-                          v-model.number="wordData['fund']['entery']"
-                          @change="convertNumber('entery',wordData['fund']['entery'])"></el-input> -->
+                        
                       </div>
                       <div class="fundDataValue"><span>参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。</span></div>
                     </div>
@@ -342,13 +306,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">创客交流活动费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['activities']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="创客交流活动费"
-                          v-model.number="wordData['fund']['activities']"
-                          @change="convertNumber('activities',wordData['fund']['activities'])"></el-input> -->
+                        
                       </div>
                       <div class="fundDataValue"><span>创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。</span></div>
                     </div>
@@ -356,14 +314,7 @@
                     <div class="fundDataLie">
                       <div class="fundDataValue">知识产权事务费</div>
                       <div class="fundDataValue" v-text="wordData['fund']['Transaction']">
-                        <!-- <el-input
-                          type="textarea"
-                          autosize
-                          resize="none"
-                          placeholder="知识产权事务费"
-                          v-model.number="wordData['fund']['Transaction']"
-                          @change="convertNumber('Transaction',wordData['fund']['Transaction'])">
-                        </el-input> -->
+                        
                       </div>
                       <div class="fundDataValue"><span>论文版面费、专利及其他知识产权事务等费用。</span></div>
                     </div>

+ 4 - 2
src/views/projectApply/components/studentProjectWordShow.vue

@@ -320,9 +320,11 @@
               position: relative;
               max-width:100% ;
               height: 200px;
-              white-space: nowrap;
+              // white-space: nowrap;
               span{
-                white-space: nowrap
+                // white-space: nowrap
+                word-wrap: break-word;
+                word-break: break-all;
               }
               :deep(.el-textarea__inner){
                 border: none ;

+ 0 - 245
src/views/projectManage/ProjectManagementFund2.vue

@@ -1,245 +0,0 @@
-<template>
-  <!-- 项目管理 资金申报明细 -->
-    <div class="ProjectManagementFund2" v-loading="loading">
-        <div class="vfpHeader">
-            <div class="titleOne">预算经费</div>
-            <el-button type="primary" @click="$router.push('/ProjectManagement')">返回</el-button>
-        </div>
-          <hr>
-         <!-- 跳转导航开始 -->
-         <div class="AppBar">
-              <div @click="content">项目资金使用详情</div>
-              <div @click="remark" class="AppBarActive">
-                资金申报明细
-                <div class='pr1TitBass'></div>
-              </div>
-          </div>
-          <!-- 跳转导航结束 -->
-              
-
-      <!-- 表格开始 -->
-      <el-table
-        ref="multipleTable"
-        :data="tableData"
-        tooltip-effect="dark"
-        stripe
-        class="fontSize"
-        :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
-        >
-        
-        <el-table-column
-          prop="title"
-          align="center"
-          label="活动名称"
-          >
-        </el-table-column>
-        <el-table-column
-          prop="pro_leader"
-          align="center"
-          label="负责人"
-          >
-        </el-table-column>
-        <el-table-column
-          prop="type"
-          align="center"
-
-          label="项目类型"
-          >
-        </el-table-column>
-        <el-table-column
-          prop="fund"
-          align="center"
-          label="申请经费(元)"
-          >
-        </el-table-column>
-        <el-table-column
-          prop="name"
-          align="center"
-          label="所在部门"
-          >
-        </el-table-column>
-
-        <el-table-column
-          prop="dateTime"
-          align="center"
-          label="申请时间"
-         >
-        </el-table-column>
-      </el-table>
-      <!-- 表格结束 -->
-
-
-        <el-pagination
-        background
-        class="paginations"
-        layout="prev, pager, next"
-        :total="1">
-        </el-pagination>
-
-  </div>
-  </template>
-  
-  <script>
-      export default {
-        data() {
-          return {
-            tableData:[],
-            loading:false,
-          }
-        },
-        methods:{
-          content(){
-            this.$router.push(`/ProjectManagementFund1?pid=${this.$route.query['pid']}`)
-          },
-          remark(){
-            this.$router.push(`/ProjectManagementFund2?pid=${this.$route.query['pid']}`)
-          },
-          getData(){
-            this.loading = true;
-            let param={
-              uid:this.$store.state.userInfo.userid,
-              cid:this.$route.query['pid']
-            }
-            // console.log(param);
-            // return
-            this.ajax
-                .get(this.$store.state.api+'/SelectFundDetail',param)
-                .then(res=>{
-                    console.log(res.data[0]);
-                    this.tableData=res.data[0]
-                    this.loading = false;
-                },err=>{
-                    console.log(err);
-                })
-          },
-        },
-        mounted(){
-          this.getData()
-        }
-      }
-  </script>
-  
-  <style lang="less">
-  .ProjectManagementFund2{
- 
-     .right{
-      width: 100%;
-     }
-    .pmFund1Footer{   //分页
-       display: flex;
-       justify-content: flex-end;
-       margin: 20px 50px 0 0;
-    }
-
-
-  .projectApplicationfundAddDialog2{
-
-
-    .el-header {
-      background-color: #3d67bc;
-      color: #333;
-      text-align: center;
-      display: flex;
-      justify-content: space-between;
-      align-items: center;
-    }
-    .el-select-dropdown__item{
-      text-align: left;
-    }
-    .el-dialog__title{
-      color:#fff;
-        display: flex;
-        justify-content: center;
-        font-size: 18px;
-        position: relative;
-        top: -2px;
-    }
-    font-size: 16px !important;
-    .el-dialog__header{
-      display: flex;
-      font-weight: bold;
-      justify-content: flex-start;
-    }
-    .el-dialog__body{
-      padding-top: 0px;
-    }
-    .dagSpan{
-      min-width: 65px;
-      max-width: 65px;
-      display: flex;
-      justify-content:flex-end;
-      margin-right: 9px;
-      align-items: center;
-      font-size: 16px;
-    }
-    .deleteContent1{
-      width: 55%;
-      margin-bottom: 10px;
-      display: flex;
-    }
-
-    .dagRemark{
-      display: flex;
-      margin: 20px 0px;
-      font-size: 16px;
-      font-weight: 550;
-    }
-    .dagInpS{
-      // width: 100%;
-      display: flex;
-      font-size: 16px;
-
-      justify-content: space-between;
-      .dagInpS1{
-        display: flex;
-        min-width: 23%;
-        max-width: 23%;
-        font-size: 16px;
-
-      }
-      .dagInpS1:nth-child(1){
-        min-width: 30%;
-        max-width: 30%;
-        .dagSpan{
-          font-size: 16px;
-          display: inline-block;
-          text-align: justify;
-          text-justify:distribute-all-lines;
-          text-align-last: justify;
-          transform: translate(0,22%);
-        }
-      }
-      .dagInpSf1:nth-child(n+2) .dagSpan{
-        font-size: 16px;
-        min-width: 50px;
-        max-width: 50px;
-
-      }
-    }
-    .dagInpS2{
-        margin:20px 0 20px 0;
-        display: flex;
-        font-size: 16px;
-
-        .dagSpan2{
-          font-size: 16px;
-
-          max-width: 65px;
-          min-width: 65px;
-          margin-right: 10px;
-          // text-align: right;
-          display: inline-block;
-          text-align: justify;
-          text-justify:distribute-all-lines;
-          text-align-last: justify;
-        }
-    }
-  }
-
-  .newWidth{
-    width: 150px;
-  }
-
-
-  }
-  </style>

+ 0 - 75
src/views/projectManage/ProjectManagementFundDetail.vue

@@ -1,75 +0,0 @@
-<template>
-  <!-- 项目管理 项目资金使用情况 -->
-  <div class="ProjectManagementFundDetail" v-loading="loading">
-        <div class="vfpHeader">
-            <div class="titleOne">预算经费</div>
-            <el-button type="primary" @click="back">返回</el-button>
-        </div>
-          <hr>
-          <!-- 跳转导航开始 -->
-          <div class="AppBar">
-              <div @click="state=0" class="AppBarActive">项目资金使用详情<div v-if="state==0" class='pr1TitBass'></div></div>
-              <div @click="state=1">资金申报明细<div v-if="state==1" class='pr1TitBass'></div></div>
-          </div>
-          <div id="ShowArea">
-            <fundDetail v-if="state==0"/>
-          </div>
-
-         
-</div>
-</template>
-
-<script>
-import fundDetail from './components/FundDetail.vue'
-    export default {
-      components:{fundDetail},
-      data() {
-        return {
-          state:0,
-          loading:false,
-        }
-      },
-      methods:{
-        // getData(){   //初始化完成获取基本数据进行填充
-        //   this.loading = true;
-        //     let param={
-        //       uid:this.$store.state.userInfo.userid,
-        //       pid:this.$route.query['pid']
-        //     }
-        //       this.ajax
-        //             .get(this.$store.state.api+'/GetProjectDetailMessage',param)
-        //             .then(res=>{
-        //               let data = res.data[0][0]
-        //               let fund = JSON.parse(data['money'])
-        //               this.tableData = fund['tableData']
-        //               this.tableData2 = fund['tableData2']
-        //               this.allFund = data['fund']
-        //               this.tableData2.forEach((e)=>{
-        //                 this.useFund=this.useFund+e.fund
-        //               })
-        //               this.useFund=this.useFund / 10000
-        //               this.remainFund=this.allFund - this.useFund
-        //               this.loading = false;
-        //             },err=>{
-        //               console.log(err);
-        //             })
-        //   },
-        back(){
-          this.$router.push('/ProjectManagement')
-        }
-      },
-      mounted(){
-        // this.getData()
-      }
-    }
-</script>
-
-<style lang="less">
-.ProjectManagementFundDetail{
-  width: 100%;
-  height: 100%;
-  #ShowArea{
-    width: 100%;
-  }
-}
-</style>

+ 3 - 3
src/views/projectManage/ProjectManagementMain.vue

@@ -21,7 +21,7 @@
         <!-- 活动开展 -->
         <ProjectManagement3 :changeShow="goto" v-if="show==1"></ProjectManagement3>
         <!-- 活动开展详细 -->
-        <ProjectManagement3_1 v-if="show==5"/>
+        <!-- <ProjectManagement3_1 v-if="show==5"/> -->
         <!-- 项目附件 -->
         <!-- <ProjectManagement4 v-if="show==2"></ProjectManagement4> -->
         <!-- 项目结题文件 -->
@@ -32,7 +32,7 @@
 <script>
 
     import ProjectManagement3 from './components/ProjectManagement3.vue'
-    import ProjectManagement3_1 from './components/ProjectManagement3_1.vue'
+    // import ProjectManagement3_1 from './components/ProjectManagement3_1.vue'
     // import ProjectManagement4 from './components/ProjectManagement4.vue'
     import ProjectManagement5 from './components/ProjectManagement5.vue'
 
@@ -46,7 +46,7 @@
             // ProjectManagement1,
             // ProjectManagement2,
             ProjectManagement3,
-            ProjectManagement3_1,
+            // ProjectManagement3_1,
             // ProjectManagement4,
             ProjectManagement5,
             studentProjectWordShow,

+ 0 - 138
src/views/projectManage/components/FundDetail.vue

@@ -1,138 +0,0 @@
-<template>
-    <div id="fundDetail">
-        <table border="1" cellspacing="0" class="table">
-            <tr id="fund">
-            <td rowspan="12" ref="fund" style="white-space: ;">实际使用经费</td><td>总经费</td><td colspan="5" v-text="'xxxxxx'"></td>
-          </tr>
-          <tr>
-            <td>支出类别</td><td colspan="2">支出项目</td><td>金额(元)</td><td colspan="4">备 注</td>
-          </tr>
-          <tr>
-            <td rowspan="5">直接费用</td>
-          </tr>
-          <tr>
-            <td colspan="2">小型仪器设备费</td>
-            <td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">材料费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">测试化验加工费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">项目协作费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              按合同规定支付给协作单位的费用
-            </td>
-          </tr>
-    
-          <tr>
-            <td rowspan="5">间接费用</td>
-          </tr>
-          <tr>
-            <td colspan="2">项目成果鉴定费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              学术会务费、评审费、鉴定费、成果集制作费等费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">参展参赛费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">创客交流活动费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。
-            </td>
-          </tr>
-          <tr>
-            <td colspan="2">知识产权事务费</td><td v-text="'xxxxxx'">
-            </td><td colspan="2">
-              论文版面费、专利及其他知识产权事务等费用。
-            </td>
-          </tr>
-        </table>
-    </div>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-
-    }
-  },
-  methods:{
-    // getData(){   //初始化完成获取基本数据进行填充
-    //   this.loading = true;
-    //     let param={
-    //       uid:this.$store.state.userInfo.userid,
-    //       pid:this.$route.query['pid']
-    //     }
-    //       this.ajax
-    //             .get(this.$store.state.api+'/GetProjectDetailMessage',param)
-    //             .then(res=>{
-    //               let data = res.data[0][0]
-    //               let fund = JSON.parse(data['money'])
-    //               this.tableData = fund['tableData']
-    //               this.tableData2 = fund['tableData2']
-    //               this.allFund = data['fund']
-    //               this.tableData2.forEach((e)=>{
-    //                 this.useFund=this.useFund+e.fund
-    //               })
-    //               this.useFund=this.useFund / 10000
-    //               this.remainFund=this.allFund - this.useFund
-    //               this.loading = false;
-    //             },err=>{
-    //               console.log(err);
-    //             })
-    //   },
-  },
-  mounted(){
-    // this.getData()
-  }
-}
-</script>
-
-<style lang="less" scoped>
-#fundDetail{
-    width: 100%;
-    height: 100%;
-    display: flex;
-    justify-content: center;
-    align-items: center;
-    .table{
-        width: 100%;
-        border: none;
-        border-top: solid 1px black;
-        border-right:  solid 1px black;
-        border-left:  solid 1px black;
-        tr{
-          position: relative;
-          td{
-            border: none;
-            border-bottom: solid 1px black;
-            border-right: solid 1px black;
-            height: 65px;
-            text-align: center;
-            line-height: 30px;
-            min-width: 80px;
-            box-sizing: border-box;
-            padding: 5px;
-            }
-        }      
-    }
-}
-</style>

+ 9 - 4
src/views/projectManage/components/studentProjectWordShow.vue

@@ -90,7 +90,9 @@
           <tr id="brief">
             <td rowspan="5" ref="brief">研发内容</td><td colspan="6" class="textLeft">
               <p>项目简介(200-300字)</p>
-              <span v-text="downWordData.brief"></span>
+              <span>
+                {{ downWordData.brief }}
+              </span>
             </td>
           </tr>
           <tr>
@@ -393,6 +395,7 @@
         }
         .table{
             border: none;
+            width: 100%;
             border-top: solid 1px black;
             border-right:  solid 1px black;
             border-left:  solid 1px black;
@@ -402,9 +405,11 @@
               position: relative;
               max-width:100% ;
               height: 200px;
-              white-space: nowrap;
+              // white-space: nowrap;
               span{
-                white-space: nowrap
+                // white-space: nowrap;
+                word-wrap: break-word;
+                word-break: break-all;
               }
               :deep(.el-textarea__inner){
                 border: none ;
@@ -422,7 +427,7 @@
                 height: 50px;
                 text-align: center;
                 line-height: 30px;
-                min-width: 80px;
+                width: 70px;
                 box-sizing: border-box;
                 padding: 5px;
               p{

+ 4 - 2
src/views/projectSettlement/components/studentProjectWordShow.vue

@@ -402,9 +402,11 @@
               position: relative;
               max-width:100% ;
               height: 200px;
-              white-space: nowrap;
+              // white-space: nowrap;
               span{
-                white-space: nowrap
+                // white-space: nowrap
+                word-wrap: break-word;
+                word-break: break-all;
               }
               :deep(.el-textarea__inner){
                 border: none ;