diff --git a/src/api/modular/main/DJYTenantParam.js b/src/api/modular/main/DJYTenantParam.js index dce7d07..8c1e32c 100644 --- a/src/api/modular/main/DJYTenantParam.js +++ b/src/api/modular/main/DJYTenantParam.js @@ -153,3 +153,15 @@ export function DJYTenantParamDeleteParamItem(parameter) { params: parameter }) } +/** + * 分页查询租户 + * + * @author Myshipping + */ +export function SysTenantPage(parameter) { + return axios({ + url: '/sysTenant/page', + method: 'get', + params: parameter + }) +} diff --git a/src/router/generator-routers.js b/src/router/generator-routers.js index 111d71d..c04e0eb 100644 --- a/src/router/generator-routers.js +++ b/src/router/generator-routers.js @@ -25,7 +25,8 @@ const constantRouterComponents = { OrderList: () => import('@/views/Booking/OrderList/index'), // 默认首页 Console: () => import('@/views/system/index/welcome'), - BookingDetail: () => import('@/views/main/BookingLedger/detail') + BookingDetail: () => import('@/views/main/BookingLedger/detail'), + CustomerInformationManagementAdd: () => import('@/views/main/Customer/addForm') } // 前端未找到页面路由(固定不用改)、原来为 /404 @@ -164,6 +165,17 @@ const booking = [ show: false }, component: 'BookingDetail' + }, + { + name: 'CustomerInformationManagementAdd', + path: '/CustomerInformationManagementAdd', + pid: 0, + id: 10031, + meta: { + title: '新增客户', + show: false + }, + component: 'CustomerInformationManagementAdd' } ] diff --git a/src/views/main/Customer/index.vue b/src/views/main/Customer/index.vue index e6317e4..b8aa899 100644 --- a/src/views/main/Customer/index.vue +++ b/src/views/main/Customer/index.vue @@ -361,6 +361,9 @@ export default { this.activeKey = activeKey }, TabsAdd() { + // CustomerInformationManagementAdd + // this.$router.push({ name: 'CustomerInformationManagementAdd' }) + // this.$router.push({ name: 'CustomerInformationManagementAdd', query: { type: this.carrierRadio } }) let activeKey = this.panes.length + 1 this.panes.push({ title: '新增客户', diff --git a/src/views/main/DJYTenantParam/addItemForm.vue b/src/views/main/DJYTenantParam/addItemForm.vue index 04d2d93..ba6b5e0 100644 --- a/src/views/main/DJYTenantParam/addItemForm.vue +++ b/src/views/main/DJYTenantParam/addItemForm.vue @@ -10,28 +10,60 @@ + + + + + {{ item.name }} + + + + - + {{ item.paraCode }} - + + + + {{ item.itemName }} + + - - + + @@ -42,18 +74,23 @@