projectList.js 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. export default {
  2. height: 'auto',
  3. calcHeight: 30,
  4. tip: false,
  5. searchShow: true,
  6. searchMenuSpan: 6,
  7. border: true,
  8. index: true,
  9. addBtn: false,
  10. menu: false,
  11. selection: false,
  12. searchLabelWidth: 140,
  13. labelWidth: 140,
  14. menuWidth: 220,
  15. dialogClickModal: false,
  16. dialogWidth: 760,
  17. dialogType: "drawer",
  18. column: [
  19. {
  20. label: '研发项目编号',
  21. prop: 'xmbh',
  22. type: 'input',
  23. width: 100,
  24. align: 'center',
  25. search: true,
  26. showOverflowTooltip: true,
  27. },
  28. {
  29. label: '研发项目名称',
  30. prop: 'xmmc',
  31. type: 'input',
  32. width: 160,
  33. search: true,
  34. showOverflowTooltip: true,
  35. },
  36. {
  37. label: '项目开始时间',
  38. prop: 'xmkssj',
  39. type: 'date',
  40. valueFormat: 'yyyy-MM-dd',
  41. width: 120,
  42. align: 'center',
  43. showOverflowTooltip: true,
  44. },
  45. {
  46. label: '项目结束时间',
  47. prop: 'xmjssj',
  48. type: 'date',
  49. valueFormat: 'yyyy-MM-dd',
  50. width: 120,
  51. align: 'center',
  52. showOverflowTooltip: true,
  53. },
  54. {
  55. label: '项目负责人',
  56. prop: 'xmfzrxm',
  57. type: 'input',
  58. width: 100,
  59. align: 'center',
  60. search: true,
  61. showOverflowTooltip: true,
  62. },
  63. {
  64. label: '项目申请单位',
  65. prop: 'xmsqdw',
  66. width: 120,
  67. align: 'center',
  68. search: true,
  69. showOverflowTooltip: true,
  70. },
  71. {
  72. label: '项目状态',
  73. prop: 'status',
  74. type: 'select',
  75. width: 90,
  76. align: 'center',
  77. search: true,
  78. showOverflowTooltip: true,
  79. dicUrl: '/api/kd-system/dict/dictionary?code=project_state_all',
  80. props: {
  81. label: 'dictValue',
  82. value: 'dictKey',
  83. },
  84. // dicFormatter: res => {
  85. // let list = res.data;
  86. // list.unshift({ dictKey: 0, dictValue: '草稿' });
  87. // return list;
  88. // }
  89. },
  90. {
  91. label: '项目报告进度',
  92. align: 'center',
  93. display: false,
  94. children: [{
  95. label: '立项报告',
  96. prop: 'lxbg',
  97. type: 'number',
  98. width: 90,
  99. align: 'center',
  100. showOverflowTooltip: true,
  101. }, {
  102. label: '阶段性报告',
  103. prop: 'jdxbg',
  104. type: 'number',
  105. width: 105,
  106. align: 'center',
  107. showOverflowTooltip: true,
  108. }, {
  109. label: '验收报告',
  110. prop: 'ysbg',
  111. type: 'number',
  112. width: 90,
  113. align: 'center',
  114. showOverflowTooltip: true,
  115. }]
  116. },
  117. {
  118. label: '项目费用进度',
  119. align: 'center',
  120. display: false,
  121. children: [{
  122. label: '全周期',
  123. align: 'center',
  124. display: false,
  125. children: [{
  126. label: '总预算(万元)',
  127. prop: 'xmysze',
  128. type: 'number',
  129. width: 100,
  130. align: 'center',
  131. showOverflowTooltip: true,
  132. }, {
  133. label: '全周期已归集(万元)',
  134. prop: 'qzqygj',
  135. type: 'number',
  136. width: 130,
  137. align: 'center',
  138. showOverflowTooltip: true,
  139. }, {
  140. label: '总预算完成率(%)',
  141. prop: 'zyswcl',
  142. type: 'number',
  143. width: 120,
  144. align: 'center',
  145. showOverflowTooltip: true,
  146. }]
  147. }, {
  148. label: '本年度',
  149. align: 'center',
  150. display: false,
  151. children: [{
  152. label: '年度预算(万元)',
  153. prop: 'xmyszeCurrentYear',
  154. type: 'number',
  155. width: 105,
  156. align: 'center',
  157. showOverflowTooltip: true,
  158. }, {
  159. label: '年度已归集研发费用(万元)',
  160. prop: 'ndygjyffy',
  161. type: 'number',
  162. width: 165,
  163. align: 'center',
  164. showOverflowTooltip: true,
  165. }]
  166. }]
  167. },
  168. {
  169. label: '项目成果情况(数量)',
  170. align: 'center',
  171. display: false,
  172. children: [{
  173. label: '专利',
  174. align: 'center',
  175. display: false,
  176. children: [{
  177. label: '发明专利',
  178. prop: 'fmzlCount',
  179. type: 'number',
  180. width: 70,
  181. align: 'center',
  182. showOverflowTooltip: true,
  183. }, {
  184. label: '实用新型专利',
  185. prop: 'syxxzlCount',
  186. type: 'number',
  187. width: 100,
  188. align: 'center',
  189. showOverflowTooltip: true,
  190. }]
  191. }, {
  192. label: '软著',
  193. prop: 'rzCount',
  194. type: 'number',
  195. width: 50,
  196. align: 'center',
  197. showOverflowTooltip: true,
  198. }, {
  199. label: '标准',
  200. prop: 'bzCount',
  201. type: 'number',
  202. width: 50,
  203. align: 'center',
  204. showOverflowTooltip: true,
  205. }, {
  206. label: '论文',
  207. prop: 'lwCount',
  208. type: 'number',
  209. width: 50,
  210. align: 'center',
  211. showOverflowTooltip: true,
  212. }, {
  213. label: '其他',
  214. prop: 'qtCount',
  215. type: 'number',
  216. width: 50,
  217. align: 'center',
  218. showOverflowTooltip: true,
  219. }]
  220. },
  221. {
  222. label: '委外支出金额(万元)',
  223. prop: 'wwAmount',
  224. type: 'number',
  225. width: 100,
  226. align: 'center',
  227. showOverflowTooltip: true,
  228. }
  229. ],
  230. };