From 2494e0b704a0394baf57b6c3d771dfad829aa148 Mon Sep 17 00:00:00 2001 From: "271556543@qq.com" <271556543@qq.com> Date: Sat, 30 Jul 2022 22:08:24 +0800 Subject: [PATCH] 2022.7.30 --- .env.development | 2 +- src/api/budget/budget.js | 8 + src/components/XyTable/index.vue | 10 +- src/views/budget/budgetList.vue | 4 +- .../contractPaymentRegistration.vue | 92 +++++ .../contract/components/contractSign.vue | 31 +- .../contract/components/detailContract.vue | 9 +- .../components/detailContractSign.vue | 4 +- .../components/detailPaymentRegistration.vue | 288 +++++++++++++ .../contract/components/editorContract.vue | 6 +- .../components/examineRegistration.vue | 2 +- .../components/paymentRegistration.vue | 48 ++- .../contract/components/printRegistration.vue | 69 +--- src/views/contract/contractList.vue | 164 ++++++-- src/views/contract/paymentPlan.vue | 49 ++- .../contract/paymentRegistrationList.vue | 50 ++- src/views/dashboard/index.vue | 6 +- .../components/examineRegistration.vue | 386 ++++++++++++++++++ src/views/finance/paymentRegistrationList.vue | 149 +++++++ .../statisticalReport/budgetProgress.vue | 137 ++++++- vue.config.js | 7 + 21 files changed, 1357 insertions(+), 164 deletions(-) create mode 100644 src/views/contract/components/contractPaymentRegistration.vue create mode 100644 src/views/contract/components/detailPaymentRegistration.vue create mode 100644 src/views/finance/components/examineRegistration.vue create mode 100644 src/views/finance/paymentRegistrationList.vue diff --git a/.env.development b/.env.development index 7f51ce9..c12a781 100644 --- a/.env.development +++ b/.env.development @@ -2,5 +2,5 @@ ENV = 'development' # base api -VUE_APP_BASE_API = '' +VUE_APP_BASE_API = http://hdcontract.ali251.langye.net VUE_APP_OUT_URL = http://suzhouhedaooa.langye.net diff --git a/src/api/budget/budget.js b/src/api/budget/budget.js index 79d652e..7dda48f 100644 --- a/src/api/budget/budget.js +++ b/src/api/budget/budget.js @@ -39,3 +39,11 @@ export function detailBudget(params){ params }) } + +export function getProgress(params){ + return request({ + method:'get', + url:'/api/admin/plan/progress', + params + }) +} diff --git a/src/components/XyTable/index.vue b/src/components/XyTable/index.vue index fd58382..6077874 100644 --- a/src/components/XyTable/index.vue +++ b/src/components/XyTable/index.vue @@ -89,6 +89,9 @@ export default { selectClick(selection, row){ this.$emit('select',selection, row) }, + cellClick(row, column, cell){ + this.$emit('cellClick',row, column, cell) + }, createIndexRow(){ return }, @@ -110,7 +113,7 @@ export default { mounted() { }, render(h) { - let {btnWidth,selectClick,height,createIndexRow,tableStyle,treeProps,showSummary,showHeader,$scopedSlots,showIndex,defaultExpandAll,headerCellStyle,headerRowStyle,rowStyle,cellStyle,indent,tableHeight,tableItem,list,deleteClick,editorClick} = this + let {cellClick,btnWidth,selectClick,height,createIndexRow,tableStyle,treeProps,showSummary,showHeader,$scopedSlots,showIndex,defaultExpandAll,headerCellStyle,headerRowStyle,rowStyle,cellStyle,indent,tableHeight,tableItem,list,deleteClick,editorClick} = this return (
{ tableItem && tableItem.length>0 ? @@ -132,7 +135,7 @@ export default { default-expand-all={defaultExpandAll} tree-props={treeProps} fit={true} - on={{['select']:selectClick}}> + on={{['select']:selectClick,['cell-click']:cellClick}}> { //序号 showIndex ? createIndexRow() : '' @@ -213,7 +216,8 @@ export default { label={item.label} prop={item.prop} sortable={item.sortable ?? true} - type={item.type ?? ''}> + type={item.type ?? ''} + selectable={item.selectable}> ) } diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue index 84384e1..6610279 100644 --- a/src/views/budget/budgetList.vue +++ b/src/views/budget/budgetList.vue @@ -6,7 +6,7 @@
年份 - + @@ -295,7 +295,7 @@ export default { width: 180 }, { - label:'金额', + label:'项目金额(元)', prop:'money', align:'right', width: 160 diff --git a/src/views/contract/components/contractPaymentRegistration.vue b/src/views/contract/components/contractPaymentRegistration.vue new file mode 100644 index 0000000..e8f1c70 --- /dev/null +++ b/src/views/contract/components/contractPaymentRegistration.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/src/views/contract/components/contractSign.vue b/src/views/contract/components/contractSign.vue index 9b99a3f..55c309f 100644 --- a/src/views/contract/components/contractSign.vue +++ b/src/views/contract/components/contractSign.vue @@ -10,6 +10,16 @@
+