list.vue 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="list">
  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" style="margin-top:22rpx">
  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(defalutVal.id)">查看快递信息</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. uploadEvidence(id){
  59. uni.navigateTo({
  60. // url:`/pages/expressDelivery/component/expressDelivery?id=${this.defalutVal.id}`
  61. url:`/pages/expressDelivery/component/expressDelivery?id=${id}`
  62. })
  63. },
  64. }
  65. }
  66. </script>
  67. <style lang="scss" scoped>
  68. .list {
  69. padding: 15rpx;
  70. display: flex;
  71. flex-direction: column;
  72. background-color: #ffffff;
  73. border-radius: 30rpx;
  74. margin-top: 20rpx;
  75. .listItem {
  76. width: 100%;
  77. display: flex;
  78. height: 50rpx;
  79. .lable {
  80. width: 30%;
  81. }
  82. .main {
  83. width: 60%;
  84. }
  85. }
  86. .btn{
  87. margin-top: 20rpx;
  88. width: 100%;
  89. display: flex;
  90. justify-content: space-between;
  91. .btnItem{
  92. height: 50rpx;
  93. background-color: #5395ff;
  94. border-radius: 10rpx;
  95. text-align: center;
  96. line-height: 50rpx;
  97. }
  98. }
  99. }
  100. </style>