index.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <div>
  3. <div class="oa-sys-list-view">
  4. <div class="title">合同撤销</div>
  5. <Form :pageKey="pageKey" />
  6. <Table :pageKey="pageKey" :request="request" :column="column" />
  7. </div>
  8. </div>
  9. </template>
  10. <script lang="ts" setup>
  11. import Form from '../components/Form.vue'
  12. import Table from '../components/Table.vue'
  13. /**
  14. * @description 合同撤销
  15. */
  16. defineOptions({
  17. name: 'RescindContract'
  18. })
  19. const pageKey = 'rescind-contract'
  20. const request = {
  21. url: '/contractF/page',
  22. params: {
  23. type: 3 // 类型(1变更 2解除 3撤销 4终止 5纠纷)
  24. }
  25. }
  26. const column = [
  27. {
  28. label: '合同编号',
  29. prop: 'contractNumber'
  30. },
  31. {
  32. label: '合同名称',
  33. prop: 'contractName',
  34. tooltip: true
  35. },
  36. {
  37. label: '撤销原因',
  38. prop: 'changeReason',
  39. tooltip: true
  40. },
  41. {
  42. label: '原合同金额(万元)',
  43. prop: 'contractAmount',
  44. width: 200
  45. },
  46. {
  47. label: '撤销金额(万元)',
  48. prop: 'changeAmount',
  49. width: 200
  50. },
  51. {
  52. label: '撤销方式',
  53. prop: 'changeDetail',
  54. tooltip: true
  55. },
  56. {
  57. label: '备注',
  58. prop: 'bz',
  59. tooltip: true
  60. }
  61. ]
  62. </script>
  63. <style scoped lang="scss">
  64. .oa-sys-list-view {
  65. .title {
  66. height: 32px;
  67. font-weight: bold;
  68. font-size: 24px;
  69. color: #121518;
  70. margin-bottom: 20px;
  71. }
  72. }
  73. </style>