ProjectManagementFund2.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <template>
  2. <!-- 项目管理 资金申报明细 -->
  3. <div class="ProjectManagementFund2">
  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. }
  76. },
  77. methods:{
  78. content(){
  79. this.$router.push('/ProjectManagementFund1')
  80. },
  81. remark(){
  82. this.$router.push('/ProjectManagementFund2')
  83. },
  84. getData(){
  85. let param={
  86. uid:this.$store.state.userInfo.userid,
  87. cid:JSON.parse(localStorage.getItem('pid'))
  88. }
  89. // console.log(param);
  90. // return
  91. this.ajax
  92. .get(this.$store.state.api+'/SelectFundDetail',param)
  93. .then(res=>{
  94. console.log(res.data[0]);
  95. this.tableData=res.data[0]
  96. },err=>{
  97. console.log(err);
  98. })
  99. },
  100. },
  101. mounted(){
  102. this.getData()
  103. }
  104. }
  105. </script>
  106. <style lang="less">
  107. .ProjectManagementFund2{
  108. .right{
  109. width: 100%;
  110. }
  111. .pmFund1Footer{ //分页
  112. display: flex;
  113. justify-content: flex-end;
  114. margin: 20px 50px 0 0;
  115. }
  116. .projectApplicationfundAddDialog2{
  117. .el-header {
  118. background-color: #3d67bc;
  119. color: #333;
  120. text-align: center;
  121. display: flex;
  122. justify-content: space-between;
  123. align-items: center;
  124. }
  125. .el-select-dropdown__item{
  126. text-align: left;
  127. }
  128. .el-dialog__title{
  129. color:#fff;
  130. display: flex;
  131. justify-content: center;
  132. font-size: 18px;
  133. position: relative;
  134. top: -2px;
  135. }
  136. font-size: 16px !important;
  137. .el-dialog__header{
  138. display: flex;
  139. font-weight: bold;
  140. justify-content: flex-start;
  141. }
  142. .el-dialog__body{
  143. padding-top: 0px;
  144. }
  145. .dagSpan{
  146. min-width: 65px;
  147. max-width: 65px;
  148. display: flex;
  149. justify-content:flex-end;
  150. margin-right: 9px;
  151. align-items: center;
  152. font-size: 16px;
  153. }
  154. .deleteContent1{
  155. width: 55%;
  156. margin-bottom: 10px;
  157. display: flex;
  158. }
  159. .dagRemark{
  160. display: flex;
  161. margin: 20px 0px;
  162. font-size: 16px;
  163. font-weight: 550;
  164. }
  165. .dagInpS{
  166. // width: 100%;
  167. display: flex;
  168. font-size: 16px;
  169. justify-content: space-between;
  170. .dagInpS1{
  171. display: flex;
  172. min-width: 23%;
  173. max-width: 23%;
  174. font-size: 16px;
  175. }
  176. .dagInpS1:nth-child(1){
  177. min-width: 30%;
  178. max-width: 30%;
  179. .dagSpan{
  180. font-size: 16px;
  181. display: inline-block;
  182. text-align: justify;
  183. text-justify:distribute-all-lines;
  184. text-align-last: justify;
  185. transform: translate(0,22%);
  186. }
  187. }
  188. .dagInpSf1:nth-child(n+2) .dagSpan{
  189. font-size: 16px;
  190. min-width: 50px;
  191. max-width: 50px;
  192. }
  193. }
  194. .dagInpS2{
  195. margin:20px 0 20px 0;
  196. display: flex;
  197. font-size: 16px;
  198. .dagSpan2{
  199. font-size: 16px;
  200. max-width: 65px;
  201. min-width: 65px;
  202. margin-right: 10px;
  203. // text-align: right;
  204. display: inline-block;
  205. text-align: justify;
  206. text-justify:distribute-all-lines;
  207. text-align-last: justify;
  208. }
  209. }
  210. }
  211. .newWidth{
  212. width: 150px;
  213. }
  214. }
  215. </style>