|
|
@@ -165,6 +165,15 @@
|
|
|
>导出</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ size="mini"
|
|
|
+ @click="handleSync"
|
|
|
+ >同步</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
<right-toolbar
|
|
|
:showSearch.sync="showSearch"
|
|
|
@queryTable="getList"
|
|
|
@@ -1186,6 +1195,7 @@ import { addCollectionAndUpdateOrderStatus } from "@/api/member/handwriteCollect
|
|
|
// 药品标志API
|
|
|
import { getProductMedicineFlagByOrderCode } from "@/api/store/storeProduct";
|
|
|
import ImageUpload from "@/components/ImageUpload";
|
|
|
+import { syncKdzlMember } from "@/api/company/importMember"
|
|
|
|
|
|
export default {
|
|
|
name: "Customer",
|
|
|
@@ -1463,6 +1473,15 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+
|
|
|
+ handleSync(){
|
|
|
+ syncKdzlMember().then(res => {
|
|
|
+ this.msgSuccess("正在同步中...");
|
|
|
+ this.getList();
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
handleKdnCityChange(value) {
|
|
|
const nodes = this.$refs.citySelect.getCheckedNodes();
|
|
|
this.kdnCityIds = value.toString();
|