From 8e0b4dacb5bff5e7c47957c3c5c302ae1fa2e27c Mon Sep 17 00:00:00 2001 From: wangyan <3594713855@qq.com> Date: Fri, 19 Jan 2024 16:51:34 +0800 Subject: [PATCH] no message --- config/dev.env.js | 6 +- config/prod.env.js | 6 +- package.json | 2 +- src/api/article.js | 69 +++ src/views/generator/generator.vue | 59 ++- src/views/reimbursement/InvoiceIssuance.vue | 124 ++--- src/views/reimbursement/creatInvoice.vue | 550 ++++++++++---------- src/views/reimbursement/creatcustomer.vue | 329 ++++++++++++ src/views/reimbursement/create.vue | 4 +- src/views/reimbursement/customer.vue | 268 ++++++++++ src/views/reimbursement/list.vue | 6 +- 11 files changed, 1030 insertions(+), 393 deletions(-) create mode 100644 src/views/reimbursement/creatcustomer.vue create mode 100644 src/views/reimbursement/customer.vue diff --git a/config/dev.env.js b/config/dev.env.js index ffd004a..332f4f4 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -4,8 +4,8 @@ const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: '"development"', - BASE_API: '"http://localhost:8000"', - // BASE_API: '"http://139.224.54.200:8888"' + // BASE_API: '"http://localhost:8000"', + BASE_API: '"http://139.224.54.200:8888"' // BASE_API: '"https://api.auauz.net"' - // BASE_API: '"http://139.224.57.82:8015"' + //BASE_API: '"http://139.224.57.82:8015"' }) diff --git a/config/prod.env.js b/config/prod.env.js index d765886..6f179e7 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,7 +1,7 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - // BASE_API: '"http://139.224.54.200:8000"', - // BASE_API: '"http://139.224.54.200:8888"', - BASE_API: '"/"' + // BASE_API: '"http://139.224.54.200:8000"', +BASE_API: '"http://139.224.54.200:8888"', + // BASE_API: '"http://139.224.57.82:8015"' } diff --git a/package.json b/package.json index cd6bda5..a79acc8 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "html-webpack-plugin": "^3.0.0", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.7.2", + "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "portfinder": "1.0.16", diff --git a/src/api/article.js b/src/api/article.js index 6997b6e..777f6ff 100644 --- a/src/api/article.js +++ b/src/api/article.js @@ -7,6 +7,15 @@ export function fetchList(params) { }) } +export function cstContracts(params) { + return request({ + url: 'api/cstContracts', + method: 'get', + params + }) +} + + // 合同列表 export function contractList(params) { return request({ @@ -15,6 +24,66 @@ export function contractList(params) { params }) } + +export function addcstContracts(data) { + return request({ + url: 'api/cstContracts', + method: 'post', + data + }) +} +export function editcstContracts(data) { + return request({ + url: 'api/cstContracts', + method: 'put', + data + }) +} + +export function delcstContracts(id) { + return request({ + url: 'api/cstContracts/' + id, + + method: 'delete', + + }) +} + +export function invoicesContractInfo(params) { + return request({ + url: 'api/invoicesContractInfo', + method: 'get', + params + }) +} + + + + +export function addinvoicesContractInfo(data) { + return request({ + url: 'api/invoicesContractInfo', + method: 'post', + data + }) +} +export function editinvoicesContractInfo(data) { + return request({ + url: 'api/invoicesContractInfo', + method: 'put', + data + }) +} + +export function delinvoicesContractInfo(id) { + return request({ + url: 'api/invoicesContractInfo/' + id, + method: 'delete', + + }) +} + + // 新增合同 export function contractListAdd(data) { return request({ diff --git a/src/views/generator/generator.vue b/src/views/generator/generator.vue index 869f0c8..34a865b 100644 --- a/src/views/generator/generator.vue +++ b/src/views/generator/generator.vue @@ -1,17 +1,16 @@ - - + + - + - + @@ -159,19 +165,18 @@ export default { diff --git a/src/views/reimbursement/InvoiceIssuance.vue b/src/views/reimbursement/InvoiceIssuance.vue index f486fd5..a09de4f 100644 --- a/src/views/reimbursement/InvoiceIssuance.vue +++ b/src/views/reimbursement/InvoiceIssuance.vue @@ -3,16 +3,16 @@
- - - - + - - - - + - + + - - - + - - + - + - + - + - - + - - + - - - - - @@ -127,16 +113,16 @@ diff --git a/src/views/reimbursement/create.vue b/src/views/reimbursement/create.vue index 06a6387..c49f620 100644 --- a/src/views/reimbursement/create.vue +++ b/src/views/reimbursement/create.vue @@ -67,7 +67,7 @@ - + +
+
+ + + + + + + + 搜索 + +
+ 新增 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/src/views/reimbursement/list.vue b/src/views/reimbursement/list.vue index ab92b4f..53ed1fb 100644 --- a/src/views/reimbursement/list.vue +++ b/src/views/reimbursement/list.vue @@ -107,7 +107,7 @@ - + @@ -121,8 +121,8 @@ --> - - +