diff --git a/src/api/budget/budget.js b/src/api/budget/budget.js index 7dda48f..0804ff2 100644 --- a/src/api/budget/budget.js +++ b/src/api/budget/budget.js @@ -47,3 +47,44 @@ export function getProgress(params){ params }) } + + +export function paidIndex (params) { + return request({ + method: 'get', + url: '/api/admin/paid-plan/index', + params + }) +} + +export function paidShow (params) { + return request({ + method: 'get', + url: '/api/admin/paid-plan/show', + params + }) +} + +export function paidStore (data) { + return request({ + method: 'post', + url: '/api/admin/paid-plan/store', + data + }) +} + +export function paidSave (data) { + return request({ + method: 'post', + url: '/api/admin/paid-plan/save', + data + }) +} + +export function paidDestroy (params) { + return request({ + method: 'get', + url: '/api/admin/paid-plan/destroy', + params + }) +} diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index 9490ad0..f185beb 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -59,6 +59,7 @@ export default { return } this.$refs['elForm'].resetFields() + this.$emit('reset') }, submit(){ if(this.type === 'normal'){ diff --git a/src/views/budget/component/payPlan.vue b/src/views/budget/component/payPlan.vue new file mode 100644 index 0000000..e7daf6d --- /dev/null +++ b/src/views/budget/component/payPlan.vue @@ -0,0 +1,317 @@ + + + + + diff --git a/src/views/budget/seeBudget.vue b/src/views/budget/seeBudget.vue index 97481b6..6737d5d 100644 --- a/src/views/budget/seeBudget.vue +++ b/src/views/budget/seeBudget.vue @@ -31,7 +31,7 @@ - @@ -41,13 +41,19 @@
+ + @@ -68,8 +74,13 @@ } from "@/utils" import { mergeTableRow - } from "@/utils/mergeTableRow" + } from "@/utils/mergeTableRow"; + + import payPlan from './component/payPlan.vue' export default { + components: { + payPlan + }, data() { return { isShowAdd: false, diff --git a/src/views/finance/components/addPropertyPlan.vue b/src/views/finance/components/addPropertyPlan.vue index 75f93ea..f0c9f5b 100644 --- a/src/views/finance/components/addPropertyPlan.vue +++ b/src/views/finance/components/addPropertyPlan.vue @@ -97,7 +97,7 @@ - +
-
@@ -273,6 +274,7 @@ export default { ], detail: {}, rowName: "", + tempRow: {}, form: { plan_id: "", state: 0,