diff --git a/yxt-as-ui/src/api/operation/claimstatement.js b/yxt-as-ui/src/api/operation/claimstatement.js new file mode 100644 index 0000000000..fe0d648a07 --- /dev/null +++ b/yxt-as-ui/src/api/operation/claimstatement.js @@ -0,0 +1,23 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/as/v1/AsBusclaimBill/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + downloadExcel: function() { + return request({ + url: '/as/v1/AsBusclaimBill/downloadExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + headers: { + 'Content-Type': 'application/json' + } + }) + } +} diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index 5c12c3a17f..daf92f75f6 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -110,6 +110,12 @@ export const constantRoutes = [{ name: 'PendingClaim', meta: { title: '待索赔维修工单', noCache: true } }, + { + path: '/claimstatement/claimstatement', + component: () => import('@/views/operation/claimstatement/claimstatement.vue'), + name: 'ClaimStatement', + meta: { title: '厂家索赔单管理', noCache: true } + }, ] }, { diff --git a/yxt-as-ui/src/views/operation/claimstatement/claimstatement.vue b/yxt-as-ui/src/views/operation/claimstatement/claimstatement.vue new file mode 100644 index 0000000000..8adcb22840 --- /dev/null +++ b/yxt-as-ui/src/views/operation/claimstatement/claimstatement.vue @@ -0,0 +1,378 @@ + + + +