应用层PC端前端服务

paymentConfirmation.vue 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <div>
  3. <!-- 批量缴费确认 -->
  4. <el-dialog title="批量缴费确认" :visible="caseVisablePayment" destroy-on-close @close="cancel" width="600px" center>
  5. <el-descriptions>
  6. <el-descriptions-item label="案件总金额">{{totalFeeConfir.totalFee}}</el-descriptions-item>
  7. <el-descriptions-item label="申请人">{{confirmPaymen.name}}</el-descriptions-item>
  8. </el-descriptions>
  9. <div slot="footer" class="dialog-footer">
  10. <el-button type="primary" class="endbutton" @click="confirmPayment"><span>缴费确认</span></el-button>
  11. <el-button class="endbutton" @click="cancel"><span>取 消</span></el-button>
  12. </div>
  13. </el-dialog>
  14. </div>
  15. </template>
  16. <script>
  17. import {confirmBatch} from '@/api/batchManagement/batchManagement.js'
  18. export default {
  19. props: ["caseVisablePayment","queryParams","confirmPaymen","totalFeeConfir"],
  20. dicts: ["manager_type"],
  21. data() {
  22. return {
  23. };
  24. },
  25. watch: {
  26. caseVisablePayment(val) {
  27. if (val) {
  28. this.ruleForm = {};
  29. }
  30. }
  31. },
  32. created() {
  33. },
  34. methods: {
  35. confirmPayment(){
  36. confirmBatch({batchNumber:this.confirmPaymen.batchNumber}).then(res=>{
  37. this.$modal.msgSuccess("缴费确认成功");
  38. this.cancel()
  39. this.$emit("getList", this.queryParams);
  40. })
  41. },
  42. cancel() {
  43. this.$emit("cancelCasePayment");
  44. },
  45. },
  46. }
  47. </script>
  48. <style lang="scss" scoped>
  49. ::v-deep .el-dialog {
  50. background: #ffffff;
  51. border-radius: 20px;
  52. }
  53. </style>