style:api配置的修改
Showing
70 changed files
with
350 additions
and
352 deletions
... | @@ -7,5 +7,6 @@ | ... | @@ -7,5 +7,6 @@ |
7 | "SERVERAPI": "/bdcsjsb", | 7 | "SERVERAPI": "/bdcsjsb", |
8 | "calcHeight": 200, | 8 | "calcHeight": 200, |
9 | "echartTextColor": "#FFFFFF", | 9 | "echartTextColor": "#FFFFFF", |
10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | 10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management", |
11 | "IPCONFIG": "http://192.168.2.38:8027" | ||
11 | } | 12 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,5 +7,6 @@ | ... | @@ -7,5 +7,6 @@ |
7 | "SERVERAPI": "/bdcsjsb", | 7 | "SERVERAPI": "/bdcsjsb", |
8 | "calcHeight": 160, | 8 | "calcHeight": 160, |
9 | "echartTextColor": "#4A4A4A", | 9 | "echartTextColor": "#4A4A4A", |
10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | 10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management", |
11 | "IPCONFIG": "http://192.168.2.38:8027" | ||
11 | } | 12 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,5 +7,6 @@ | ... | @@ -7,5 +7,6 @@ |
7 | "SERVERAPI": "/bdcsjsb", | 7 | "SERVERAPI": "/bdcsjsb", |
8 | "calcHeight": 200, | 8 | "calcHeight": 200, |
9 | "echartTextColor": "#FFFFFF", | 9 | "echartTextColor": "#FFFFFF", |
10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | 10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management", |
11 | "IPCONFIG": "http://192.168.2.38:8027" | ||
11 | } | 12 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,5 +7,6 @@ | ... | @@ -7,5 +7,6 @@ |
7 | "SERVERAPI": "/bdcsjsb", | 7 | "SERVERAPI": "/bdcsjsb", |
8 | "calcHeight": 160, | 8 | "calcHeight": 160, |
9 | "echartTextColor": "#4A4A4A", | 9 | "echartTextColor": "#4A4A4A", |
10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | 10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management", |
11 | "IPCONFIG": "http://192.168.2.38:8027" | ||
11 | } | 12 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,5 +7,6 @@ | ... | @@ -7,5 +7,6 @@ |
7 | "SERVERAPI": "/bdcsjsb", | 7 | "SERVERAPI": "/bdcsjsb", |
8 | "calcHeight": 160, | 8 | "calcHeight": 160, |
9 | "echartTextColor": "#4A4A4A", | 9 | "echartTextColor": "#4A4A4A", |
10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management" | 10 | "MANAGEMENTAPI": "http://192.168.2.38:8090/management", |
11 | "IPCONFIG": "http://192.168.2.38:8027" | ||
11 | } | 12 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 引入配置文件 | 2 | * @Description: 引入配置文件 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-12 11:12:50 | 4 | * @LastEditTime: 2023-05-06 10:24:57 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -17,6 +17,13 @@ | ... | @@ -17,6 +17,13 @@ |
17 | <%= webpackConfig.name %> | 17 | <%= webpackConfig.name %> |
18 | </title> | 18 | </title> |
19 | </head> | 19 | </head> |
20 | <script> | ||
21 | fetch('<%= BASE_URL %>config.json') | ||
22 | .then(response => response.json()) | ||
23 | .then(config => { | ||
24 | window.config = config | ||
25 | }); | ||
26 | </script> | ||
20 | 27 | ||
21 | <body> | 28 | <body> |
22 | <div id="app"></div> | 29 | <div id="app"></div> | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | /* 引入请求文件 */ | 6 | /* 引入请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | 8 | /* 引入配置文件 */ |
9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 9 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
10 | class business { | 10 | class business { |
11 | /** | 11 | /** |
12 | * @description: 成功率统计 | 12 | * @description: 成功率统计 | ... | ... |
src/api/config.js
deleted
100644 → 0
1 | /* | 1 | /* |
2 | * @Description: 数据上报模块api文件 | 2 | * @Description: 数据上报模块api文件 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-21 16:21:31 | 4 | * @LastEditTime: 2023-05-06 10:25:44 |
5 | */ | 5 | */ |
6 | /* 引入axios请求文件 */ | 6 | /* 引入axios请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置 */ | 8 | /* 引入配置 */ |
9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 9 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' | 10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' |
11 | 11 | ||
12 | /** | 12 | /** | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjDb { | 4 | class djfDjDb { |
5 | //登记登簿信息 | 5 | //登记登簿信息 |
6 | async getDjfDjDbById(bsmSjsb) { | 6 | async getDjfDjDbById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjDb { | ... | @@ -13,7 +13,7 @@ class djfDjDb { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | //修改登记登簿信息 | 15 | //修改登记登簿信息 |
16 | async updateDjfDjDb(data) { | 16 | async updateDjfDjDb (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjFz { | 4 | class djfDjFz { |
5 | //登记发证信息 | 5 | //登记发证信息 |
6 | async getDjfDjFzDetailById(bsmSjsb) { | 6 | async getDjfDjFzDetailById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjFz { | ... | @@ -13,7 +13,7 @@ class djfDjFz { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | //修改登记发证信息 | 15 | //修改登记发证信息 |
16 | async updateDjfDjFz(data) { | 16 | async updateDjfDjFz (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjGd { | 4 | class djfDjGd { |
5 | // 登记归档信息-业务表单 | 5 | // 登记归档信息-业务表单 |
6 | async getDjfDjGdById(bsmSjsb) { | 6 | async getDjfDjGdById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjGd { | ... | @@ -13,7 +13,7 @@ class djfDjGd { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 登记归档信息-业务-修改 | 15 | // 登记归档信息-业务-修改 |
16 | async updateDjfDjGd(data) { | 16 | async updateDjfDjGd (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit", |
19 | method: "put", | 19 | method: "put", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjSh { | 4 | class djfDjSh { |
5 | //登记审核信息 | 5 | //登记审核信息 |
6 | async getDjfDjShById(bsmSjsb) { | 6 | async getDjfDjShById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjSh { | ... | @@ -13,7 +13,7 @@ class djfDjSh { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | //修改登记审核信息 | 15 | //修改登记审核信息 |
16 | async updateDjfDjSh(data) { | 16 | async updateDjfDjSh (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjSj { | 4 | class djfDjSj { |
5 | //登记收件信息 | 5 | //登记收件信息 |
6 | async getDjfDjSjById(bsmSjsb) { | 6 | async getDjfDjSjById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjSj { | ... | @@ -13,7 +13,7 @@ class djfDjSj { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | //修改登记收件信息 | 15 | //修改登记收件信息 |
16 | async updateDjfDjSj(data) { | 16 | async updateDjfDjSj (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjSqr { | 4 | class djfDjSqr { |
5 | // 申请人属性信息-业务表单 | 5 | // 申请人属性信息-业务表单 |
6 | async getDjfDjSqrById(bsmSjsb) { | 6 | async getDjfDjSqrById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjSqr { | ... | @@ -13,7 +13,7 @@ class djfDjSqr { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 申请人属性信息-业务-修改 | 15 | // 申请人属性信息-业务-修改 |
16 | async updateDjfDjSqr(data) { | 16 | async updateDjfDjSqr (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djfDjSz { | 4 | class djfDjSz { |
5 | //登记缮证信息 | 5 | //登记缮证信息 |
6 | async getDjfDjSzById(bsmSjsb) { | 6 | async getDjfDjSzById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djfDjSz { | ... | @@ -13,7 +13,7 @@ class djfDjSz { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | //修改登记缮证信息 | 15 | //修改登记缮证信息 |
16 | async updateDjfDjSz(data) { | 16 | async updateDjfDjSz (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class djtDjSlsq { | 4 | class djtDjSlsq { |
5 | // 登记受理申请信息 -- 业务表单 | 5 | // 登记受理申请信息 -- 业务表单 |
6 | async getDjtDjSlsqById(bsmSjsb) { | 6 | async getDjtDjSlsqById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class djtDjSlsq { | ... | @@ -13,7 +13,7 @@ class djtDjSlsq { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 登记受理申请信息 -- 业务修改 | 15 | // 登记受理申请信息 -- 业务修改 |
16 | async updateDjtDjSlsq(data) { | 16 | async updateDjtDjSlsq (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit", |
19 | method: "post", | 19 | method: "post", |
... | @@ -21,7 +21,7 @@ class djtDjSlsq { | ... | @@ -21,7 +21,7 @@ class djtDjSlsq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //修改登记受理申请信息 | 23 | //修改登记受理申请信息 |
24 | async updateDjtDjSlsq(data) { | 24 | async updateDjtDjSlsq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq", | 26 | url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq", |
27 | method: "put", | 27 | method: "put", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class efficient { | 4 | class efficient { |
5 | /* | 5 | /* |
... | @@ -7,14 +7,14 @@ class efficient { | ... | @@ -7,14 +7,14 @@ class efficient { |
7 | startDate:开始日期 | 7 | startDate:开始日期 |
8 | endDate:结束日期 | 8 | endDate:结束日期 |
9 | */ | 9 | */ |
10 | async getProcessCounts(startDate, endDate,qxdm) { | 10 | async getProcessCounts (startDate, endDate, qxdm) { |
11 | return request({ | 11 | return request({ |
12 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts", | 12 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts", |
13 | method: "post", | 13 | method: "post", |
14 | params: { | 14 | params: { |
15 | startDate: startDate, | 15 | startDate: startDate, |
16 | endDate: endDate, | 16 | endDate: endDate, |
17 | qxdm:qxdm | 17 | qxdm: qxdm |
18 | }, | 18 | }, |
19 | }); | 19 | }); |
20 | } | 20 | } |
... | @@ -24,7 +24,7 @@ class efficient { | ... | @@ -24,7 +24,7 @@ class efficient { |
24 | startDate:开始日期 | 24 | startDate:开始日期 |
25 | endDate:结束日期 | 25 | endDate:结束日期 |
26 | */ | 26 | */ |
27 | async getProcessDays(recType, startDate, endDate) { | 27 | async getProcessDays (recType, startDate, endDate) { |
28 | return request({ | 28 | return request({ |
29 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays", | 29 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays", |
30 | method: "post", | 30 | method: "post", | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class ktfQtDzdzw { | 4 | class ktfQtDzdzw { |
5 | // 点状定着物信息 | 5 | // 点状定着物信息 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class ktfQtMzdzw { | 4 | class ktfQtMzdzw { |
5 | // 面状定着物 | 5 | // 面状定着物 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class ktfQtXzdzw { | 4 | class ktfQtXzdzw { |
5 | // 线状定着物 | 5 | // 线状定着物 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class ktfZdbhqk { | 4 | class ktfZdbhqk { |
5 | //宗地变化情况 | 5 | //宗地变化情况 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class ktfZhYhydzb { | 4 | class ktfZhYhydzb { |
5 | // 用海,用岛坐标 | 5 | // 用海,用岛坐标 | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class kttFwC { | 4 | class kttFwC { |
5 | // 层信息- 业务表单 | 5 | // 层信息- 业务表单 |
6 | async getKttFwCById(bsmSjsb) { | 6 | async getKttFwCById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class kttFwC { | ... | @@ -13,7 +13,7 @@ class kttFwC { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 层信息-业务-修改 | 15 | // 层信息-业务-修改 |
16 | async updateKttFwC(data) { | 16 | async updateKttFwC (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class kttFwH { | 4 | class kttFwH { |
5 | // 户信息- 业务表单 | 5 | // 户信息- 业务表单 |
6 | async getKttFwHById(bsmSjsb) { | 6 | async getKttFwHById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class kttFwH { | ... | @@ -13,7 +13,7 @@ class kttFwH { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 户信息-业务-修改 | 15 | // 户信息-业务-修改 |
16 | async updateKttFwH(data) { | 16 | async updateKttFwH (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class kttFwLjz { | 4 | class kttFwLjz { |
5 | // 逻辑幢信息 -- 业务表单 | 5 | // 逻辑幢信息 -- 业务表单 |
6 | async getKttFwLjzById(bsmSjsb) { | 6 | async getKttFwLjzById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class kttFwLjz { | ... | @@ -13,7 +13,7 @@ class kttFwLjz { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 逻辑幢信息 -- 业务修改 | 15 | // 逻辑幢信息 -- 业务修改 |
16 | async updateKttFwLjz(data) { | 16 | async updateKttFwLjz (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class kttZdjbxx { | 4 | class kttZdjbxx { |
5 | // 宗地基本信息 | 5 | // 宗地基本信息 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class kttZhjbxx { | 4 | class kttZhjbxx { |
5 | //宗海基本信息 | 5 | //宗海基本信息 | ... | ... |
... | @@ -4,10 +4,7 @@ | ... | @@ -4,10 +4,7 @@ |
4 | * @LastEditTime: 2023-03-23 17:19:52 | 4 | * @LastEditTime: 2023-03-23 17:19:52 |
5 | */ | 5 | */ |
6 | import request from "@/utils/request"; | 6 | import request from "@/utils/request"; |
7 | // import SERVER from "./config"; | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | ||
9 | // console.log(SERVER, 'SERVERSERVER'); | ||
10 | |||
11 | export function loginIn (username, password) { | 8 | export function loginIn (username, password) { |
12 | return request({ | 9 | return request({ |
13 | url: `${SERVER.MANAGEMENTAPI}/login?username=${username}&password=${password}`, | 10 | url: `${SERVER.MANAGEMENTAPI}/login?username=${username}&password=${password}`, | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | // import SERVER from "./config"; | 2 | // let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 3 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
4 | const workflow = '/workflow' | 4 | const workflow = '/workflow' |
5 | const log = '/log' | 5 | const log = '/log' |
6 | const crud = '/crud' | 6 | const crud = '/crud' | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfFwFdcqDzXm { | 4 | class qlfFwFdcqDzXm { |
5 | // 房地产权_项目内多幢房屋项目属性 | 5 | // 房地产权_项目内多幢房屋项目属性 | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfFwFdcqQfsyq { | 4 | class qlfFwFdcqQfsyq { |
5 | // 建筑物区分所有权业主共有部分信息 | 5 | // 建筑物区分所有权业主共有部分信息 |
6 | async getQlfFwFdcqQfsyqList(data) { | 6 | async getQlfFwFdcqQfsyqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfFwFdcqQfsyq { | ... | @@ -11,7 +11,7 @@ class qlfFwFdcqQfsyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //建筑物区分所有权业主共有部分信息 | 13 | //建筑物区分所有权业主共有部分信息 |
14 | async getQlfFwFdcqQfsyqById(bsmSjsb) { | 14 | async getQlfFwFdcqQfsyqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfFwFdcqQfsyq { | ... | @@ -21,7 +21,7 @@ class qlfFwFdcqQfsyq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //修改建筑物区分所有权业主共有部分信息 | 23 | //修改建筑物区分所有权业主共有部分信息 |
24 | async updateQlfFwFdcqQfsyq(data) { | 24 | async updateQlfFwFdcqQfsyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlCfdj { | 4 | class qlfQlCfdj { |
5 | // 查封登记信息 | 5 | // 查封登记信息 |
6 | async getQlfQlCfdjList(data) { | 6 | async getQlfQlCfdjList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlCfdj { | ... | @@ -11,7 +11,7 @@ class qlfQlCfdj { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 查封登记信息 | 13 | // 查封登记信息 |
14 | async getQlfQlCfdjById(bsmSjsb) { | 14 | async getQlfQlCfdjById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlCfdj { | ... | @@ -21,7 +21,7 @@ class qlfQlCfdj { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | // 查封登记信息-修改 | 23 | // 查封登记信息-修改 |
24 | async updateQlfQlCfdj(data) { | 24 | async updateQlfQlCfdj (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlDyaq { | 4 | class qlfQlDyaq { |
5 | // 抵押权登记 | 5 | // 抵押权登记 |
6 | async getQlfQlDyaqList(data) { | 6 | async getQlfQlDyaqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlDyaq { | ... | @@ -11,7 +11,7 @@ class qlfQlDyaq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 抵押权 | 13 | // 抵押权 |
14 | async getQlfQlDyaqById(bsmSjsb) { | 14 | async getQlfQlDyaqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlDyaq { | ... | @@ -21,7 +21,7 @@ class qlfQlDyaq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | // 抵押权-修改 | 23 | // 抵押权-修改 |
24 | async updateQlfQlDyaq(data) { | 24 | async updateQlfQlDyaq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlDyiq { | 4 | class qlfQlDyiq { |
5 | // 地役权 | 5 | // 地役权 |
6 | async getQlfQlDyiqList(data) { | 6 | async getQlfQlDyiqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlDyiq { | ... | @@ -11,7 +11,7 @@ class qlfQlDyiq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 地役权信息 | 13 | // 地役权信息 |
14 | async getQlfQlDyiqById(bsmSjsb) { | 14 | async getQlfQlDyiqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlDyiq { | ... | @@ -21,7 +21,7 @@ class qlfQlDyiq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | // 地役权信息-修改 | 23 | // 地役权信息-修改 |
24 | async updateQlfQlDyiq(data) { | 24 | async updateQlfQlDyiq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlGzdj { | 4 | class qlfQlGzdj { |
5 | // 更正登记信息 | 5 | // 更正登记信息 | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlHysyq { | 4 | class qlfQlHysyq { |
5 | // 海域(含无居民海岛)使用权 | 5 | // 海域(含无居民海岛)使用权 |
6 | async getQlfQlHysyqByConditon(data) { | 6 | async getQlfQlHysyqByConditon (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlHysyq { | ... | @@ -11,7 +11,7 @@ class qlfQlHysyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //海域(含无居民海岛)使用权 | 13 | //海域(含无居民海岛)使用权 |
14 | async getQlfQlHysyqById(bsmSjsb) { | 14 | async getQlfQlHysyqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlHysyq { | ... | @@ -21,7 +21,7 @@ class qlfQlHysyq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //修改海域(含无居民海岛)使用权 | 23 | //修改海域(含无居民海岛)使用权 |
24 | async updateQlfQlHysyq(data) { | 24 | async updateQlfQlHysyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlJsydsyq { | 4 | class qlfQlJsydsyq { |
5 | // 建设用地、宅基地使用权 | 5 | // 建设用地、宅基地使用权 |
6 | async getQlfQlJsydsyqList(data) { | 6 | async getQlfQlJsydsyqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlJsydsyq { | ... | @@ -11,7 +11,7 @@ class qlfQlJsydsyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //建设用地、宅基地使用权 | 13 | //建设用地、宅基地使用权 |
14 | async getQlfQlJsydsyqById(bsmSjsb) { | 14 | async getQlfQlJsydsyqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail', | 16 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail', |
17 | method: 'get', | 17 | method: 'get', |
... | @@ -21,7 +21,7 @@ class qlfQlJsydsyq { | ... | @@ -21,7 +21,7 @@ class qlfQlJsydsyq { |
21 | }) | 21 | }) |
22 | } | 22 | } |
23 | //修改建设用地、宅基地使用权 | 23 | //修改建设用地、宅基地使用权 |
24 | async updateQlfQlJsydsyq(data) { | 24 | async updateQlfQlJsydsyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit', | 26 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit', |
27 | method: 'post', | 27 | method: 'post', | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlNydsyq { | 4 | class qlfQlNydsyq { |
5 | // 农用地使用权(非林地) | 5 | // 农用地使用权(非林地) |
6 | async getQlfQlNydsyqByConditon(data) { | 6 | async getQlfQlNydsyqByConditon (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlNydsyq { | ... | @@ -11,7 +11,7 @@ class qlfQlNydsyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //农用地使用权(非林地) | 13 | //农用地使用权(非林地) |
14 | async getQlfQlNydsyqByID(bsmSjsb) { | 14 | async getQlfQlNydsyqByID (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlNydsyq { | ... | @@ -21,7 +21,7 @@ class qlfQlNydsyq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //修改农用地使用权(非林地) | 23 | //修改农用地使用权(非林地) |
24 | async updateQlfQlNydsyq(data) { | 24 | async updateQlfQlNydsyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlQtxgql { | 4 | class qlfQlQtxgql { |
5 | // 其他相关权利 | 5 | // 其他相关权利 | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlTdsyq { | 4 | class qlfQlTdsyq { |
5 | // 土地所有权 | 5 | // 土地所有权 |
6 | async getQlfQlTdsyqList(data) { | 6 | async getQlfQlTdsyqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlTdsyq { | ... | @@ -11,7 +11,7 @@ class qlfQlTdsyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //土地所有权 | 13 | //土地所有权 |
14 | async getQlfQlTdsyqById(bsmSjsb) { | 14 | async getQlfQlTdsyqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail', | 16 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail', |
17 | method: 'get', | 17 | method: 'get', |
... | @@ -21,7 +21,7 @@ class qlfQlTdsyq { | ... | @@ -21,7 +21,7 @@ class qlfQlTdsyq { |
21 | }) | 21 | }) |
22 | } | 22 | } |
23 | //修改土地所有权 | 23 | //修改土地所有权 |
24 | async updateQlfQlTdsyq(data) { | 24 | async updateQlfQlTdsyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit', | 26 | url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit', |
27 | method: 'post', | 27 | method: 'post', | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlYgdj { | 4 | class qlfQlYgdj { |
5 | // 预告登记信息 | 5 | // 预告登记信息 |
6 | async getQlfQlYgdjList(data) { | 6 | async getQlfQlYgdjList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlYgdj { | ... | @@ -11,7 +11,7 @@ class qlfQlYgdj { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 预告登记信息 | 13 | // 预告登记信息 |
14 | async getQlfQlYgdjById(bsmSjsb) { | 14 | async getQlfQlYgdjById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlYgdj { | ... | @@ -21,7 +21,7 @@ class qlfQlYgdj { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | // 预告登记信息-修改 | 23 | // 预告登记信息-修改 |
24 | async updateQlfQlYgdj(data) { | 24 | async updateQlfQlYgdj (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlYydj { | 4 | class qlfQlYydj { |
5 | // 异议登记信息 | 5 | // 异议登记信息 |
6 | async getQlfQlYydjList(data) { | 6 | async getQlfQlYydjList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlYydj { | ... | @@ -11,7 +11,7 @@ class qlfQlYydj { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 异议登记信息 | 13 | // 异议登记信息 |
14 | async getQlfQlYydjById(bsmSjsb) { | 14 | async getQlfQlYydjById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlYydj { | ... | @@ -21,7 +21,7 @@ class qlfQlYydj { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | // 异议登记信息-修改 | 23 | // 异议登记信息-修改 |
24 | async updateQlfQlYydj(data) { | 24 | async updateQlfQlYydj (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qlfQlZxdj { | 4 | class qlfQlZxdj { |
5 | // 注销登记 | 5 | // 注销登记 |
6 | async getQlfQlZxdjList(data) { | 6 | async getQlfQlZxdjList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qlfQlZxdj { | ... | @@ -11,7 +11,7 @@ class qlfQlZxdj { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 注销登记信息 | 13 | // 注销登记信息 |
14 | async getQlfQlZxdjById(bsmSjsb) { | 14 | async getQlfQlZxdjById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qlfQlZxdj { | ... | @@ -21,7 +21,7 @@ class qlfQlZxdj { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //注销登记信息 - 修改 | 23 | //注销登记信息 - 修改 |
24 | async updateQlfQlZxdj(data) { | 24 | async updateQlfQlZxdj (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qltFwFdcqDz { | 4 | class qltFwFdcqDz { |
5 | // 房地产权_项目内多幢房屋信息 | 5 | // 房地产权_项目内多幢房屋信息 |
6 | async getQltFwFdcqDzList(data) { | 6 | async getQltFwFdcqDzList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qltFwFdcqDz { | ... | @@ -11,7 +11,7 @@ class qltFwFdcqDz { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //房地产权_项目内多幢房屋信息 | 13 | //房地产权_项目内多幢房屋信息 |
14 | async getQltFwFdcqDzById(bsmSjsb) { | 14 | async getQltFwFdcqDzById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail', | 16 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail', |
17 | method: 'get', | 17 | method: 'get', |
... | @@ -21,7 +21,7 @@ class qltFwFdcqDz { | ... | @@ -21,7 +21,7 @@ class qltFwFdcqDz { |
21 | }) | 21 | }) |
22 | } | 22 | } |
23 | //修改房地产权_项目内多幢房屋信息 | 23 | //修改房地产权_项目内多幢房屋信息 |
24 | async updateQltFwFdcqDz(data) { | 24 | async updateQltFwFdcqDz (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit', | 26 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit', |
27 | method: 'post', | 27 | method: 'post', | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qltFwFdcqYz { | 4 | class qltFwFdcqYz { |
5 | // 房地产权(独幢、层、套、间、房屋) | 5 | // 房地产权(独幢、层、套、间、房屋) |
6 | async getQltFwFdcqYzList(data) { | 6 | async getQltFwFdcqYzList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qltFwFdcqYz { | ... | @@ -11,7 +11,7 @@ class qltFwFdcqYz { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //房地产权(独幢、层、套、间、房屋) | 13 | //房地产权(独幢、层、套、间、房屋) |
14 | async getQltFwFdcqYzById(bsmSjsb) { | 14 | async getQltFwFdcqYzById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail', | 16 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail', |
17 | method: 'get', | 17 | method: 'get', |
... | @@ -21,7 +21,7 @@ class qltFwFdcqYz { | ... | @@ -21,7 +21,7 @@ class qltFwFdcqYz { |
21 | }) | 21 | }) |
22 | } | 22 | } |
23 | //修改房地产权(独幢、层、套、间、房屋) | 23 | //修改房地产权(独幢、层、套、间、房屋) |
24 | async updateQltFwFdcqYz(data) { | 24 | async updateQltFwFdcqYz (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit', | 26 | url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit', |
27 | method: 'post', | 27 | method: 'post', | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qltQlGjzwsyq { | 4 | class qltQlGjzwsyq { |
5 | // 构(建)筑物所有权 | 5 | // 构(建)筑物所有权 |
6 | async getQltQlGjzwsyqList(data) { | 6 | async getQltQlGjzwsyqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qltQlGjzwsyq { | ... | @@ -11,7 +11,7 @@ class qltQlGjzwsyq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | // 构(建)筑物所有权 | 13 | // 构(建)筑物所有权 |
14 | async getQltQlGjzwsyqById(bsmSjsb) { | 14 | async getQltQlGjzwsyqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qltQlGjzwsyq { | ... | @@ -21,7 +21,7 @@ class qltQlGjzwsyq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //构(建)筑物所有权 - 修改 | 23 | //构(建)筑物所有权 - 修改 |
24 | async updateQltQlGjzwsyq(data) { | 24 | async updateQltQlGjzwsyq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class qltQlLq { | 4 | class qltQlLq { |
5 | // 林权 | 5 | // 林权 |
6 | async getQltQlLqList(data) { | 6 | async getQltQlLqList (data) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/getDataPage", | 8 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/getDataPage", |
9 | method: "post", | 9 | method: "post", |
... | @@ -11,7 +11,7 @@ class qltQlLq { | ... | @@ -11,7 +11,7 @@ class qltQlLq { |
11 | }); | 11 | }); |
12 | } | 12 | } |
13 | //林权 | 13 | //林权 |
14 | async getQltQlLqById(bsmSjsb) { | 14 | async getQltQlLqById (bsmSjsb) { |
15 | return request({ | 15 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/detail", | 16 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/detail", |
17 | method: "get", | 17 | method: "get", |
... | @@ -21,7 +21,7 @@ class qltQlLq { | ... | @@ -21,7 +21,7 @@ class qltQlLq { |
21 | }); | 21 | }); |
22 | } | 22 | } |
23 | //修改林权 | 23 | //修改林权 |
24 | async updateQltQlLq(data) { | 24 | async updateQltQlLq (data) { |
25 | return request({ | 25 | return request({ |
26 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/edit", | 26 | url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/edit", |
27 | method: "post", | 27 | method: "post", | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | /* 引入请求文件 */ | 6 | /* 引入请求文件 */ |
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | 8 | /* 引入配置文件 */ |
9 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 9 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/' | 10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/' |
11 | /** | 11 | /** |
12 | * @description: 登簿日志分页 | 12 | * @description: 登簿日志分页 | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | class ruleConfig { | 3 | class ruleConfig { |
4 | // 列表查询 | 4 | // 列表查询 |
5 | async getSysYwsjbList (data) { | 5 | async getSysYwsjbList (data) { | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class sjsbFunctionOper { | 4 | class sjsbFunctionOper { |
5 | // 数据上报表头相关接口 | 5 | // 数据上报表头相关接口 | ... | ... |
... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. | 9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
10 | */ | 10 | */ |
11 | import request from '@/utils/request' | 11 | import request from '@/utils/request' |
12 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 12 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
13 | const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' | 13 | const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' |
14 | /** | 14 | /** |
15 | * dataReceiveQuality | 15 | * dataReceiveQuality | ... | ... |
... | @@ -4,8 +4,8 @@ | ... | @@ -4,8 +4,8 @@ |
4 | * @LastEditTime: 2023-03-24 09:28:25 | 4 | * @LastEditTime: 2023-03-24 09:28:25 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | // let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 7 | // let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | let SERVER = JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
9 | // 获取用户信息 | 9 | // 获取用户信息 |
10 | export function getUserInfo () { | 10 | export function getUserInfo () { |
11 | return request({ | 11 | return request({ | ... | ... |
1 | import request from "@/utils/request"; | 1 | import request from "@/utils/request"; |
2 | import SERVER from "./config"; | 2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 3 | ||
4 | class zttGyQlr { | 4 | class zttGyQlr { |
5 | // 权利人 -- 业务表单 | 5 | // 权利人 -- 业务表单 |
6 | async getZttGyQlrById(bsmSjsb) { | 6 | async getZttGyQlrById (bsmSjsb) { |
7 | return request({ | 7 | return request({ |
8 | url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail", | 8 | url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail", |
9 | method: "get", | 9 | method: "get", |
... | @@ -13,7 +13,7 @@ class zttGyQlr { | ... | @@ -13,7 +13,7 @@ class zttGyQlr { |
13 | }); | 13 | }); |
14 | } | 14 | } |
15 | // 权利人 -- 业务表单修改 | 15 | // 权利人 -- 业务表单修改 |
16 | async updateZttGyQlr(data) { | 16 | async updateZttGyQlr (data) { |
17 | return request({ | 17 | return request({ |
18 | url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit", | 18 | url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit", |
19 | method: "post", | 19 | method: "post", | ... | ... |
... | @@ -129,212 +129,212 @@ | ... | @@ -129,212 +129,212 @@ |
129 | </template> | 129 | </template> |
130 | 130 | ||
131 | <script> | 131 | <script> |
132 | import axios from "axios"; | 132 | import axios from "axios"; |
133 | import SERVER from '@/api/config' | 133 | import Vue from 'vue' |
134 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' | 134 | const urlHeader = Vue.prototype.BASE_API.SERVERAPI + '/rest/sjsb/DataReport/' |
135 | import { mapGetters } from "vuex"; | 135 | import { mapGetters } from "vuex"; |
136 | import JsonEditor from "@/components/JsonEditor.vue"; | 136 | import JsonEditor from "@/components/JsonEditor.vue"; |
137 | import Xyjg from "./Result"; | 137 | import Xyjg from "./Result"; |
138 | import { getTabsDetail, getXml, getReportDetail, restartGenerateXml, edit } from "@/api/dataReport.js"; | 138 | import { getTabsDetail, getXml, getReportDetail, restartGenerateXml, edit } from "@/api/dataReport.js"; |
139 | export default { | 139 | export default { |
140 | components: { JsonEditor, Xyjg }, | 140 | components: { JsonEditor, Xyjg }, |
141 | props: { | 141 | props: { |
142 | title: { | 142 | title: { |
143 | type: String, | 143 | type: String, |
144 | default: '' | 144 | default: '' |
145 | }, | ||
146 | tabsActiveName: { | ||
147 | type: String, | ||
148 | default: '' | ||
149 | }, | ||
150 | visiableXml: { | ||
151 | type: Boolean, | ||
152 | default: false | ||
153 | } | ||
154 | }, | ||
155 | |||
156 | computed: { | ||
157 | ...mapGetters(["dicData"]), | ||
158 | }, | ||
159 | data () { | ||
160 | return { | ||
161 | key: 0, | ||
162 | resultInfo: '', | ||
163 | |||
164 | titleName: 'sjmx', | ||
165 | // 报文list | ||
166 | bwoptions: [], | ||
167 | dataReport: {}, | ||
168 | index: 0, | ||
169 | bsmYwsjb: "", | ||
170 | ruleFormList: { | ||
171 | BizMsgId: "", // 业务报文ID | ||
172 | ASID: "", // ASID | ||
173 | AreaCode: "", //行政区划编码 | ||
174 | PreEstateNum: "", //上次不动产单元号 | ||
175 | RecType: "", // 业务编码 | ||
176 | RightType: "", // 权利类型 | ||
177 | RegType: "", //登记类型 | ||
178 | CertCount: "", //不动产权证书数量 | ||
179 | createDate: "", //创建时间 | ||
180 | RecFlowID: "", // 业务流水号 | ||
181 | ParcelID: "", //宗地/宗海代码 | ||
182 | ProofCount: "", //证明数量 | ||
183 | EstateNum: "", // 不动产单元号 | ||
184 | RegOrgID: "", // 登记机构 | ||
185 | PreCertID: "", //次不动产权证号/不动产登记证明 | ||
186 | }, | 145 | }, |
187 | images: require("./images/success.gif"), | 146 | tabsActiveName: { |
188 | dialogVisible: false, | 147 | type: String, |
189 | activeName: undefined, | 148 | default: '' |
190 | editItem: "", | 149 | }, |
191 | headerList: [], | 150 | visiableXml: { |
192 | dataTable: "", | 151 | type: Boolean, |
193 | }; | 152 | default: false |
194 | }, | ||
195 | methods: { | ||
196 | dicStatus (val, code) { | ||
197 | let data = this.dicData[code], | ||
198 | name = '' | ||
199 | if (data) { | ||
200 | data.map((item) => { | ||
201 | if (item.DCODE == val) { | ||
202 | name = item.DNAME | ||
203 | } | ||
204 | }) | ||
205 | return name | ||
206 | } | ||
207 | }, | ||
208 | handleTitleTab (val) { | ||
209 | }, | ||
210 | isShow (item) { | ||
211 | if (item.bizMsgid) { | ||
212 | this.$set(this.bwoptions, 0, { | ||
213 | value: item.bizMsgid, | ||
214 | label: item.bizMsgid, | ||
215 | }) | ||
216 | this.$set(this.bwoptions, 1, { | ||
217 | value: item.bizMsgid + 'CBXZ', | ||
218 | label: item.bizMsgid + 'CBXZ', | ||
219 | }) | ||
220 | this.$set(this.bwoptions, 2, { | ||
221 | value: item.bizMsgid + 'BBXZ', | ||
222 | label: item.bizMsgid + 'BBXZ', | ||
223 | }) | ||
224 | } | ||
225 | this.titleName = 'sjmx'; | ||
226 | this.dialogVisible = true; | ||
227 | //获取表头列表 | ||
228 | this._getList(item) | ||
229 | //不动产数据查询上报详情 | ||
230 | getReportDetail({ bsmReport: item.bsmSjsb || item.bsmReport }).then((res) => { | ||
231 | if (res.code == 200) { | ||
232 | this.dataReport = res.result || {}; | ||
233 | } | ||
234 | }) | ||
235 | // 获取xml | ||
236 | if (this.visiableXml) { | ||
237 | getXml(item.bizMsgid).then((res) => { | ||
238 | this.resultInfo = res.message | ||
239 | }) | ||
240 | } | ||
241 | }, | ||
242 | // 获取列表接口 | ||
243 | _getList (data) { | ||
244 | getTabsDetail({ bsmReport: data.bsmReport || data.bsmSjsb }).then((res) => { | ||
245 | if (res.code == 200) { | ||
246 | this.headerList = res.result || []; | ||
247 | this.activeName = this.tabsActiveName == '' ? res.result[0].soleurl : this.tabsActiveName | ||
248 | this.bsmYwsjb = this.headerList[0]?.bsmYwsjb; | ||
249 | this.editItem = this.loadView(this.activeName); | ||
250 | } | ||
251 | }); | ||
252 | }, | ||
253 | changeList (val) { | ||
254 | let _index = val.index; | ||
255 | if (_index > this.index) { | ||
256 | } | 153 | } |
257 | this.index = _index; | ||
258 | this.bsmYwsjb = this.headerList[val.index].bsmYwsjb; | ||
259 | this.editItem = this.loadView(this.activeName); | ||
260 | // this.diaData.list.forEach((item) => { | ||
261 | // if (item.soleurl == this.activeName) { | ||
262 | // this.dataTable = item.dataTable; | ||
263 | // } | ||
264 | // }); | ||
265 | }, | 154 | }, |
266 | loadView (view) { | 155 | |
267 | return (r) => | 156 | computed: { |
268 | require.ensure([], () => r(require(`@/components/Business/${view}.vue`))); | 157 | ...mapGetters(["dicData"]), |
269 | }, | 158 | }, |
270 | closeDialog () { | 159 | data () { |
271 | this.dialogVisible = false; | 160 | return { |
272 | //关闭弹框时将tabs项置空 | 161 | key: 0, |
273 | this.editItem = ""; | 162 | resultInfo: '', |
274 | this.headerList = []; | ||
275 | 163 | ||
164 | titleName: 'sjmx', | ||
165 | // 报文list | ||
166 | bwoptions: [], | ||
167 | dataReport: {}, | ||
168 | index: 0, | ||
169 | bsmYwsjb: "", | ||
170 | ruleFormList: { | ||
171 | BizMsgId: "", // 业务报文ID | ||
172 | ASID: "", // ASID | ||
173 | AreaCode: "", //行政区划编码 | ||
174 | PreEstateNum: "", //上次不动产单元号 | ||
175 | RecType: "", // 业务编码 | ||
176 | RightType: "", // 权利类型 | ||
177 | RegType: "", //登记类型 | ||
178 | CertCount: "", //不动产权证书数量 | ||
179 | createDate: "", //创建时间 | ||
180 | RecFlowID: "", // 业务流水号 | ||
181 | ParcelID: "", //宗地/宗海代码 | ||
182 | ProofCount: "", //证明数量 | ||
183 | EstateNum: "", // 不动产单元号 | ||
184 | RegOrgID: "", // 登记机构 | ||
185 | PreCertID: "", //次不动产权证号/不动产登记证明 | ||
186 | }, | ||
187 | images: require("./images/success.gif"), | ||
188 | dialogVisible: false, | ||
189 | activeName: undefined, | ||
190 | editItem: "", | ||
191 | headerList: [], | ||
192 | dataTable: "", | ||
193 | }; | ||
276 | }, | 194 | }, |
277 | /** | 195 | methods: { |
278 | * @description: 提交 | 196 | dicStatus (val, code) { |
279 | * @author: renchao | 197 | let data = this.dicData[code], |
280 | */ | 198 | name = '' |
281 | submitForm: _.debounce(async function () { | 199 | if (data) { |
282 | let _this = this | 200 | data.map((item) => { |
283 | // 上报请求头修改 | 201 | if (item.DCODE == val) { |
284 | try { | 202 | name = item.DNAME |
285 | var headRes = await axios.post('/api' + urlHeader + 'edit', this.dataReport, | ||
286 | { | ||
287 | headers: { | ||
288 | 'Authorization': sessionStorage.getItem("token") || "" | ||
289 | } | 203 | } |
290 | }) | 204 | }) |
291 | if (headRes.code == 200) { | 205 | return name |
292 | _this._getList(_this.dataReport) | ||
293 | } | 206 | } |
294 | } catch (error) { | 207 | }, |
295 | this.$message({ | 208 | handleTitleTab (val) { |
296 | message: '报文头修改出错', | 209 | }, |
297 | type: 'error' | 210 | isShow (item) { |
298 | }) | 211 | if (item.bizMsgid) { |
299 | } | 212 | this.$set(this.bwoptions, 0, { |
300 | let listRes = await this.$refs["editItem"].handleUpdateForm() | 213 | value: item.bizMsgid, |
301 | if (headRes.data?.code == 200 && listRes == 200) { | 214 | label: item.bizMsgid, |
302 | this.$message({ | 215 | }) |
303 | message: '修改成功', | 216 | this.$set(this.bwoptions, 1, { |
304 | type: 'success' | 217 | value: item.bizMsgid + 'CBXZ', |
305 | }) | 218 | label: item.bizMsgid + 'CBXZ', |
306 | } | 219 | }) |
307 | }, 500), | 220 | this.$set(this.bwoptions, 2, { |
308 | /** | 221 | value: item.bizMsgid + 'BBXZ', |
309 | * @description: 重新上报 | 222 | label: item.bizMsgid + 'BBXZ', |
310 | * @author: renchao | 223 | }) |
311 | */ | 224 | } |
312 | handleResubmit () { | 225 | this.titleName = 'sjmx'; |
313 | let _this = this | 226 | this.dialogVisible = true; |
314 | this.$confirm('重新生成报文,是否上报省厅?', '提示', { | 227 | //获取表头列表 |
315 | confirmButtonText: '确定', | 228 | this._getList(item) |
316 | cancelButtonText: '取消', | 229 | //不动产数据查询上报详情 |
317 | type: 'warning' | 230 | getReportDetail({ bsmReport: item.bsmSjsb || item.bsmReport }).then((res) => { |
318 | }).then(() => { | 231 | if (res.code == 200) { |
319 | createXml() | 232 | this.dataReport = res.result || {}; |
320 | }).catch(() => { | 233 | } |
321 | this.$message({ | ||
322 | type: 'info', | ||
323 | message: '已取消删除' | ||
324 | }) | 234 | }) |
325 | }) | 235 | // 获取xml |
326 | function createXml () { | 236 | if (this.visiableXml) { |
327 | restartGenerateXml(_this.dataReport.bsmSjsb || _this.dataReport.bsmReport).then((res) => { | 237 | getXml(item.bizMsgid).then((res) => { |
238 | this.resultInfo = res.message | ||
239 | }) | ||
240 | } | ||
241 | }, | ||
242 | // 获取列表接口 | ||
243 | _getList (data) { | ||
244 | getTabsDetail({ bsmReport: data.bsmReport || data.bsmSjsb }).then((res) => { | ||
328 | if (res.code == 200) { | 245 | if (res.code == 200) { |
329 | _this.resultInfo = res.message | 246 | this.headerList = res.result || []; |
330 | _this.$message({ | 247 | this.activeName = this.tabsActiveName == '' ? res.result[0].soleurl : this.tabsActiveName |
331 | message: '修改成功', | 248 | this.bsmYwsjb = this.headerList[0]?.bsmYwsjb; |
332 | type: 'success' | 249 | this.editItem = this.loadView(this.activeName); |
250 | } | ||
251 | }); | ||
252 | }, | ||
253 | changeList (val) { | ||
254 | let _index = val.index; | ||
255 | if (_index > this.index) { | ||
256 | } | ||
257 | this.index = _index; | ||
258 | this.bsmYwsjb = this.headerList[val.index].bsmYwsjb; | ||
259 | this.editItem = this.loadView(this.activeName); | ||
260 | // this.diaData.list.forEach((item) => { | ||
261 | // if (item.soleurl == this.activeName) { | ||
262 | // this.dataTable = item.dataTable; | ||
263 | // } | ||
264 | // }); | ||
265 | }, | ||
266 | loadView (view) { | ||
267 | return (r) => | ||
268 | require.ensure([], () => r(require(`@/components/Business/${view}.vue`))); | ||
269 | }, | ||
270 | closeDialog () { | ||
271 | this.dialogVisible = false; | ||
272 | //关闭弹框时将tabs项置空 | ||
273 | this.editItem = ""; | ||
274 | this.headerList = []; | ||
275 | |||
276 | }, | ||
277 | /** | ||
278 | * @description: 提交 | ||
279 | * @author: renchao | ||
280 | */ | ||
281 | submitForm: _.debounce(async function () { | ||
282 | let _this = this | ||
283 | // 上报请求头修改 | ||
284 | try { | ||
285 | var headRes = await axios.post('/api' + urlHeader + 'edit', this.dataReport, | ||
286 | { | ||
287 | headers: { | ||
288 | 'Authorization': sessionStorage.getItem("token") || "" | ||
289 | } | ||
333 | }) | 290 | }) |
291 | if (headRes.code == 200) { | ||
292 | _this._getList(_this.dataReport) | ||
334 | } | 293 | } |
294 | } catch (error) { | ||
295 | this.$message({ | ||
296 | message: '报文头修改出错', | ||
297 | type: 'error' | ||
298 | }) | ||
299 | } | ||
300 | let listRes = await this.$refs["editItem"].handleUpdateForm() | ||
301 | if (headRes.data?.code == 200 && listRes == 200) { | ||
302 | this.$message({ | ||
303 | message: '修改成功', | ||
304 | type: 'success' | ||
305 | }) | ||
306 | } | ||
307 | }, 500), | ||
308 | /** | ||
309 | * @description: 重新上报 | ||
310 | * @author: renchao | ||
311 | */ | ||
312 | handleResubmit () { | ||
313 | let _this = this | ||
314 | this.$confirm('重新生成报文,是否上报省厅?', '提示', { | ||
315 | confirmButtonText: '确定', | ||
316 | cancelButtonText: '取消', | ||
317 | type: 'warning' | ||
318 | }).then(() => { | ||
319 | createXml() | ||
320 | }).catch(() => { | ||
321 | this.$message({ | ||
322 | type: 'info', | ||
323 | message: '已取消删除' | ||
324 | }) | ||
335 | }) | 325 | }) |
326 | function createXml () { | ||
327 | restartGenerateXml(_this.dataReport.bsmSjsb || _this.dataReport.bsmReport).then((res) => { | ||
328 | if (res.code == 200) { | ||
329 | _this.resultInfo = res.message | ||
330 | _this.$message({ | ||
331 | message: '修改成功', | ||
332 | type: 'success' | ||
333 | }) | ||
334 | } | ||
335 | }) | ||
336 | } | ||
336 | } | 337 | } |
337 | } | 338 | } |
338 | } | 339 | } |
339 | } | ||
340 | </script> | 340 | </script> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Author: yangwei | 2 | * @Author: yangwei |
3 | * @Date: 2023-01-16 09:10:12 | 3 | * @Date: 2023-01-16 09:10:12 |
4 | * @LastEditors: Please set LastEditors | 4 | * @LastEditors: Please set LastEditors |
5 | * @LastEditTime: 2023-04-06 14:12:53 | 5 | * @LastEditTime: 2023-04-27 17:07:58 |
6 | * @FilePath: \bdcjg-web\src\main.js | 6 | * @FilePath: \bdcjg-web\src\main.js |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
... | @@ -60,7 +60,8 @@ axios.get("./config.json") | ... | @@ -60,7 +60,8 @@ axios.get("./config.json") |
60 | .then((res) => { | 60 | .then((res) => { |
61 | Vue.prototype.BASE_API = res.data | 61 | Vue.prototype.BASE_API = res.data |
62 | localStorage.setItem('ApiUrl', JSON.stringify(res.data)); | 62 | localStorage.setItem('ApiUrl', JSON.stringify(res.data)); |
63 | window.TITLE = res.data.TITLE | 63 | process.env.TITLE = res.data.TITLE |
64 | process.env.IPCONFIG = res.data.IPCONFIG | ||
64 | require('./permission') | 65 | require('./permission') |
65 | new Vue({ | 66 | new Vue({ |
66 | el: '#app', | 67 | el: '#app', | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 2 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-03-29 10:14:34 | 4 | * @LastEditTime: 2023-04-27 17:09:51 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import axios from "axios"; | 7 | import axios from "axios"; |
... | @@ -85,12 +85,9 @@ function handleErrorData (status) { | ... | @@ -85,12 +85,9 @@ function handleErrorData (status) { |
85 | }, | 85 | }, |
86 | }); | 86 | }); |
87 | } | 87 | } |
88 | 88 | ||
89 | } | 89 | } |
90 | break; | 90 | break; |
91 | case 403: | ||
92 | Message.error("拒绝访问"); | ||
93 | break; | ||
94 | case 404: | 91 | case 404: |
95 | Message.error("很抱歉,资源未找到!"); | 92 | Message.error("很抱歉,资源未找到!"); |
96 | break; | 93 | break; | ... | ... |
-
Please register or sign in to post a comment