应用层PC端前端服务

choosetrialmethodDaiog.vue 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <template>
  2. <div>
  3. <!-- 选择仲裁方式页面 -->
  4. <el-dialog
  5. title="审核仲裁方式"
  6. :visible="showchoosetrialmethod"
  7. width="500px"
  8. @close="cancel"
  9. :destroy-on-close="true"
  10. >
  11. <el-descriptions>
  12. <el-descriptions-item label="当前仲裁方式:">
  13. <el-tag size="small">{{
  14. choosetrialmethodata.arbitratMethodName
  15. }}</el-tag>
  16. </el-descriptions-item>
  17. </el-descriptions>
  18. <!-- <div class="radiobox">
  19. <el-radio-group v-model="radio">
  20. <el-radio :label="0">拒绝开庭方式</el-radio>
  21. <el-radio :label="1">同意开庭方式</el-radio>
  22. </el-radio-group>
  23. </div> -->
  24. <!-- <div slot="footer" class="dialog-footer">
  25. <el-button type="primary" @click="submitForm" class="endbutton"
  26. ><span>提 交</span></el-button
  27. >
  28. <el-button @click="cancel" class="endbutton1"
  29. ><span> 取 消</span></el-button
  30. >
  31. </div> -->
  32. <div slot="footer" class="dialog-footer">
  33. <el-button type="primary" @click="submitForm(1)" class="endbutton"
  34. ><span>同 意</span></el-button
  35. >
  36. <el-button class="endbutton1" @click="submitForm(0)"
  37. ><span>拒 绝</span></el-button
  38. >
  39. </div>
  40. </el-dialog>
  41. </div>
  42. </template>
  43. <script>
  44. import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
  45. export default {
  46. name: "showchoosetrialmethodDialog",
  47. props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
  48. data() {
  49. return {};
  50. },
  51. methods: {
  52. // 审核仲裁方式 arbitrateMethod
  53. submitForm(val) {
  54. let paramsdata = {
  55. opinion: val,
  56. };
  57. let id = {
  58. id: this.choosetrialmethodata.id,
  59. };
  60. arbitrateMethod(paramsdata,id)
  61. .then((res) => {
  62. this.$modal.msgSuccess("提交成功");
  63. this.cancel();
  64. this.$emit("getcaseApply", this.queryParams);
  65. })
  66. .catch((err) => {});
  67. },
  68. cancel() {
  69. this.$emit("cancelshowchoosetrialMethod");
  70. },
  71. },
  72. };
  73. </script>
  74. <style lang="scss" scoped>
  75. .radiobox {
  76. margin-left: 5%;
  77. }
  78. ::v-deep .el-dialog {
  79. width: 800px;
  80. background: #ffffff;
  81. border-radius: 20px;
  82. }
  83. .endbutton {
  84. width: 124px;
  85. height: 37px;
  86. background: #0072ff;
  87. border-radius: 19px;
  88. span {
  89. width: 32px;
  90. height: 15px;
  91. font-size: 16px;
  92. font-family: Microsoft YaHei;
  93. font-weight: 400;
  94. color: #ffffff;
  95. // line-height: 48px;
  96. }
  97. }
  98. .endbutton1 {
  99. width: 124px;
  100. height: 37px;
  101. background: #ffffff;
  102. border: 1px solid #d0d0d0;
  103. border-radius: 19px;
  104. span {
  105. width: 31px;
  106. height: 13px;
  107. font-size: 16px;
  108. font-family: Microsoft YaHei;
  109. font-weight: 400;
  110. color: #959595;
  111. }
  112. }
  113. </style>