diff --git a/src/api/model/asset/busiCodeConfig.js b/src/api/model/busiCodeConfig.js similarity index 78% rename from src/api/model/asset/busiCodeConfig.js rename to src/api/model/busiCodeConfig.js index 6d32b5f..963e0a7 100644 --- a/src/api/model/asset/busiCodeConfig.js +++ b/src/api/model/busiCodeConfig.js @@ -3,7 +3,7 @@ import request from '@/utils/request' // 查询业务编码配置列表 export function listBusiCodeConfig(query) { return request({ - url: '/asset/busiCodeConfig/list', + url: '/model/busiCodeConfig/list', method: 'get', params: query }) @@ -12,7 +12,7 @@ export function listBusiCodeConfig(query) { // 查询业务编码配置详细 export function getBusiCodeConfig(id) { return request({ - url: '/asset/busiCodeConfig/' + id, + url: '/model/busiCodeConfig/' + id, method: 'get' }) } @@ -20,7 +20,7 @@ export function getBusiCodeConfig(id) { // 新增业务编码配置 export function addBusiCodeConfig(data) { return request({ - url: '/asset/busiCodeConfig', + url: '/model/busiCodeConfig', method: 'post', data: data }) @@ -29,7 +29,7 @@ export function addBusiCodeConfig(data) { // 修改业务编码配置 export function updateBusiCodeConfig(data) { return request({ - url: '/asset/busiCodeConfig', + url: '/model/busiCodeConfig', method: 'put', data: data }) @@ -38,7 +38,7 @@ export function updateBusiCodeConfig(data) { // 删除业务编码配置 export function delBusiCodeConfig(id) { return request({ - url: '/asset/busiCodeConfig/' + id, + url: '/model/busiCodeConfig/' + id, method: 'delete' }) } @@ -46,7 +46,7 @@ export function delBusiCodeConfig(id) { // 查询编码规则列表 export function listCodeConfig(query) { return request({ - url: '/asset/codeDefine/list', + url: '/model/codeDefine/list', method: 'get', params: query }) diff --git a/src/api/model/asset/codeDefine.js b/src/api/model/codeDefine.js similarity index 79% rename from src/api/model/asset/codeDefine.js rename to src/api/model/codeDefine.js index 0aec464..f9f304f 100644 --- a/src/api/model/asset/codeDefine.js +++ b/src/api/model/codeDefine.js @@ -3,7 +3,7 @@ import request from '@/utils/request' // 查询编码规则定义列表 export function listCodeDefine(query) { return request({ - url: '/asset/codeDefine/list', + url: '/model/codeDefine/list', method: 'get', params: query }) @@ -12,7 +12,7 @@ export function listCodeDefine(query) { // 查询编码规则定义详细 export function getCodeDefine(id) { return request({ - url: '/asset/codeDefine/' + id, + url: '/model/codeDefine/' + id, method: 'get' }) } @@ -20,7 +20,7 @@ export function getCodeDefine(id) { // 新增编码规则定义 export function addCodeDefine(data) { return request({ - url: '/asset/codeDefine', + url: '/model/codeDefine', method: 'post', data: data }) @@ -29,7 +29,7 @@ export function addCodeDefine(data) { // 修改编码规则定义 export function updateCodeDefine(data) { return request({ - url: '/asset/codeDefine', + url: '/model/codeDefine', method: 'put', data: data }) @@ -38,7 +38,7 @@ export function updateCodeDefine(data) { // 删除编码规则定义 export function delCodeDefine(id) { return request({ - url: '/asset/codeDefine/' + id, + url: '/model/codeDefine/' + id, method: 'delete' }) } diff --git a/src/views/model/busiCodeConfig/index.vue b/src/views/model/busiCodeConfig/index.vue index e139a28..dae306c 100644 --- a/src/views/model/busiCodeConfig/index.vue +++ b/src/views/model/busiCodeConfig/index.vue @@ -151,7 +151,7 @@ @import "@/assets/styles/self-defined.scss";