todo
This commit is contained in:
@@ -27,4 +27,13 @@ export const documentDocking = (data) => {
|
||||
});
|
||||
};
|
||||
|
||||
// 营销系统对接
|
||||
export const productSalesDocking = (data) => {
|
||||
return request({
|
||||
url: "/point-strategy/v/archives/productSalesDocking",
|
||||
method: "post",
|
||||
data:data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -174,6 +174,17 @@
|
||||
"
|
||||
>公文系统对接</el-button
|
||||
>
|
||||
<el-button
|
||||
@click="handleBtn(item, key, 'productSales')"
|
||||
size="mini"
|
||||
type="primary"
|
||||
v-if="
|
||||
(Alltable.length === 3 && key === 0) ||
|
||||
(Alltable.length === 2 && key === 0) ||
|
||||
Alltable.length === 1
|
||||
"
|
||||
>营销系统对接</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="primary"
|
||||
@@ -360,6 +371,7 @@
|
||||
import {
|
||||
documentDocking,
|
||||
contractDocking,
|
||||
productSalesDocking,
|
||||
} from "@/api/preFiling/preArchiveManagement/preFileApp.js";
|
||||
import {
|
||||
message,
|
||||
@@ -507,6 +519,20 @@ export default {
|
||||
message("error", error, 2000);
|
||||
});
|
||||
break;
|
||||
case "productSales": // 营销系统
|
||||
productSalesDocking()
|
||||
.then((res) => {
|
||||
if (res.code == 100) {
|
||||
this.$message({type:'success',message:`【营销系统对接】${res.msg}`,showClose:true,duration:0});
|
||||
this.clickSearch(key, 1, 0);
|
||||
} else {
|
||||
message("warning", res.msg, 2000);
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
message("error", error, 2000);
|
||||
});
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 获取批量修改单个档案详情
|
||||
|
||||
Reference in New Issue
Block a user