소스 검색

bug修复、添加权限

chenrui 3 년 전
부모
커밋
762d123e86
4개의 변경된 파일177개의 추가작업 그리고 220개의 파일을 삭제
  1. 1 1
      src/api/allocateBill.js
  2. 174 217
      src/config/router.config.js
  3. 1 1
      src/views/allocationManagement/transferOut/detail.vue
  4. 1 1
      src/views/allocationManagement/transferOut/edit.vue

+ 1 - 1
src/api/allocateBill.js

@@ -106,7 +106,7 @@ export const allocateBillDetailSave = params => {
 // 调拨管理 详情  打印
 export const allocateBillDetailPrint = params => {
   return axios.request({
-    url: `allocateBill/print/${params.sn}`,
+    url: `allocateBill/print/${params.sn}/${params.isPreview}`,
     method: 'get',
     responseType: 'blob'
   })

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 174 - 217
src/config/router.config.js


+ 1 - 1
src/views/allocationManagement/transferOut/detail.vue

@@ -135,7 +135,7 @@ export default {
     handlePrint (type) {
       const _this = this
       _this.spinning = true
-      allocateBillDetailPrint({ sn: this.$route.params.sn }).then(res => {
+      allocateBillDetailPrint({ sn: this.$route.params.sn, isPreview: type == 'preview' ? 1 : 0 }).then(res => {
         _this.spinning = false
         if (res.type == 'application/json') {
           var reader = new FileReader()

+ 1 - 1
src/views/allocationManagement/transferOut/edit.vue

@@ -400,7 +400,7 @@ export default {
     handlePrint (type) {
       const _this = this
       _this.spinning = true
-      allocateBillDetailPrint({ sn: this.$route.params.sn }).then(res => {
+      allocateBillDetailPrint({ sn: this.$route.params.sn, isPreview: type == 'preview' ? 1 : 0 }).then(res => {
         _this.spinning = false
         if (res.type == 'application/json') {
           var reader = new FileReader()

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.