ProjectManagementFund2.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. <template>
  2. <div class="ProjectManagementFund2">
  3. <div class="right">
  4. <div class="pAHeader">
  5. <div class="pAHeader1">预算经费</div>
  6. <div @click="$router.back()" style="margin-top: 10px;cursor: pointer;">返回</div>
  7. </div>
  8. <hr>
  9. <!-- 跳转导航开始 -->
  10. <div class="AppBar">
  11. <div class="newWidth" @click="content">项目资金使用详情</div>
  12. <div class="newWidth">
  13. <div @click="remark" style="width: 100%;">资金申报明细</div>
  14. <div class="pr1TitBass"></div>
  15. </div>
  16. </div>
  17. <!-- 跳转导航结束 -->
  18. <!-- 表格开始 -->
  19. <el-table
  20. ref="multipleTable"
  21. :data="tableData"
  22. tooltip-effect="dark"
  23. stripe
  24. class="fontSize"
  25. :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
  26. @selection-change="handleSelectionChange">
  27. <el-table-column
  28. prop="projectName"
  29. align="center"
  30. label="活动名称"
  31. >
  32. </el-table-column>
  33. <el-table-column
  34. prop="projectPerson"
  35. align="center"
  36. label="负责人"
  37. >
  38. </el-table-column>
  39. <el-table-column
  40. prop="relevancy"
  41. align="center"
  42. label="项目类型"
  43. >
  44. </el-table-column>
  45. <el-table-column
  46. prop="budget"
  47. align="center"
  48. label="申请经费(元)"
  49. >
  50. </el-table-column>
  51. <el-table-column
  52. prop="dept"
  53. align="center"
  54. label="所在部门"
  55. >
  56. </el-table-column>
  57. <el-table-column
  58. prop="date"
  59. align="center"
  60. label="申请时间"
  61. >
  62. </el-table-column>
  63. <el-table-column
  64. prop="operation"
  65. label="操作"
  66. align="center"
  67. width="250px"
  68. >
  69. <template #default="scope">
  70. <div class="operations">
  71. <!-- <el-button type="primary" > -->
  72. <el-button type="primary" class="bt1" @click="MADetails(scope)" size="mini" >查看详情</el-button>
  73. <el-button type="primary" class="bt1" size="mini">表单查看</el-button>
  74. <!-- </el-button> -->
  75. </div>
  76. </template>
  77. </el-table-column>
  78. </el-table>
  79. <!-- 表格结束 -->
  80. <div class="pmFund1Footer">
  81. <el-pagination
  82. background
  83. layout="prev, pager, next"
  84. :total="1">
  85. </el-pagination>
  86. </div>
  87. </div>
  88. <!-- 查看详情对话框开始 -->
  89. <el-dialog
  90. title="创客资金申请"
  91. :visible.sync="fundDetail"
  92. width="850px"
  93. class="projectApplicationfundAddDialog2"
  94. :before-close="init">
  95. <hr>
  96. <div style="display: flex;align-items: center;flex-wrap: wrap;">
  97. <div class="deleteContent1">
  98. <div class="dagSpan">项目名称</div>
  99. <el-select v-model="value" style="width: 70%;" placeholder="请选择">
  100. <el-option
  101. v-for="item in options"
  102. :key="item.value"
  103. :label="item.label"
  104. :value="item.value">
  105. </el-option>
  106. </el-select>
  107. </div>
  108. <div class="deleteContent1">
  109. <div class="dagSpan">项目类型</div>
  110. <el-select v-model="value" placeholder="请选择">
  111. <el-option
  112. v-for="item in options"
  113. :key="item.value"
  114. :label="item.label"
  115. :value="item.value">
  116. </el-option>
  117. </el-select>
  118. </div>
  119. </div>
  120. <div class="dagRemark">
  121. 经费支出支出类别(单位:元)
  122. </div>
  123. <!-- 支出类别(单位:元)第一部分开始 -->
  124. <div class="dagInpS">
  125. <div class="dagInpS1">
  126. <div class="dagSpan">直接经费</div>
  127. <el-select v-model="value" placeholder="请选择">
  128. <el-option
  129. v-for="item in options"
  130. :key="item.value"
  131. :label="item.label"
  132. :value="item.value">
  133. </el-option>
  134. </el-select>
  135. </div>
  136. <div class="dagInpS1">
  137. <div class="dagSpan">预算</div>
  138. <el-input v-model="input" placeholder="请输入内容"></el-input>
  139. </div>
  140. <div class="dagInpS1">
  141. <div class="dagSpan">已支付</div>
  142. <el-input v-model="input" placeholder="请输入内容"></el-input>
  143. </div>
  144. <div class="dagInpS1">
  145. <div class="dagSpan">余额</div>
  146. <el-input v-model="input" placeholder="请输入内容"></el-input>
  147. </div>
  148. </div>
  149. <div class="dagInpS2">
  150. <div class="dagSpan2">事由</div>
  151. <el-input
  152. type="textarea"
  153. :rows="3"
  154. resize="none"
  155. placeholder="请输入内容"
  156. v-model="textarea">
  157. </el-input>
  158. </div>
  159. <!-- 支出类别(单位:元)第一部分结束-->
  160. <!-- 支出类别(单位:元)第二部分开始 -->
  161. <div class="dagInpS">
  162. <div class="dagInpS1">
  163. <div class="dagSpan" style="width: 70px;">其他</div>
  164. <el-input v-model="input" style="width: 200px;" placeholder="请输入内容"></el-input>
  165. </div>
  166. <div class="dagInpS1">
  167. <div class="dagSpan">预算</div>
  168. <el-input v-model="input" placeholder="请输入内容"></el-input>
  169. </div>
  170. <div class="dagInpS1">
  171. <div class="dagSpan">已支付</div>
  172. <el-input v-model="input" placeholder="请输入内容"></el-input>
  173. </div>
  174. <div class="dagInpS1">
  175. <div class="dagSpan">余额</div>
  176. <el-input v-model="input" placeholder="请输入内容"></el-input>
  177. </div>
  178. </div>
  179. <div class="dagInpS2">
  180. <div class="dagSpan2">事由</div>
  181. <el-input
  182. type="textarea"
  183. :rows="3"
  184. resize="none"
  185. placeholder="请输入内容"
  186. v-model="textarea">
  187. </el-input>
  188. </div>
  189. <!-- 支出类别(单位:元)第二部分结束-->
  190. <span slot="footer" class="dialog-footer">
  191. <el-button type="primary" @click="init" class="btn5" size="small">生成表单</el-button>
  192. <el-button type="primary" @click="init" class="btn5" size="small">返回</el-button>
  193. </span>
  194. </el-dialog>
  195. <!-- 查看详情对话框结束 -->
  196. </div>
  197. </template>
  198. <script>
  199. export default {
  200. data() {
  201. return {
  202. fundDetail:false,
  203. options: [
  204. {
  205. value: '选项5',
  206. label: '北京烤鸭'
  207. }],
  208. tableData:[{
  209. projectName:'陆地游泳辅助器',
  210. projectPerson:'王多鱼',
  211. relevancy:'西虹市',
  212. budget:'200万',
  213. date:'2022年-11月-12日',
  214. tel:'16625153432',
  215. status:'已审核',
  216. dept:'中德制造'
  217. },
  218. {
  219. projectName:'北极运冰',
  220. projectPerson:'王多鱼',
  221. relevancy:'西虹市',
  222. budget:'500万',
  223. date:'2022年-11月-12日',
  224. tel:'16625153432',
  225. status:'已审核',
  226. dept:'中德制造'
  227. }
  228. ],
  229. tableData2:[{
  230. sort:'人工智能设备购买',
  231. Fund:'20000.00',
  232. projectName:'项目协作费用',
  233. remark:'',
  234. state:'已使用'
  235. },
  236. ],
  237. textarea:'',
  238. input:'',
  239. value: '',
  240. }
  241. },
  242. methods:{
  243. init(){
  244. this.fundDetail=false;
  245. },
  246. content(){
  247. // alert('111')
  248. this.$router.push('/ProjectManagementFund1')
  249. },
  250. remark(){
  251. this.$router.push('/ProjectManagementFund2')
  252. },
  253. MADetails(){
  254. this.fundDetail=true;
  255. },
  256. handleSelectionChange(){
  257. },
  258. }
  259. }
  260. </script>
  261. <style lang="less">
  262. .ProjectManagementFund2{
  263. .el-header {
  264. background-color: #3d67bc;
  265. color: #333;
  266. text-align: center;
  267. display: flex;
  268. justify-content: space-between;
  269. align-items: center;
  270. .homeExitContent{
  271. color: #fff;
  272. display: flex;
  273. justify-content: space-between;
  274. width: 150px;
  275. // height: 30px;
  276. .homeName{
  277. float: left;
  278. }
  279. }
  280. }
  281. .pAHeader{
  282. width: 90%;
  283. display: flex;
  284. justify-content:space-between;
  285. .pAHeader1STit{
  286. font-size: 14px;
  287. line-height: 40px;
  288. }
  289. .pAHeader1{
  290. width: 150px;
  291. font-weight: 600;
  292. font-size: 22px;
  293. flex-shrink: 0;
  294. }
  295. .pAHeader2{
  296. height: 35px;
  297. line-height: 5px;
  298. color: #fff;
  299. background: #477edd;
  300. }
  301. }
  302. .right{
  303. width: 100%;
  304. }
  305. .pmFund1Footer{
  306. width: 400px;
  307. float: right;
  308. margin-top: 30px;
  309. }
  310. .textArea{
  311. display: flex;
  312. justify-content: flex-start;
  313. resize: none;outline: none;
  314. background: #f2f2f2;
  315. box-sizing: border-box;
  316. padding: 10px;
  317. }
  318. .table{
  319. border: #ccc 1px solid;
  320. }
  321. .projectApplicationfundAddDialog{
  322. position: relative;
  323. .deleteContent{
  324. // margin: 30px 0;
  325. width: 100%;
  326. text-align: center;
  327. font-size: 25px;
  328. color: #000;
  329. }
  330. .addDialogLogo{
  331. width: 60px;
  332. height: 30px;
  333. line-height: 30px;
  334. background: #f2f2f2;
  335. position: absolute;
  336. left: 10px;
  337. top: 10px;
  338. text-align: center;
  339. }
  340. .el-dialog__header{
  341. background: #32455b;
  342. }
  343. .el-dialog__title{
  344. margin-left:250px;
  345. color:rgb(246, 247, 246);
  346. }
  347. .dialog-footer{
  348. display: flex;
  349. justify-content: center;
  350. .btn5{
  351. background: #0e72e6;
  352. width: 200px;
  353. }
  354. }
  355. }
  356. .projectApplicationfundAddDialog2{
  357. .el-dialog__header{
  358. display: flex;
  359. font-weight: bold;
  360. justify-content: flex-start;
  361. }
  362. .el-dialog__body{
  363. padding-top: 0px;
  364. }
  365. .dagSpan{
  366. min-width: 60px;
  367. max-width: 60px;
  368. display: flex;
  369. justify-content:flex-end;
  370. margin-right: 9px;
  371. align-items: center;
  372. }
  373. .deleteContent1{
  374. width: 55%;
  375. margin-bottom: 10px;
  376. display: flex;
  377. }
  378. .dagRemark{
  379. display: flex;
  380. margin: 20px 0px;
  381. font-size: 16px;
  382. font-weight: 550;
  383. }
  384. .dagInpS{
  385. width: 100%;
  386. display: flex;
  387. justify-content: space-between;
  388. .dagInpS1{
  389. display: flex;
  390. min-width: 23%;
  391. max-width: 23%;
  392. }
  393. .dagInpS1:nth-child(1){
  394. min-width: 30%;
  395. max-width: 30%;
  396. .dagSpan{
  397. display: inline-block;
  398. text-align: justify;
  399. text-justify:distribute-all-lines;
  400. text-align-last: justify;
  401. transform: translate(0,22%);
  402. }
  403. }
  404. .dagInpS1:nth-child(n+2) .dagSpan{
  405. min-width: 45px;
  406. max-width: 45px;
  407. }
  408. }
  409. .dagInpS2{
  410. margin:20px 0 20px 0;
  411. display: flex;
  412. .dagSpan2{
  413. max-width: 60px;
  414. min-width: 60px;
  415. margin-right: 10px;
  416. // text-align: right;
  417. display: inline-block;
  418. text-align: justify;
  419. text-justify:distribute-all-lines;
  420. text-align-last: justify;
  421. }
  422. }
  423. }
  424. .newWidth{
  425. width: 150px;
  426. }
  427. }
  428. </style>