From 7f3f239e1daff702a0d520351101317b6046781e Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Mon, 18 Aug 2025 11:58:36 +0800 Subject: [PATCH] banner --- src/views/budget/budgetList.vue | 44 +- src/views/budget/seeBudget.vue | 4 +- .../contract/components/contractSign.vue | 415 ++++----- src/views/contract/contractList.vue | 14 +- src/views/contract/paymentPlan.vue | 28 +- src/views/contract/seeContract.vue | 302 +++--- src/views/dashboard/index.vue | 870 +++++++++--------- src/views/finance/financialEvaluation.vue | 2 +- .../statisticalReport/budgetProgress.vue | 20 +- src/views/statisticalReport/govProcure.vue | 8 +- 10 files changed, 862 insertions(+), 845 deletions(-) diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue index 63d685a..0a992a2 100644 --- a/src/views/budget/budgetList.vue +++ b/src/views/budget/budgetList.vue @@ -467,6 +467,7 @@ :rules="rules" title="编辑" type="form" + @submit="editorTable" > - + // @@ -673,8 +674,8 @@ import { listdeptNoAuth } from '@/api/system/department' import { Message } from 'element-ui' import { parseTime, moneyFormatter, moneyRecovery } from '@/utils' import { getparameter } from '@/api/system/dictionary' -import { - index as getPlanType +import { + index as getPlanType } from '@/api/budget/plantype.js' import { mergeTableRow } from '@/utils/mergeTableRow' import { @@ -1078,13 +1079,13 @@ export default { department_id: item }) }) - + console.log(this.form) addBudget({ name: this.form.name, type: this.form.type, year: this.form.year, content: this.form.content, - money: moneyRecovery(this.form.money), + money:this.form.money? moneyRecovery(this.form.money):'', plan_department_id: this.form.department, plan_department_links: plan_department_links, remark: this.form.remark, @@ -1115,9 +1116,10 @@ export default { // 修改 editorTable() { - this.$refs['editorDialog'].$refs['elForm'] - .validate() - .then((res) => { + console.log(this.editorForm) + // this.$refs['editorDialog'].$refs['elForm'] + // .validate() + // .then((res) => { if (this.editorForm.plan_department_link_id.length == 0) { Message({ message: '请选择可用部门', @@ -1137,8 +1139,8 @@ export default { type: this.editorForm.type, year: this.editorForm.year, content: this.editorForm.content, - money: moneyRecovery(this.editorForm.money), - update_money: moneyRecovery(this.editorForm.update_money), + money: this.editorForm.money? moneyRecovery(this.editorForm.money):'', + update_money: this.editorForm.update_money? moneyRecovery(this.editorForm.update_money):'', remark: this.editorForm.remark, plan_department_id: this.editorForm.department, plan_department_links: plan_department_links @@ -1150,13 +1152,13 @@ export default { }) this.getBudgets() }) - }) - .catch((err) => { - this.$message({ - message: '请填写完整信息', - type: 'error' - }) - }) + // }) + // .catch((err) => { + // this.$message({ + // message: '请填写完整信息', + // type: 'error' + // }) + // }) }, showEditor(row) { this.checkArr = [] @@ -1217,7 +1219,7 @@ export default { z-index: 2; } } - ::v-deep .el-checkbox__input .el-checkbox__inner { - border-radius: 50%; + ::v-deep .el-checkbox__input .el-checkbox__inner { + border-radius: 50%; } diff --git a/src/views/budget/seeBudget.vue b/src/views/budget/seeBudget.vue index 32fee26..7113886 100644 --- a/src/views/budget/seeBudget.vue +++ b/src/views/budget/seeBudget.vue @@ -147,7 +147,7 @@ export default { table: [{ label: '隶属项目', prop: 'pid_info_name', - width: 200, + width: 120, align: 'left', sortable: false, fixed: 'left' @@ -155,7 +155,7 @@ export default { { label: '项目名称', prop: 'name', - width: 200, + width: 260, align: 'left', sortable: false, fixed: 'left' diff --git a/src/views/contract/components/contractSign.vue b/src/views/contract/components/contractSign.vue index 5aa5a13..64cafae 100644 --- a/src/views/contract/components/contractSign.vue +++ b/src/views/contract/components/contractSign.vue @@ -136,123 +136,124 @@ style="width: 300px;" /> - - - + + - - - - - - - - - - + --> + + + + + + + + + + + + + + + + +