| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import http from '@/http/api.js'
- // 列表
- export function getList(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/list',
- method: 'GET',
- data
- })
- }
- // 详情
- export function getDetail(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/detail',
- method: 'GET',
- data
- })
- }
- // 保存
- export function submit(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/submit',
- method: 'POST',
- data
- })
- }
- // 提交审批
- export function submitApproval(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/submitTireInsurance',
- method: 'POST',
- data
- })
- }
- // 撤销审批
- export function revokeApproval(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/revokeTireInsurance',
- method: 'GET',
- data
- })
- }
- // 附件删除
- export function fileRemove(ids) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/removeAttachment',
- method: 'POST',
- params:{
- ids
- }
- })
- }
- // 列表
- export function itemList(data) {
- return http.request({
- url: '/gubersail-shop-app/tireinsuranceregister/itemList',
- method: 'GET',
- data
- })
- }
|