monthlyData.ts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*
  2. * @Author: code4eat awesomedema@gmail.com
  3. * @Date: 2023-01-09 15:27:55
  4. * @LastEditors: code4eat awesomedema@gmail.com
  5. * @LastEditTime: 2023-01-10 16:55:27
  6. * @FilePath: /BudgetManaSystem/mock/monthlyData.ts
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. */
  9. export default {
  10. 'GET /performance/kpi/getSalary': (req: any, res: any) => {
  11. res.json({
  12. success: true,
  13. data: {
  14. current: 1,
  15. list: [
  16. {
  17. unitType: 1,
  18. unitCode: 1,
  19. unitName: '四病区护理组',
  20. deptCode: '1',
  21. deptName: '内科1',
  22. empNo: '90083',
  23. empName: '程静静',
  24. salaryType: '1',
  25. salaryTypeName: '学历工资',
  26. salary: 10250,
  27. },
  28. {
  29. unitType: 1,
  30. unitCode: 2,
  31. unitName: '四病区护理组',
  32. deptCode: '2',
  33. deptName: '内科1',
  34. empNo: '90084',
  35. empName: '程静静',
  36. salaryType: '1',
  37. salaryTypeName: '学历工资',
  38. salary: 20250,
  39. },
  40. ],
  41. pageSize: 10,
  42. totalCount: 0,
  43. totalPage: 0,
  44. },
  45. });
  46. },
  47. 'GET /performance/kpi/getNonAssessmentList': (req: any, res: any) => {
  48. res.json({
  49. success: true,
  50. data: {
  51. current: 1,
  52. list: [
  53. {
  54. unitType: '1',
  55. unitTypeName: '护理',
  56. unitCode: '1',
  57. unitName: '四病区护理组',
  58. deptCode: 1,
  59. deptName: '内科1',
  60. assessmentCode: '1',
  61. assessmentName: '最看红按头还',
  62. distributionType: 1,
  63. targetValue: '02032',
  64. targetValueName: '程静静',
  65. describe: '测试说明',
  66. },
  67. {
  68. unitType: '1',
  69. unitTypeName: '护理',
  70. unitCode: '1',
  71. unitName: '四病区护理组',
  72. deptCode: 1,
  73. deptName: '内科1',
  74. assessmentCode: '2',
  75. assessmentName: '最看红按头还',
  76. distributionType: 1,
  77. targetValue: '02032',
  78. targetValueName: '程静静',
  79. describe: '测试说明',
  80. },
  81. ],
  82. pageSize: 10,
  83. totalCount: 0,
  84. totalPage: 0,
  85. },
  86. });
  87. },
  88. 'GET /performance/kpi/getAssessmentList': (req: any, res: any) => {
  89. res.json({
  90. success: true,
  91. data: [
  92. {
  93. code: '听现音红当',
  94. name: '物军动前压',
  95. child: [
  96. {
  97. code: '太必世八目花电速点这动务史主不车每他象身民作或物员做',
  98. name: '文时较清斗最程后作给水',
  99. child: [],
  100. },
  101. ],
  102. },
  103. ],
  104. });
  105. },
  106. 'GET /performance/getAssessmentData': (req: any, res: any) => {
  107. res.json({
  108. success: true,
  109. data: {
  110. current: 1,
  111. list: [
  112. {
  113. itemCode: '1',
  114. itemName: '腹腔引流袋',
  115. itemType: '1',
  116. itemTypeName: '收费项目',
  117. pointValue: 50,
  118. value: 10000,
  119. createUser: '低基林算几安',
  120. createTime: '位派济查却精义',
  121. },
  122. {
  123. itemCode: '1',
  124. itemName: '腹腔引流袋',
  125. itemType: '1',
  126. itemTypeName: '收费项目',
  127. pointValue: 50,
  128. value: 10000,
  129. createUser: '低基林算几安',
  130. createTime: '位派济查却精义',
  131. },
  132. ],
  133. pageSize: 10,
  134. totalCount: 0,
  135. totalPage: 0,
  136. },
  137. });
  138. },
  139. 'GET /performance/manager/list': (req: any, res: any) => {
  140. res.json({
  141. success: true,
  142. data: {
  143. current: 1,
  144. list: [
  145. {
  146. unitCode: '1',
  147. unitName: '护理组',
  148. deptCode: '1',
  149. deptName: '内科',
  150. CMIData: {
  151. targetValue: 1.1,
  152. value: 1.2,
  153. score: 27.7,
  154. },
  155. totalScore: 100,
  156. },
  157. ],
  158. pageSize: 10,
  159. totalCount: 0,
  160. totalPage: 0,
  161. },
  162. });
  163. },
  164. };