ProjectManagementFund2.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <template>
  2. <!-- 项目管理 资金申报明细 -->
  3. <div class="ProjectManagementFund2" v-loading="loading">
  4. <div class="vfpHeader">
  5. <div class="titleOne">预算经费</div>
  6. <el-button type="primary" @click="$router.push('/ProjectManagement')">返回</el-button>
  7. </div>
  8. <hr>
  9. <!-- 跳转导航开始 -->
  10. <div class="AppBar">
  11. <div @click="content">项目资金使用详情</div>
  12. <div @click="remark" class="AppBarActive">资金申报明细</div>
  13. </div>
  14. <!-- 跳转导航结束 -->
  15. <!-- 表格开始 -->
  16. <el-table
  17. ref="multipleTable"
  18. :data="tableData"
  19. tooltip-effect="dark"
  20. stripe
  21. class="fontSize"
  22. :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
  23. >
  24. <el-table-column
  25. prop="title"
  26. align="center"
  27. label="活动名称"
  28. >
  29. </el-table-column>
  30. <el-table-column
  31. prop="pro_leader"
  32. align="center"
  33. label="负责人"
  34. >
  35. </el-table-column>
  36. <el-table-column
  37. prop="type"
  38. align="center"
  39. label="项目类型"
  40. >
  41. </el-table-column>
  42. <el-table-column
  43. prop="fund"
  44. align="center"
  45. label="申请经费(元)"
  46. >
  47. </el-table-column>
  48. <el-table-column
  49. prop="name"
  50. align="center"
  51. label="所在部门"
  52. >
  53. </el-table-column>
  54. <el-table-column
  55. prop="dateTime"
  56. align="center"
  57. label="申请时间"
  58. >
  59. </el-table-column>
  60. </el-table>
  61. <!-- 表格结束 -->
  62. <el-pagination
  63. background
  64. class="paginations"
  65. layout="prev, pager, next"
  66. :total="1">
  67. </el-pagination>
  68. </div>
  69. </template>
  70. <script>
  71. export default {
  72. data() {
  73. return {
  74. tableData:[],
  75. loading:false,
  76. }
  77. },
  78. methods:{
  79. content(){
  80. this.$router.push('/ProjectManagementFund1')
  81. },
  82. remark(){
  83. this.$router.push('/ProjectManagementFund2')
  84. },
  85. getData(){
  86. this.loading = true;
  87. let param={
  88. uid:this.$store.state.userInfo.userid,
  89. cid:JSON.parse(localStorage.getItem('pid'))
  90. }
  91. // console.log(param);
  92. // return
  93. this.ajax
  94. .get(this.$store.state.api+'/SelectFundDetail',param)
  95. .then(res=>{
  96. console.log(res.data[0]);
  97. this.tableData=res.data[0]
  98. this.loading = false;
  99. },err=>{
  100. console.log(err);
  101. })
  102. },
  103. },
  104. mounted(){
  105. this.getData()
  106. }
  107. }
  108. </script>
  109. <style lang="less">
  110. .ProjectManagementFund2{
  111. .right{
  112. width: 100%;
  113. }
  114. .pmFund1Footer{ //分页
  115. display: flex;
  116. justify-content: flex-end;
  117. margin: 20px 50px 0 0;
  118. }
  119. .projectApplicationfundAddDialog2{
  120. .el-header {
  121. background-color: #3d67bc;
  122. color: #333;
  123. text-align: center;
  124. display: flex;
  125. justify-content: space-between;
  126. align-items: center;
  127. }
  128. .el-select-dropdown__item{
  129. text-align: left;
  130. }
  131. .el-dialog__title{
  132. color:#fff;
  133. display: flex;
  134. justify-content: center;
  135. font-size: 18px;
  136. position: relative;
  137. top: -2px;
  138. }
  139. font-size: 16px !important;
  140. .el-dialog__header{
  141. display: flex;
  142. font-weight: bold;
  143. justify-content: flex-start;
  144. }
  145. .el-dialog__body{
  146. padding-top: 0px;
  147. }
  148. .dagSpan{
  149. min-width: 65px;
  150. max-width: 65px;
  151. display: flex;
  152. justify-content:flex-end;
  153. margin-right: 9px;
  154. align-items: center;
  155. font-size: 16px;
  156. }
  157. .deleteContent1{
  158. width: 55%;
  159. margin-bottom: 10px;
  160. display: flex;
  161. }
  162. .dagRemark{
  163. display: flex;
  164. margin: 20px 0px;
  165. font-size: 16px;
  166. font-weight: 550;
  167. }
  168. .dagInpS{
  169. // width: 100%;
  170. display: flex;
  171. font-size: 16px;
  172. justify-content: space-between;
  173. .dagInpS1{
  174. display: flex;
  175. min-width: 23%;
  176. max-width: 23%;
  177. font-size: 16px;
  178. }
  179. .dagInpS1:nth-child(1){
  180. min-width: 30%;
  181. max-width: 30%;
  182. .dagSpan{
  183. font-size: 16px;
  184. display: inline-block;
  185. text-align: justify;
  186. text-justify:distribute-all-lines;
  187. text-align-last: justify;
  188. transform: translate(0,22%);
  189. }
  190. }
  191. .dagInpSf1:nth-child(n+2) .dagSpan{
  192. font-size: 16px;
  193. min-width: 50px;
  194. max-width: 50px;
  195. }
  196. }
  197. .dagInpS2{
  198. margin:20px 0 20px 0;
  199. display: flex;
  200. font-size: 16px;
  201. .dagSpan2{
  202. font-size: 16px;
  203. max-width: 65px;
  204. min-width: 65px;
  205. margin-right: 10px;
  206. // text-align: right;
  207. display: inline-block;
  208. text-align: justify;
  209. text-justify:distribute-all-lines;
  210. text-align-last: justify;
  211. }
  212. }
  213. }
  214. .newWidth{
  215. width: 150px;
  216. }
  217. }
  218. </style>