|
@@ -17,7 +17,7 @@ HousepurchaseInfoDlg.close = function () {
|
|
|
*/
|
|
|
HousepurchaseInfoDlg.showFirstCheckModal = function () {
|
|
|
var process = $("#process").val();
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.open({
|
|
|
type: 1,
|
|
@@ -47,13 +47,15 @@ HousepurchaseInfoDlg.showFirstCheckModal = function () {
|
|
|
$("#field_info input").each(function () {
|
|
|
var arr = obj.fields.split(",");
|
|
|
for (var key in arr) {
|
|
|
- if ($(this).val() == arr[key]) this.checked = true;
|
|
|
+ if ($(this).val() == arr[key])
|
|
|
+ this.checked = true;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
if (Feng.isNotEmptyStr(obj.files)) {
|
|
|
$("#field_file input").each(function () {
|
|
|
- if (obj.files.indexOf($(this).val()) != -1) this.checked = true;
|
|
|
+ if (obj.files.indexOf($(this).val()) != -1)
|
|
|
+ this.checked = true;
|
|
|
});
|
|
|
}
|
|
|
},
|
|
@@ -83,9 +85,10 @@ HousepurchaseInfoDlg.showFirstCheckModal = function () {
|
|
|
Feng.info("请选择可修改的字段或附件!");
|
|
|
return;
|
|
|
}
|
|
|
- if (locked) return;
|
|
|
+ if (locked)
|
|
|
+ return;
|
|
|
locked = true;
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/check", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/check", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.close(index);
|
|
|
Feng.success(data.msg);
|
|
@@ -119,7 +122,7 @@ HousepurchaseInfoDlg.showFirstCheckModal = function () {
|
|
|
*/
|
|
|
HousepurchaseInfoDlg.showDepCheckModal = function () {
|
|
|
var process = $("#process").val();
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
var company = data.obj.company;
|
|
|
var obj = data.obj.obj;
|
|
@@ -132,20 +135,23 @@ HousepurchaseInfoDlg.showDepCheckModal = function () {
|
|
|
shade: 0,
|
|
|
maxmin: true,
|
|
|
content:
|
|
|
- "<form id=\"depForm\" class=\"form-horizontal\">\n" +
|
|
|
- '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
- '<label for="checkMsg" class="control-label" >核查结果备注</label>\n' +
|
|
|
- '<textarea class="form-control" id="hcMsg" placeholder="" rows="6"></textarea>\n' +
|
|
|
- "</div>\n" +
|
|
|
- "</form>",
|
|
|
+ "<form id=\"depForm\" class=\"form-horizontal\">\n" +
|
|
|
+ '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ '<label for="checkMsg" class="control-label" >核查结果备注</label>\n' +
|
|
|
+ '<textarea class="form-control" id="hcMsg" placeholder="" rows="6"></textarea>\n' +
|
|
|
+ "</div>\n" +
|
|
|
+ "</form>",
|
|
|
btn: ['<i class="fa fa-save"></i> 提交', '<i class="fa fa-eraser"></i> 关闭'],
|
|
|
btnAlign: 'c',
|
|
|
zIndex: layer.zIndex,
|
|
|
success: function (layero, index) {
|
|
|
layer.setTop(layero);
|
|
|
- if (company.code = CONFIG.COM_ZJJ) $("#hcMsg").val(obj.zjjCheckDetail);
|
|
|
- if (company.code = CONFIG.COM_ZRZYJ) $("#hcMsg").val(obj.zrzzjCheckDetail);
|
|
|
- if (company.code = CONFIG.COM_MZJ) $("#hcMsg").val(obj.mzjCheckDetail);
|
|
|
+ if (company.code = CONFIG.COM_ZJJ)
|
|
|
+ $("#hcMsg").val(obj.zjjCheckDetail);
|
|
|
+ if (company.code = CONFIG.COM_ZRZYJ)
|
|
|
+ $("#hcMsg").val(obj.zrzzjCheckDetail);
|
|
|
+ if (company.code = CONFIG.COM_MZJ)
|
|
|
+ $("#hcMsg").val(obj.mzjCheckDetail);
|
|
|
},
|
|
|
yes: function (index, layero) {
|
|
|
var msg = $("#hcMsg").val();
|
|
@@ -153,7 +159,7 @@ HousepurchaseInfoDlg.showDepCheckModal = function () {
|
|
|
Feng.info("请填写核查结果!");
|
|
|
return;
|
|
|
}
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/depCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/depCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.close(index);
|
|
|
Feng.success(data.msg);
|
|
@@ -182,7 +188,7 @@ HousepurchaseInfoDlg.showDepCheckModal = function () {
|
|
|
*/
|
|
|
HousepurchaseInfoDlg.showThirdCheckModal = function () {
|
|
|
var process = $("#process").val();
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.open({
|
|
|
type: 1,
|
|
@@ -198,7 +204,7 @@ HousepurchaseInfoDlg.showThirdCheckModal = function () {
|
|
|
zIndex: layer.zIndex,
|
|
|
success: function (layero, index) {
|
|
|
layer.setTop(layero);
|
|
|
- $('#toDep').chosen({width: '100%',placeholder_text_multiple: '请选择兑现对象'});
|
|
|
+ $('#toDep').chosen({width: '100%', placeholder_text_multiple: '请选择兑现对象'});
|
|
|
$("#checkStateFirstModal").val(data.obj.obj.checkState);
|
|
|
$("#checkMsgFirst").val(data.obj.obj.checkMsg);
|
|
|
$("#toProcess").val(data.obj.obj.toProcess);
|
|
@@ -244,7 +250,7 @@ HousepurchaseInfoDlg.showThirdCheckModal = function () {
|
|
|
}
|
|
|
companyCodes = companyCodes.substring(0, companyCodes.length - 1);
|
|
|
cashObjs = cashObjs.substring(0, cashObjs.length - 1);
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/check", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/check", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.close(index);
|
|
|
Feng.success(data.msg);
|
|
@@ -290,7 +296,7 @@ HousepurchaseInfoDlg.saveDepDataAtAfter = function () {
|
|
|
*/
|
|
|
HousepurchaseInfoDlg.showAfterCheckModal = function () {
|
|
|
var process = $("#process").val();
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
layer.open({
|
|
|
type: 1,
|
|
@@ -340,7 +346,7 @@ HousepurchaseInfoDlg.showAfterCheckModal = function () {
|
|
|
var cashObjs = "";
|
|
|
cashObjs = cashObjs.substring(0, cashObjs.length - 1);
|
|
|
var operation = function () {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/afterCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/afterCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
Feng.success(data.msg);
|
|
|
layer.close(index);
|
|
@@ -380,7 +386,7 @@ HousepurchaseInfoDlg.showAfterCheckModal = function () {
|
|
|
*/
|
|
|
HousepurchaseInfoDlg.submitCheck = function () {
|
|
|
var operation = function () {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/submitCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/submitCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
Feng.success(data.msg);
|
|
|
window.parent.Housepurchase.table.refresh();
|
|
@@ -400,51 +406,51 @@ HousepurchaseInfoDlg.submitCheck = function () {
|
|
|
HousepurchaseInfoDlg.createFirstCheckHtml = function () {
|
|
|
var declareType = $("#declareType").val();
|
|
|
var field =
|
|
|
- // '<li style="width:10%"><input type="checkbox" value="phone"/><span>手机号码</span></li>\n' +
|
|
|
- '<li style="width:10%"><input type="checkbox" value="marryStatus"/><span>婚姻状态</span></li>\n' +
|
|
|
- '<li style="width:10%"><input type="checkbox" value="spouseName"/><span>配偶姓名</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="spouseCardType"/><span>配偶证件类型</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="spouseIdcard"/><span>配偶证件号码</span></li>\n'+
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="spouseIsLibrary"/><span>配偶是否在库人才</span></li>\n';
|
|
|
+ // '<li style="width:10%"><input type="checkbox" value="phone"/><span>手机号码</span></li>\n' +
|
|
|
+ '<li style="width:10%"><input type="checkbox" value="marryStatus"/><span>婚姻状态</span></li>\n' +
|
|
|
+ '<li style="width:10%"><input type="checkbox" value="spouseName"/><span>配偶姓名</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="spouseCardType"/><span>配偶证件类型</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="spouseIdcard"/><span>配偶证件号码</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="spouseIsLibrary"/><span>配偶是否在库人才</span></li>\n';
|
|
|
if (declareType == 1) {
|
|
|
field = field +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="realEstateNo"/><span>不动产权证编号</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="recordNo"/><span>备案合同编号</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="houseAddress"/><span>房屋坐落地址</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="houseArea"/><span>房屋建筑面积</span></li>\n' +
|
|
|
- '<li style="width:63%"><input type="checkbox" value="recordTime"/><span>商品房购房合同备案时间/不动产权证书办理时间</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="houseMoney"/><span>房屋成交金额</span></li>\n' +
|
|
|
- '<li style="width:20.5%"><input type="checkbox" value="isEnjoyOther"/><span>是否享受我市其他政策</span></li>\n';
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="realEstateNo"/><span>不动产权证编号</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="recordNo"/><span>备案合同编号</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="houseAddress"/><span>房屋坐落地址</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="houseArea"/><span>房屋建筑面积</span></li>\n' +
|
|
|
+ '<li style="width:63%"><input type="checkbox" value="recordTime"/><span>商品房购房合同备案时间/不动产权证书办理时间</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="houseMoney"/><span>房屋成交金额</span></li>\n' +
|
|
|
+ '<li style="width:20.5%"><input type="checkbox" value="isEnjoyOther"/><span>是否享受我市其他政策</span></li>\n';
|
|
|
}
|
|
|
return '<form id="checkForm">\n' +
|
|
|
- ' <div class="form-group" style="margin: 10px;">\n' +
|
|
|
- ' <label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
- ' <select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.toggleField()">\n' +
|
|
|
- ' <option value="">请选择</option>\n' +
|
|
|
- ' <option value="3">审核通过</option>\n' +
|
|
|
- ' <option value="2">审核驳回</option>\n' +
|
|
|
- ' </select>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="form-group" style="margin: 10px;">\n' +
|
|
|
- ' <label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
- ' <textarea class="form-control" id="checkMsgFirst" placeholder="" rows="6"></textarea>\n' +
|
|
|
- ' <div id="field" style="padding-top: 5px;display: none">\n' +
|
|
|
- ' <label for="checkMsg" class="control-label">可修改字段</label>\n' +
|
|
|
- ' <div id="field_info">\n' +
|
|
|
- ' <ul>\n' +
|
|
|
- field +
|
|
|
- ' </ul>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <label for="checkMsg" class="control-label">可修改附件</label>\n' +
|
|
|
- ' <div id="field_file">\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="form-group" style="text-align: center">\n' +
|
|
|
- ' <button type="button" class="btn btn-primary" onclick="Feng.checkAll(\'field\')">全选</button>\n' +
|
|
|
- ' <button type="button" class="btn btn-success" onclick="Feng.unCheckAll(\'field\')">反选</button>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </form>';
|
|
|
+ ' <div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ ' <label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
+ ' <select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.toggleField()">\n' +
|
|
|
+ ' <option value="">请选择</option>\n' +
|
|
|
+ ' <option value="3">审核通过</option>\n' +
|
|
|
+ ' <option value="2">审核驳回</option>\n' +
|
|
|
+ ' </select>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ ' <label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
+ ' <textarea class="form-control" id="checkMsgFirst" placeholder="" rows="6"></textarea>\n' +
|
|
|
+ ' <div id="field" style="padding-top: 5px;display: none">\n' +
|
|
|
+ ' <label for="checkMsg" class="control-label">可修改字段</label>\n' +
|
|
|
+ ' <div id="field_info">\n' +
|
|
|
+ ' <ul>\n' +
|
|
|
+ field +
|
|
|
+ ' </ul>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <label for="checkMsg" class="control-label">可修改附件</label>\n' +
|
|
|
+ ' <div id="field_file">\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="form-group" style="text-align: center">\n' +
|
|
|
+ ' <button type="button" class="btn btn-primary" onclick="Feng.checkAll(\'field\')">全选</button>\n' +
|
|
|
+ ' <button type="button" class="btn btn-success" onclick="Feng.unCheckAll(\'field\')">反选</button>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </form>';
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -460,35 +466,35 @@ HousepurchaseInfoDlg.createAfterCheckHtml = function () {
|
|
|
options = options + "<option value='" + spouseIdcard + "'>" + spouseName + "</option>";
|
|
|
}
|
|
|
return '<form id="checkForm">\n' +
|
|
|
- '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
- '<label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
- '<select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.afterToggleField(this)">\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="3">审核通过</option>\n' +
|
|
|
- '<option value="-1">审核不通过</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
- '<label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
- '<textarea class="form-control" id="checkMsgFirst" placeholder="" rows="4"></textarea>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="margin: 10px;" >\n' +
|
|
|
- '<label for="processLable" class=" control-label">兑现状态</label>\n' +
|
|
|
- '<select class="form-control" id="cashType" onchange="HousepurchaseInfoDlg.afterCashTypeChange()">\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="1">兑现</option>\n' +
|
|
|
- '<option value="2">不予兑现</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="display: none;margin: 10px;" id="descideDesc">\n' +
|
|
|
- '<label for="processLable" class=" control-label">计算说明</label>\n' +
|
|
|
- '<textarea class="form-control" id="decideMoneyDetail" rows="4"></textarea>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="display: none;margin: 10px;" id="moneyDiv">\n' +
|
|
|
- '<label for="processLable" class=" control-label">应该享受金额(不扣除其他政策金额前)</label>\n' +
|
|
|
- '<input class="form-control" id="shouldEnjoyMoney">\n' +
|
|
|
- '</div>\n' +
|
|
|
- '</form>';
|
|
|
+ '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ '<label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
+ '<select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.afterToggleField(this)">\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="3">审核通过</option>\n' +
|
|
|
+ '<option value="-1">审核不通过</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ '<label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
+ '<textarea class="form-control" id="checkMsgFirst" placeholder="" rows="4"></textarea>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="margin: 10px;" >\n' +
|
|
|
+ '<label for="processLable" class=" control-label">兑现状态</label>\n' +
|
|
|
+ '<select class="form-control" id="cashType" onchange="HousepurchaseInfoDlg.afterCashTypeChange()">\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="1">兑现</option>\n' +
|
|
|
+ '<option value="2">不予兑现</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="display: none;margin: 10px;" id="descideDesc">\n' +
|
|
|
+ '<label for="processLable" class=" control-label">计算说明</label>\n' +
|
|
|
+ '<textarea class="form-control" id="decideMoneyDetail" rows="4"></textarea>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="display: none;margin: 10px;" id="moneyDiv">\n' +
|
|
|
+ '<label for="processLable" class=" control-label">应该享受金额(不扣除其他政策金额前)</label>\n' +
|
|
|
+ '<input class="form-control" id="shouldEnjoyMoney">\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '</form>';
|
|
|
}
|
|
|
|
|
|
HousepurchaseInfoDlg.afterToggleField = function (context) {
|
|
@@ -529,45 +535,45 @@ HousepurchaseInfoDlg.createThirdCheckHtml = function () {
|
|
|
options = options + "<option value='" + spouseIdcard + "'>" + spouseName + "</option>";
|
|
|
}
|
|
|
return '<form id="checkForm">\n' +
|
|
|
- '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
- '<label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
- '<select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.thirdToggleField()">\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="3">审核通过</option>\n' +
|
|
|
- '<option value="2">审核驳回</option>\n' +
|
|
|
- '<option value="-1">审核不通过</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
- '<label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
- '<textarea class="form-control" id="checkMsgFirst" placeholder="" rows="6"></textarea>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="display: none;margin: 10px;" id="cashTypeDiv">\n' +
|
|
|
- '<label for="processLable" class=" control-label">兑现状态</label>\n' +
|
|
|
- '<select class="form-control" id="cashType" onchange="HousepurchaseInfoDlg.cashTypeChange()">\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="1">兑现</option>\n' +
|
|
|
- '<option value="2">不予兑现</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="display: none;margin: 10px;" id="toProcessDiv" >\n' +
|
|
|
- '<label for="processLable" class=" control-label">驳回至</label>\n' +
|
|
|
- '<select class="form-control" id="toProcess" >\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="1">初级审核</option>\n' +
|
|
|
- '<option value="2">部门审核</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '<div class="form-group" style="display: none;margin: 10px;" id="toDepDiv" >\n' +
|
|
|
- '<label for="processLable" class=" control-label">驳回单位</label>\n' +
|
|
|
- '<select class="form-control" id="toDep" multiple>\n' +
|
|
|
- '<option value="">请选择</option>\n' +
|
|
|
- '<option value="' + CONFIG.COM_MZJ + '">民政局</option>\n' +
|
|
|
- '<option value="' + CONFIG.COM_ZRZYJ + '">自然资源局</option>\n' +
|
|
|
- '<option value="' + CONFIG.COM_ZJJ + '">住建局</option>\n' +
|
|
|
- '</select>\n' +
|
|
|
- '</div>\n' +
|
|
|
- '</form>';
|
|
|
+ '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ '<label for="checkState" class="control-label">审核状态</label>\n' +
|
|
|
+ '<select class="form-control" id="checkStateFirstModal" onchange="HousepurchaseInfoDlg.thirdToggleField()">\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="3">审核通过</option>\n' +
|
|
|
+ '<option value="2">审核驳回</option>\n' +
|
|
|
+ '<option value="-1">审核不通过</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="margin: 10px;">\n' +
|
|
|
+ '<label for="checkMsg" class="control-label" >审核意见</label>\n' +
|
|
|
+ '<textarea class="form-control" id="checkMsgFirst" placeholder="" rows="6"></textarea>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="display: none;margin: 10px;" id="cashTypeDiv">\n' +
|
|
|
+ '<label for="processLable" class=" control-label">兑现状态</label>\n' +
|
|
|
+ '<select class="form-control" id="cashType" onchange="HousepurchaseInfoDlg.cashTypeChange()">\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="1">兑现</option>\n' +
|
|
|
+ '<option value="2">不予兑现</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="display: none;margin: 10px;" id="toProcessDiv" >\n' +
|
|
|
+ '<label for="processLable" class=" control-label">驳回至</label>\n' +
|
|
|
+ '<select class="form-control" id="toProcess" >\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="1">初级审核</option>\n' +
|
|
|
+ '<option value="2">部门审核</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '<div class="form-group" style="display: none;margin: 10px;" id="toDepDiv" >\n' +
|
|
|
+ '<label for="processLable" class=" control-label">驳回单位</label>\n' +
|
|
|
+ '<select class="form-control" id="toDep" multiple>\n' +
|
|
|
+ '<option value="">请选择</option>\n' +
|
|
|
+ '<option value="' + CONFIG.COM_MZJ + '">民政局</option>\n' +
|
|
|
+ '<option value="' + CONFIG.COM_ZRZYJ + '">自然资源局</option>\n' +
|
|
|
+ '<option value="' + CONFIG.COM_ZJJ + '">住建局</option>\n' +
|
|
|
+ '</select>\n' +
|
|
|
+ '</div>\n' +
|
|
|
+ '</form>';
|
|
|
}
|
|
|
|
|
|
|
|
@@ -629,9 +635,9 @@ HousepurchaseInfoDlg.deleteEnjoyOther = function (context) {
|
|
|
$(context).parent().parent().remove();
|
|
|
} else {
|
|
|
var operation = function () {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
- var ajax1 = new $ax(Feng.ctxPath + "/housepurchase/deleteOtherOrHouse", function (data) {
|
|
|
+ var ajax1 = new $ax(Feng.ctxPath + "/admin/house/deleteOtherOrHouse", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
Feng.success(data.msg);
|
|
|
$(context).parent().parent().remove();
|
|
@@ -668,9 +674,9 @@ HousepurchaseInfoDlg.deleteOtherHouse = function (context) {
|
|
|
$(context).parent().parent().remove();
|
|
|
} else {
|
|
|
var operation = function () {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
- var ajax1 = new $ax(Feng.ctxPath + "/housepurchase/deleteOtherOrHouse", function (data) {
|
|
|
+ var ajax1 = new $ax(Feng.ctxPath + "/admin/house/deleteOtherOrHouse", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
Feng.success(data.msg);
|
|
|
$(context).parent().parent().remove();
|
|
@@ -706,9 +712,9 @@ HousepurchaseInfoDlg.deleteSpouse = function (context) {
|
|
|
$(context).parent().parent().remove();
|
|
|
} else {
|
|
|
var operation = function () {
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/validateIsCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/validateIsCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
- var ajax1 = new $ax(Feng.ctxPath + "/housepurchase/deleteSpouse", function (data) {
|
|
|
+ var ajax1 = new $ax(Feng.ctxPath + "/admin/house/deleteSpouse", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
Feng.success(data.msg);
|
|
|
$(context).parent().parent().remove();
|
|
@@ -774,7 +780,7 @@ HousepurchaseInfoDlg.saveDepCheckData = function () {
|
|
|
"otherList": enjoyOtherObject,
|
|
|
"houseList": otherHouseObject
|
|
|
};
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/zjjCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/zjjCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
HousepurchaseInfoDlg.initZzj(data.obj.otherList, data.obj.houseList);
|
|
|
Feng.success(data.msg);
|
|
@@ -834,7 +840,7 @@ HousepurchaseInfoDlg.saveDepCheckData = function () {
|
|
|
"zrzzjCheckDetail": zrzzjCheckDetail,
|
|
|
"houseList": otherHouseObject
|
|
|
};
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/zrzyjCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/zrzyjCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
HousepurchaseInfoDlg.initZrzyj(data.obj.houseList);
|
|
|
Feng.success(data.msg);
|
|
@@ -860,7 +866,7 @@ HousepurchaseInfoDlg.saveDepCheckData = function () {
|
|
|
var idCard = $(this).find("input[name='idCard']").val();
|
|
|
// var description = $(this).find("input[name='description']").val();
|
|
|
if (Feng.isNotEmptyStr(id) || Feng.isNotEmptyStr(pId) || Feng.isNotEmptyStr(type) || Feng.isNotEmptyStr(name) ||
|
|
|
- Feng.isNotEmptyStr(registerTime) || Feng.isNotEmptyStr(idCard)) {
|
|
|
+ Feng.isNotEmptyStr(registerTime) || Feng.isNotEmptyStr(idCard)) {
|
|
|
if (Feng.isEmptyStr(type)) {
|
|
|
error = error + "婚姻状况" + (index + 1) + "登记类型为空;\n";
|
|
|
}
|
|
@@ -894,7 +900,7 @@ HousepurchaseInfoDlg.saveDepCheckData = function () {
|
|
|
"mzjCheckDetail": mzjCheckDetail,
|
|
|
"spouseList": spouseObj
|
|
|
};
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/mzjCheck", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/mzjCheck", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
HousepurchaseInfoDlg.initMzj(data.obj.spouseList);
|
|
|
Feng.success(data.msg);
|
|
@@ -927,7 +933,7 @@ HousepurchaseInfoDlg.getZjjData = function (enjoyOtherObject, otherHouseObject)
|
|
|
var enjoyTime = $(this).find("input[name='enjoyTime']").val();
|
|
|
var description = $(this).find("input[name='description']").val();
|
|
|
if (Feng.isNotEmptyStr(id) || Feng.isNotEmptyStr(pId) || Feng.isNotEmptyStr(name) || Feng.isNotEmptyStr(houseAddress) || Feng.isNotEmptyStr(idCard) ||
|
|
|
- Feng.isNotEmptyStr(recordNo) || Feng.isNotEmptyStr(enjoyPolicyName) || Feng.isNotEmptyStr(money) || Feng.isNotEmptyStr(enjoyTime)) {
|
|
|
+ Feng.isNotEmptyStr(recordNo) || Feng.isNotEmptyStr(enjoyPolicyName) || Feng.isNotEmptyStr(money) || Feng.isNotEmptyStr(enjoyTime)) {
|
|
|
if (Feng.isEmptyStr(name)) {
|
|
|
error = error + "享受其他政策" + (index + 1) + ")享受人姓名为空;\n";
|
|
|
}
|
|
@@ -984,7 +990,7 @@ HousepurchaseInfoDlg.getZjjData = function (enjoyOtherObject, otherHouseObject)
|
|
|
var tradeMethod = $(this).find("input[name='tradeMethod']").val();
|
|
|
var description = $(this).find("input[name='description']").val();
|
|
|
if (Feng.isNotEmptyStr(id) || Feng.isNotEmptyStr(pId) || Feng.isNotEmptyStr(type) || Feng.isNotEmptyStr(name) || Feng.isNotEmptyStr(number) || Feng.isNotEmptyStr(idCard) ||
|
|
|
- Feng.isNotEmptyStr(houseAddress) || Feng.isNotEmptyStr(area) || Feng.isNotEmptyStr(recordTime) || Feng.isNotEmptyStr(tradeMethod)) {
|
|
|
+ Feng.isNotEmptyStr(houseAddress) || Feng.isNotEmptyStr(area) || Feng.isNotEmptyStr(recordTime) || Feng.isNotEmptyStr(tradeMethod)) {
|
|
|
if (Feng.isEmptyStr(name)) {
|
|
|
error = error + "其他房产信息" + (index + 1) + "购房人姓名为空;\n";
|
|
|
}
|
|
@@ -1044,7 +1050,7 @@ HousepurchaseInfoDlg.getZrzyjData = function (otherHouseObject) {
|
|
|
var recordTime = $(this).find("input[name='recordTime']").val();
|
|
|
var description = $(this).find("input[name='description']").val();
|
|
|
if (Feng.isNotEmptyStr(id) || Feng.isNotEmptyStr(pId) || Feng.isNotEmptyStr(type) || Feng.isNotEmptyStr(name) || Feng.isNotEmptyStr(idCard) ||
|
|
|
- Feng.isNotEmptyStr(houseAddress) || Feng.isNotEmptyStr(area) || Feng.isNotEmptyStr(recordTime) || Feng.isNotEmptyStr(number)) {
|
|
|
+ Feng.isNotEmptyStr(houseAddress) || Feng.isNotEmptyStr(area) || Feng.isNotEmptyStr(recordTime) || Feng.isNotEmptyStr(number)) {
|
|
|
if (Feng.isEmptyStr(name)) {
|
|
|
error = error + "房产信息" + (index + 1) + "产权人姓名为空;\n";
|
|
|
}
|
|
@@ -1155,10 +1161,10 @@ HousepurchaseInfoDlg.afterCheckEdit = function () {
|
|
|
"transferTime": transferTime,
|
|
|
"zrzzjCheckDetail": zrzzjCheckDetail,
|
|
|
"zjjHouseList": zjjOtherHouseObject,
|
|
|
- "zrzyjHouseList":zrzyjOtherHouseObject,
|
|
|
+ "zrzyjHouseList": zrzyjOtherHouseObject,
|
|
|
"otherList": enjoyOtherObject
|
|
|
};
|
|
|
- var ajax = new $ax(Feng.ctxPath + "/housepurchase/afterCheckEdit", function (data) {
|
|
|
+ var ajax = new $ax(Feng.ctxPath + "/admin/house/afterCheckEdit", function (data) {
|
|
|
if (data.code == 200) {
|
|
|
HousepurchaseInfoDlg.initZzj(data.obj.otherList, data.obj.zjjOtherHouseObject);
|
|
|
HousepurchaseInfoDlg.initZrzyj(data.obj.zrzyjOtherHouseObject);
|
|
@@ -1180,53 +1186,53 @@ HousepurchaseInfoDlg.initZzj = function (otherList, houseList) {
|
|
|
var html = "";
|
|
|
for (var key in otherList) {
|
|
|
html = html +
|
|
|
- '<div class="panel panel-default" >\n' +
|
|
|
- ' <div class="panel-heading">\n' +
|
|
|
- ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
- ' <span class="houseTitle" >' + otherList[key].enjoyPolicyName + '</span>\n' +
|
|
|
- ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteEnjoyOther(this)">\n' +
|
|
|
- ' <span aria-hidden="true">×</span>\n' +
|
|
|
- ' </button>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="panel-body">\n' +
|
|
|
- ' <div class="col-sm-12">\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <input type="hidden" name="id" value="' + otherList[key].id + '"/>\n' +
|
|
|
- ' <input type="hidden" name="pId" value="' + otherList[key].pId + '"/>\n' +
|
|
|
- ' <label class="control-label spacing">享受人姓名</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="name" value="' + otherList[key].name + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">享受人证件号码</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="idCard" value="' + otherList[key].idCard + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="houseAddress" value="' + otherList[key].houseAddress + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">合同编号</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="recordNo" value="' + otherList[key].recordNo + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">享受政策名称(例:XX年度第X批XX购房补助)</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="enjoyPolicyName" placeholder="例:XX年度第X批XX购房补助" value="' + otherList[key].enjoyPolicyName + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">补贴发放金额(元)</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="money" value="' + otherList[key].money + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">发放时间</label>\n' +
|
|
|
- ' <input type="text" class="form-control date" name="enjoyTime" value="' + otherList[key].enjoyTime + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">备注</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="description" value="' + otherList[key].description + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>';
|
|
|
+ '<div class="panel panel-default" >\n' +
|
|
|
+ ' <div class="panel-heading">\n' +
|
|
|
+ ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
+ ' <span class="houseTitle" >' + otherList[key].enjoyPolicyName + '</span>\n' +
|
|
|
+ ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteEnjoyOther(this)">\n' +
|
|
|
+ ' <span aria-hidden="true">×</span>\n' +
|
|
|
+ ' </button>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="panel-body">\n' +
|
|
|
+ ' <div class="col-sm-12">\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <input type="hidden" name="id" value="' + otherList[key].id + '"/>\n' +
|
|
|
+ ' <input type="hidden" name="pId" value="' + otherList[key].pId + '"/>\n' +
|
|
|
+ ' <label class="control-label spacing">享受人姓名</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="name" value="' + otherList[key].name + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">享受人证件号码</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="idCard" value="' + otherList[key].idCard + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="houseAddress" value="' + otherList[key].houseAddress + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">合同编号</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="recordNo" value="' + otherList[key].recordNo + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">享受政策名称(例:XX年度第X批XX购房补助)</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="enjoyPolicyName" placeholder="例:XX年度第X批XX购房补助" value="' + otherList[key].enjoyPolicyName + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">补贴发放金额(元)</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="money" value="' + otherList[key].money + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">发放时间</label>\n' +
|
|
|
+ ' <input type="text" class="form-control date" name="enjoyTime" value="' + otherList[key].enjoyTime + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">备注</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="description" value="' + otherList[key].description + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>';
|
|
|
}
|
|
|
$("#zzjOtherBody .panel-default").not(".history").remove();
|
|
|
$("#zzjOtherBody").append(html);
|
|
@@ -1235,54 +1241,54 @@ HousepurchaseInfoDlg.initZzj = function (otherList, houseList) {
|
|
|
var html = "";
|
|
|
for (var key in houseList) {
|
|
|
html = html +
|
|
|
- '<div class="panel panel-default">\n' +
|
|
|
- ' <div class="panel-heading">\n' +
|
|
|
- ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
- ' <span class="houseTitle" >' + houseList[key].houseAddress + '</span>\n' +
|
|
|
- ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteOtherHouse(this)">\n' +
|
|
|
- ' <span aria-hidden="true">×</span>\n' +
|
|
|
- ' </button>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="panel-body">\n' +
|
|
|
- ' <div class="col-sm-12">\n' +
|
|
|
- ' <input type="hidden" name="id" value="' + houseList[key].id + '"/>\n' +
|
|
|
- ' <input type="hidden" name="pId" value="' + houseList[key].pId + '"/>\n' +
|
|
|
- ' <input type="hidden" name="type" value="' + houseList[key].type + '"/>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">购房人姓名</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="name" value="' + houseList[key].name + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">购房人证件号码</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="idCard" value="' + houseList[key].idCard + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="houseAddress" value="' + houseList[key].houseAddress + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">合同编号</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="number" value="' + houseList[key].number + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">面积(m2)</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="area" value="' + houseList[key].area + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">交易备案时间</label>\n' +
|
|
|
- ' <input type="text" class="form-control date" name="recordTime" value="' + houseList[key].recordTime + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">交易方式(购买、出售、签约注销、备案注销等)</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="tradeMethod" value="' + houseList[key].tradeMethod + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">备注</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="description" value="' + houseList[key].description + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>';
|
|
|
+ '<div class="panel panel-default">\n' +
|
|
|
+ ' <div class="panel-heading">\n' +
|
|
|
+ ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
+ ' <span class="houseTitle" >' + houseList[key].houseAddress + '</span>\n' +
|
|
|
+ ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteOtherHouse(this)">\n' +
|
|
|
+ ' <span aria-hidden="true">×</span>\n' +
|
|
|
+ ' </button>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="panel-body">\n' +
|
|
|
+ ' <div class="col-sm-12">\n' +
|
|
|
+ ' <input type="hidden" name="id" value="' + houseList[key].id + '"/>\n' +
|
|
|
+ ' <input type="hidden" name="pId" value="' + houseList[key].pId + '"/>\n' +
|
|
|
+ ' <input type="hidden" name="type" value="' + houseList[key].type + '"/>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">购房人姓名</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="name" value="' + houseList[key].name + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">购房人证件号码</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="idCard" value="' + houseList[key].idCard + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="houseAddress" value="' + houseList[key].houseAddress + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">合同编号</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="number" value="' + houseList[key].number + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">面积(m2)</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="area" value="' + houseList[key].area + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">交易备案时间</label>\n' +
|
|
|
+ ' <input type="text" class="form-control date" name="recordTime" value="' + houseList[key].recordTime + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">交易方式(购买、出售、签约注销、备案注销等)</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="tradeMethod" value="' + houseList[key].tradeMethod + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">备注</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="description" value="' + houseList[key].description + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>';
|
|
|
}
|
|
|
$("#zzjOtherHouse").empty().append(html);
|
|
|
}
|
|
@@ -1293,50 +1299,50 @@ HousepurchaseInfoDlg.initZrzyj = function (houseList) {
|
|
|
var html = "";
|
|
|
for (var key in houseList) {
|
|
|
html = html +
|
|
|
- '<div class="panel panel-default">\n' +
|
|
|
- ' <div class="panel-heading">\n' +
|
|
|
- ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
- ' <span class="houseTitle">' + houseList[key].houseAddress + '</span>\n' +
|
|
|
- ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteOtherHouse(this)">\n' +
|
|
|
- ' <span aria-hidden="true">×</span>\n' +
|
|
|
- ' </button>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="panel-body">\n' +
|
|
|
- ' <div class="col-sm-12">\n' +
|
|
|
- ' <input type="hidden" name="id" value="' + houseList[key].id + '"/>\n' +
|
|
|
- ' <input type="hidden" name="pId" value="' + houseList[key].pId + '"/>\n' +
|
|
|
- ' <input type="hidden" name="type" value="' + houseList[key].type + '"/>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">产权人姓名</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="name" value="' + houseList[key].name + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">产权人证件号码</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="idCard" value="' + houseList[key].idCard + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="houseAddress" value="' + houseList[key].houseAddress + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">不动产权号</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="number" value="' + houseList[key].number + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">面积(m2)</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="area" value="' + houseList[key].area + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">房屋登记时间</label>\n' +
|
|
|
- ' <input type="text" class="form-control date" name="recordTime" value="' + houseList[key].recordTime + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">备注</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="description" value="' + houseList[key].description + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>'
|
|
|
+ '<div class="panel panel-default">\n' +
|
|
|
+ ' <div class="panel-heading">\n' +
|
|
|
+ ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
+ ' <span class="houseTitle">' + houseList[key].houseAddress + '</span>\n' +
|
|
|
+ ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteOtherHouse(this)">\n' +
|
|
|
+ ' <span aria-hidden="true">×</span>\n' +
|
|
|
+ ' </button>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="panel-body">\n' +
|
|
|
+ ' <div class="col-sm-12">\n' +
|
|
|
+ ' <input type="hidden" name="id" value="' + houseList[key].id + '"/>\n' +
|
|
|
+ ' <input type="hidden" name="pId" value="' + houseList[key].pId + '"/>\n' +
|
|
|
+ ' <input type="hidden" name="type" value="' + houseList[key].type + '"/>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">产权人姓名</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="name" value="' + houseList[key].name + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">产权人证件号码</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="idCard" value="' + houseList[key].idCard + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">房屋坐落地址</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="houseAddress" value="' + houseList[key].houseAddress + '" onchange="$(this).parent().parent().parent().parent().find(\'.houseTitle\').text($(this).val())"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">不动产权号</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="number" value="' + houseList[key].number + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">面积(m2)</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="area" value="' + houseList[key].area + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">房屋登记时间</label>\n' +
|
|
|
+ ' <input type="text" class="form-control date" name="recordTime" value="' + houseList[key].recordTime + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">备注</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="description" value="' + houseList[key].description + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>'
|
|
|
}
|
|
|
$("#zrzyOtherHouse").empty().append(html);
|
|
|
}
|
|
@@ -1347,43 +1353,43 @@ HousepurchaseInfoDlg.initMzj = function (spouseList) {
|
|
|
var html = "";
|
|
|
for (var key in spouseList) {
|
|
|
html = html +
|
|
|
- '<div class="panel panel-default">\n' +
|
|
|
- ' <div class="panel-heading">\n' +
|
|
|
- ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
- ' <span class="houseTitle">' + spouseList[key].registerTime + '</span>\n' +
|
|
|
- ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteSpouse(this)">\n' +
|
|
|
- ' <span aria-hidden="true">×</span>\n' +
|
|
|
- ' </button>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="panel-body">\n' +
|
|
|
- ' <div class="col-sm-12">\n' +
|
|
|
- ' <input type="hidden" name="id" />\n' +
|
|
|
- ' <input type="hidden" name="pId" />\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">登记类型</label>\n' +
|
|
|
- ' <select type="text" class="form-control" name="type" value="' + spouseList[key].type + '">\n' +
|
|
|
- ' <option value="">请选择</option>\n' +
|
|
|
- ' <option value="1">初婚</option>\n' +
|
|
|
- ' <option value="2">复婚</option>\n' +
|
|
|
- ' <option value="3">再婚</option>\n' +
|
|
|
- ' <option value="4">离婚</option>\n' +
|
|
|
- ' </select>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">登记时间</label>\n' +
|
|
|
- ' <input type="text" class="form-control date" name="registerTime" value="' + spouseList[key].registerTime + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">配偶姓名</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="name" value="' + spouseList[key].name + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' <div class="rowGroup col-sm-3">\n' +
|
|
|
- ' <label class="control-label spacing">配偶证件号码</label>\n' +
|
|
|
- ' <input type="text" class="form-control" name="idCard" value="' + spouseList[key].idCard + '"/>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
- ' </div>'
|
|
|
+ '<div class="panel panel-default">\n' +
|
|
|
+ ' <div class="panel-heading">\n' +
|
|
|
+ ' <span class="caret" onclick="$(this).parent().next().toggle()"></span>\n' +
|
|
|
+ ' <span class="houseTitle">' + spouseList[key].registerTime + '</span>\n' +
|
|
|
+ ' <button type="button" class="close" aria-label="Close" style="float: right" onclick="HousepurchaseInfoDlg.deleteSpouse(this)">\n' +
|
|
|
+ ' <span aria-hidden="true">×</span>\n' +
|
|
|
+ ' </button>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="panel-body">\n' +
|
|
|
+ ' <div class="col-sm-12">\n' +
|
|
|
+ ' <input type="hidden" name="id" />\n' +
|
|
|
+ ' <input type="hidden" name="pId" />\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">登记类型</label>\n' +
|
|
|
+ ' <select type="text" class="form-control" name="type" value="' + spouseList[key].type + '">\n' +
|
|
|
+ ' <option value="">请选择</option>\n' +
|
|
|
+ ' <option value="1">初婚</option>\n' +
|
|
|
+ ' <option value="2">复婚</option>\n' +
|
|
|
+ ' <option value="3">再婚</option>\n' +
|
|
|
+ ' <option value="4">离婚</option>\n' +
|
|
|
+ ' </select>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">登记时间</label>\n' +
|
|
|
+ ' <input type="text" class="form-control date" name="registerTime" value="' + spouseList[key].registerTime + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">配偶姓名</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="name" value="' + spouseList[key].name + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' <div class="rowGroup col-sm-3">\n' +
|
|
|
+ ' <label class="control-label spacing">配偶证件号码</label>\n' +
|
|
|
+ ' <input type="text" class="form-control" name="idCard" value="' + spouseList[key].idCard + '"/>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>\n' +
|
|
|
+ ' </div>'
|
|
|
}
|
|
|
$("#mzjMarryData").empty().append(html);
|
|
|
$("select").each(function () {
|
|
@@ -1414,23 +1420,23 @@ $(function () {
|
|
|
"active": 1
|
|
|
})
|
|
|
HousepurchaseInfoDlg.initDate();
|
|
|
- Feng.showMiniFileModal(CONFIG.project_house,$("#type").val(),$("#id").val());
|
|
|
- initNoBtnFileTable(CONFIG.project_house,'fileTable');
|
|
|
+ Feng.showMiniFileModal(CONFIG.project_house, $("#type").val(), $("#id").val());
|
|
|
+ initNoBtnFileTable(CONFIG.project_house, 'fileTable');
|
|
|
var declareType = $("#declareType").val();
|
|
|
if (declareType == 1) {
|
|
|
$('#historyTable').bootstrapTable({
|
|
|
- url: Feng.ctxPath + "/housepurchase/getHistoryRecord?id=" + $("#id").val(),
|
|
|
+ url: Feng.ctxPath + "/admin/house/getHistoryRecord?id=" + $("#id").val(),
|
|
|
method: 'POST',
|
|
|
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
|
|
|
- search: false, // 是否显示表格搜索,此搜索是客户端搜索,不会进服务端
|
|
|
- showRefresh: false, // 是否显示刷新按钮
|
|
|
- clickToSelect: true, // 是否启用点击选中行
|
|
|
- singleSelect: true, // 设置True 将禁止多选
|
|
|
- striped: true, // 是否显示行间隔色
|
|
|
- pagination: false, // 设置为 true 会在表格底部显示分页条
|
|
|
+ search: false, // 是否显示表格搜索,此搜索是客户端搜索,不会进服务端
|
|
|
+ showRefresh: false, // 是否显示刷新按钮
|
|
|
+ clickToSelect: true, // 是否启用点击选中行
|
|
|
+ singleSelect: true, // 设置True 将禁止多选
|
|
|
+ striped: true, // 是否显示行间隔色
|
|
|
+ pagination: false, // 设置为 true 会在表格底部显示分页条
|
|
|
paginationHAlign: "left",
|
|
|
paginationDetailHAlign: "right",
|
|
|
- sidePagination: "server", // 设置在哪里进行分页,可选值为 'client' 或者 'server'
|
|
|
+ sidePagination: "server", // 设置在哪里进行分页,可选值为 'client' 或者 'server'
|
|
|
showColumns: false,
|
|
|
rowStyle: function (row, index) {
|
|
|
return {
|
|
@@ -1441,117 +1447,117 @@ $(function () {
|
|
|
}
|
|
|
},
|
|
|
columns:
|
|
|
- [
|
|
|
- {
|
|
|
- title: '年度',
|
|
|
- field: 'year',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "80px",
|
|
|
- 'class': 'uitd_showTip',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '姓名',
|
|
|
- field: 'name',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '证件号码',
|
|
|
- field: 'idCard',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "150px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '婚姻状态',
|
|
|
- field: 'marryStatusName',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '配偶姓名',
|
|
|
- field: 'spouseName',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '配偶证件号码',
|
|
|
- field: 'spouseIdcard',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '房屋地址',
|
|
|
- field: 'houseAddress',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '房屋建筑面积',
|
|
|
- field: 'houseArea',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '房源成交金额',
|
|
|
- field: 'houseMoney',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- width: "100px",
|
|
|
- 'class': 'uitd_showTip'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '计算结果',
|
|
|
- field: 'realEnjoyMoney',
|
|
|
- visible: true,
|
|
|
- align: 'center',
|
|
|
- valign: 'middle',
|
|
|
- 'class': 'uitd_showTip',
|
|
|
- width: "100px",
|
|
|
- formatter: function (value, row, index) {
|
|
|
- if (row.cashType == 1 && row.declareType == 1) {
|
|
|
- var html = "1.可享受总金额(首套房产金额):" + (parseFloat(row.totalMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>2.个人余额(未扣除本次):" + (parseFloat(row.balanceMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>3.房产余额(未扣除本次):" + (parseFloat(row.houseBalanceMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>4.上一年度未扣除其他政策金额:" + (parseFloat(row.lastOtherMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>5.本年度新增享受其他政策金额:" + (parseFloat(row.nowOtherMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>6.本年度人才层次可享受金额:" + (parseFloat(row.talentArrangeMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>7.本年度应享受金额(2,3,6比较得到):" + (parseFloat(row.shouldEnjoyMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>8.本年度扣除享受其他政策金额:" + (parseFloat(row.nowSubOtherMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>9.本年度未扣除享受其他政策金额:" + (parseFloat(row.nowNotSubOtherMoney) / 10000).toFixed(2) +
|
|
|
- "万元</br>10.本年度最终可到账金额:" + (parseFloat(row.realEnjoyMoney) / 10000).toFixed(2) + "万元";
|
|
|
- return "<span class='label label-success' onclick=\"layer.alert('" + html + "', {title:'计算结果', skin: 'layui-layer-molv',closeBtn: 0})\" >" +
|
|
|
- "<i class=\"fa fa-book\"></i>查看" +
|
|
|
- "</span>";
|
|
|
- } else {
|
|
|
- return "无";
|
|
|
+ [
|
|
|
+ {
|
|
|
+ title: '年度',
|
|
|
+ field: 'year',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "80px",
|
|
|
+ 'class': 'uitd_showTip',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '姓名',
|
|
|
+ field: 'name',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '证件号码',
|
|
|
+ field: 'idCard',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "150px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '婚姻状态',
|
|
|
+ field: 'marryStatusName',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '配偶姓名',
|
|
|
+ field: 'spouseName',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '配偶证件号码',
|
|
|
+ field: 'spouseIdcard',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '房屋地址',
|
|
|
+ field: 'houseAddress',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '房屋建筑面积',
|
|
|
+ field: 'houseArea',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '房源成交金额',
|
|
|
+ field: 'houseMoney',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ width: "100px",
|
|
|
+ 'class': 'uitd_showTip'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '计算结果',
|
|
|
+ field: 'realEnjoyMoney',
|
|
|
+ visible: true,
|
|
|
+ align: 'center',
|
|
|
+ valign: 'middle',
|
|
|
+ 'class': 'uitd_showTip',
|
|
|
+ width: "100px",
|
|
|
+ formatter: function (value, row, index) {
|
|
|
+ if (row.cashType == 1 && row.declareType == 1) {
|
|
|
+ var html = "1.可享受总金额(首套房产金额):" + (parseFloat(row.totalMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>2.个人余额(未扣除本次):" + (parseFloat(row.balanceMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>3.房产余额(未扣除本次):" + (parseFloat(row.houseBalanceMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>4.上一年度未扣除其他政策金额:" + (parseFloat(row.lastOtherMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>5.本年度新增享受其他政策金额:" + (parseFloat(row.nowOtherMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>6.本年度人才层次可享受金额:" + (parseFloat(row.talentArrangeMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>7.本年度应享受金额(2,3,6比较得到):" + (parseFloat(row.shouldEnjoyMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>8.本年度扣除享受其他政策金额:" + (parseFloat(row.nowSubOtherMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>9.本年度未扣除享受其他政策金额:" + (parseFloat(row.nowNotSubOtherMoney) / 10000).toFixed(2) +
|
|
|
+ "万元</br>10.本年度最终可到账金额:" + (parseFloat(row.realEnjoyMoney) / 10000).toFixed(2) + "万元";
|
|
|
+ return "<span class='label label-success' onclick=\"layer.alert('" + html + "', {title:'计算结果', skin: 'layui-layer-molv',closeBtn: 0})\" >" +
|
|
|
+ "<i class=\"fa fa-book\"></i>查看" +
|
|
|
+ "</span>";
|
|
|
+ } else {
|
|
|
+ return "无";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- ]
|
|
|
+ ]
|
|
|
,
|
|
|
onPostBody: function () {
|
|
|
$('#' + id + "td.uitd_showTip").bind("mouseover", function () {
|