|
|
@@ -50,7 +50,7 @@ import productContraposeMins from "@/mixins/ptProductContrapose";
|
|
|
import { mapGetters } from "vuex";
|
|
|
import { delStatusUpdate } from "@/api/product";
|
|
|
import { changeAuth } from "@/api/pt-item";
|
|
|
-import { getPtCpList,usePtCp } from "@/api/cp"
|
|
|
+import { getPtCpList,addPtCp } from "@/api/cp"
|
|
|
export default {
|
|
|
name: "ptCpList",
|
|
|
components: {
|
|
|
@@ -125,7 +125,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.$util.confirmModal({content:'确认采用?'},() => {
|
|
|
- usePtCp({id:item.id}).then(res=>{
|
|
|
+ addPtCp({id:item.id}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
// this.$util.pageTo({ url: '/admin/cp/addCp?ptCpId='+item.id,type:2})
|
|
|
}
|