|
@@ -0,0 +1,41 @@
|
|
|
+<template>
|
|
|
+ <a-card size="small" :bordered="false" class="rebateSettingsList-wrap">
|
|
|
+ <a-spin :spinning="spinning" tip="Loading...">
|
|
|
+ <!-- 搜索条件 -->
|
|
|
+ <div ref="tableSearch" class="table-page-search-wrapper">
|
|
|
+ <a-button type="primary" @click="updateFun">钉钉审批查询</a-button>
|
|
|
+ </div>
|
|
|
+ </a-spin>
|
|
|
+ </a-card>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { commonMixin } from '@/utils/mixin'
|
|
|
+import { checkOptionTask } from '@/api/mqmsg'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'CheckDingTaskList',
|
|
|
+ mixins: [commonMixin],
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ spinning: false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 重新同步
|
|
|
+ updateFun (row) {
|
|
|
+ const _this = this
|
|
|
+ _this.spinning = true
|
|
|
+ checkOptionTask().then(res => {
|
|
|
+ _this.$message.success(res)
|
|
|
+ _this.spinning = false
|
|
|
+ })
|
|
|
+ },
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+<style lang="less" scope>
|
|
|
+ .ant-table-tbody .ant-table-row{
|
|
|
+ height:42px !important;
|
|
|
+ }
|
|
|
+</style>
|