reverseCheck.vue 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <el-button size="mini" @click="submit" type="primary">反 审 核 </el-button>
  3. </template>
  4. <script>
  5. export default {
  6. props:['data'],
  7. name: '',
  8. data() {
  9. return {
  10. checkVisible:false
  11. };
  12. },
  13. computed:{
  14. },
  15. watch:{
  16. },
  17. created() {
  18. },
  19. methods: {
  20. async submit () {
  21. this.$confirm('确定反审核当前合同吗?','提示',{
  22. confirmButtonText:'确定',
  23. cancelButtonText:'取消'
  24. }).then(async () => {
  25. let res = await this.$api.requested({
  26. "id": 20221212135402,
  27. "content": {
  28. "sa_contractid": this.data.sa_contractid
  29. },
  30. })
  31. this.tool.showMessage(res,() => {
  32. this.$emit('onSuccess')
  33. })
  34. })
  35. },
  36. },
  37. };
  38. </script>
  39. <style scoped>
  40. .box p {
  41. line-height: 40px;
  42. text-align: center;
  43. }
  44. .box p:hover {
  45. background: #EBF1FE;
  46. color: #6191F8;
  47. cursor: pointer;
  48. }
  49. </style>