-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
167 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
import request from '@/utils/request' | ||
|
||
export function getList(params) { | ||
return request({ | ||
url: '${table.UriPrefix}/list', | ||
method: 'get', | ||
params | ||
}) | ||
} | ||
|
||
|
||
export function save(params) { | ||
return request({ | ||
url: '${table.UriPrefix}', | ||
method: 'post', | ||
params | ||
}) | ||
} | ||
|
||
export function remove(id) { | ||
return request({ | ||
url: '${table.UriPrefix}', | ||
method: 'delete', | ||
params: { | ||
id: id | ||
} | ||
}) | ||
export default { | ||
getList:function(params) { | ||
return request({ | ||
url: '${table.UriPrefix}/list', | ||
method: 'get', | ||
params | ||
}) | ||
}, | ||
add:function(params) { | ||
return request({ | ||
url: '${table.UriPrefix}', | ||
method: 'post', | ||
params | ||
}) | ||
}, | ||
update:function(params) { | ||
return request({ | ||
url: '${table.UriPrefix}', | ||
method: 'PUT', | ||
params | ||
}) | ||
}, | ||
remove:function(id) { | ||
return request({ | ||
url: '${table.UriPrefix}', | ||
method: 'delete', | ||
params: { | ||
id: id | ||
} | ||
}) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,44 @@ | ||
import request from '@/utils/request' | ||
|
||
export function getList(params) { | ||
return request({ | ||
url: '/cfg/list', | ||
method: 'get', | ||
params | ||
}) | ||
} | ||
|
||
export default { | ||
|
||
export function exportXls(params) { | ||
return request({ | ||
url: '/cfg/export', | ||
method: 'get', | ||
params | ||
}) | ||
} | ||
getList: function (params) { | ||
return request({ | ||
url: '/cfg/list', | ||
method: 'get', | ||
params | ||
}) | ||
}, | ||
|
||
|
||
export function save(params) { | ||
return request({ | ||
url: '/cfg', | ||
method: 'post', | ||
params | ||
}) | ||
} | ||
|
||
export function remove(id) { | ||
return request({ | ||
url: '/cfg', | ||
method: 'delete', | ||
params: { | ||
id: id | ||
} | ||
}) | ||
exportXls: function (params) { | ||
return request({ | ||
url: '/cfg/export', | ||
method: 'get', | ||
params | ||
}) | ||
}, | ||
add: function (params) { | ||
return request({ | ||
url: '/cfg', | ||
method: 'post', | ||
params | ||
}) | ||
}, | ||
update: function (params) { | ||
return request({ | ||
url: '/cfg', | ||
method: 'put', | ||
params | ||
}) | ||
}, | ||
remove: function (id) { | ||
return request({ | ||
url: '/cfg', | ||
method: 'delete', | ||
params: { | ||
id: id | ||
} | ||
}) | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.