index.vue 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <view class="handlecase">
  3. <List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"></List>
  4. </view>
  5. </template>
  6. <script>
  7. import List from './component/list.vue'
  8. import {respondentList} from '../../api/handlecase/index.js'
  9. export default {
  10. components: {
  11. List,
  12. },
  13. data() {
  14. return {
  15. caseList:[]
  16. }
  17. },
  18. methods: {
  19. getList(parms){
  20. respondentList(parms).then(res=>{
  21. this.caseList = res.rows;
  22. this.caseList.forEach(item=>{
  23. switch (item.caseStatus){
  24. case 0:
  25. item.caseStatusName = '立案申请'
  26. break;
  27. case 1:
  28. item.caseStatusName = '待缴费'
  29. break;
  30. case 2:
  31. item.caseStatusName = '待缴费确认'
  32. break;
  33. case 3:
  34. item.caseStatusName = '待确认是否应诉'
  35. break;
  36. case 4:
  37. item.caseStatusName = '待确认证据'
  38. break;
  39. case 5:
  40. item.caseStatusName = '待确定是否指派仲裁员'
  41. break;
  42. case 6:
  43. item.caseStatusName = '待组庭'
  44. break;
  45. case 7:
  46. item.caseStatusName = '待组庭确定'
  47. break;
  48. case 8:
  49. item.caseStatusName = '待组庭审核'
  50. break;
  51. case 9:
  52. item.caseStatusName = '待选择仲裁方式'
  53. break;
  54. case 10:
  55. item.caseStatusName = '待开庭'
  56. break;
  57. case 11:
  58. item.caseStatusName = '待生成仲裁文书'
  59. break;
  60. case 12:
  61. item.caseStatusName = '待确认仲裁文书'
  62. break;
  63. case 13:
  64. item.caseStatusName = '待仲裁文书用印'
  65. break;
  66. case 14:
  67. item.caseStatusName = '待仲裁文书用印审核'
  68. break;
  69. case 15:
  70. item.caseStatusName = '待仲裁文书送达'
  71. break;
  72. case 16:
  73. item.caseStatusName = '待案件归档'
  74. break;
  75. }
  76. })
  77. })
  78. }
  79. },
  80. onLoad(){
  81. let obj = {
  82. identityNum:"3333",
  83. pageNum:1,
  84. pageSize:10
  85. }
  86. this.getList(obj)
  87. }
  88. }
  89. </script>
  90. <style lang="scss">
  91. .handlecase{
  92. .caseList{
  93. // height: 360rpx;
  94. // background-color: #ffffff;
  95. // border-radius: 30rpx;
  96. // margin-top: 20rpx;
  97. }
  98. }
  99. </style>