update 增加项目名称 补偿方式 分户评估id 补偿协议id
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
|||||||
public class Fhpgs
|
public class Fhpgs
|
||||||
{
|
{
|
||||||
public string PrjId { get; set; }
|
public string PrjId { get; set; }
|
||||||
|
public string id { get; set; }
|
||||||
public string AssessmentNo { get; set; }
|
public string AssessmentNo { get; set; }
|
||||||
public string HouseAddress { get; set; }
|
public string HouseAddress { get; set; }
|
||||||
public string countValue { get; set; }
|
public string countValue { get; set; }
|
||||||
@@ -21,8 +22,11 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
|||||||
public class Bcxy
|
public class Bcxy
|
||||||
{
|
{
|
||||||
public string PrjId { get; set; }
|
public string PrjId { get; set; }
|
||||||
|
public string id { get; set; }
|
||||||
public string XyNo { get; set; }
|
public string XyNo { get; set; }
|
||||||
public string HouseAddress { get; set; }
|
public string HouseAddress { get; set; }
|
||||||
|
public string SwitchProductionWay { get; set; }
|
||||||
|
|
||||||
public string SummationShouldCompensateMoney { get; set; }
|
public string SummationShouldCompensateMoney { get; set; }
|
||||||
}
|
}
|
||||||
public class H5IndexModel
|
public class H5IndexModel
|
||||||
@@ -37,6 +41,7 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
|||||||
public class H5IndexPrjModel
|
public class H5IndexPrjModel
|
||||||
{
|
{
|
||||||
public string PrjId { get; set; }
|
public string PrjId { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 区域
|
/// 区域
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -29,18 +29,9 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
db = repository.Context;
|
db = repository.Context;
|
||||||
_jsonSerializer = jsonSerializer;
|
_jsonSerializer = jsonSerializer;
|
||||||
}
|
}
|
||||||
/// <summary>
|
private (string, string) GetUserNameCardNoByTicket(string ticket)
|
||||||
/// 被征收人关联的项目列表
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="args"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
[HttpPost("/project/list")]
|
|
||||||
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
|
||||||
public async Task<dynamic> PrjList([FromBody] JObject args)
|
|
||||||
{
|
{
|
||||||
#region 票据
|
#region 票据
|
||||||
var ticket = args.GetJsonValue("ticket", isThrowExp: true);
|
|
||||||
//var ticket = Request.Query["ticket"];
|
|
||||||
if (!string.IsNullOrWhiteSpace(ticket))
|
if (!string.IsNullOrWhiteSpace(ticket))
|
||||||
{
|
{
|
||||||
var time = DateTime.Now.ToString("yyyyMMddHHmmss");
|
var time = DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||||
@@ -90,8 +81,25 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
throw Oops.Oh($"ticket接口返回值有误,[{tickerRsltStr}]");
|
throw Oops.Oh($"ticket接口返回值有误,[{tickerRsltStr}]");
|
||||||
var cardno = userinfoObj["idnum"].ToString();
|
var cardno = userinfoObj["idnum"].ToString();
|
||||||
var username = userinfoObj["username"].ToString();
|
var username = userinfoObj["username"].ToString();
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
return (cardno, username);
|
||||||
|
}
|
||||||
|
return ("", "");
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 被征收人关联的项目列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="args"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost("/project/list")]
|
||||||
|
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
||||||
|
public async Task<dynamic> PrjList([FromBody] JObject args)
|
||||||
|
{
|
||||||
|
var ticket = args.GetJsonValue("ticket", isThrowExp: true);
|
||||||
|
//获取用户身份证号码
|
||||||
|
var (cardno, username) = GetUserNameCardNoByTicket(ticket);
|
||||||
|
if (!string.IsNullOrEmpty(cardno))
|
||||||
|
{
|
||||||
//var cardno = args.GetJsonValue("cardno", isThrowExp: true);
|
//var cardno = args.GetJsonValue("cardno", isThrowExp: true);
|
||||||
//住宅调查表
|
//住宅调查表
|
||||||
var list_zz_dcb = await db.Ado.SqlQueryAsync<Dcbs>("select ID dcbId,ProjectId PrjId from InvestigateTable b where b.ExpropriatedCardNo=@ExpropriatedCardNo", new List<SugarParameter> { new SugarParameter("ExpropriatedCardNo", cardno, System.Data.DbType.String) }.ToArray());
|
var list_zz_dcb = await db.Ado.SqlQueryAsync<Dcbs>("select ID dcbId,ProjectId PrjId from InvestigateTable b where b.ExpropriatedCardNo=@ExpropriatedCardNo", new List<SugarParameter> { new SugarParameter("ExpropriatedCardNo", cardno, System.Data.DbType.String) }.ToArray());
|
||||||
@@ -100,13 +108,12 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
//调查表集合
|
//调查表集合
|
||||||
var list_dcbs = list_zz_dcb.Concat(list_fzz_dcb);
|
var list_dcbs = list_zz_dcb.Concat(list_fzz_dcb);
|
||||||
//项目列表
|
//项目列表
|
||||||
var list_projects = await db.Ado.SqlQueryAsync<H5IndexPrjModel>("select a.ID Prjid,a.area,a.HouseAcquisitionDepartment as zsbm,a.CollectDecisionNo1 as year,(isnull(a.CollectDecisionNoHeadName,'')+'['+cast(a.CollectDecisionNo1 as varchar)+']'+ isnull(cast(a.CollectDecisionNo2 as varchar),'')+'号') zsjdh,dbo.get_current_state(a.ID) CurrentState from Projects a where ID in ('" + string.Join("','", list_dcbs.Select(p => p.PrjId)) + "') ");
|
var list_projects = await db.Ado.SqlQueryAsync<H5IndexPrjModel>("select a.ID Prjid,a.Name,a.area,a.HouseAcquisitionDepartment as zsbm,a.CollectDecisionNo1 as year,(isnull(a.CollectDecisionNoHeadName,'')+'['+cast(a.CollectDecisionNo1 as varchar)+']'+ isnull(cast(a.CollectDecisionNo2 as varchar),'')+'号') zsjdh,dbo.get_current_state(a.ID) CurrentState from Projects a where ID in ('" + string.Join("','", list_dcbs.Select(p => p.PrjId)) + "') ");
|
||||||
//分户评估
|
//分户评估
|
||||||
var InvestigateTableID_param = "'" + string.Join("','", list_dcbs.Select(p => p.dcbId)) + "'";
|
var InvestigateTableID_param = "'" + string.Join("','", list_dcbs.Select(p => p.dcbId)) + "'";
|
||||||
var list_fhpgs = await db.Ado.SqlQueryAsync<Fhpgs>("select e.ProjectId as PrjId ,d.AssessmentNo,e.HouseAddress,d.countValue from InvestigateTable_Assessment d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select e.ProjectId as PrjId ,AssessmentNo, e.HouseAddress, d.countValue from NonInvestigateTable_Assessment d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ) ;");
|
var list_fhpgs = await db.Ado.SqlQueryAsync<Fhpgs>("select d.id,e.ProjectId as PrjId ,d.AssessmentNo,e.HouseAddress,d.countValue from InvestigateTable_Assessment d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select e.ProjectId as PrjId ,AssessmentNo, e.HouseAddress, d.countValue from NonInvestigateTable_Assessment d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ) ;");
|
||||||
//补偿协议
|
//补偿协议
|
||||||
var list_bcxys = await db.Ado.SqlQueryAsync<Bcxy>("select isnull(d.CollectDecisionNoHeadName,'')+isnull(d.No1,'')+'-'+isnull(d.No2,'')+(case when (d.No3 is null or d.No3 = '') then '' else ('-'+d.No3) end ) XyNo,d.SwitchProductionWay,e.HouseAddress,d.SummationShouldCompensateMoney,e.ProjectId as PrjId from ResidentialAgreement d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select isnull(d.CollectDecisionNoHeadName, '') + isnull(d.No2, '') + '-' + isnull(d.No3, '') XyNo , d.SwitchProductionWay, e.HouseAddress, d.SummationShouldCompensateMoney, e.ProjectId as PrjId from NonResidentialAgreement d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ); ");
|
var list_bcxys = await db.Ado.SqlQueryAsync<Bcxy>("select d.id,isnull(d.CollectDecisionNoHeadName,'')+isnull(d.No1,'')+'-'+isnull(d.No2,'')+(case when (d.No3 is null or d.No3 = '') then '' else ('-'+d.No3) end ) XyNo,d.SwitchProductionWay,e.HouseAddress,d.SummationShouldCompensateMoney,e.ProjectId as PrjId from ResidentialAgreement d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select isnull(d.CollectDecisionNoHeadName, '') + isnull(d.No2, '') + '-' + isnull(d.No3, '') XyNo , d.SwitchProductionWay, e.HouseAddress, d.SummationShouldCompensateMoney, e.ProjectId as PrjId from NonResidentialAgreement d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ); ");
|
||||||
|
|
||||||
list_projects.ForEach(p =>
|
list_projects.ForEach(p =>
|
||||||
{
|
{
|
||||||
p.FhpgList = list_fhpgs.Where(a => a.PrjId == p.PrjId);
|
p.FhpgList = list_fhpgs.Where(a => a.PrjId == p.PrjId);
|
||||||
@@ -145,12 +152,12 @@ namespace Ewide.NbzsZheliban.Service
|
|||||||
//调查表集合
|
//调查表集合
|
||||||
var list_dcbs = list_zz_dcb.Concat(list_fzz_dcb);
|
var list_dcbs = list_zz_dcb.Concat(list_fzz_dcb);
|
||||||
//项目列表
|
//项目列表
|
||||||
var list_projects = await db.Ado.SqlQueryAsync<H5IndexPrjModel>("select a.ID Prjid,a.area,a.HouseAcquisitionDepartment as zsbm,a.CollectDecisionNo1 as year,(isnull(a.CollectDecisionNoHeadName,'')+'['+cast(a.CollectDecisionNo1 as varchar)+']'+ isnull(cast(a.CollectDecisionNo2 as varchar),'')+'号') zsjdh,dbo.get_current_state(a.ID) CurrentState from Projects a where ID in ('" + string.Join("','", list_dcbs.Select(p => p.PrjId)) + "') ");
|
var list_projects = await db.Ado.SqlQueryAsync<H5IndexPrjModel>("select a.ID Prjid,a.Name,a.area,a.HouseAcquisitionDepartment as zsbm,a.CollectDecisionNo1 as year,(isnull(a.CollectDecisionNoHeadName,'')+'['+cast(a.CollectDecisionNo1 as varchar)+']'+ isnull(cast(a.CollectDecisionNo2 as varchar),'')+'号') zsjdh,dbo.get_current_state(a.ID) CurrentState from Projects a where ID in ('" + string.Join("','", list_dcbs.Select(p => p.PrjId)) + "') ");
|
||||||
//分户评估
|
//分户评估
|
||||||
var InvestigateTableID_param = "'" + string.Join("','", list_dcbs.Select(p => p.dcbId)) + "'";
|
var InvestigateTableID_param = "'" + string.Join("','", list_dcbs.Select(p => p.dcbId)) + "'";
|
||||||
var list_fhpgs = await db.Ado.SqlQueryAsync<Fhpgs>("select e.ProjectId as PrjId ,d.AssessmentNo,e.HouseAddress,d.countValue from InvestigateTable_Assessment d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select e.ProjectId as PrjId ,AssessmentNo, e.HouseAddress, d.countValue from NonInvestigateTable_Assessment d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ) ;");
|
var list_fhpgs = await db.Ado.SqlQueryAsync<Fhpgs>("select d.id,e.ProjectId as PrjId ,d.AssessmentNo,e.HouseAddress,d.countValue from InvestigateTable_Assessment d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select d.id,e.ProjectId as PrjId ,AssessmentNo, e.HouseAddress, d.countValue from NonInvestigateTable_Assessment d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ) ;");
|
||||||
//补偿协议
|
//补偿协议
|
||||||
var list_bcxys = await db.Ado.SqlQueryAsync<Bcxy>("select isnull(d.CollectDecisionNoHeadName,'')+isnull(d.No1,'')+'-'+isnull(d.No2,'')+(case when (d.No3 is null or d.No3 = '') then '' else ('-'+d.No3) end ) XyNo,d.SwitchProductionWay,e.HouseAddress,d.SummationShouldCompensateMoney,e.ProjectId as PrjId from ResidentialAgreement d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select isnull(d.CollectDecisionNoHeadName, '') + isnull(d.No2, '') + '-' + isnull(d.No3, '') XyNo , d.SwitchProductionWay, e.HouseAddress, d.SummationShouldCompensateMoney, e.ProjectId as PrjId from NonResidentialAgreement d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ); ");
|
var list_bcxys = await db.Ado.SqlQueryAsync<Bcxy>("select d.id,isnull(d.CollectDecisionNoHeadName,'')+isnull(d.No1,'')+'-'+isnull(d.No2,'')+(case when (d.No3 is null or d.No3 = '') then '' else ('-'+d.No3) end ) XyNo,d.SwitchProductionWay,e.HouseAddress,d.SummationShouldCompensateMoney,e.ProjectId as PrjId from ResidentialAgreement d inner join InvestigateTable e on d.InvestigateTableId=e.ID where d.InvestigateTableID in ( " + InvestigateTableID_param + " ) union all select d.id,isnull(d.CollectDecisionNoHeadName, '') + isnull(d.No2, '') + '-' + isnull(d.No3, '') XyNo , d.SwitchProductionWay, e.HouseAddress, d.SummationShouldCompensateMoney, e.ProjectId as PrjId from NonResidentialAgreement d inner join NonResidentialInvestigateTable e on d.NonInvestigateTableID = e.ID where d.NonInvestigateTableID in ( " + InvestigateTableID_param + " ); ");
|
||||||
|
|
||||||
list_projects.ForEach(p =>
|
list_projects.ForEach(p =>
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,19 +7,28 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="baseInfo">
|
<div class="baseInfo">
|
||||||
<van-image :src="require('@/assets/img/renyuanliebiao.png')" class="baseImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/renyuanliebiao.png')"
|
||||||
|
class="baseImg"
|
||||||
|
/>
|
||||||
<span class="baseFont">被征收人姓名:</span>
|
<span class="baseFont">被征收人姓名:</span>
|
||||||
<span class="baseFont">{{ data.userName }}</span>
|
<span class="baseFont">{{ data.userName }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="baseInfo">
|
<div class="baseInfo">
|
||||||
<van-image :src="require('@/assets/img/credentials_icon.png')" class="baseImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/credentials_icon.png')"
|
||||||
|
class="baseImg"
|
||||||
|
/>
|
||||||
<span class="baseFont">身份证号码:</span>
|
<span class="baseFont">身份证号码:</span>
|
||||||
<span class="baseFont">{{ data.idCard }}</span>
|
<span class="baseFont">{{ data.idCard }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="gridBg centerMagin">
|
<div class="gridBg centerMagin">
|
||||||
<van-image :src="require('@/assets/img/scan.png')" class="gridImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/scan.png')"
|
||||||
|
class="gridImg"
|
||||||
|
/>
|
||||||
<van-image
|
<van-image
|
||||||
:src="require('@/assets/img/evaluation .png')"
|
:src="require('@/assets/img/evaluation .png')"
|
||||||
@click="gotoProject('pg')"
|
@click="gotoProject('pg')"
|
||||||
@@ -34,19 +43,28 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="centerMagin">
|
<div class="centerMagin">
|
||||||
<van-image :src="require('@/assets/img/government.png')" class="bigImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/government.png')"
|
||||||
|
class="bigImg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<van-list>
|
<van-list>
|
||||||
<div :key="item.prjId" v-for="(item, i) in data.prjList">
|
<div :key="item.prjId" v-for="(item, i) in data.prjList">
|
||||||
<div class="centerMagin">
|
<div class="centerMagin">
|
||||||
<div class="project">
|
<div class="project">
|
||||||
<div>
|
<div>
|
||||||
<van-image :src="require('@/assets/img/project.png')" class="projectIcon" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/project.png')"
|
||||||
|
class="projectIcon"
|
||||||
|
/>
|
||||||
<span class="projectTitle">一块地???</span>
|
<span class="projectTitle">一块地???</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="projectRight">
|
<div class="projectRight">
|
||||||
<van-image :src="require('@/assets/img/menu_yhxy.png')" class="projectRightIcon" />
|
<van-image
|
||||||
<span class="projectRightFont">{{item.currentState}}</span>
|
:src="require('@/assets/img/menu_yhxy.png')"
|
||||||
|
class="projectRightIcon"
|
||||||
|
/>
|
||||||
|
<span class="projectRightFont">{{ item.currentState }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -63,7 +81,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="projectCenterInfo">
|
<div class="projectCenterInfo">
|
||||||
<div class="projectCenterInfo">
|
<div class="projectCenterInfo">
|
||||||
<van-image :src="require('@/assets/img/project_dep.png')" class="projectCenterImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/project_dep.png')"
|
||||||
|
class="projectCenterImg"
|
||||||
|
/>
|
||||||
<span class="projectCenterFont">征收部门:</span>
|
<span class="projectCenterFont">征收部门:</span>
|
||||||
<span class="projectCenterFont">{{ item.zsbm }}</span>
|
<span class="projectCenterFont">{{ item.zsbm }}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -80,19 +101,23 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="projectCenterInfo">
|
<div class="projectCenterInfo">
|
||||||
<div class="projectCenterInfo">
|
<div class="projectCenterInfo">
|
||||||
<van-image :src="require('@/assets/img/project_no.png')" class="projectCenterImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/project_no.png')"
|
||||||
|
class="projectCenterImg"
|
||||||
|
/>
|
||||||
<span class="projectCenterFont">征收决定号:</span>
|
<span class="projectCenterFont">征收决定号:</span>
|
||||||
<span class="projectCenterFont" style="color: #3883f1">
|
<span class="projectCenterFont" style="color: #3883f1">
|
||||||
{{
|
{{ item.zsjdh }}
|
||||||
item.zsjdh
|
|
||||||
}}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="centerMagin">
|
<div class="centerMagin">
|
||||||
<div class="assess">
|
<div class="assess">
|
||||||
<div>
|
<div>
|
||||||
<van-image :src="require('@/assets/img/assess_1.png')" class="assessIcon" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/assess_1.png')"
|
||||||
|
class="assessIcon"
|
||||||
|
/>
|
||||||
<span class="assessTitle">分户评估结果</span>
|
<span class="assessTitle">分户评估结果</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div>
|
<!-- <div>
|
||||||
@@ -100,28 +125,39 @@
|
|||||||
</div>-->
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
<van-list>
|
<van-list>
|
||||||
<div :key="assess.prjId" class="assessCenter1" v-for="(assess, i) in item.fhpgList">
|
<div
|
||||||
|
:key="assess.prjId"
|
||||||
|
class="assessCenter1"
|
||||||
|
v-for="(assess, i) in item.fhpgList"
|
||||||
|
>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont">评估报告编号:</span>
|
<span class="projectCenterFont">评估报告编号:</span>
|
||||||
<span class="projectCenterFont">{{ assess.assessmentNo }}</span>
|
<span class="projectCenterFont">{{
|
||||||
|
assess.assessmentNo
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont" style="width: 40%">被征收房屋地址:</span>
|
<span class="projectCenterFont" style="width: 40%"
|
||||||
|
>被征收房屋地址:</span
|
||||||
|
>
|
||||||
<span class="projectCenterFont protocolTitle">
|
<span class="projectCenterFont protocolTitle">
|
||||||
{{
|
{{ assess.houseAddress }}
|
||||||
assess.houseAddress
|
|
||||||
}}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont">评估总金额:</span>
|
<span class="projectCenterFont">评估总金额:</span>
|
||||||
<span class="projectTitle" style="color: red">¥{{ assess.countValue }}</span>
|
<span class="projectTitle" style="color: red"
|
||||||
|
>¥{{ assess.countValue }}</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</van-list>
|
</van-list>
|
||||||
<div class="assess">
|
<div class="assess">
|
||||||
<div>
|
<div>
|
||||||
<van-image :src="require('@/assets/img/assess_2.png')" class="assessIcon" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/assess_2.png')"
|
||||||
|
class="assessIcon"
|
||||||
|
/>
|
||||||
<span class="assessTitle">补偿协议</span>
|
<span class="assessTitle">补偿协议</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div>
|
<!-- <div>
|
||||||
@@ -139,27 +175,24 @@
|
|||||||
<span class="projectCenterFont">{{ protocol.xyNo }}</span>
|
<span class="projectCenterFont">{{ protocol.xyNo }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont" style="width: 40%">被征收房屋地址:</span>
|
<span class="projectCenterFont" style="width: 40%"
|
||||||
|
>被征收房屋地址:</span
|
||||||
|
>
|
||||||
<span class="projectCenterFont protocolTitle">
|
<span class="projectCenterFont protocolTitle">
|
||||||
{{
|
{{ protocol.houseAddress }}
|
||||||
protocol.houseAddress
|
|
||||||
}}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont">补偿方式:</span>
|
<span class="projectCenterFont">补偿方式:</span>
|
||||||
<span class="projectCenterFont">
|
<span class="projectCenterFont">
|
||||||
{{
|
{{ protocol.compensation }}
|
||||||
protocol.compensation
|
|
||||||
}}
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="assessBox">
|
<div class="assessBox">
|
||||||
<span class="projectCenterFont">合计补偿资金:</span>
|
<span class="projectCenterFont">合计补偿资金:</span>
|
||||||
<span
|
<span class="projectTitle" style="color: red"
|
||||||
class="projectTitle"
|
>¥{{ protocol.summationShouldCompensateMoney }}</span
|
||||||
style="color: red"
|
>
|
||||||
>¥{{ protocol.summationShouldCompensateMoney }}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</van-list>
|
</van-list>
|
||||||
@@ -168,7 +201,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</van-list>
|
</van-list>
|
||||||
<div class="centerMagin">
|
<div class="centerMagin">
|
||||||
<van-image :src="require('@/assets/img/expropriationPolicy.png')" class="bigImg" />
|
<van-image
|
||||||
|
:src="require('@/assets/img/expropriationPolicy.png')"
|
||||||
|
class="bigImg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="centerMagin">
|
<div class="centerMagin">
|
||||||
<span class="projectTitle" style="color: #202020">征收政策</span>
|
<span class="projectTitle" style="color: #202020">征收政策</span>
|
||||||
@@ -186,7 +222,10 @@
|
|||||||
<div :key="item.id" class="protocolList" v-for="(item, i) in list">
|
<div :key="item.id" class="protocolList" v-for="(item, i) in list">
|
||||||
<div class="protocolLine" v-if="i != list.length - 1">
|
<div class="protocolLine" v-if="i != list.length - 1">
|
||||||
<div class="font14 protocolTitle">{{ item.title }}</div>
|
<div class="font14 protocolTitle">{{ item.title }}</div>
|
||||||
<div class="assessBox" style="padding-left: 5px; padding-right: 5px">
|
<div
|
||||||
|
class="assessBox"
|
||||||
|
style="padding-left: 5px; padding-right: 5px"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<span class="font11">发布时间:</span>
|
<span class="font11">发布时间:</span>
|
||||||
<span class="font11">{{ item.publish_date }}</span>
|
<span class="font11">{{ item.publish_date }}</span>
|
||||||
@@ -199,7 +238,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="padding-bottom: 10px" v-else>
|
<div style="padding-bottom: 10px" v-else>
|
||||||
<div class="font14 protocolTitle">{{ item.title }}</div>
|
<div class="font14 protocolTitle">{{ item.title }}</div>
|
||||||
<div class="assessBox" style="padding-left: 5px; padding-right: 5px">
|
<div
|
||||||
|
class="assessBox"
|
||||||
|
style="padding-left: 5px; padding-right: 5px"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<span class="font11">发布时间:</span>
|
<span class="font11">发布时间:</span>
|
||||||
<span class="font11">{{ item.publish_date }}</span>
|
<span class="font11">{{ item.publish_date }}</span>
|
||||||
@@ -219,12 +261,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import './home.css';
|
import "./home.css";
|
||||||
import { apis } from '@/common/apis';
|
import { apis } from "@/common/apis";
|
||||||
import { token } from '@/common/token';
|
import { token } from "@/common/token";
|
||||||
import request from '@/common/util';
|
import request from "@/common/util";
|
||||||
export default {
|
export default {
|
||||||
name: 'home',
|
name: "home",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// apidata: {
|
// apidata: {
|
||||||
@@ -287,25 +329,25 @@ export default {
|
|||||||
// amount: "0",
|
// amount: "0",
|
||||||
// },
|
// },
|
||||||
data: {},
|
data: {},
|
||||||
total: '8',
|
total: "8",
|
||||||
list: [
|
list: [
|
||||||
{
|
{
|
||||||
id: 11,
|
id: 11,
|
||||||
area: '全大市',
|
area: "全大市",
|
||||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||||
publish_date: '2021年09月05日',
|
publish_date: "2021年09月05日",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 22,
|
id: 22,
|
||||||
area: '全大市',
|
area: "全大市",
|
||||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||||
publish_date: '2021年09月05日',
|
publish_date: "2021年09月05日",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 33,
|
id: 33,
|
||||||
area: '全大市',
|
area: "全大市",
|
||||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||||
publish_date: '2021年09月05日',
|
publish_date: "2021年09月05日",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -321,75 +363,43 @@ export default {
|
|||||||
let apidata = {
|
let apidata = {
|
||||||
success: true,
|
success: true,
|
||||||
code: 200,
|
code: 200,
|
||||||
message: '请求成功',
|
message: "请求成功",
|
||||||
data: {
|
data: {
|
||||||
|
userName: "张三丰",
|
||||||
|
idCard: "341203199206303411",
|
||||||
prjList: [
|
prjList: [
|
||||||
{
|
{
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||||
area: '海曙区',
|
name: "项目名称",
|
||||||
zsbm: '宁波市海曙区房屋征收管理服务中心',
|
area: "海曙区",
|
||||||
|
zsbm: "宁波市海曙区房屋征收管理服务中心",
|
||||||
year: 2021.0,
|
year: 2021.0,
|
||||||
zsjdh: '海政发[2021]513号',
|
zsjdh: "海政发[2021]513号",
|
||||||
currentState: '项目报结',
|
currentState: "项目报结",
|
||||||
fhpgList: [
|
fhpgList: [
|
||||||
{
|
{
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||||
assessmentNo: '0513',
|
id: "a400583e-ae93-444f-8a20-4c4731b0cc13",
|
||||||
houseAddress: '高桥镇',
|
assessmentNo: "0513",
|
||||||
countValue: '137654.00',
|
houseAddress: "高桥镇",
|
||||||
},
|
countValue: "137654.00",
|
||||||
{
|
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f6022',
|
|
||||||
assessmentNo: '0514',
|
|
||||||
houseAddress: '高桥镇11',
|
|
||||||
countValue: '137611.00',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
bcxyList: [
|
bcxyList: [
|
||||||
{
|
{
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||||
xyNo: '海政发2021513-0513-1',
|
id: "bf21b302-8059-462d-985f-ce7452c4d5b4",
|
||||||
houseAddress: '高桥镇',
|
xyNo: "海政发2021513-0513-1",
|
||||||
summationShouldCompensateMoney: '137654.00',
|
houseAddress: "高桥镇",
|
||||||
},
|
switchProductionWay: "货币补偿",
|
||||||
{
|
summationShouldCompensateMoney: "137654.00",
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f6334',
|
|
||||||
xyNo: '海政发2021513-0513-3',
|
|
||||||
houseAddress: '高桥镇33',
|
|
||||||
summationShouldCompensateMoney: '137633.00',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c3',
|
|
||||||
area: '海曙区11',
|
|
||||||
zsbm: '宁波市海曙区房屋征收管理服务中心11',
|
|
||||||
year: 2021.0,
|
|
||||||
zsjdh: '海政发[2021]513号11',
|
|
||||||
currentState: '项目报结',
|
|
||||||
fhpgList: [
|
|
||||||
{
|
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
|
||||||
assessmentNo: '0513',
|
|
||||||
houseAddress: '高桥镇',
|
|
||||||
countValue: '137654.00',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
bcxyList: [
|
|
||||||
{
|
|
||||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
|
||||||
xyNo: '海政发2021513-0513-1',
|
|
||||||
houseAddress: '高桥镇',
|
|
||||||
summationShouldCompensateMoney: '137654.00',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
idCard: '330203199904044544',
|
|
||||||
userName: '姓名',
|
|
||||||
},
|
},
|
||||||
extras: null,
|
extras: null,
|
||||||
timestamp: 1631256680049,
|
timestamp: 1631261808797,
|
||||||
};
|
};
|
||||||
if (apidata.code == 200) {
|
if (apidata.code == 200) {
|
||||||
this.data = apidata.data;
|
this.data = apidata.data;
|
||||||
@@ -404,11 +414,11 @@ export default {
|
|||||||
// });
|
// });
|
||||||
},
|
},
|
||||||
gotoProject(type) {
|
gotoProject(type) {
|
||||||
this.$router.push({ name: 'projectSelect', params: { type: type } });
|
this.$router.push({ name: "projectSelect", params: { type: type } });
|
||||||
},
|
},
|
||||||
onLogin() {
|
onLogin() {
|
||||||
// this.loading = true;
|
// this.loading = true;
|
||||||
let form = { account: 'zgbqc', password: '111qqqqq' };
|
let form = { account: "zgbqc", password: "111qqqqq" };
|
||||||
apis
|
apis
|
||||||
.login(form)
|
.login(form)
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
@@ -445,7 +455,7 @@ export default {
|
|||||||
var tbl = [];
|
var tbl = [];
|
||||||
var len = n - num.toString().length;
|
var len = n - num.toString().length;
|
||||||
if (len <= 0) return num;
|
if (len <= 0) return num;
|
||||||
if (!tbl[len]) tbl[len] = new Array(len + 1).join('0');
|
if (!tbl[len]) tbl[len] = new Array(len + 1).join("0");
|
||||||
return tbl[len] + num;
|
return tbl[len] + num;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user