diff --git a/FrontCode2/sunshine_levy/index.html b/FrontCode2/sunshine_levy/index.html index 3054231..b24f3f9 100644 --- a/FrontCode2/sunshine_levy/index.html +++ b/FrontCode2/sunshine_levy/index.html @@ -2,9 +2,8 @@ - - + + 房屋征收 @@ -13,7 +12,8 @@
diff --git a/FrontCode2/sunshine_levy/src/common/apis/requests.js b/FrontCode2/sunshine_levy/src/common/apis/requests.js index ebddd77..edcd09b 100644 --- a/FrontCode2/sunshine_levy/src/common/apis/requests.js +++ b/FrontCode2/sunshine_levy/src/common/apis/requests.js @@ -1,15 +1,15 @@ // 接口文档地址 // https://docs.qq.com/doc/DZkdyS3hNT2V4Q3VJ +const url_prefix = "http://183.136.157.9:7099/api"; const url = { - // 登录 - login: '/webapi/account.ashx?action=login', + // 登录 + login: "/webapi/account.ashx?action=login", - // 个人信息 - account: '/webapi/account.ashx?action=userinfo', - - // 项目数统计信息 - projectStatistics: '/webapi/project.ashx?action=getStatistics', + // 个人信息 + account: "/webapi/account.ashx?action=userinfo", + // 项目数统计信息 + projectStatistics: "/webapi/project.ashx?action=getStatistics" }; export default url; \ No newline at end of file diff --git a/FrontCode2/sunshine_levy/src/common/util/index.js b/FrontCode2/sunshine_levy/src/common/util/index.js index fdae065..5ce80e6 100644 --- a/FrontCode2/sunshine_levy/src/common/util/index.js +++ b/FrontCode2/sunshine_levy/src/common/util/index.js @@ -1,27 +1,32 @@ -import axios from "axios" +import axios from "axios"; const instance = axios.create({ - baseURL: "https://some-domain.com/api/", - timeout: 5000, - -}) + baseURL: "http://183.136.157.9:7099/api", + timeout: 5000 +}); // 添加请求拦截器 -axios.interceptors.request.use(function(config) { +axios.interceptors.request.use( + function(config) { // 在发送请求之前做些什么 return config; -}, function(error) { + }, + function(error) { // 对请求错误做些什么 return Promise.reject(error); -}); + } +); // 添加响应拦截器 -axios.interceptors.response.use(function(response) { +axios.interceptors.response.use( + function(response) { // 对响应数据做点什么 return response; -}, function(error) { + }, + function(error) { // 对响应错误做点什么 return Promise.reject(error); -}); + } +); -export default instance \ No newline at end of file +export default instance; \ No newline at end of file diff --git a/FrontCode2/sunshine_levy/src/common/util/request.js b/FrontCode2/sunshine_levy/src/common/util/request.js new file mode 100644 index 0000000..89a3554 --- /dev/null +++ b/FrontCode2/sunshine_levy/src/common/util/request.js @@ -0,0 +1,20 @@ +import request from "./index"; + +export function PolicyInfo(data) { + return request({ + url: "/policies/info", + params: data + }); +} + +export function Login() { + return request({ + url: "/webapi/account.ashx?action=login" + }); +} + +export function Account() { + return request({ + url: "/webapi/account.ashx?action=userinfo" + }); +} \ No newline at end of file diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index c6cb0a9..7801c5f 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -7,19 +7,28 @@
- + 被征收人姓名: {{ data.userName }}
- + 身份证号码: {{ data.idCard }}
- +
- +
- + {{ item.name }}
- + {{ item.currentState }}
+
@@ -89,14 +108,20 @@ class="projectCenterImg" /> 征收决定号: - {{ item.zsjdh }} + {{ + item.zsjdh + }}
+
- + 分户评估结果
-
+
评估报告编号: - {{ - assess.assessmentNo - }} + {{ assess.assessmentNo }}
- 被征收房屋地址: - {{ assess.houseAddress }} + 被征收房屋地址: + {{ + assess.houseAddress + }}
评估总金额: - ¥{{ assess.countValue }} + ¥{{ assess.countValue }}
+
- + 补偿协议
-
+
协议编号: {{ protocol.xyNo }}
- 被征收房屋地址: - {{ protocol.houseAddress }} + 被征收房屋地址: + {{ + protocol.houseAddress + }}
补偿方式: - {{ protocol.switchProductionWay }} + {{ + protocol.switchProductionWay + }}
合计补偿资金: - ¥{{ protocol.summationShouldCompensateMoney }} + ¥{{ protocol.summationShouldCompensateMoney }}
@@ -159,33 +205,41 @@
+
- +
+
征收政策
- 共{{ data.policiesRegulationsLists.totalCount }}条 - + 共{{ data.policiesRegulationsLists.totalCount }}条
-
+
-
+ +
{{ item.title }}
-
+
发布时间: {{ item.publicTime }} @@ -196,9 +250,13 @@
+
{{ item.title }}
-
+
发布时间: {{ item.publicTime }} @@ -218,66 +276,65 @@ diff --git a/FrontCode2/sunshine_levy/src/views/policyInfo/policyInfo.vue b/FrontCode2/sunshine_levy/src/views/policyInfo/policyInfo.vue index 17bb03a..2b97542 100644 --- a/FrontCode2/sunshine_levy/src/views/policyInfo/policyInfo.vue +++ b/FrontCode2/sunshine_levy/src/views/policyInfo/policyInfo.vue @@ -1,41 +1,61 @@ diff --git a/FrontCode2/sunshine_levy/src/views/project/index.vue b/FrontCode2/sunshine_levy/src/views/project/index.vue index 7aee0c1..104114c 100644 --- a/FrontCode2/sunshine_levy/src/views/project/index.vue +++ b/FrontCode2/sunshine_levy/src/views/project/index.vue @@ -1,33 +1,27 @@