| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- /**
- * @desc : 共同方法
- * @author : 周兴
- * @date : 2022/12/13 14:59
- */
- export default {
- commonService: {
- prefix: 'mdm-server/mst/common/',
- getBasicData: 'get_basic_data',
- getCustomTag: 'get_customtag',
- getCustomTagByPage: 'get_customtag_by_page',
- getWebInitData: 'get_web_init_data',
- getUser: 'get_user',
- getUserByPage: 'get_user_by_page',
- selectById: '',
- // 查导航菜单(自定义报表用)
- getMenuNavigation: 'get_menu_navigation',
- // 获取最大显示顺序
- getMaxDisplayNo: 'get_max_display_no',
- // 获取系统表数据种类
- getDataKind: 'get_data_kind',
- // 获取型号分类
- getModelCategory: 'get_model_category',
- //获取组织部门
- getOrg: 'get_org',
- // 分页获取部门
- getOrgByPage: 'get_org_by_page',
- //获取品牌
- getBrand: 'get_brand',
- // 品牌分页
- getBrandByPage: 'get_goods_brand_list_by',
- // 获取角色
- getRole: 'get_role',
- // 获取员工
- getStaff: 'get_staff',
- // 分页获取员工
- getStaffByPage: 'get_staff_by_page',
- // 获取系统参数
- getSettingValue: 'get_setting_value',
- // 获取系统参数种类
- getSettingKind: 'get_setting_kind',
- //组织机构
- getOrganization: 'get_organization',
- // 分页获取组织部门
- getOrganizationByPage: 'get_organization_by_page',
- // 获取数据字典
- getDictionaryData: 'get_dictionary_data',
- // 获取数据字典项目
- getDictionaryItemData: 'get_dictionary_item_data',
- //刷新基础数据
- refreshBasicData: 'refresh_basic_data',
- // 获取数据类型
- getValueKind: 'get_value_kind',
- // 获取应用
- getApplication: 'get_application',
- // 获取仓库
- getWarehouse: 'get_warehouse',
- // 获取仓位(分页)
- getWarehouseByPage: 'get_warehouse_by_page',
- // 获取单据
- getDoc: 'get_doc',
- // 获取商品
- getGoods: 'get_goods',
- // 获取商品(分页)
- getGoodsPage: 'get_goods_by_page',
- // 获取商品(销售订单开单用)
- getGoodsForOrder: 'get_goods_for_order',
- // 获取商品(销售订单开单用)(分页)
- getGoodsForOrderByPage: 'get_goods_for_order_by_page',
- // 获取商品(采购订单开单用)
- getGoodsForPurchase: 'get_goods_for_purchase',
- // 获取商品(采购订单开单用)(分页)
- getGoodsForPurchaseByPage: 'get_goods_for_purchase_by_page',
- //获取供应商
- getSupplier: 'get_supplier',
- //获取供应商分页
- getSupplierByPage: 'get_supplier_by_page',
- // 获取客户
- getCustomer: 'get_customer',
- // 获取客户(分页)
- getCustomerByPage: 'get_customer_by_page',
- // 获取渠道
- getChannel: 'get_channel',
- // 获取客户
- getInventory: 'get_inventory',
- // 获取客户(分页)
- getInventoryByPage: 'get_inventory_by_page',
- // 获取供应商和客户
- getSupplierAndCustomer: 'get_supplier_and_customer',
- // 获取供应商和客户(分页)
- getSupplierAndCustomerByPage: 'get_supplier_and_customer_by_page',
- // 获取资金账户(下拉)
- getMac: 'get_mac',
- // 获取资金账户(放大镜)
- getMoneyAccount: 'get_money_account',
- // 获取资金账户(放大镜分页)
- getMoneyAccountByPage: 'get_money_account_by_page',
- // 获取多业务部门
- getMultiOrg: 'get_multi_org',
- // 获取多业务员
- getMultiStaff: 'get_multi_staff',
- // 获取组织仓库
- getMultiWarehouse: 'get_multi_warehouse',
- // 获取组织资金账户
- getMultiMoneyAccount: 'get_multi_moneyAccount',
- //采购退货查询库存商品
- getGoodsForPurchaseReturn:'get_goods_for_purchase_return',
- //采购退货查询库存商品(分页)
- getGoodsForPurchaseReturnByPage:'get_goods_for_purchase_return_by_page',
- //获取员工的范围权限类型
- getPurviewType:'get_purview_type',
- //查询标签打印项目
- getLabelPrintItem: 'get_label_print_item',
- //获取基础数据
- getInitData:'get_init_data',
- // 获取组织仓库
- getOrgWh:'get_org_wh',
- //获取商品(其他入库开单用)
- getGoodsForInto: 'get_goods_for_into',
- ///获取商品(其他入库开单用)(分页)
- getGoodsForIntoByPage: 'get_goods_for_into_by_page',
- // 获取首页实时数据
- getRealTimeData: 'get_real_time_data',
- },
- fileService:{
- prefix: 'mdm-server/file/',
- }
- }
- /**
- * @desc : 路由
- * @author : 周兴
- * @date : 2022/12/13 15:44
- */
- export const routeUrl = {
- // 清空条件
- clear: {key: 'clear'},
- // 编辑 initFlag(是否进入加载基础数据的方法)
- edit: {key: 'edit', method: 'edit', initFlag: true},
- // 新建 initFlag(是否进入加载基础数据的方法)
- add: {key: 'add', method: 'add', initFlag: true},
- // 停用
- disable: {key: 'disable', method: 'disable'},
- // 启用
- enable: {key: 'enable', method: 'enable'},
- // 操作日志
- log: {key: 'log', method: 'log'},
- //打印
- print:{key: 'print', method: 'print'},
- }
|