814a81da by renchao@pashanhoo.com

style:监管

1 parent 4d2fd085
###
# @Description:
# @Autor: renchao
# @LastEditTime: 2023-05-06 15:55:04
###
# just a flag
ENV = 'development'
NODE_ENV=development
......@@ -5,4 +10,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/api'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.38:8027'
VUE_APP_API_BASE_URL = 'http://192.168.2.89:8027'
......
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"LOGIN": "sb",
"CODE": "BDCSBPT",
"TITLE": "汉中市监管系统",
"THEME": "jg",
"LOGIN": "jg",
"CODE": "BDCJGPT",
"AREARMAP": "610702",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"calcHeight": 200,
"echartTextColor": "#FFFFFF",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
}
\ No newline at end of file
......
<!--
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-04-12 11:12:50
* @LastEditTime: 2023-05-06 16:26:39
-->
<!DOCTYPE html>
<html>
......@@ -17,6 +17,13 @@
<%= webpackConfig.name %>
</title>
</head>
<script>
fetch('/config.json')
.then(response => response.json())
.then(config => {
window.config = config
});
</script>
<body>
<div id="app"></div>
......
......@@ -6,7 +6,7 @@
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class business {
/**
* @description: 成功率统计
......
/*
* @Description: 这个是所有api的前缀配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-24 16:51:18
*/
export default {
SERVERAPI: '/bdcsjsb', //赵千
MANAGEMENTAPI: 'http://192.168.2.38:8090/management'
}
\ No newline at end of file
......@@ -6,7 +6,7 @@
/* 引入axios请求文件 */
import request from '@/utils/request'
/* 引入配置 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/'
/**
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
获取全部字典数据
*/
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjDb {
//登记登簿信息
async getDjfDjDbById(bsmSjsb) {
async getDjfDjDbById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjDb {
});
}
//修改登记登簿信息
async updateDjfDjDb(data) {
async updateDjfDjDb (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjFz {
//登记发证信息
async getDjfDjFzDetailById(bsmSjsb) {
async getDjfDjFzDetailById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjFz {
});
}
//修改登记发证信息
async updateDjfDjFz(data) {
async updateDjfDjFz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjGd {
// 登记归档信息-业务表单
async getDjfDjGdById(bsmSjsb) {
async getDjfDjGdById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjGd {
});
}
// 登记归档信息-业务-修改
async updateDjfDjGd(data) {
async updateDjfDjGd (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit",
method: "put",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSf {
// 登记收费信息
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSh {
//登记审核信息
async getDjfDjShById(bsmSjsb) {
async getDjfDjShById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSh {
});
}
//修改登记审核信息
async updateDjfDjSh(data) {
async updateDjfDjSh (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSj {
//登记收件信息
async getDjfDjSjById(bsmSjsb) {
async getDjfDjSjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSj {
});
}
//修改登记收件信息
async updateDjfDjSj(data) {
async updateDjfDjSj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSqr {
// 申请人属性信息-业务表单
async getDjfDjSqrById(bsmSjsb) {
async getDjfDjSqrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSqr {
});
}
// 申请人属性信息-业务-修改
async updateDjfDjSqr(data) {
async updateDjfDjSqr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSz {
//登记缮证信息
async getDjfDjSzById(bsmSjsb) {
async getDjfDjSzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSz {
});
}
//修改登记缮证信息
async updateDjfDjSz(data) {
async updateDjfDjSz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djtDjSlsq {
// 登记受理申请信息 -- 业务表单
async getDjtDjSlsqById(bsmSjsb) {
async getDjtDjSlsqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djtDjSlsq {
});
}
// 登记受理申请信息 -- 业务修改
async updateDjtDjSlsq(data) {
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit",
method: "post",
......@@ -21,7 +21,7 @@ class djtDjSlsq {
});
}
//修改登记受理申请信息
async updateDjtDjSlsq(data) {
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq",
method: "put",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class efficient {
/*
......@@ -7,14 +7,14 @@ class efficient {
startDate:开始日期
endDate:结束日期
*/
async getProcessCounts(startDate, endDate,qxdm) {
async getProcessCounts (startDate, endDate, qxdm) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts",
method: "post",
params: {
startDate: startDate,
endDate: endDate,
qxdm:qxdm
qxdm: qxdm
},
});
}
......@@ -24,7 +24,7 @@ class efficient {
startDate:开始日期
endDate:结束日期
*/
async getProcessDays(recType, startDate, endDate) {
async getProcessDays (recType, startDate, endDate) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays",
method: "post",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 16:25:08
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/* 引入配置 */
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/storage'
/**
* @description: xml导入
* @param {*} data
* @author: renchao
*/
export function storage (data) {
return request({
url: urlHeader,
headers: {
'Content-Type': 'multipart/form-data'
},
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class fjF100 {
// 非结构化文档
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtDzdzw {
// 点状定着物信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtMzdzw {
// 面状定着物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtXzdzw {
// 线状定着物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZdbhqk {
//宗地变化情况
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhydzb {
// 用海,用岛坐标
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhzk {
//用海状况
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwC {
// 层信息- 业务表单
async getKttFwCById(bsmSjsb) {
async getKttFwCById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwC {
});
}
// 层信息-业务-修改
async updateKttFwC(data) {
async updateKttFwC (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwH {
// 户信息- 业务表单
async getKttFwHById(bsmSjsb) {
async getKttFwHById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwH {
});
}
// 户信息-业务-修改
async updateKttFwH(data) {
async updateKttFwH (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwLjz {
// 逻辑幢信息 -- 业务表单
async getKttFwLjzById(bsmSjsb) {
async getKttFwLjzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwLjz {
});
}
// 逻辑幢信息 -- 业务修改
async updateKttFwLjz(data) {
async updateKttFwLjz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwZrz {
// 自然幢信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzd {
//界址点
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzx {
//界址线信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGzw {
//构筑物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZdjbxx {
// 宗地基本信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZhjbxx {
//宗海基本信息
......
......@@ -4,8 +4,8 @@
* @LastEditTime: 2023-03-23 17:19:52
*/
import request from "@/utils/request";
// import SERVER from "./config";
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// console.log(SERVER, 'SERVERSERVER');
export function loginIn (username, password) {
......
import request from '@/utils/request'
// import SERVER from "./config";
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const workflow = '/workflow'
const log = '/log'
const crud = '/crud'
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
更新排序
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqDzXm {
// 房地产权_项目内多幢房屋项目属性
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqQfsyq {
// 建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqList(data) {
async getQlfFwFdcqQfsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfFwFdcqQfsyq {
});
}
//建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqById(bsmSjsb) {
async getQlfFwFdcqQfsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfFwFdcqQfsyq {
});
}
//修改建筑物区分所有权业主共有部分信息
async updateQlfFwFdcqQfsyq(data) {
async updateQlfFwFdcqQfsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlCfdj {
// 查封登记信息
async getQlfQlCfdjList(data) {
async getQlfQlCfdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlCfdj {
});
}
// 查封登记信息
async getQlfQlCfdjById(bsmSjsb) {
async getQlfQlCfdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlCfdj {
});
}
// 查封登记信息-修改
async updateQlfQlCfdj(data) {
async updateQlfQlCfdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyaq {
// 抵押权登记
async getQlfQlDyaqList(data) {
async getQlfQlDyaqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlDyaq {
});
}
// 抵押权
async getQlfQlDyaqById(bsmSjsb) {
async getQlfQlDyaqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlDyaq {
});
}
// 抵押权-修改
async updateQlfQlDyaq(data) {
async updateQlfQlDyaq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyiq {
// 地役权
async getQlfQlDyiqList(data) {
async getQlfQlDyiqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlDyiq {
});
}
// 地役权信息
async getQlfQlDyiqById(bsmSjsb) {
async getQlfQlDyiqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlDyiq {
});
}
// 地役权信息-修改
async updateQlfQlDyiq(data) {
async updateQlfQlDyiq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlGzdj {
// 更正登记信息
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlHysyq {
// 海域(含无居民海岛)使用权
async getQlfQlHysyqByConditon(data) {
async getQlfQlHysyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlHysyq {
});
}
//海域(含无居民海岛)使用权
async getQlfQlHysyqById(bsmSjsb) {
async getQlfQlHysyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlHysyq {
});
}
//修改海域(含无居民海岛)使用权
async updateQlfQlHysyq(data) {
async updateQlfQlHysyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlJsydsyq {
// 建设用地、宅基地使用权
async getQlfQlJsydsyqList(data) {
async getQlfQlJsydsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlJsydsyq {
});
}
//建设用地、宅基地使用权
async getQlfQlJsydsyqById(bsmSjsb) {
async getQlfQlJsydsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qlfQlJsydsyq {
})
}
//修改建设用地、宅基地使用权
async updateQlfQlJsydsyq(data) {
async updateQlfQlJsydsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlNydsyq {
// 农用地使用权(非林地)
async getQlfQlNydsyqByConditon(data) {
async getQlfQlNydsyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlNydsyq {
});
}
//农用地使用权(非林地)
async getQlfQlNydsyqByID(bsmSjsb) {
async getQlfQlNydsyqByID (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlNydsyq {
});
}
//修改农用地使用权(非林地)
async updateQlfQlNydsyq(data) {
async updateQlfQlNydsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlQtxgql {
// 其他相关权利
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlTdsyq {
// 土地所有权
async getQlfQlTdsyqList(data) {
async getQlfQlTdsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlTdsyq {
});
}
//土地所有权
async getQlfQlTdsyqById(bsmSjsb) {
async getQlfQlTdsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qlfQlTdsyq {
})
}
//修改土地所有权
async updateQlfQlTdsyq(data) {
async updateQlfQlTdsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYgdj {
// 预告登记信息
async getQlfQlYgdjList(data) {
async getQlfQlYgdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlYgdj {
});
}
// 预告登记信息
async getQlfQlYgdjById(bsmSjsb) {
async getQlfQlYgdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlYgdj {
});
}
// 预告登记信息-修改
async updateQlfQlYgdj(data) {
async updateQlfQlYgdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYydj {
// 异议登记信息
async getQlfQlYydjList(data) {
async getQlfQlYydjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlYydj {
});
}
// 异议登记信息
async getQlfQlYydjById(bsmSjsb) {
async getQlfQlYydjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlYydj {
});
}
// 异议登记信息-修改
async updateQlfQlYydj(data) {
async updateQlfQlYydj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlZxdj {
// 注销登记
async getQlfQlZxdjList(data) {
async getQlfQlZxdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlZxdj {
});
}
// 注销登记信息
async getQlfQlZxdjById(bsmSjsb) {
async getQlfQlZxdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlZxdj {
});
}
//注销登记信息 - 修改
async updateQlfQlZxdj(data) {
async updateQlfQlZxdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqDz {
// 房地产权_项目内多幢房屋信息
async getQltFwFdcqDzList(data) {
async getQltFwFdcqDzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltFwFdcqDz {
});
}
//房地产权_项目内多幢房屋信息
async getQltFwFdcqDzById(bsmSjsb) {
async getQltFwFdcqDzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qltFwFdcqDz {
})
}
//修改房地产权_项目内多幢房屋信息
async updateQltFwFdcqDz(data) {
async updateQltFwFdcqDz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqYz {
// 房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzList(data) {
async getQltFwFdcqYzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltFwFdcqYz {
});
}
//房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzById(bsmSjsb) {
async getQltFwFdcqYzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qltFwFdcqYz {
})
}
//修改房地产权(独幢、层、套、间、房屋)
async updateQltFwFdcqYz(data) {
async updateQltFwFdcqYz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlGjzwsyq {
// 构(建)筑物所有权
async getQltQlGjzwsyqList(data) {
async getQltQlGjzwsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltQlGjzwsyq {
});
}
// 构(建)筑物所有权
async getQltQlGjzwsyqById(bsmSjsb) {
async getQltQlGjzwsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qltQlGjzwsyq {
});
}
//构(建)筑物所有权 - 修改
async updateQltQlGjzwsyq(data) {
async updateQltQlGjzwsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlLq {
// 林权
async getQltQlLqList(data) {
async getQltQlLqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltQlLq {
});
}
//林权
async getQltQlLqById(bsmSjsb) {
async getQltQlLqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qltQlLq {
});
}
//修改林权
async updateQltQlLq(data) {
async updateQltQlLq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/edit",
method: "post",
......
......@@ -6,7 +6,7 @@
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
* @description: 登簿日志分页
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ruleConfig {
// 列表查询
async getSysYwsjbList (data) {
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbFunctionOper {
// 数据上报表头相关接口
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbTask {
// 定时任务
......
......@@ -9,7 +9,7 @@
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
/**
* dataReceiveQuality
......
......@@ -4,8 +4,8 @@
* @LastEditTime: 2023-03-24 09:28:25
*/
import request from '@/utils/request'
// let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取用户信息
export function getUserInfo () {
return request({
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class work {
// 登记类型总量
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zdK103 {
//宗地空间属性
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zhK105 {
// 宗海空间属性
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zttGyQlr {
// 权利人 -- 业务表单
async getZttGyQlrById(bsmSjsb) {
async getZttGyQlrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail",
method: "get",
......@@ -13,7 +13,7 @@ class zttGyQlr {
});
}
// 权利人 -- 业务表单修改
async updateZttGyQlr(data) {
async updateZttGyQlr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit",
method: "post",
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-01-16 09:10:12
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-04-06 14:12:53
* @LastEditTime: 2023-05-06 16:38:08
* @FilePath: \bdcjg-web\src\main.js
* @Description:
*
......
......@@ -79,10 +79,14 @@
</el-col>
<!-- 按钮操作 -->
<el-col :span="6" class="btnColRight">
<el-form-item>
<el-form-item class="d-flex">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSearch">查询</btn>
<btn nativeType="cx">存量导入</btn>
<el-upload ref="upload" style="display:inline-block;margin-left: 10px" action="" :auto-upload="false"
:limit="1" accept=".xml" :show-file-list="false"
:file-list="fileList" :before-upload="uploadRecord" :on-change="fileChange">
<btn nativeType="cx">xml导入</btn>
</el-upload>
</el-form-item>
</el-col>
</el-row>
......@@ -101,7 +105,7 @@
</template>
<script>
import Vue from 'vue'
import { storage } from '@/api/file'
// 接收报文查询
// 引入表格头部数据
import data from "./data";
......@@ -121,7 +125,7 @@
},
data () {
return {
fileList: [],
pickerOptionsStart: {
disabledDate: (time) => {
let endDateVal = this.form.receiveEndTime;
......@@ -232,6 +236,36 @@
};
},
methods: {
uploadRecord (file) {
this.requested = true
this.files = file;
const extension = file.name.split('.')[1] === 'xml'
const isLt5M = file.size / 1024 / 1024 < 5
if (!extension) {
this.$message.warning('上传模板只能是 xml格式!')
this.requested = false
}
if (!isLt5M) {
this.$message.warning('上传模板大小不能超过 5MB!')
this.requested = false
}
return (extension) && isLt5M
},
fileChange (res) {
let fd = new FormData()
fd.append('files', res.raw)// 文件对象
storage(fd).then(res => {
if (res.code === 200) {
this.requested = false
this.$message({
message: '上传成功',
type: 'success',
})
} else {
this.$message.error(res.message)
}
})
},
//截止日期变化
endTimeChange (val) {
this.form.receiveEndTime = timeFormat(new Date(val), true)
......