Compare commits
2 Commits
cc188b4bdc
...
46393f4d5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46393f4d5b | ||
|
|
9e2bc3c936 |
@@ -14,6 +14,7 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
||||
public class Fhpgs
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
public string id { get; set; }
|
||||
public string AssessmentNo { get; set; }
|
||||
public string HouseAddress { get; set; }
|
||||
public string countValue { get; set; }
|
||||
@@ -21,8 +22,11 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
||||
public class Bcxy
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
public string id { get; set; }
|
||||
public string XyNo { get; set; }
|
||||
public string HouseAddress { get; set; }
|
||||
public string SwitchProductionWay { get; set; }
|
||||
|
||||
public string SummationShouldCompensateMoney { get; set; }
|
||||
}
|
||||
public class H5IndexModel
|
||||
@@ -37,6 +41,7 @@ namespace Ewide.NbzsZheliban.Entity.Extends
|
||||
public class H5IndexPrjModel
|
||||
{
|
||||
public string PrjId { get; set; }
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// </summary>
|
||||
|
||||
@@ -29,18 +29,9 @@ namespace Ewide.NbzsZheliban.Service
|
||||
db = repository.Context;
|
||||
_jsonSerializer = jsonSerializer;
|
||||
}
|
||||
/// <summary>
|
||||
/// 被征收人关联的项目列表
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("/project/list")]
|
||||
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
||||
public async Task<dynamic> PrjList([FromBody] JObject args)
|
||||
private (string, string) GetUserNameCardNoByTicket(string ticket)
|
||||
{
|
||||
#region 票据
|
||||
var ticket = args.GetJsonValue("ticket", isThrowExp: true);
|
||||
//var ticket = Request.Query["ticket"];
|
||||
if (!string.IsNullOrWhiteSpace(ticket))
|
||||
{
|
||||
var time = DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
@@ -90,8 +81,25 @@ namespace Ewide.NbzsZheliban.Service
|
||||
throw Oops.Oh($"ticket接口返回值有误,[{tickerRsltStr}]");
|
||||
var cardno = userinfoObj["idnum"].ToString();
|
||||
var username = userinfoObj["username"].ToString();
|
||||
|
||||
#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 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_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 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 =>
|
||||
{
|
||||
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_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 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 =>
|
||||
{
|
||||
|
||||
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 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">{{ data.userName }}</span>
|
||||
</div>
|
||||
<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">{{ data.idCard }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<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
|
||||
:src="require('@/assets/img/evaluation .png')"
|
||||
@click="gotoProject('pg')"
|
||||
@@ -34,19 +43,28 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="centerMagin">
|
||||
<van-image :src="require('@/assets/img/government.png')" class="bigImg" />
|
||||
<van-image
|
||||
:src="require('@/assets/img/government.png')"
|
||||
class="bigImg"
|
||||
/>
|
||||
</div>
|
||||
<van-list>
|
||||
<div :key="item.prjId" v-for="(item) in data.prjList">
|
||||
<div class="centerMagin">
|
||||
<div class="project">
|
||||
<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>
|
||||
</div>
|
||||
<div class="projectRight">
|
||||
<van-image :src="require('@/assets/img/menu_yhxy.png')" class="projectRightIcon" />
|
||||
<span class="projectRightFont">{{item.currentState}}</span>
|
||||
<van-image
|
||||
:src="require('@/assets/img/menu_yhxy.png')"
|
||||
class="projectRightIcon"
|
||||
/>
|
||||
<span class="projectRightFont">{{ item.currentState }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -63,7 +81,10 @@
|
||||
</div>
|
||||
<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">{{ item.zsbm }}</span>
|
||||
</div>
|
||||
@@ -80,19 +101,23 @@
|
||||
</div>
|
||||
<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" style="color: #3883f1">
|
||||
{{
|
||||
item.zsjdh
|
||||
}}
|
||||
{{ item.zsjdh }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centerMagin">
|
||||
<div class="assess">
|
||||
<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>
|
||||
</div>
|
||||
<!-- <div>
|
||||
@@ -103,25 +128,32 @@
|
||||
<div :key="assess.prjId" class="assessCenter1" v-for="(assess) in item.fhpgList">
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont">评估报告编号:</span>
|
||||
<span class="projectCenterFont">{{ assess.assessmentNo }}</span>
|
||||
<span class="projectCenterFont">{{
|
||||
assess.assessmentNo
|
||||
}}</span>
|
||||
</div>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont" style="width: 40%">被征收房屋地址:</span>
|
||||
<span class="projectCenterFont" style="width: 40%"
|
||||
>被征收房屋地址:</span
|
||||
>
|
||||
<span class="projectCenterFont protocolTitle">
|
||||
{{
|
||||
assess.houseAddress
|
||||
}}
|
||||
{{ assess.houseAddress }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont">评估总金额:</span>
|
||||
<span class="projectTitle" style="color: red">¥{{ assess.countValue }}</span>
|
||||
<span class="projectTitle" style="color: red"
|
||||
>¥{{ assess.countValue }}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</van-list>
|
||||
<div class="assess">
|
||||
<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>
|
||||
</div>
|
||||
<!-- <div>
|
||||
@@ -139,27 +171,24 @@
|
||||
<span class="projectCenterFont">{{ protocol.xyNo }}</span>
|
||||
</div>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont" style="width: 40%">被征收房屋地址:</span>
|
||||
<span class="projectCenterFont" style="width: 40%"
|
||||
>被征收房屋地址:</span
|
||||
>
|
||||
<span class="projectCenterFont protocolTitle">
|
||||
{{
|
||||
protocol.houseAddress
|
||||
}}
|
||||
{{ protocol.houseAddress }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont">补偿方式:</span>
|
||||
<span class="projectCenterFont">
|
||||
{{
|
||||
protocol.compensation
|
||||
}}
|
||||
{{ protocol.compensation }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="assessBox">
|
||||
<span class="projectCenterFont">合计补偿资金:</span>
|
||||
<span
|
||||
class="projectTitle"
|
||||
style="color: red"
|
||||
>¥{{ protocol.summationShouldCompensateMoney }}</span>
|
||||
<span class="projectTitle" style="color: red"
|
||||
>¥{{ protocol.summationShouldCompensateMoney }}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</van-list>
|
||||
@@ -168,7 +197,10 @@
|
||||
</div>
|
||||
</van-list>
|
||||
<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 class="centerMagin">
|
||||
<span class="projectTitle" style="color: #202020">征收政策</span>
|
||||
@@ -186,7 +218,10 @@
|
||||
<div :key="item.id" class="protocolList" v-for="(item, i) in list">
|
||||
<div class="protocolLine" v-if="i != list.length - 1">
|
||||
<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>
|
||||
<span class="font11">发布时间:</span>
|
||||
<span class="font11">{{ item.publish_date }}</span>
|
||||
@@ -199,7 +234,10 @@
|
||||
</div>
|
||||
<div style="padding-bottom: 10px" v-else>
|
||||
<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>
|
||||
<span class="font11">发布时间:</span>
|
||||
<span class="font11">{{ item.publish_date }}</span>
|
||||
@@ -219,12 +257,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import './home.css';
|
||||
import { apis } from '@/common/apis';
|
||||
import { token } from '@/common/token';
|
||||
import request from '@/common/util';
|
||||
import "./home.css";
|
||||
import { apis } from "@/common/apis";
|
||||
import { token } from "@/common/token";
|
||||
import request from "@/common/util";
|
||||
export default {
|
||||
name: 'home',
|
||||
name: "home",
|
||||
data() {
|
||||
return {
|
||||
// apidata: {
|
||||
@@ -287,25 +325,25 @@ export default {
|
||||
// amount: "0",
|
||||
// },
|
||||
data: {},
|
||||
total: '8',
|
||||
total: "8",
|
||||
list: [
|
||||
{
|
||||
id: 11,
|
||||
area: '全大市',
|
||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
||||
publish_date: '2021年09月05日',
|
||||
area: "全大市",
|
||||
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||
publish_date: "2021年09月05日",
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
area: '全大市',
|
||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
||||
publish_date: '2021年09月05日',
|
||||
area: "全大市",
|
||||
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||
publish_date: "2021年09月05日",
|
||||
},
|
||||
{
|
||||
id: 33,
|
||||
area: '全大市',
|
||||
title: '宁波市住房和城乡建设委员会开展关于住房的政策',
|
||||
publish_date: '2021年09月05日',
|
||||
area: "全大市",
|
||||
title: "宁波市住房和城乡建设委员会开展关于住房的政策",
|
||||
publish_date: "2021年09月05日",
|
||||
},
|
||||
],
|
||||
loading: false,
|
||||
@@ -321,75 +359,43 @@ export default {
|
||||
let apidata = {
|
||||
success: true,
|
||||
code: 200,
|
||||
message: '请求成功',
|
||||
message: "请求成功",
|
||||
data: {
|
||||
userName: "张三丰",
|
||||
idCard: "341203199206303411",
|
||||
prjList: [
|
||||
{
|
||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
||||
area: '海曙区',
|
||||
zsbm: '宁波市海曙区房屋征收管理服务中心',
|
||||
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||
name: "项目名称",
|
||||
area: "海曙区",
|
||||
zsbm: "宁波市海曙区房屋征收管理服务中心",
|
||||
year: 2021.0,
|
||||
zsjdh: '海政发[2021]513号',
|
||||
currentState: '项目报结',
|
||||
zsjdh: "海政发[2021]513号",
|
||||
currentState: "项目报结",
|
||||
fhpgList: [
|
||||
{
|
||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
||||
assessmentNo: '0513',
|
||||
houseAddress: '高桥镇',
|
||||
countValue: '137654.00',
|
||||
},
|
||||
{
|
||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f6022',
|
||||
assessmentNo: '0514',
|
||||
houseAddress: '高桥镇11',
|
||||
countValue: '137611.00',
|
||||
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||
id: "a400583e-ae93-444f-8a20-4c4731b0cc13",
|
||||
assessmentNo: "0513",
|
||||
houseAddress: "高桥镇",
|
||||
countValue: "137654.00",
|
||||
},
|
||||
],
|
||||
bcxyList: [
|
||||
{
|
||||
prjId: '936d98a8-2c8f-410f-b126-68a7568f60c4',
|
||||
xyNo: '海政发2021513-0513-1',
|
||||
houseAddress: '高桥镇',
|
||||
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',
|
||||
prjId: "936d98a8-2c8f-410f-b126-68a7568f60c4",
|
||||
id: "bf21b302-8059-462d-985f-ce7452c4d5b4",
|
||||
xyNo: "海政发2021513-0513-1",
|
||||
houseAddress: "高桥镇",
|
||||
switchProductionWay: "货币补偿",
|
||||
summationShouldCompensateMoney: "137654.00",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
idCard: '330203199904044544',
|
||||
userName: '姓名',
|
||||
},
|
||||
extras: null,
|
||||
timestamp: 1631256680049,
|
||||
timestamp: 1631261808797,
|
||||
};
|
||||
if (apidata.code == 200) {
|
||||
this.data = apidata.data;
|
||||
@@ -404,11 +410,11 @@ export default {
|
||||
// });
|
||||
},
|
||||
gotoProject(type) {
|
||||
this.$router.push({ name: 'projectSelect', params: { type: type } });
|
||||
this.$router.push({ name: "projectSelect", params: { type: type } });
|
||||
},
|
||||
onLogin() {
|
||||
// this.loading = true;
|
||||
let form = { account: 'zgbqc', password: '111qqqqq' };
|
||||
let form = { account: "zgbqc", password: "111qqqqq" };
|
||||
apis
|
||||
.login(form)
|
||||
.finally(() => {
|
||||
@@ -445,7 +451,7 @@ export default {
|
||||
var tbl = [];
|
||||
var len = n - num.toString().length;
|
||||
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;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user