list.vue 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <a-card size="small" :bordered="false" class="rebateSettingsList-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <!-- 搜索条件 -->
  5. <div ref="tableSearch" class="table-page-search-wrapper">
  6. <a-button type="primary" @click="updateFun">钉钉审批查询</a-button>
  7. </div>
  8. </a-spin>
  9. </a-card>
  10. </template>
  11. <script>
  12. import { commonMixin } from '@/utils/mixin'
  13. import { checkOptionTask } from '@/api/mqmsg'
  14. export default {
  15. name: 'CheckDingTaskList',
  16. mixins: [commonMixin],
  17. data () {
  18. return {
  19. spinning: false
  20. }
  21. },
  22. methods: {
  23. // 重新同步
  24. updateFun (row) {
  25. const _this = this
  26. _this.spinning = true
  27. checkOptionTask().then(res => {
  28. _this.$message.success(res)
  29. _this.spinning = false
  30. })
  31. },
  32. }
  33. }
  34. </script>
  35. <style lang="less" scope>
  36. .ant-table-tbody .ant-table-row{
  37. height:42px !important;
  38. }
  39. </style>