From 058b349725bc73de11c9c0a74197d32d49d434bd Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Mon, 29 Jan 2024 18:13:13 +0800
Subject: [PATCH] ad
---
src/components/contract/index.vue | 2 +-
src/components/popup/index.vue | 17 +-
src/components/supplier/index.vue | 8 +-
src/views/InvoicingRequests/edit.vue | 22 +--
src/views/InvoicingRequests/index.vue | 21 ++-
.../astatistics/components/ProjectPayment.vue | 33 +++-
.../components/ProjectWithdraw.vue | 2 +-
.../components/PurchaseContracts.vue | 2 +-
.../astatistics/components/Subcontract.vue | 2 +-
.../components/projectContracts.vue | 2 +-
src/views/bid_bidding_decision/edit.vue | 44 +++--
src/views/bid_document_examination/edit.vue | 59 ++-----
src/views/bid_result/edit.vue | 18 +-
src/views/bid_result/index.vue | 9 +-
src/views/bidbbond/edit.vue | 10 +-
src/views/bidbbond/index.vue | 3 -
src/views/competitor/edit.vue | 67 ++++----
src/views/contract/edit.vue | 158 ++++++++----------
src/views/contract/index.vue | 3 +-
src/views/contract_negotiation/edit.vue | 23 +--
src/views/customer_demand/edit.vue | 55 +++---
src/views/customer_demand_solution/edit.vue | 62 ++++---
src/views/finance_payment_plan/edit.vue | 17 +-
src/views/finance_payment_plan/index.vue | 2 -
src/views/finance_receipt_record/edit.vue | 19 +--
src/views/procurement_contract/edit.vue | 53 +++---
src/views/procurement_contract/index.vue | 1 -
src/views/project/components/manpower.vue | 155 +++++++++++++++++
src/views/project/detail.vue | 106 ------------
src/views/project_attendance_detail/edit.vue | 80 ++++-----
src/views/project_attendance_detail/index.vue | 2 -
src/views/project_attendance_record/edit.vue | 50 +++---
src/views/project_attendance_record/index.vue | 5 -
src/views/project_cost_budget/edit.vue | 1 -
src/views/project_cost_budget/index.vue | 7 +-
src/views/project_estimate/edit.vue | 93 ++++++-----
.../project_insurance_management/edit.vue | 75 +++++----
.../project_insurance_management/index.vue | 17 +-
.../project_labor_budget_detail/edit.vue | 3 +-
src/views/project_labor_contract/edit.vue | 73 ++++----
.../project_list/components/Business.vue | 39 +++--
.../project_list/components/Collection.vue | 31 ++--
.../project_list/components/contract.vue | 11 +-
.../project_list/components/manpower.vue | 42 +++--
src/views/project_list/components/myTable.vue | 6 +-
src/views/project_list/components/payment.vue | 32 ++--
.../project_list/components/procurement.vue | 6 +-
.../project_list/components/subcontract.vue | 10 +-
src/views/project_list/components/tender.vue | 45 ++---
src/views/project_list/detail.vue | 14 +-
src/views/project_list/index.vue | 22 ---
src/views/project_material_budget/detail.vue | 22 ++-
src/views/project_personnel/edit.vue | 41 ++---
src/views/project_personnel/index.vue | 14 +-
src/views/project_salary_payment/edit.vue | 59 ++++---
src/views/project_salary_payment/index.vue | 2 -
src/views/project_settlement/detail.vue | 23 ++-
src/views/project_settlement/index.vue | 3 +-
.../project_subcontract_settlement/detail.vue | 14 +-
.../project_subcontract_settlement/index.vue | 3 +-
src/views/recordsPayment/edit.vue | 20 +--
src/views/refund/edit.vue | 29 ++--
src/views/remittance/edit.vue | 24 +--
src/views/subcontracting_contract/edit.vue | 64 ++++---
.../edit.vue | 23 +--
.../index.vue | 2 -
66 files changed, 973 insertions(+), 1009 deletions(-)
create mode 100644 src/views/project/components/manpower.vue
diff --git a/src/components/contract/index.vue b/src/components/contract/index.vue
index 8fe452e..80044b2 100644
--- a/src/components/contract/index.vue
+++ b/src/components/contract/index.vue
@@ -75,7 +75,7 @@
-
+
diff --git a/src/components/popup/index.vue b/src/components/popup/index.vue
index 726f89f..beb129a 100644
--- a/src/components/popup/index.vue
+++ b/src/components/popup/index.vue
@@ -4,15 +4,8 @@
-
+
{{ title }}
@@ -24,11 +17,7 @@
{{ cancelButtonText }}
-
+
{{ confirmButtonText }}
diff --git a/src/components/supplier/index.vue b/src/components/supplier/index.vue
index 5112f62..9a4daca 100644
--- a/src/components/supplier/index.vue
+++ b/src/components/supplier/index.vue
@@ -43,11 +43,15 @@
import { usePaging } from "@/hooks/usePaging"
import { useDictData } from "@/hooks/useDictOptions"
import { apisupplierLists } from '@/api/suppler_list'
-import { defineEmits } from "vue"
+import { defineEmits, defineProps } from "vue"
+let props = defineProps({
+ project_id: Number
+})
// 查询条件
const queryParams = reactive({
- name: ''
+ name: '',
+ project_id: props.project_id
});
const { dictData } = useDictData('supplier_grade,supplier_group,supplier_category,sex')
diff --git a/src/views/InvoicingRequests/edit.vue b/src/views/InvoicingRequests/edit.vue
index d79b7a2..831ccc7 100644
--- a/src/views/InvoicingRequests/edit.vue
+++ b/src/views/InvoicingRequests/edit.vue
@@ -225,7 +225,7 @@
-
+
@@ -247,6 +247,8 @@ import type { PropType } from 'vue'
import configs from "@/config"
import useUserStore from "@/stores/modules/user";
import { computed } from "vue"
+import { useDictData } from '@/hooks/useDictOptions'
+const { dictData } = useDictData('pay_period,invoice_type,tax_rate')
const base_url = configs.baseUrl + configs.urlPrefix
const userStore = useUserStore();
@@ -288,13 +290,6 @@ const checkPhone = (rule: any, value: any, callback: (arg0: Error) => any) => {
}
const userEmail = (rule: any, value: string, callback: (arg0: Error | undefined) => void) => {
-
- // const mailReg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/
- // // if (!value) {
- // // return callback(new Error('邮箱不能为空'))
- // // }
-
-
if (value && !mailReg.test(value)) {
callback(new Error('请输入正确的邮箱格式'))
} else {
@@ -313,12 +308,13 @@ let invoicing_amount_daxie = computed(() => {
const delFileFn = (index: number) => {
formDataannex.splice(index, 1)
}
-defineProps({
- dictData: {
- type: Object as PropType>,
- default: () => ({})
- }
+
+
+let props = defineProps({
+ project: Object
})
+
+
const emit = defineEmits(['success', 'close'])
const formRef = shallowRef()
const popupRef = shallowRef>()
diff --git a/src/views/InvoicingRequests/index.vue b/src/views/InvoicingRequests/index.vue
index 0b35299..5b1fda5 100644
--- a/src/views/InvoicingRequests/index.vue
+++ b/src/views/InvoicingRequests/index.vue
@@ -3,7 +3,8 @@
-
+
@@ -15,7 +16,8 @@
-
+
@@ -33,7 +35,8 @@
新增
-
+
删除
@@ -44,25 +47,25 @@
-
-
-
-
+
编辑
-
+
删除
-
+
详情
diff --git a/src/views/astatistics/components/ProjectPayment.vue b/src/views/astatistics/components/ProjectPayment.vue
index db98888..a787423 100644
--- a/src/views/astatistics/components/ProjectPayment.vue
+++ b/src/views/astatistics/components/ProjectPayment.vue
@@ -27,9 +27,6 @@ const year = ref(new Date().getFullYear())
const showChart = ref(true)
-/* 楚子航心里微微一动,点开了那个链接,进入一个漆黑的博客页面,博客的主人似乎开通就没有更新过。楚子航对着那个页面思考了片刻,忽然同时按下“Ctrl”和“A”键,这个键组合是“全选”,页面
-上的全部文字都被选择并变色,于是隐藏在黑背景里的黑色文字浮现了出来:“你需要有一张交通卡,一日之间在一线和环线上的每个地铁站进入各一次,每次都要刷这张卡,然后你就会看见卡片变成金色的。
-刷这张地铁卡,就能到达隐藏的站点。”*/
const customList = reactive([
{
@@ -40,11 +37,16 @@ const customList = reactive([
name: "年度回款金额",
value: 3
},
+ {
+ name: "年度未回款金额",
+ value: 3
+ },
{
name: "年度回款计划金额",
value: 3
},
+
])
const labelOption = {
@@ -63,8 +65,7 @@ const initChart = (id, opt) => {
const getCustom = async () => {
showChart.value = false
-
- let res = await apistatisticsprojectRefund()
+ let res = await apistatisticsprojectRefund({ year: year.value })
showChart.value = true
await nextTick()
var option4 = {
@@ -76,7 +77,7 @@ const getCustom = async () => {
},
legend: {
data: [res.invoice_series.name, res.refund_plan_series.name, res.refund_series
- .name,]
+ .name, res.not_refund_series.name,]
},
toolbox: {
show: true,
@@ -144,16 +145,30 @@ const getCustom = async () => {
}
}
},
-
+ {
+ name: res.not_refund_series.name,
+ type: 'bar',
+ label: labelOption,
+ emphasis: {
+ focus: 'series'
+ },
+ data: res.not_refund_series.data,
+ itemStyle: {
+ normal: {
+ label: {
+ }
+ }
+ }
+ },
]
};
initChart("ProjectPayment", option4)
customList[0].value = res.year_invoicing_amount
customList[1].value = res.year_refund_amount
- customList[2].value = res.year_refund_plan_amount
+ customList[2].value = res.year_not_refund_amount
+ customList[3].value = res.year_refund_plan_amount
}
-
getCustom()
+}
diff --git a/src/views/project_personnel/edit.vue b/src/views/project_personnel/edit.vue
index 83cdc6a..9548ed3 100644
--- a/src/views/project_personnel/edit.vue
+++ b/src/views/project_personnel/edit.vue
@@ -9,13 +9,13 @@
-
+
-
+
@@ -51,13 +51,14 @@
-
+
-
+
@@ -116,25 +117,16 @@