4d2fb777 by 蔡俊立
2 parents c3f898b8 96db9287
export default {
SERVERAPI: '/service-bdcdj9'
SERVERAPI: '/service-bdcdj9',
SERVERCAI: 'service-cai'
}
\ No newline at end of file
......
......@@ -64,3 +64,12 @@ export function saveGZBatchData(data) {
data
})
}
// 更正/变更登记提交
export function saveBHZData(data) {
return request({
url: SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/saveBHZData",
method: 'post',
data
})
}
......
......@@ -6,29 +6,29 @@ export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = "/ywbl/jsydsyqlr/fristInit";
apiUrl = "/rest/ywbl/jsydsyqlr/fristInit";
break;
case "200":
apiUrl = "/ywbl/jsydsyqlr/transferInit";
apiUrl = "/rest/ywbl/jsydsyqlr/transferInit";
break;
case "300":
apiUrl = "/ywbl/jsydsyqlr/changeInit";
apiUrl = "/rest/ywbl/jsydsyqlr/changeInit";
break;
case "400":
apiUrl = "/ywbl/jsydsyqlr/logoutInit";
apiUrl = "/rest/ywbl/jsydsyqlr/logoutInit";
break;
case "500":
apiUrl = "/ywbl/jsydsyqlr/riviseInit";
apiUrl = "/rest/ywbl/jsydsyqlr/riviseInit";
break;
case "901":
apiUrl = "/ywbl/jsydsyqlr/renewalInit";
apiUrl = "/rest/ywbl/jsydsyqlr/renewalInit";
break;
case "902":
apiUrl = "/ywbl/jsydsyqlr/replaceInit";
apiUrl = "/rest/ywbl/jsydsyqlr/replaceInit";
break;
}
return request({
url: apiUrl,
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
data
})
......
import request from '@/utils/request'
import SERVER from './config'
// export function getMenuInfo () {
// return request({
// url: SERVER.SERVERAPI + '/rest/user/getUserMenus',
// method: 'get',
// })
// }
export function getMenuInfo () {
return request({
url: SERVER.SERVERAPI + '/rest/user/getUserMenus',
url: SERVER.SERVERCAI + '/rest/user/getUserAuthorizationMenus',
method: 'get',
})
}
\ No newline at end of file
......
<template>
<el-image-viewer
:on-close="closeViewer"
:url-list="urlList">
<el-image-viewer :on-close="closeViewer" :url-list="urlList">
</el-image-viewer>
</template>
<script>
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
export default {
import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
export default {
components: {
ElImageViewer,
},
......@@ -16,12 +13,12 @@
type: Array,
default: function () {
return []
},
},
}
}
},
data () {
return {
wrapperElem: null,
wrapperElem: null
}
},
mounted () {
......@@ -79,11 +76,11 @@
xhr.send()
},
},
}
}
</script>
<style lang="scss" scoped>
/deep/ .el-image-viewer__close {
/deep/ .el-image-viewer__close {
color: #ffffff;
}
}
</style>
\ No newline at end of file
......
......@@ -9,7 +9,6 @@
</div>
<svg-icon icon-class='close' class="closeStyle" @click="onCancel" />
</div>
<div class="ls-mask-content" ref='contentRef' :style="{ 'height': contentHeight }">
<component :is="editItem" ref='childRef' @loading='loadingFn' :key="key" :formData='formData' />
</div>
......@@ -27,7 +26,7 @@ export default {
data () {
return {
btnShow: false,
title: '提示',
title: '标题',
cancelText: '取消',
confirmText: '确认',
isSync: false,
......
......@@ -5,13 +5,8 @@
this.$popup({
title: '提示', // 弹窗标题
titleStyle:"", //标题存在的位置 center left
width:"", //弹窗的宽度
height:"", //弹窗的高度
editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径
formData:this.formData, //父组件传给子组件的参数
btnShow:false,//按钮显隐 false隐藏 true显示
confirmText:"" // 确认按钮的文字
cancelText:"" //取消按钮的文字
cancel: function () {}, //取消事件的回调
confirm: function () {}, //确认事件的回调
iconClass:"",//标题前面icon图标名称
......
<template>
<div v-if="!item.hidden">
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)">
<template
v-if="hasOneShowingChild(item.children, item) && (!onlyOneChild.children || onlyOneChild.noShowingChildren)">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title"
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{ 'submenu-title-noDropdown': !isNest }">
<item :icon="onlyOneChild.meta.icon || (item.meta && item.meta.icon)" :title="onlyOneChild.meta.title"
class="menu-icon" />
</el-menu-item>
</app-link>
......
<template>
<div>
<el-scrollbar wrap-class="scrollbar-wrapper">
<el-menu :default-active="activeMenu" :background-color="variables.menuBg" :text-color="variables.menuText"
<el-menu router :default-active="activeMenu" :background-color="variables.menuBg" :text-color="variables.menuText"
:unique-opened="true" :active-text-color="variables.menuActiveText" :collapse-transition="false"
mode="vertical">
<!-- 权限菜单 -->
......@@ -26,7 +26,6 @@ export default {
activeMenu () {
const route = this.$route
const { meta, path } = route
// if set path, the sidebar will highlight the path you set
if (meta.activeMenu) {
return meta.activeMenu
}
......@@ -37,7 +36,7 @@ export default {
},
asyncRoutes () {
return asyncRoutes
},
},
}
}
}
</script>
......
<template>
<div>
<!--布局容器-->
<el-container class="home_container">
<!--顶部栏-->
<el-header class="home_header">
<span class="home_title">
</span>
</el-header>
<el-container >
<!--左侧侧边栏-->
<el-aside class="home_aside" width="180px">
</el-aside>
<!--主要区域容器-->
<el-main class="home_main">
主要区域容器
</el-main>
</el-container>
</el-container>
</div>
</template>
<script>
</script>
<style>
.home_container {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
</style>
\ No newline at end of file
......@@ -22,13 +22,19 @@ router.beforeEach(async (to, from, next) => {
const { result: getMenuData } = await getMenuInfo()
const accessRoutes = await store.dispatch('permission/generateRoutes', getMenuData)
router.addRoutes(accessRoutes)
const routeTo = Cookies.get('routerTo')
if (routeTo) {
next(routeTo)
} else {
next({ ...to, replace: true })
}
}
NProgress.done()
})
router.afterEach(to => {
// 解决刷新页面报404问题
console.log(to.fullPath);
Cookies.set("routerTo", to.fullPath)
NProgress.done()
})
......
......@@ -21,9 +21,18 @@ export const constantRoutes = [
]
},
{
path: '/404',
path: '/',
component: Layout,
meta: { title: '404' },
hidden: true,
children: [
{
path: '404',
component: () => import('@/views/error-page/404'),
hidden: true
name: '404',
meta: { title: '404' }
}
]
},
// 业务流程框架
{
......@@ -40,9 +49,23 @@ export const constantRoutes = [
name: 'workFrameView',
hidden: true,
meta: { title: '发起申请' }
},
{
path: '*',
component: Layout,
meta: { title: '404' },
redirect: '/404',
hidden: true,
children: [
{
path: '404',
component: () => import('@/views/error-page/404'),
name: '404',
meta: { title: '404' }
}
]
},
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
......@@ -68,8 +91,7 @@ export const asyncRoutes = [
parentId: null,
component: Layout,
meta: { title: '业务办理', icon: 'ywbl' },
redirect: '/ywbl/ywsq/ywsq',
alwaysShow: true,
redirect: '/ywbl/ywsq',
name: 'ywbl',
children: [
{
......
......@@ -3,16 +3,18 @@ export default function filterAsyncRouter (routers) {
routers.forEach(item => {
if (!item.children) {
delete item.children
delete item.redirect
} else {
item.children = filterAsyncRouter(item.children)
}
item.path = JSON.parse(item.metadata).path
if (!item.parentId) {
item.component = Layout
} else {
item.component = loadView(item.uri)
}
item.meta.icon = item.icon
if (item.children) {
item.children = filterAsyncRouter(item.children)
item.meta = {
title: item.name,
icon: item.icon
}
})
return routers
......
<template>
<div class="wscn-http404-container">
404
<div>
<img src="./404.png" alt="">
</div>
</template>
......@@ -34,14 +34,14 @@ export default {
.wscn-http404 {
position: relative;
width: 1200px;
width: 100%;
padding: 0 50px;
overflow: hidden;
.pic-404 {
position: relative;
float: left;
width: 600px;
width: 100%;
overflow: hidden;
&__parent {
......
<template>
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="接口类型">
<el-input
placeholder="请输入编号"
v-model="queryForm.jklx"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="调用状态">
<el-input
placeholder="请输入编号"
v-model="queryForm.dyzt"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="访问IP">
<el-input
placeholder="请输入IP"
v-model="queryForm.fwip"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="访问时间">
<el-input placeholder="请输入业务号" v-model="queryForm.fwsj" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="请求地址">
<el-input
placeholder="请输入url"
v-model="queryForm.qqdz"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-col :span="20">
<el-form-item label="请求头数据">
<el-input
placeholder="请输入请求头数据"
v-model="queryForm.qqtsj"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20">
<el-form-item label="入参数据">
<el-input
placeholder="请输入参数"
v-model="queryForm.rcsj"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="调用描述">
<el-input
placeholder="调用描述"
v-model="queryForm.dyms"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="返回数据">
<el-input
placeholder="返回数据"
v-model="queryForm.fhsj"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">发送</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
</div>
</template>
<script>
export default {
data () {
return {
queryForm: {
jklx: "",
dyzt: "",
fwip: "",
fwsj: "",
qqdz: "",
qqtsj: "",
rcsj: "",
dyms: "",
fhsj: "",
},
}
},
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
</style>
\ No newline at end of file
<template>
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="接口类型">
<el-input
placeholder="请输入编号"
v-model="queryForm.jklx"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="调用状态">
<el-input
placeholder="请输入编号"
v-model="queryForm.dyzt"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="访问IP">
<el-input
placeholder="请输入IP"
v-model="queryForm.fwip"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="访问时间">
<el-input placeholder="请输入业务号" v-model="queryForm.fwsj" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="请求地址">
<el-input
placeholder="请输入url"
v-model="queryForm.qqdz"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-col :span="20">
<el-form-item label="请求头数据">
<el-input
placeholder="请输入请求头数据"
v-model="queryForm.qqtsj"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20">
<el-form-item label="入参数据">
<el-input
placeholder="请输入参数"
v-model="queryForm.rcsj"
class="width500px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="调用描述">
<el-input
placeholder="调用描述"
v-model="queryForm.dyms"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="返回数据">
<el-input
placeholder="返回数据"
v-model="queryForm.fhsj"
class="width200px"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">发送</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
</div>
</template>
<script>
export default {
data () {
return {
queryForm: {
jklx: "",
dyzt: "",
fwip: "",
fwsj: "",
qqdz: "",
qqtsj: "",
rcsj: "",
dyms: "",
fhsj: "",
},
}
},
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
</style>
\ No newline at end of file
......@@ -23,6 +23,9 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx400":
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "fwsyqslxx900":
form = require("@/views/ywbl/fdcq2/slxx900.vue");
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
......@@ -53,6 +56,9 @@ export function getForm(tabName, djywbm) {
case "fzxx":
form = require("@/views/workflow/components/fzxx.vue");
break;
default:
form = require("@/views/error-page/404.vue");
break;
}
return (r) => require.ensure([], () => r(form));
}
......
......@@ -258,7 +258,7 @@ export default {
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
editItem: "ywbl/fdcq2/slxx900", // 弹窗内容
editItem: "ywbl/fdcq2/slxxCompareDetai", // 弹窗内容
formData: {
bsmSlsq: this.propsParam.bsmSldy,
qllx: this.propsParam.qllx
......
......@@ -261,7 +261,7 @@ export default {
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
editItem: "ywbl/fdcq2/slxx900", // 弹窗内容
editItem: "ywbl/fdcq2/slxxCompareDetai;", // 弹窗内容
formData: {
bsmSlsq: this.propsParam.bsmSldy,
qllx: this.propsParam.qllx
......
<template>
<div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }"
style="overflow-y:scroll;">
<div class="tableBox" >
<div class="title">
<span v-if="this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'">{{ title }}</span>
<span v-if="this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'">{{ ydTitile }}</span>
</div>
<div class="xxTableBox">
<table class="xxTable">
<tr>
<td></td>
<td>变更前</td>
<td>变更后</td>
</tr>
<tr v-if="this.propsParam.formData.qllx=='A04' || this.propsParam.formData.qllx=='A06' || this.propsParam.formData.qllx=='A08'" v-for="(item, colindex) in columns" :key="colindex">
<td>
{{ item.label }}
</td>
<td
v-for="(row, index) in tableData"
:key="index"
:class="[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
<span v-else> {{ row[item.prop] }}</span>
</td>
</tr>
<tr v-if="this.propsParam.formData.qllx=='A03' || this.propsParam.formData.qllx=='A05' || this.propsParam.formData.qllx=='A07'" v-for="(item, colindex) in tdColumns" :key="colindex">
<td>
{{ item.label }}
</td>
<td
v-for="(row, index) in tableData"
:key="index"
:class="[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
]"
>
<div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
正在办理
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
<span v-else> {{ row[item.prop] }}</span>
</td>
</tr>
</table>
</div>
</div>
</div>
</template>
<script>
import {getFdcqLSInfo} from "@/api/registerBook.js";
import { datas } from "@/views/registerBook/qlxxFormData.js";
export default {
data() {
return {
title: "房地产权登记信息(独幢、层、套、间房屋)",
ydTitile: "土地使用权登记信息",
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
propsParam: this.$attrs,
//列表数据
tableData: [],
//空列值个数
emptycolNum: 1,
//列名称对象
columns: datas.columns().FDCQ2,
tdColumns: datas.columns().JSYDSYQ
};
},
created() {
this.loadData();
},
mounted() {
this.timeLineHeight = document.documentElement.clientHeight - 210;
window.onresize = () => {
this.timeLineHeight = document.documentElement.clientHeight - 210;
};
},
methods: {
loadData() {
getFdcqLSInfo(this.propsParam.formData).then((res) => {
if (res.code === 200) {
this.tableData = res.result;
if (this.tableData.length < datas.columns().emptycolNum) {
this.emptycolNum =
datas.columns().emptycolNum - this.tableData.length;
} else {
this.emptycolNum = 0;
}
}
});
},
checkChange() {
if (this.checkList.length === 0) {
this.tableData = [];
this.emptycolNum = datas.columns().emptycolNum;
} else {
this.loadData();
}
},
getQsztName(code) {
let name = "";
for (let item of this.qsztList) {
if (item.value == code) {
name = item.label;
break;
}
}
return name;
},
},
};
</script>
<style lang="scss" scoped>
@import "~@/views/registerBook/qlxxCommon.scss";
</style>
......@@ -47,7 +47,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -101,7 +101,6 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
......@@ -109,7 +108,6 @@ export default {
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......@@ -118,7 +116,7 @@ export default {
})
this.jump(res.result, this.djywbm)
} else {
this.$message.error(res.message);
this.$message.error(res.message)
}
})
} else {
......@@ -126,7 +124,6 @@ export default {
bsmSlsq: this.$route.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......
......@@ -48,7 +48,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -74,8 +74,7 @@ export default {
columns: datas.columns(),
data: [],
},
bdcdysz: [],
saveloding: false
bdcdysz: []
};
},
mounted () {
......@@ -101,14 +100,12 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.jump(res.result)
} else {
......
......@@ -47,7 +47,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectCfdj, startBusinessFlow ,choiceBdcdy} from "@/api/ywbl.js";
import { selectCfdj, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js";
export default {
props: {
isJump: { type: Boolean, default: false },
......@@ -74,8 +74,7 @@ export default {
columns: datas.columns(),
data: [],
},
bdcdysz: [],
saveloding: false
bdcdysz: []
};
},
mounted () {
......@@ -101,7 +100,6 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
if (!this.isJump) {
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
......@@ -109,7 +107,6 @@ export default {
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......@@ -118,7 +115,7 @@ export default {
})
this.jump(res.result, this.djywbm)
} else {
this.$message.error(res.message);
this.$message.error(res.message)
}
})
} else {
......@@ -126,7 +123,6 @@ export default {
bsmSlsq: this.$route.query.bsmSlsq,
bdcdysz: this.bdcdysz
}).then(res => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......
......@@ -49,7 +49,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -76,8 +76,7 @@ export default {
columns: datas.columns(),
data: [],
},
bdcdysz: [],
saveloding: false,
bdcdysz: []
};
},
mounted () {
......@@ -102,14 +101,12 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......
......@@ -45,7 +45,7 @@ import Cookies from 'js-cookie'
import { datas, sendThis } from "../javascript/fwsyq.js";
import table from "@/utils/mixin/table";
import jump from "@/views/ywbl/ywsq/components/mixin/jump";
import { selectScBdcdy, startBusinessFlow, choiceBdcdy,selectOtherH } from "@/api/ywbl.js";
import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH } from "@/api/ywbl.js";
import { selectZrz, selectH } from "@/api/selectQlxx.js";
export default {
mixins: [table, jump],
......@@ -79,18 +79,18 @@ export default {
this.$emit("closeDialog");
},
fetchData () {
if(!this.isJump){
if (!this.isJump) {
//从业务办理进入
this.queryForm.sqywbm = this.djywbm;
this.queryForm.fwfl = this.activeName;
if(this.activeName=="zrz"){
if (this.activeName == "zrz") {
selectZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
this.tableData.total = res.result.total;
this.tableData.data = res.result.records;
}
});
}else{
} else {
selectH({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
this.tableData.total = res.result.total;
......@@ -99,7 +99,7 @@ export default {
})
}
}else{
} else {
//从办理框架选择不动产单元进入
//房屋首次办理选择不动产需找出对应自然幢下未选择的户
this.queryForm.bsmSlsq = this.$route.query.bsmSlsq;
......
......@@ -33,7 +33,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -62,13 +62,12 @@ export default {
columns: datas.columns(),
data: [],
},
bdcdysz: [],
saveloding: false,
bdcdysz: []
};
},
mounted () {
sendThis(this);
console.log(Cookies.get("bsmSqyw")) ;
console.log(Cookies.get("bsmSqyw"));
},
methods: {
closeDialog () {
......@@ -90,14 +89,12 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......
......@@ -47,7 +47,7 @@
</div>
<div class="submit_button">
<el-button @click="closeDialog">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
<el-button type="primary" plain @click="submitForm">发起申请</el-button>
</div>
</div>
</template>
......@@ -75,8 +75,7 @@ export default {
columns: datas.columns(),
data: [],
},
bdcdysz: [],
saveloding: false,
bdcdysz: []
};
},
mounted () {
......@@ -101,14 +100,12 @@ export default {
this.$message.error("请至少选择一条数据");
return;
}
this.saveloding = true;
startBusinessFlow({
bsmSqyw: Cookies.get("bsmSqyw"),
bdcdysz: this.bdcdysz,
djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
}).then((res) => {
this.saveloding = false;
if (res.code == 200) {
this.$message({
showClose: true,
......@@ -132,8 +129,8 @@ export default {
})
this.bdcdysz = val;
},
openBook(row){
var param={bdcdyid:row.bdcdyid,qllx:row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx};
openBook (row) {
var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
......
......@@ -57,6 +57,10 @@ class data extends filter {
label: "权利类型",
},
{
prop: "xmmc",
label: "项目名称",
},
{
prop: "zrzh",
label: "自然幢号",
},
......@@ -84,10 +88,6 @@ class data extends filter {
)
}
},
// {
// prop: "qlsdfs",
// label: "权利设定方式",
// },
{
prop: "jzwjbyt",
label: "用途",
......
......@@ -45,14 +45,7 @@ module.exports = {
'^/api': ''
}
}
// '': {
// target: process.env.VUE_APP_API_BASE_URL,
// changeOrigin: true,
// pathRewrite: {
// '^': ''
// }
// }
},
}
},
css: {
extract: false, // 是否使用css分离插件 ExtractTextPlugin
......