From 284444f08f2cb7a2c30e68a847632d88debbbb8c Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Tue, 16 Apr 2024 13:45:56 +0800
Subject: [PATCH] add
---
src/install/directives/type.ts | 2 ++
src/views/InvoicingRequests/edit.vue | 3 ++-
src/views/administrative_payments/edit.vue | 2 +-
src/views/bank_account/edit.vue | 2 +-
src/views/bid_industry_analysis/index.vue | 2 +-
src/views/bid_project_status/index.vue | 22 ++++++++++++++-----
src/views/bidbbond/edit.vue | 2 +-
src/views/expense_reimbursement/edit.vue | 2 +-
src/views/finance_payment_apply/edit.vue | 2 +-
src/views/finance_refund_record/edit.vue | 3 ++-
src/views/financial_bid_margin/edit.vue | 3 ++-
.../financial_bid_margin_recovery/edit.vue | 3 ++-
.../financial_expense_reimbursement/edit.vue | 3 +--
src/views/financial_invoice/edit.vue | 6 ++---
.../edit.vue | 5 +++--
src/views/financial_refund/edit.vue | 19 ++++++++--------
src/views/financial_using_funds/edit.vue | 2 +-
src/views/marketing_custom/edit.vue | 13 +++++------
.../project_expense_reimbursement/edit.vue | 5 +++--
src/views/project_loan_apply/edit.vue | 4 ++--
.../project_travel_reimbursement/edit.vue | 5 +++--
src/views/recordsPayment/edit.vue | 2 +-
src/views/refund/edit.vue | 5 +++--
src/views/refundbidDeposit/edit.vue | 2 +-
src/views/refundbidDeposit/index.vue | 3 ++-
src/views/supplier/edit.vue | 3 ++-
src/views/zjzx_invoice/edit.vue | 3 ++-
27 files changed, 74 insertions(+), 54 deletions(-)
diff --git a/src/install/directives/type.ts b/src/install/directives/type.ts
index fff3432..471bd27 100644
--- a/src/install/directives/type.ts
+++ b/src/install/directives/type.ts
@@ -14,6 +14,8 @@ export default {
event.target.value = event.target.value.replace(/[\u4e00-\u9fa5]/g, "");
} else if (value == "unit") {
event.target.value = event.target.value.replace(/\d+/g, "");
+ } else if (value == "account") {
+ event.target.value = event.target.value.match(/\d/g).join("");
}
});
},
diff --git a/src/views/InvoicingRequests/edit.vue b/src/views/InvoicingRequests/edit.vue
index f44e2be..d33ea89 100644
--- a/src/views/InvoicingRequests/edit.vue
+++ b/src/views/InvoicingRequests/edit.vue
@@ -142,7 +142,8 @@
-
+
diff --git a/src/views/administrative_payments/edit.vue b/src/views/administrative_payments/edit.vue
index 55d37bb..1a00c06 100644
--- a/src/views/administrative_payments/edit.vue
+++ b/src/views/administrative_payments/edit.vue
@@ -141,7 +141,7 @@
-
+
diff --git a/src/views/bank_account/edit.vue b/src/views/bank_account/edit.vue
index 55e879f..493a6f7 100644
--- a/src/views/bank_account/edit.vue
+++ b/src/views/bank_account/edit.vue
@@ -28,7 +28,7 @@
-
+
diff --git a/src/views/bid_industry_analysis/index.vue b/src/views/bid_industry_analysis/index.vue
index 89fd4c6..58e3874 100644
--- a/src/views/bid_industry_analysis/index.vue
+++ b/src/views/bid_industry_analysis/index.vue
@@ -131,7 +131,7 @@ let option3 = {
},
series: [
{
- name: 'Access From',
+ // name: 'Access From',
type: 'pie',
radius: '50%',
data: [
diff --git a/src/views/bid_project_status/index.vue b/src/views/bid_project_status/index.vue
index 5c31b39..24f6d51 100644
--- a/src/views/bid_project_status/index.vue
+++ b/src/views/bid_project_status/index.vue
@@ -15,7 +15,7 @@
- 投标项目状态明细表
+ {{ title }}
@@ -30,7 +30,8 @@ import { apibid_project_status, apibid_project_number, apibid_project_analysis }
const route = useRoute()
var chartDom: any;
var option: any;
-var myChart: any
+var myChart: any;
+var title = ref('');
const chartWitdth = ref(1000)
const chartHeight = ref(500)
@@ -212,7 +213,6 @@ const initChart = () => {
const changeChartType = (e: any) => {
- console.log(chartData, 'chartData')
switch (e) {
case 1:
option1.xAxis.data = chartData.data.map(item => item.name)
@@ -245,9 +245,19 @@ const chartResize = () => {
onMounted(() => {
chartDom = document.getElementById('main');
- if (route.path.includes('bid_project_status')) getData(apibid_project_status);
- if (route.path.includes('bid_project_number')) getData(apibid_project_number);
- if (route.path.includes('bid_project_analysis')) getData(apibid_project_analysis);
+ if (route.path.includes('bid_project_status')) {
+ getData(apibid_project_status)
+ title.value = '投标项目状态明细表'
+ }
+ else if (route.path.includes('bid_project_number')) {
+ getData(apibid_project_number);
+ title.value = '投标项目数量明细表';
+ }
+ else if (route.path.includes('bid_project_analysis')) {
+ getData(apibid_project_analysis);
+ title.value = '投标项目分析';
+
+ };
})
diff --git a/src/views/bidbbond/edit.vue b/src/views/bidbbond/edit.vue
index b1fc7ff..d25383a 100644
--- a/src/views/bidbbond/edit.vue
+++ b/src/views/bidbbond/edit.vue
@@ -91,7 +91,7 @@
-
+
diff --git a/src/views/expense_reimbursement/edit.vue b/src/views/expense_reimbursement/edit.vue
index 56d6b61..6fb9ac7 100644
--- a/src/views/expense_reimbursement/edit.vue
+++ b/src/views/expense_reimbursement/edit.vue
@@ -81,7 +81,7 @@
-
+
diff --git a/src/views/finance_payment_apply/edit.vue b/src/views/finance_payment_apply/edit.vue
index d9e6b31..6bcf614 100644
--- a/src/views/finance_payment_apply/edit.vue
+++ b/src/views/finance_payment_apply/edit.vue
@@ -147,7 +147,7 @@
-
+
diff --git a/src/views/finance_refund_record/edit.vue b/src/views/finance_refund_record/edit.vue
index 02cb461..e724404 100644
--- a/src/views/finance_refund_record/edit.vue
+++ b/src/views/finance_refund_record/edit.vue
@@ -121,7 +121,8 @@
-
+
diff --git a/src/views/financial_bid_margin/edit.vue b/src/views/financial_bid_margin/edit.vue
index 5da189f..f704f5b 100644
--- a/src/views/financial_bid_margin/edit.vue
+++ b/src/views/financial_bid_margin/edit.vue
@@ -30,7 +30,8 @@
-
+
diff --git a/src/views/financial_bid_margin_recovery/edit.vue b/src/views/financial_bid_margin_recovery/edit.vue
index 6d90c0a..0cbe06f 100644
--- a/src/views/financial_bid_margin_recovery/edit.vue
+++ b/src/views/financial_bid_margin_recovery/edit.vue
@@ -40,7 +40,8 @@
-
+
diff --git a/src/views/financial_expense_reimbursement/edit.vue b/src/views/financial_expense_reimbursement/edit.vue
index 0816305..34e1957 100644
--- a/src/views/financial_expense_reimbursement/edit.vue
+++ b/src/views/financial_expense_reimbursement/edit.vue
@@ -56,12 +56,11 @@
-
-
+
diff --git a/src/views/financial_invoice/edit.vue b/src/views/financial_invoice/edit.vue
index 16f3e46..25d81e1 100644
--- a/src/views/financial_invoice/edit.vue
+++ b/src/views/financial_invoice/edit.vue
@@ -1,7 +1,6 @@