mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
v1.9 优化业务受理合同 bug
This commit is contained in:
parent
b999c64151
commit
48a861238a
@ -1,9 +1,17 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
export function queryContract(params) {
|
export function queryContract(params) {
|
||||||
return request({
|
return new Promise((resolve, reject) => {
|
||||||
url: '/contract/queryContract',
|
request({
|
||||||
method: 'get',
|
url: '/contract/queryContract',
|
||||||
params
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
.then(response => {
|
||||||
|
resolve(response.data)
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
reject(error)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -101,10 +101,10 @@ export default {
|
|||||||
this.$router.push('/pages/admin/newContractManage')
|
this.$router.push('/pages/admin/newContractManage')
|
||||||
},
|
},
|
||||||
_printContract(contract) {
|
_printContract(contract) {
|
||||||
window.open(`/#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
window.open(`/#/views/contract/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
|
||||||
},
|
},
|
||||||
_viewContract(contract) {
|
_viewContract(contract) {
|
||||||
this.$router.push(`/pages/contract/contractDetail?contractId=${contract.contractId}`)
|
this.$router.push(`/views/contract/contractDetail?contractId=${contract.contractId}`)
|
||||||
},
|
},
|
||||||
clearContractInfoInfo() {
|
clearContractInfoInfo() {
|
||||||
this.contractInfo = {
|
this.contractInfo = {
|
||||||
@ -124,10 +124,11 @@ export default {
|
|||||||
},
|
},
|
||||||
_openContractFee(contract) {
|
_openContractFee(contract) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/pages/property/listContractFee',
|
path: '/views/contract/contractDetail',
|
||||||
query: {
|
query: {
|
||||||
contractId: contract.contractId,
|
contractId: contract.contractId,
|
||||||
contractCode: contract.contractCode
|
contractCode: contract.contractCode,
|
||||||
|
currentTab:'contractDetailFee'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user