list.vue 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="list" @tap="caseDetail">
  3. <view class="listItem">
  4. <view class="lable">
  5. 案件编号:
  6. </view>
  7. <view class="main">
  8. {{defalutVal.caseNum}}
  9. </view>
  10. </view>
  11. <view class="listItem" v-if="sysType == 1">
  12. <view class="lable">
  13. 申请人姓名:
  14. </view>
  15. <view class="main">
  16. {{defalutVal.applicantName}}
  17. </view>
  18. </view>
  19. <view class="listItem" v-if="sysType == 2">
  20. <view class="lable">
  21. 申请人姓名:
  22. </view>
  23. <view class="main">
  24. {{defalutVal.applicationOrganName}}
  25. </view>
  26. </view>
  27. <view class="listItem" style="margin-top:22rpx">
  28. <view class="lable">
  29. 被申请人姓名:
  30. </view>
  31. <view class="main">
  32. {{defalutVal.respondentName}}
  33. </view>
  34. </view>
  35. <view class="listItem">
  36. <view class="lable">
  37. 案件状态:
  38. </view>
  39. <view class="main">
  40. {{defalutVal.caseStatusName}}
  41. </view>
  42. </view>
  43. <!-- <view class="btn">
  44. <button class="btnItem" type="primary" size="mini" @tap="uploadEvidence" v-if="defalutVal.caseStatus == 3">上传证据</button>
  45. <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence" v-if="defalutVal.caseStatus == 4">确认证据</button> -->
  46. <!-- <button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators" v-if="defalutVal.caseStatus == 5">是否指派仲裁员</button> -->
  47. <!-- <button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
  48. <button class="btnItem" type="primary" size="mini" @tap="chooseMethod" v-if="defalutVal.caseStatus == 9">选择仲裁方式</button>
  49. </view> -->
  50. </view>
  51. </template>
  52. <script>
  53. export default {
  54. data() {
  55. return {
  56. }
  57. },
  58. props: {
  59. defalutVal: {
  60. type: Object,
  61. default: () => {}
  62. },
  63. sysType: {
  64. type: Number,
  65. default: () => {}
  66. }
  67. },
  68. methods: {
  69. // 案件详情以及操作
  70. caseDetail() {
  71. uni.navigateTo({
  72. url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
  73. })
  74. }
  75. // isAssignrbitrators(){
  76. // uni.navigateTo({
  77. // url:`/pages/handlecase/component/assignrbitrators?id=${this.defalutVal.id}`
  78. // })
  79. // },
  80. // // 上传证据
  81. // uploadEvidence(){
  82. // uni.navigateTo({
  83. // url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
  84. // })
  85. // },
  86. // // 确认证据
  87. // confirmationEvidence(){
  88. // uni.navigateTo({
  89. // url:`/pages/handlecase/component/confirmationEvidence?id=${this.defalutVal.id}`
  90. // })
  91. // },
  92. // // 选择仲裁方式
  93. // chooseMethod(){
  94. // uni.navigateTo({
  95. // url:`/pages/handlecase/component/chooseMethod?id=${this.defalutVal.id}`
  96. // })
  97. // }
  98. }
  99. }
  100. </script>
  101. <style lang="scss" scoped>
  102. .list {
  103. padding: 15rpx;
  104. display: flex;
  105. flex-direction: column;
  106. background-color: #ffffff;
  107. border-radius: 30rpx;
  108. margin-top: 20rpx;
  109. .listItem {
  110. width: 100%;
  111. display: flex;
  112. height: 50rpx;
  113. .lable {
  114. width: 30%;
  115. }
  116. .main {
  117. width: 60%;
  118. }
  119. }
  120. .btn {
  121. margin-top: 20rpx;
  122. width: 100%;
  123. display: flex;
  124. justify-content: space-between;
  125. .btnItem {
  126. height: 50rpx;
  127. background-color: #5395ff;
  128. border-radius: 10rpx;
  129. text-align: center;
  130. line-height: 50rpx;
  131. }
  132. }
  133. }
  134. </style>