diff --git a/src/api/yingji/enterprise.js b/src/api/yingji/enterprise.js new file mode 100644 index 0000000..174cf24 --- /dev/null +++ b/src/api/yingji/enterprise.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询计划企业列表 +export function listEnterprise(query) { + return request({ + url: '/pharmaceuticals/bPlanEnterprise/list', + method: 'get', + params: query + }) +} + +// 查询计划企业详细 +export function getEnterprise(id) { + return request({ + url: '/system/enterprise/' + id, + method: 'get' + }) +} + +// 新增计划企业 +export function addEnterprise(data) { + return request({ + url: '/system/enterprise', + method: 'post', + data: data + }) +} + +// 修改计划企业 +export function updateEnterprise(data) { + return request({ + url: '/system/enterprise', + method: 'put', + data: data + }) +} + +// 删除计划企业 +export function delEnterprise(id) { + return request({ + url: '/system/enterprise/' + id, + method: 'delete' + }) +} diff --git a/src/views/components/dialog/tab1.vue b/src/views/components/dialog/tab1.vue index 475bbea..c4a0230 100644 --- a/src/views/components/dialog/tab1.vue +++ b/src/views/components/dialog/tab1.vue @@ -59,17 +59,20 @@ label="企业名称" align="center" prop="enterpriseName" + width="200" + show-overflow-tooltip /> @@ -371,6 +374,7 @@ export default { font-size: 15px; font-family: Alibaba PuHuiTi; border-radius: 2px; + border: none; } .btn-reset { @@ -379,6 +383,7 @@ export default { font-size: 15px; font-family: Alibaba PuHuiTi; border-radius: 2px; + border: none; } } .tables { diff --git a/src/views/yingji/planManage copy.vue b/src/views/yingji/planManage copy.vue index 3e168ca..602e80b 100644 --- a/src/views/yingji/planManage copy.vue +++ b/src/views/yingji/planManage copy.vue @@ -7,7 +7,7 @@ * @LastEditTime: 2023-10-20 09:25:30 -->