|
|
@@ -91,7 +91,7 @@ import AppSearchModule from "@/components/module/app-search";
|
|
|
import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
import ItemComponent from "./components/changeCgStaffItem";
|
|
|
import productMins from "@/mixins/product";
|
|
|
-import { batchModifyClass } from "@/api/product";
|
|
|
+import { batchModifyCgStaff } from "@/api/product";
|
|
|
import { mapGetters } from "vuex";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
@@ -179,8 +179,8 @@ export default {
|
|
|
this.$msg('请选择分类')
|
|
|
return false
|
|
|
}
|
|
|
- this.$util.confirmModal({content:'确认移动?'},() => {
|
|
|
- batchModifyClass({ids:JSON.stringify(that.currentList),staffId:that.staffId}).then(res=>{
|
|
|
+ this.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
+ batchModifyCgStaff({ids:JSON.stringify(that.currentList),staffId:that.staffId}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
that.cancelModifyClass()
|
|
|
that.$msg(res.msg)
|
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
this.$refs.selectFlowerNumRef.open('top')
|
|
|
},
|
|
|
initProduct(){
|
|
|
- this.initData({ requestType:'itemList',status:0,delStatus:0})
|
|
|
+ this.initData({ requestType:'cgStaffList'})
|
|
|
}
|
|
|
}
|
|
|
};
|