From c5cde1ff5d5e26310e7a5e15f970db034efda7fa Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Thu, 28 Dec 2023 20:31:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production.example | 3 --- src/config/index.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .env.production.example diff --git a/.env.production.example b/.env.production.example deleted file mode 100644 index 1e1ea2b..0000000 --- a/.env.production.example +++ /dev/null @@ -1,3 +0,0 @@ -NODE_ENV = 'production' -# Base API -VITE_APP_BASE_URL='' \ No newline at end of file diff --git a/src/config/index.ts b/src/config/index.ts index cc6bfb3..03bbc36 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -2,7 +2,7 @@ const config = { terminal: 1, //终端 title: "后台管理系统", //网站默认标题 version: "1.6.0", //版本号 - baseUrl: `${import.meta.env.VITE_APP_BASE_URL || "https://ceshi-engineering.lihaink.cn"}/`, //请求接口域名 + baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ""}/`, //请求接口域名 urlPrefix: "adminapi", //请求默认前缀 timeout: 10 * 1000, //请求超时时长 }; From ba066893da6aecb05c6739b56c40f740ed7f043b Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Thu, 28 Dec 2023 22:26:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cost_budget_detail.ts | 26 +++ src/api/subcontracting_contract_detail.ts | 26 +++ src/views/cost_budget_detail/edit.vue | 170 ++++++++++++++++++ src/views/cost_budget_detail/index.vue | 167 +++++++++++++++++ .../expense_reimbursement_detail/index.vue | 7 +- .../subcontracting_contract_detail/index.vue | 29 +-- 6 files changed, 408 insertions(+), 17 deletions(-) create mode 100644 src/api/cost_budget_detail.ts create mode 100644 src/api/subcontracting_contract_detail.ts create mode 100644 src/views/cost_budget_detail/edit.vue create mode 100644 src/views/cost_budget_detail/index.vue diff --git a/src/api/cost_budget_detail.ts b/src/api/cost_budget_detail.ts new file mode 100644 index 0000000..2c44504 --- /dev/null +++ b/src/api/cost_budget_detail.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 预算明细列表 +export function apiCostBudgetDetailLists(params: any) { + return request.get({ url: '/cost.cost_budget_detail/lists', params }) +} + +// 添加预算明细 +export function apiCostBudgetDetailAdd(params: any) { + return request.post({ url: '/cost.cost_budget_detail/add', params }) +} + +// 编辑预算明细 +export function apiCostBudgetDetailEdit(params: any) { + return request.post({ url: '/cost.cost_budget_detail/edit', params }) +} + +// 删除预算明细 +export function apiCostBudgetDetailDelete(params: any) { + return request.post({ url: '/cost.cost_budget_detail/delete', params }) +} + +// 预算明细详情 +export function apiCostBudgetDetailDetail(params: any) { + return request.get({ url: '/cost.cost_budget_detail/detail', params }) +} \ No newline at end of file diff --git a/src/api/subcontracting_contract_detail.ts b/src/api/subcontracting_contract_detail.ts new file mode 100644 index 0000000..64e39c4 --- /dev/null +++ b/src/api/subcontracting_contract_detail.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 分包合同-分包明细列表 +export function apiSubcontractingContractDetailLists(params: any) { + return request.get({ url: '/contract.subcontracting_contract_detail/lists', params }) +} + +// 添加分包合同-分包明细 +export function apiSubcontractingContractDetailAdd(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/add', params }) +} + +// 编辑分包合同-分包明细 +export function apiSubcontractingContractDetailEdit(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/edit', params }) +} + +// 删除分包合同-分包明细 +export function apiSubcontractingContractDetailDelete(params: any) { + return request.post({ url: '/contract.subcontracting_contract_detail/delete', params }) +} + +// 分包合同-分包明细详情 +export function apiSubcontractingContractDetailDetail(params: any) { + return request.get({ url: '/contract.subcontracting_contract_detail/detail', params }) +} \ No newline at end of file diff --git a/src/views/cost_budget_detail/edit.vue b/src/views/cost_budget_detail/edit.vue new file mode 100644 index 0000000..2c0fa01 --- /dev/null +++ b/src/views/cost_budget_detail/edit.vue @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/cost_budget_detail/index.vue b/src/views/cost_budget_detail/index.vue new file mode 100644 index 0000000..9ca77c1 --- /dev/null +++ b/src/views/cost_budget_detail/index.vue @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/financialManagement/expense_reimbursement_detail/index.vue b/src/views/financialManagement/expense_reimbursement_detail/index.vue index 497b33c..6bdf50c 100644 --- a/src/views/financialManagement/expense_reimbursement_detail/index.vue +++ b/src/views/financialManagement/expense_reimbursement_detail/index.vue @@ -9,7 +9,8 @@ - + @@ -65,8 +66,8 @@ import { reimbursementdetails } from '@/api/expense_reimbursement' import { timeFormat } from '@/utils/util' import feedback from '@/utils/feedback' -import EditPopup from './edit.vue' -import DetailPopup from './detail.vue' +// import EditPopup from './edit.vue' +// import DetailPopup from './detail.vue' const detailRef = shallowRef>() const editRef = shallowRef>() // 是否显示编辑框 diff --git a/src/views/subcontracting_contract_detail/index.vue b/src/views/subcontracting_contract_detail/index.vue index 57be32e..d20ef47 100644 --- a/src/views/subcontracting_contract_detail/index.vue +++ b/src/views/subcontracting_contract_detail/index.vue @@ -2,9 +2,9 @@ - + @@ -15,7 +15,7 @@ - + @@ -33,22 +33,22 @@ - + - + - + + @@ -60,10 +60,11 @@ - - - - + + + +