list.vue 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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" 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. 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. border-radius: 30rpx;
  90. margin-top: 20rpx;
  91. .listItem {
  92. width: 100%;
  93. display: flex;
  94. height: 50rpx;
  95. .lable {
  96. width: 30%;
  97. }
  98. .main {
  99. width: 60%;
  100. }
  101. }
  102. .btn{
  103. margin-top: 20rpx;
  104. width: 100%;
  105. display: flex;
  106. justify-content: space-between;
  107. .btnItem{
  108. height: 50rpx;
  109. background-color: #5395ff;
  110. border-radius: 10rpx;
  111. text-align: center;
  112. line-height: 50rpx;
  113. }
  114. }
  115. }
  116. </style>