12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import request from '@/utils/request'
- // 查询商户门店转移记录列表
- export function listShopmoverecord(query) {
- return request({
- url: '/biz/shopmoverecord/list',
- method: 'get',
- params: query
- })
- }
- // 查询商户门店转移记录详细
- export function getShopmoverecord(shopMoveSn) {
- return request({
- url: '/biz/shopmoverecord/' + shopMoveSn,
- method: 'get'
- })
- }
- // 新增商户门店转移记录
- export function addShopmoverecord(data) {
- return request({
- url: '/biz/shopmoverecord',
- method: 'post',
- data: data
- })
- }
- // 修改商户门店转移记录
- export function updateShopmoverecord(data) {
- return request({
- url: '/biz/shopmoverecord',
- method: 'put',
- data: data
- })
- }
- // 删除商户门店转移记录
- export function delShopmoverecord(shopMoveSn) {
- return request({
- url: '/biz/shopmoverecord/' + shopMoveSn,
- method: 'delete'
- })
- }
- // 导出商户门店转移记录
- export function exportShopmoverecord(query) {
- return request({
- url: '/biz/shopmoverecord/export',
- method: 'get',
- params: query
- })
- }
- // 拉取门店转移记录
- export function pullShopMoveRecord(query,loading,_this) {
- return request({
- url: '/biz/shopmoverecord/pullShopMoveRecord',
- method: 'post',
- params: query,
- timeout: 3600 * 1000
- }).then(function (response) {
- loading.close();
- _this.$alert("拉取成功...");
- }).catch(function () {
- loading.close();
- _this.$alert("拉取异常...");
- })
- }
|