2b1928e8 by renchao@pashanhoo.com

style:配置化

1 parent 673d18d4
{
"SERVERAPI": "service-bdcdj-th"
}
\ No newline at end of file
{
"SERVERAPI": "/bdcdj"
}
\ No newline at end of file
{
"SERVERAPI": "service-bdcdj-th"
}
\ No newline at end of file
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:40:17
*/
import request from '@/utils/request';
import SERVER from './config';
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 获取不动产权证列表
export function getBdcqzList (params) {
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:40:36
*/
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 材料目录明细初始化
export function InitClml (data) {
......
/*
* @Description: api请求配置文件
* @Autor: renchao
* @LastEditTime: 2023-04-18 14:14:07
*/
// export default {
// SERVERAPI: 'service-bdcdj-th'
// }
export default {
SERVERAPI: '/bdcdj'
}
\ No newline at end of file
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
export function uploadUrl () {
return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload'
}
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 转出
export function completeTask (data) {
return request({
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 新增平台接口
export function addSysInterface(data) {
return request({
url: SERVER.SERVERAPI+"/rest/system/ptjk/addSysInterface",
method: 'post',
data
})
}
export function addSysInterface (data) {
return request({
url: SERVER.SERVERAPI + "/rest/system/ptjk/addSysInterface",
method: 'post',
data
})
}
// 编辑平台接口
export function editSysInterface(data) {
return request({
url: SERVER.SERVERAPI+"/rest/system/ptjk/editSysInterface",
method: 'post',
data
})
}
export function editSysInterface (data) {
return request({
url: SERVER.SERVERAPI + "/rest/system/ptjk/editSysInterface",
method: 'post',
data
})
}
// 接口调取
export function interfaceRetrieve(data) {
return request({
url: SERVER.SERVERAPI+"/rest/system/ptjk/interfaceRetrieve",
method: 'post',
data
})
}
export function interfaceRetrieve (data) {
return request({
url: SERVER.SERVERAPI + "/rest/system/ptjk/interfaceRetrieve",
method: 'post',
data
})
}
// 获取平台接口列表
export function getSysInterfaceList(data) {
export function getSysInterfaceList (data) {
return request({
url: SERVER.SERVERAPI+"/rest/system/ptjk/getSysInterfaceList",
url: SERVER.SERVERAPI + "/rest/system/ptjk/getSysInterfaceList",
method: 'post',
data
})
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/'
/*
楼盘查询
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
登记簿详情页
*/
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 获取自然幢下其他户
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 获取申请查询列表
export function getSqcxPage (data) {
return request({
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 上传单个文件
export function upload (data) {
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 用户首页
// 获取首页通知公告列表
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:39:44
*/
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
//批量初始化
export function BatchInit (data) {
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
......@@ -34,9 +34,9 @@ export function Init (data) {
})
}
// 受理信息保存
export function saveData (data,djlx) {
export function saveData (data, djlx) {
let apiUrl = "/rest/ywbl/dyaq/saveData";
if(djlx=="400"){
if (djlx == "400") {
apiUrl = "/rest/ywbl/dyaq/saveLogoutData";
}
return request({
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init(data) {
export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/fristInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/fristInit";
break;
case "200":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/transferInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/transferInit";
break;
case "300":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/changeInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/changeInit";
break;
case "400":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/logoutInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutInit";
break;
case "500":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/riviseInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/riviseInit";
break;
case "901":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/renewalInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/renewalInit";
break;
case "902":
apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/replaceInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/replaceInit";
break;
}
return request({
......@@ -33,12 +33,12 @@ export function Init(data) {
})
}
// 首次登记提交
export function saveBatchData(data) {
return request({
url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBatchData",
method: 'post',
data
})
export function saveBatchData (data) {
return request({
url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveBatchData",
method: 'post',
data
})
}
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
let apiUrl = "";
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
let apiUrl = "";
......
import request from '@/utils/request'
import SERVER from '../config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 初始化内容
export function Init (data) {
......@@ -34,9 +34,9 @@ export function Init (data) {
})
}
// 受理信息保存
export function saveData (data,djlx) {
export function saveData (data, djlx) {
let apiUrl = "/rest/ywbl/zjgcdy/saveData";
if(djlx=="400"){
if (djlx == "400") {
apiUrl = "/rest/ywbl/zjgcdy/saveLogoutData";
}
return request({
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
系统监控 -获取错误日志列表
*/
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
业务办理-获取收藏业务集合
*/
......@@ -249,11 +249,11 @@ export function selectJsydQlxx (data) {
* @returns {*}
*/
export function selectFwsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyq',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyq',
method: 'post',
data
})
}
/**
* 业务办理-预告登记-选择权利信息-根据条件进行列表查询
......@@ -261,11 +261,11 @@ export function selectFwsyq (data) {
* @returns {*}
*/
export function selectYgdj100 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj100',
method: 'post',
data
})
}
/**
* 业务办理-预告登记-选择权利信息-根据条件进行列表查询
......@@ -273,11 +273,11 @@ export function selectYgdj100 (data) {
* @returns {*}
*/
export function selectYgdj200 (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdj200',
method: 'post',
data
})
}
/**
* 业务办理-预告抵押登记-选择权利信息-根据条件进行列表查询
......@@ -285,11 +285,11 @@ export function selectYgdj200 (data) {
* @returns {*}
*/
export function selectYgdy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectYgdy',
method: 'post',
data
})
}
/**
* 根据自然幢查询房屋信息
......@@ -297,9 +297,9 @@ export function selectYgdy (data) {
* @returns {*}
*/
export function selectAllHInfo (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectAllHInfo',
method: 'post',
data
})
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectAllHInfo',
method: 'post',
data
})
}
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
综合查询
*/
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
证书管理-获取序列号
*/
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:37:34
*/
import Vue from 'vue'
import App from './App'
import 'normalize.css/normalize.css' // a modern alternative to CSS resets
import Element from 'element-ui'
import axios from 'axios'
import '@/styles/element-variables.scss'
import '@/styles/index.scss'
import Base from '@/components/Base/base' // 全局组件引入
......@@ -47,16 +53,23 @@ import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)
import * as filters from './filters' // global filters
import './permission' // permission control
Vue.use(Element, { size: 'small', zIndex: 1000 })
Vue.use(Base)
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key])
})
Vue.config.productionTip = false
new Vue({
el: '#app',
router,
store,
render: h => h(App)
})
axios.get("./config.json")
.then((res) => {
Vue.prototype.BASE_API = res.data
localStorage.setItem('ApiUrl', JSON.stringify(res.data));
window.TITLE = res.data.TITLE
require('./permission')
new Vue({
el: '#app',
router,
store,
render: h => h(App)
})
})
......
......@@ -194,8 +194,9 @@
max-width: 80%;
}
.el-table .el-tooltip span {
white-space: pre-wrap !important;
white-space: pre-wrap;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
......
......@@ -8,7 +8,7 @@ class data extends filter {
constructor() {
super()
}
columns() {
columns () {
return [
{
label: '序号',
......@@ -88,7 +88,8 @@ class data extends filter {
{
prop: "zl",
label: "坐落",
width: '260'
minWidth: '160',
showOverflowTooltip: true
},
{
prop: "slsj",
......@@ -105,13 +106,11 @@ class data extends filter {
label: "转入时间",
sortable: 'custom',
prop: 'fromstepdate',
width: '160'
width: '140'
},
{
label: '操作',
width: '80',
align: 'center',
fixed: 'right',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button>
}
......
......@@ -189,7 +189,6 @@
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
import SERVER from "@/api/config";
export default {
async created () {
this.propsParam = this.$attrs;
......@@ -255,7 +254,7 @@ export default {
},
methods: {
dataSelectClick () {
this.$popup("房屋信息比对", SERVER.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
{
formData: {
bsmSldy: this.propsParam.bsmSldy,
......