From 6b40d9bac51016eaf3903ecbcab537e0e79632d4 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 30 Jul 2024 13:59:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE=E6=8A=80?= =?UTF-8?q?=E5=B8=88=E8=81=8C=E7=A7=B0=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/basicinformation/technicalTitle.js | 36 ++ yxt-as-ui/src/router/index.js | 6 + .../technicalTitle/technicalTitle.vue | 397 ++++++++++++++++++ 3 files changed, 439 insertions(+) create mode 100644 yxt-as-ui/src/api/basicinformation/technicalTitle.js create mode 100644 yxt-as-ui/src/views/basicinformation/technicalTitle/technicalTitle.vue diff --git a/yxt-as-ui/src/api/basicinformation/technicalTitle.js b/yxt-as-ui/src/api/basicinformation/technicalTitle.js new file mode 100644 index 0000000000..260f1db2cf --- /dev/null +++ b/yxt-as-ui/src/api/basicinformation/technicalTitle.js @@ -0,0 +1,36 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/as/v1/astechtitle/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + fetchBySid: function(data) { + return request({ + url: '/as/v1/astechtitle/fetchDetailsBySid/' + data, + method: 'get' + }) + }, + saveOrUpdate: function(data) { + return request({ + url: '/as/v1/astechtitle/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + deleteBySids: function(data) { + return request({ + url: '/as/v1/astechtitle/delBySids', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + } +} + diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index de51a10848..200b305a0c 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -586,6 +586,12 @@ export const constantRoutes = [{ component: () => import('@/views/basicinformation/claimantManufacturer/claimantManufacturer.vue'), name: 'ClaimantManufacturer', meta: { title: '索赔厂家管理', noCache: true } + }, + { + path: '/technicalTitle/technicalTitle', + component: () => import('@/views/basicinformation/technicalTitle/technicalTitle.vue'), + name: 'TechnicalTitle', + meta: { title: '维修技师职称管理', noCache: true } } ] }, diff --git a/yxt-as-ui/src/views/basicinformation/technicalTitle/technicalTitle.vue b/yxt-as-ui/src/views/basicinformation/technicalTitle/technicalTitle.vue new file mode 100644 index 0000000000..26249820c6 --- /dev/null +++ b/yxt-as-ui/src/views/basicinformation/technicalTitle/technicalTitle.vue @@ -0,0 +1,397 @@ + + + +