list.vue 3.0KB

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