123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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">
  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">选择仲裁方式</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. isAssignrbitrators(){
  58. uni.navigateTo({
  59. url:`/pages/handlecase/component/assignrbitrators?id=${this.defalutVal.id}`
  60. })
  61. },
  62. // 上传证据
  63. uploadEvidence(){
  64. uni.navigateTo({
  65. url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
  66. })
  67. },
  68. // 确认证据
  69. confirmationEvidence(){
  70. uni.navigateTo({
  71. url:`/pages/handlecase/component/confirmationEvidence?id=${this.defalutVal.id}`
  72. })
  73. },
  74. // 选择仲裁方式
  75. chooseMethod(){
  76. uni.navigateTo({
  77. url:'/pages/handlecase/component/chooseMethod'
  78. })
  79. }
  80. }
  81. }
  82. </script>
  83. <style lang="scss" scoped>
  84. .list {
  85. padding: 15rpx;
  86. display: flex;
  87. flex-direction: column;
  88. background-color: #ffffff;
  89. height: 360rpx;
  90. border-radius: 30rpx;
  91. margin-top: 20rpx;
  92. .listItem {
  93. width: 100%;
  94. display: flex;
  95. height: 50rpx;
  96. .lable {
  97. width: 30%;
  98. }
  99. .main {
  100. width: 60%;
  101. }
  102. }
  103. .btn{
  104. margin-top: 20rpx;
  105. width: 100%;
  106. display: flex;
  107. justify-content: space-between;
  108. .btnItem{
  109. height: 50rpx;
  110. background-color: #5395ff;
  111. border-radius: 10rpx;
  112. text-align: center;
  113. line-height: 50rpx;
  114. }
  115. }
  116. }
  117. </style>