优化合同

This commit is contained in:
shane 2021-11-10 15:28:13 +08:00
parent 78760a4528
commit e8d2ddab77

View File

@ -264,6 +264,25 @@
],
});
},
_queryRoom: function () {
let param = {
params: {
contractId: vc.getParam("contractId"),
page: 1,
row: 100
}
}
//发送get请求
vc.http.apiGet('/contract/queryContractRoom',
param,
function (json, res) {
var _contractTFile = JSON.parse(json);
vc.component.addContractInfo.rooms = _contractTFile.data;
}, function (errInfo, error) {
console.log('请求失败处理');
}
);
},
saveContractInfo: function () {
if (!vc.component.addContractValidate()) {
vc.toast(vc.validate.errInfo);