Compare commits

..

No commits in common. "48a861238ae896de6f0d07a1dc604c4c258e9eee" and "1a2232b932677e0c8f316b6df15d1d518320dd20" have entirely different histories.

3 changed files with 8 additions and 21 deletions

View File

@ -1,17 +1,9 @@
import request from '@/utils/request' import request from '@/utils/request'
export function queryContract(params) { export function queryContract(params) {
return new Promise((resolve, reject) => { return request({
request({ url: '/contract/queryContract',
url: '/contract/queryContract', method: 'get',
method: 'get', params
params
})
.then(response => {
resolve(response.data)
})
.catch(error => {
reject(error)
})
}) })
} }

View File

@ -101,10 +101,10 @@ export default {
this.$router.push('/pages/admin/newContractManage') this.$router.push('/pages/admin/newContractManage')
}, },
_printContract(contract) { _printContract(contract) {
window.open(`/#/views/contract/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`) window.open(`/#/pages/admin/printContract?contractTypeId=${contract.contractType}&contractId=${contract.contractId}`)
}, },
_viewContract(contract) { _viewContract(contract) {
this.$router.push(`/views/contract/contractDetail?contractId=${contract.contractId}`) this.$router.push(`/pages/contract/contractDetail?contractId=${contract.contractId}`)
}, },
clearContractInfoInfo() { clearContractInfoInfo() {
this.contractInfo = { this.contractInfo = {
@ -124,11 +124,10 @@ export default {
}, },
_openContractFee(contract) { _openContractFee(contract) {
this.$router.push({ this.$router.push({
path: '/views/contract/contractDetail', path: '/pages/property/listContractFee',
query: { query: {
contractId: contract.contractId, contractId: contract.contractId,
contractCode: contract.contractCode, contractCode: contract.contractCode
currentTab:'contractDetailFee'
} }
}) })
}, },

View File

@ -356,10 +356,6 @@ export default {
this.$message.warning("请选择缴费周期"); this.$message.warning("请选择缴费周期");
return; return;
} }
if (!this.payFeeOrderInfo.primeRate) {
this.$message.warning("请选择支付方式");
return;
}
// //
if (!(/(^[1-9]\d*$)/.test(this.payFeeOrderInfo.cycles))) { if (!(/(^[1-9]\d*$)/.test(this.payFeeOrderInfo.cycles))) {