mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化打印404 问题
This commit is contained in:
parent
1cd49b7222
commit
f5128ddefc
@ -66,7 +66,7 @@ export default {
|
||||
feeReceipts: [],
|
||||
payObjId: '',
|
||||
selectReceipts: [],
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
},
|
||||
currentPage: 1,
|
||||
pageSize: 10,
|
||||
@ -141,7 +141,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptIds = this.contractDetailReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/print.html#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
window.open(`/#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
},
|
||||
_printFeeSmallReceipt() {
|
||||
if (this.contractDetailReceiptInfo.selectReceipts.length < 1) {
|
||||
@ -149,7 +149,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptIds = this.contractDetailReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
},
|
||||
_listFeePrintPages() {
|
||||
const param = {
|
||||
|
||||
@ -61,7 +61,7 @@ export default {
|
||||
authCode: '',
|
||||
feePrices: '',
|
||||
detailIds: '',
|
||||
printUrl: '/print.html#/pages/property/printPayFee',
|
||||
printUrl: '/#/pages/property/printPayFee',
|
||||
accountAmount: '',
|
||||
acctId: ''
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ export default {
|
||||
records: 0,
|
||||
selectReceipts: [],
|
||||
quan: false,
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
},
|
||||
currentPage: 1,
|
||||
pageSize: 10
|
||||
@ -125,7 +125,7 @@ export default {
|
||||
}
|
||||
|
||||
const receiptIds = this.feeDetailReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/print.html#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
window.open(`/#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
},
|
||||
_printFeeSmallReceipt() {
|
||||
if (this.feeDetailReceiptInfo.selectReceipts.length < 1) {
|
||||
@ -134,7 +134,7 @@ export default {
|
||||
}
|
||||
|
||||
const receiptIds = this.feeDetailReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
},
|
||||
checkAllReceipt(e) {
|
||||
if (e) {
|
||||
|
||||
@ -31,7 +31,7 @@ export default {
|
||||
return {
|
||||
dialogVisible: false,
|
||||
receiptId: '',
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@ -87,7 +87,7 @@ export default {
|
||||
window.open(`${this.printUrl}?receiptId=${this.receiptId}&merge=${merge}`)
|
||||
},
|
||||
printSmallAndBack() {
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptId=${this.receiptId}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptId=${this.receiptId}`)
|
||||
},
|
||||
back() {
|
||||
this.close()
|
||||
|
||||
@ -60,7 +60,7 @@ export default {
|
||||
this.visible = false
|
||||
},
|
||||
_openPrintOweFeePage() {
|
||||
window.open(`/print.html#/pages/property/printOweFee?payObjId=${this.printOwnFeeInfo.payObjId
|
||||
window.open(`/#/pages/property/printOweFee?payObjId=${this.printOwnFeeInfo.payObjId
|
||||
}&payObjType=${this.printOwnFeeInfo.payObjType
|
||||
}&payObjName=${encodeURIComponent(this.printOwnFeeInfo.payObjName)
|
||||
}&targetEndTime=${this.printOwnFeeInfo.targetEndTime}`)
|
||||
|
||||
@ -153,7 +153,7 @@ export default {
|
||||
}
|
||||
},
|
||||
_printOwnOrder() {
|
||||
window.open(`/print.html#/pages/property/printOweFee?payObjId=${this.simplifyCallableInfo.roomId}&payObjType=3333&payObjName=${this.simplifyCallableInfo.roomName}`)
|
||||
window.open(`/#/pages/property/printOweFee?payObjId=${this.simplifyCallableInfo.roomId}&payObjType=3333&payObjName=${this.simplifyCallableInfo.roomName}`)
|
||||
},
|
||||
_openWritePrintOweFeeCallableModal() {
|
||||
if (!this.simplifyCallableInfo.roomId) {
|
||||
|
||||
@ -127,7 +127,7 @@ export default {
|
||||
ownerFlag: 'F',
|
||||
contractId: '',
|
||||
quan: false,
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
},
|
||||
currentPage: 1,
|
||||
pageSize: 10,
|
||||
@ -219,7 +219,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptids = this.simplifyFeeReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/print.html#/pages/property/printPayFee?receiptIds=${receiptids}&apply=Y`)
|
||||
window.open(`/#/pages/property/printPayFee?receiptIds=${receiptids}&apply=Y`)
|
||||
},
|
||||
_printFeeSmallReceipt() {
|
||||
if (this.simplifyFeeReceiptInfo.selectReceipts.length < 1) {
|
||||
@ -227,7 +227,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptids = this.simplifyFeeReceiptInfo.selectReceipts.join(',')
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptIds=${receiptids}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptIds=${receiptids}`)
|
||||
},
|
||||
clearSimplifyFeeReceiptInfo() {
|
||||
this.simplifyFeeReceiptInfo = {
|
||||
@ -247,7 +247,7 @@ export default {
|
||||
ownerFlag: 'F',
|
||||
contractId: '',
|
||||
quan: false,
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
}
|
||||
},
|
||||
async _changeSimplifyFeeReceiptFeeTypeCd(objType) {
|
||||
|
||||
@ -123,7 +123,7 @@ export default {
|
||||
this.$refs.form.resetFields()
|
||||
},
|
||||
handlePrint() {
|
||||
window.open(`/print.html#/pages/property/printEquipmentAccountLabel?machineId=${this.formData.machineId}&qty=${this.formData.printQty}`)
|
||||
window.open(`/#/pages/property/printEquipmentAccountLabel?machineId=${this.formData.machineId}&qty=${this.formData.printQty}`)
|
||||
this.dialogVisible = false
|
||||
}
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const arIds = selected.map(item => item.arId).join(',')
|
||||
window.open(`/print.html#/pages/property/printAccountReceipt?arIds=${arIds}&apply=N`)
|
||||
window.open(`/#/pages/property/printAccountReceipt?arIds=${arIds}&apply=N`)
|
||||
},
|
||||
_printFeeSmallAccountReceipt() {
|
||||
const selected = this.ownerDetailAccountReceiptInfo.feeReceipts.filter(item => item.checked)
|
||||
@ -105,7 +105,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const arIds = selected.map(item => item.arId).join(',')
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallAccountReceipt?arIds=${arIds}`)
|
||||
window.open(`/#/pages/property/printSmallAccountReceipt?arIds=${arIds}`)
|
||||
},
|
||||
handleCheckChange(row) {
|
||||
if (row.checked) {
|
||||
|
||||
@ -67,7 +67,7 @@ export default {
|
||||
total: 0,
|
||||
records: 0,
|
||||
selectReceipts: [],
|
||||
printUrl: '/print.html#/pages/property/printPayFee'
|
||||
printUrl: '/#/pages/property/printPayFee'
|
||||
},
|
||||
currentPage: 1,
|
||||
pageSize: 10,
|
||||
@ -135,7 +135,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptIds = selected.map(item => item.receiptId).join(',')
|
||||
window.open(`/print.html#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
window.open(`/#/pages/property/printPayFee?receiptIds=${receiptIds}&apply=Y`)
|
||||
},
|
||||
_printFeeSmallReceipt() {
|
||||
const selected = this.ownerDetailReceiptInfo.feeReceipts.filter(item => item.checked)
|
||||
@ -144,7 +144,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const receiptIds = selected.map(item => item.receiptId).join(',')
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptIds=${receiptIds}`)
|
||||
},
|
||||
handleCheckChange(row) {
|
||||
if (row.checked) {
|
||||
|
||||
@ -228,7 +228,7 @@ export default {
|
||||
this.$message.warning(this.$t('ownerDetailRoomFee.selectRoom'))
|
||||
return
|
||||
}
|
||||
window.open(`/print.html#/pages/property/printOweFee?payObjId=${_ids.join(',')}&payObjType=3333&payObjName=`)
|
||||
window.open(`/#/pages/property/printOweFee?payObjId=${_ids.join(',')}&payObjType=3333&payObjName=`)
|
||||
},
|
||||
_openRoomsCreateFeeModal() {
|
||||
this.$refs.roomsCreateFee.open({
|
||||
|
||||
@ -100,7 +100,7 @@ export default {
|
||||
this.$router.push('/pages/admin/newContractManage')
|
||||
},
|
||||
_printContract(contract) {
|
||||
window.open(`/print.html#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
||||
window.open(`/#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
||||
},
|
||||
_viewContract(contract) {
|
||||
this.$router.push(`/pages/contract/contractDetail?contractId=${contract.contractId}`)
|
||||
|
||||
@ -241,7 +241,7 @@ export default {
|
||||
},
|
||||
_printContract() {
|
||||
const contract = this.contractDetailInfo
|
||||
window.open(`/print.html#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
||||
window.open(`/#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -104,7 +104,7 @@ export default {
|
||||
feeReceiptManageInfo: {
|
||||
feeReceipts: [],
|
||||
moreCondition: false,
|
||||
printUrl: '/print.html#/pages/property/printPayFee',
|
||||
printUrl: '/#/pages/property/printPayFee',
|
||||
conditions: {
|
||||
objType: '',
|
||||
storeName: '',
|
||||
@ -184,7 +184,7 @@ export default {
|
||||
window.open(`${this.feeReceiptManageInfo.printUrl}?receiptId=${receipt.receiptId}`)
|
||||
},
|
||||
_printFeeSmallReceipt(receipt) {
|
||||
window.open(`/smallPrint.html#/pages/property/printSmallPayFee?receiptIds=${receipt.receiptId}`)
|
||||
window.open(`/#/pages/property/printSmallPayFee?receiptIds=${receipt.receiptId}`)
|
||||
},
|
||||
_moreCondition() {
|
||||
this.feeReceiptManageInfo.moreCondition = !this.feeReceiptManageInfo.moreCondition
|
||||
|
||||
@ -244,7 +244,7 @@ export default {
|
||||
this.$refs.viewImage.open(photo.url)
|
||||
},
|
||||
_printEquipmentDetail() {
|
||||
window.open(`/print.html#/pages/property/printEquipmentAccountLabel?machineId=${this.equipmentAccountDetail.machineId}`)
|
||||
window.open(`/#/pages/property/printEquipmentAccountLabel?machineId=${this.equipmentAccountDetail.machineId}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -233,7 +233,7 @@ export default {
|
||||
this.$router.go(-1)
|
||||
},
|
||||
printAllocationStorehouse() {
|
||||
window.open(`/print.html#/pages/property/printAllocationStorehouse?applyId=${this.allocationStorehouseDetailInfo.applyId}`)
|
||||
window.open(`/#/pages/property/printAllocationStorehouse?applyId=${this.allocationStorehouseDetailInfo.applyId}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -225,7 +225,7 @@ export default {
|
||||
item.invLossMoney = item.invLoss * parseFloat(item.price)
|
||||
},
|
||||
_printAssetInventoryInStock() {
|
||||
window.open(`/print.html#/pages/property/printAssetInventoryInStock?aiId=${this.assetInventoryInStockInfo.aiId}`)
|
||||
window.open(`/#/pages/property/printAssetInventoryInStock?aiId=${this.assetInventoryInStockInfo.aiId}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -292,9 +292,9 @@ export default {
|
||||
},
|
||||
_printPurchaseApply() {
|
||||
if (this.purchaseApplyDetailInfo.resOrderType == '10000') {
|
||||
window.open(`/print.html#/pages/property/printPurchaseApply?applyOrderId=${this.purchaseApplyDetailInfo.applyOrderId}&resOrderType=${this.purchaseApplyDetailInfo.resOrderType}`)
|
||||
window.open(`/#/pages/property/printPurchaseApply?applyOrderId=${this.purchaseApplyDetailInfo.applyOrderId}&resOrderType=${this.purchaseApplyDetailInfo.resOrderType}`)
|
||||
} else if (this.purchaseApplyDetailInfo.resOrderType == '20000') {
|
||||
window.open(`/print.html#/pages/property/printPurchaseOutApply?applyOrderId=${this.purchaseApplyDetailInfo.applyOrderId}&resOrderType=${this.purchaseApplyDetailInfo.resOrderType}`)
|
||||
window.open(`/#/pages/property/printPurchaseOutApply?applyOrderId=${this.purchaseApplyDetailInfo.applyOrderId}&resOrderType=${this.purchaseApplyDetailInfo.resOrderType}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user