diff --git a/src/api/organization.js b/src/api/organization.js index 944790d6f454f4c6ccdec5f9cf417ed549d1fc80..1cd6cc0e6c0a28236e169a18b274b13a479cb958 100644 --- a/src/api/organization.js +++ b/src/api/organization.js @@ -28,6 +28,21 @@ function updateOrgApi(data) { return putReq('/api/v1/organizations', data); } +function addBusinessApi(data) { + return postReq('/api/v1/parameters/business', data); +} + +function updateBusinessApi(data) { + return putReq('/api/v1/parameters/business', data); +} + +function addOperationApi(data) { + return postReq('/api/v1/parameters/operation', data); +} + +function updateOperationApi(data) { + return putReq('/api/v1/parameters/operation', data); +} export default { addJobs: addJobsApi, updateJobs: updateJobsApi, @@ -36,4 +51,8 @@ export default { getOrganizationDetails: getOrganizationDetailsApi, addOrg: addOrgApi, updateOrg: updateOrgApi, + addBusiness: addBusinessApi, + updateBusiness: updateBusinessApi, + addOperation: addOperationApi, + updateOperation: updateOperationApi, }; diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 40af63de60c49b089e98adf518ac5b789ab3a7b9..e6dd07ae8625338c4b9189bb79c50a810777b972 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -2,7 +2,7 @@
- + diff --git a/src/components/table/my_item.vue b/src/components/table/my_item.vue index 640d360674dc8b1e70830e1fe0ba67d31c387dcf..e27e74263dc0f1f5924634de8e53624ed86315da 100644 --- a/src/components/table/my_item.vue +++ b/src/components/table/my_item.vue @@ -1,7 +1,7 @@ @@ -11,7 +11,7 @@ export default { data() { return { span: { xs: 24, sm: 24, lg: 12, xl: 6 }, - layout: { labelCol: { span: 5 }, wrapperCol: { span: 19 }, ...this.$attrs }, + layout: { labelCol: { span: 6 }, wrapperCol: { span: 18 }, ...this.$attrs }, }; }, }; diff --git a/src/pages/system/view/parameter/business/form.vue b/src/pages/system/view/parameter/business/form.vue index 7b8a493fe11a49ccf06d45305af2b6c0f8c476b6..865c8f14081fed856c511ab7649ad53849886ec5 100644 --- a/src/pages/system/view/parameter/business/form.vue +++ b/src/pages/system/view/parameter/business/form.vue @@ -1,35 +1,64 @@ diff --git a/src/pages/system/view/parameter/operation/index.vue b/src/pages/system/view/parameter/operation/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..aedf756581dabf552d7a5efa91e46b9c53ba0ea4 --- /dev/null +++ b/src/pages/system/view/parameter/operation/index.vue @@ -0,0 +1,62 @@ + + \ No newline at end of file diff --git a/src/router/config.js b/src/router/config.js index 5e55a7027e87c021f6fdd72c47efc0d63ff547c3..50ec493f93b22e431f8d12101a29a976f4bb2aaf 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -118,6 +118,12 @@ const options = { component: () => import('@/pages/system/view/parameter/business/index.vue'), }, + { + path: 'operation_management', + name: '运维参数', + component: () => + import('@/pages/system/view/parameter/operation/index.vue'), + }, ], }, {