123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /**
- * gzs:后台接口地址
- */
- const Urls = {
- // 登录
- index: {
- login: '/admin/login/doLogin',
- balanceUpload: '/balance/index/upload',
- message: '/admin/message/list',
- messageEdit: '/admin/message/edit',
- },
- // 菜单列表
- common: {
- menuList: '/admin/index/statistics',
- },
- // 上传类
- upload: {
- file: '/admin/upload/file',
- },
- //账号模块
- admin: {
- init: 'admin/admin/init', //初始化
- list: '/admin/admin/list',
- detail: 'admin/admin/detail', //详情
- edit: 'admin/admin/edit', //更新
- add: 'admin/admin/add', //添加
- delete: 'admin/admin/delete', //删除/批量删除
- resetPwd: 'admin/admin/resetPwd', //重置密码
- },
- //项目汇总模型
- repertory: {
- list: '/admin/project/page',//分页
- statuslist:'/admin/project/status/list',//获取状态字典
- add: '/admin/project/create', //创建项目
- edit: '/admin/project/update', //项目更新
- delete: '/admin/project/delete', //项目删除
- all:'/admin/admin/fullList',//参与人员列表
- addschedules: '/admin/project/schedule/create', //创建进度
- editschedules: '/admin/project/schedule/update', //进度更新
- deleteschedules: '/admin/project/schedule/delete', //进度删除
- listcontract: '/admin/project/contract/page', //合同分页
- addcontract: '/admin/project/contract/create', //创建合同
- editcontract: '/admin/project/contract/update', //合同更新
- deletecontract: '/admin/project/contract/delete', //合同删除
- addstatus: '/admin/project/status/create', //创建状态
- editstatus: '/admin/project/status/update', //状态更新
- },
- //物品模型
- good: {
- list: '/admin/good/page',
- add: '/admin/good/create',
- edit: '/admin/good/update', //物品更新
- delete: '/admin/good/delete', //物品删除
- export: '/admin/good/export', //物品导出
- import: '/admin/good/import', //物品导入
- no: '/admin/good/get/no', //扫码枪
- },
- //出入库/盘点模型
- orderInout: {
- // init: "admin/order_inout/init",//初始化
- list: '/admin/io/page',
- add: '/admin/io/create', //创建出入库/盘点
- detail: '/admin/io/info', //出入库/盘点详情
- info: '/admin/stock/get/good-repo', //仓库更新
- reset: '/admin/io/revert', //回滚订单
- },
- //调拨
- transfer: {
- list: '/admin/allocation/page',
- add: '/admin/allocation/create', //创建调拨
- detail: '/admin/allocation/info', //库存详情
- reset: '/admin/allocation/revert', //回滚订单
- },
- //物品分类模型
- goodClass: {
- list: '/admin/GoodClass/page',
- add: '/admin/GoodClass/create', //分类新增
- edit: '/admin/GoodClass/update', //分类更新
- delete: '/admin/GoodClass/delete', //分类删除
- all: '/admin/GoodClass/all', //所有分类
- // detail: "/admin/good_class/detail",//分类详情
- },
- //在途库存
- realinventory: {
- list: '/admin/stock/page',
- detail: '/admin/IoDetail/transits', //在途明细
- export: '/admin/stock/export', //库存导出
- edit: '/admin/io/complete', //完成在途/借出
- },
- //以下准备弃用
- /* 基础数据 */
- // 公司信息
- company: {
- detail: '/admin/company/detail', //企业详情
- edit: '/admin/company/edit', //更新企业信息
- },
- // 角色权限
- role: {
- list: 'admin/role/list', //列表
- codes: '/admin/role/codes', // 权限列表
- update: 'admin/role/update', //更新
- create: 'admin/role/create', //添加
- del: 'admin/role/del', //删除/批量删除
- },
- };
- export default Urls;
|