diff --git a/package.json b/package.json index 93da817..fd16603 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "path-to-regexp": "2.4.0", "view-design": "^4.7.0", "vue": "2.6.10", + "vue-print-nb": "^1.7.5", "vue-router": "3.0.6", "vuex": "3.1.0", "wangeditor": "^4.7.12" diff --git a/src/api/contractSign/contractSign.js b/src/api/contractSign/contractSign.js index c4177f6..31f07d1 100644 --- a/src/api/contractSign/contractSign.js +++ b/src/api/contractSign/contractSign.js @@ -7,3 +7,4 @@ export function addContractSign(data){ data }) } + diff --git a/src/api/dashboard/notice.js b/src/api/dashboard/notice.js index ee08ff5..d1a0038 100644 --- a/src/api/dashboard/notice.js +++ b/src/api/dashboard/notice.js @@ -7,3 +7,11 @@ export function getNotice(params){ params }) } + +export function readNotice(params){ + return request({ + method:'get', + url:'/api/admin/notice/has-read', + params + }) +} diff --git a/src/api/paymentRegistration/fundLog.js b/src/api/paymentRegistration/fundLog.js index e60fb0d..efcc4c9 100644 --- a/src/api/paymentRegistration/fundLog.js +++ b/src/api/paymentRegistration/fundLog.js @@ -15,3 +15,27 @@ export function addFundLog(data){ data }) } + +export function delFundLog(params){ + return request({ + method:'get', + url:'/api/admin/fund_log/destroy', + params + }) +} + +export function detailFundLog(params){ + return request({ + method:'get', + url:'/api/admin/fund_log/show', + params + }) +} + +export function editorFundLog(data){ + return request({ + method:"post", + url:"/api/admin/fund_log/save", + data + }) +} diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index cc40bd1..7c31061 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -130,7 +130,7 @@ export default { }, footer(){ { - return ($scopedSlots.footerContent ? $scopedSlots.footerContent() : footerRender()) + if(type === 'form') return ($scopedSlots.footerContent ? $scopedSlots.footerContent() : footerRender()) } } }}> @@ -151,8 +151,8 @@ export default { } } .ivu-modal-body{ - height: 70vh !important; - min-height: 400px; + max-height: 65vh !important; + min-height: 300px; overflow-y: scroll; } diff --git a/src/main.js b/src/main.js index 008b0b6..12ce8e2 100644 --- a/src/main.js +++ b/src/main.js @@ -42,6 +42,10 @@ import xyDialog from "@/components/XyDialog" Vue.component('xy-dialog',xyDialog) Vue.config.productionTip = false + +import Print from "vue-print-nb" +Vue.use(Print) + new Vue({ el: '#app', router, diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue index 13124c3..732d9b5 100644 --- a/src/views/budget/budgetList.vue +++ b/src/views/budget/budgetList.vue @@ -50,7 +50,7 @@