|
|
@@ -187,6 +187,11 @@
|
|
|
>同步</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button type="primary" plain size="mini" @click="handleHighSeaSync"
|
|
|
+ >同步公海会员</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
|
|
|
<right-toolbar
|
|
|
:showSearch.sync="showSearch"
|
|
|
@@ -543,7 +548,7 @@ import {
|
|
|
getCustomer,
|
|
|
exportCustomer,
|
|
|
} from "@/api/qw/companyCustomer";
|
|
|
-import { syncKdzlMember } from "@/api/qw/importMember";
|
|
|
+import { syncKdzlMember,syncKdzlHighSeaMemberInfo } from "@/api/qw/importMember";
|
|
|
export default {
|
|
|
name: "Customer",
|
|
|
data() {
|
|
|
@@ -613,6 +618,12 @@ export default {
|
|
|
this.getList();
|
|
|
});
|
|
|
},
|
|
|
+ handleHighSeaSync() {
|
|
|
+ syncKdzlHighSeaMemberInfo().then((res) => {
|
|
|
+ this.msgSuccess("正在同步中...");
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ },
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
const params = this.addDateRange(this.queryParams, this.dateRange);
|