| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import axios from '../utils/request'
- // 第一层获取列表
- export const getList = (data) => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/list',
- data
- })
- }
- // 点击申请出库
- export const enterBank = () => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/add'
- })
- }
- // 第二层获取藏品列表
- export const getListTow = (data) => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/goodsList',
- data
- })
- }
- // 从第一层提交
- export const holding1submit = (data) => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/edit',
- data
- })
- }
- // 通过第一层的id获取详情
- export const getDetailById = (id) => {
- return axios({
- url: `/cms/collectOut/detail/${id}`
- })
- }
- // 第一层点击删除
- export const delData = (id) => {
- return axios({
- url: `/cms/collectOut/remove/${id}`
- })
- }
- // 从holding1_audit点击审核
- export const holding1Audit = (data) => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/audit',
- data
- })
- }
- // holding2_look点击归还
- export const goodsReturn = (data) => {
- return axios({
- method: 'post',
- url: '/cms/collectOut/goodsReturn',
- data
- })
- }
|