From f6ca223ce068a65573212b2e7c84b674ff59f3d1 Mon Sep 17 00:00:00 2001 From: laozt <2721205210@qq.com> Date: Fri, 15 Dec 2023 09:45:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yingji/enterprise.js | 44 ++ src/views/components/dialog/tab1.vue | 7 +- src/views/yingji/planManage copy.vue | 2 +- src/views/yingji/planManage.vue | 1013 ++++++++++---------------- 4 files changed, 456 insertions(+), 610 deletions(-) create mode 100644 src/api/yingji/enterprise.js 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 -->