76ee6f57 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 7f74b4ff cf368790
This file is too large to display.
...@@ -6,78 +6,91 @@ ...@@ -6,78 +6,91 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 /** 8 /**
9 * @description: 获取申请查询列表 9 * @description: 添加补录记录
10 * @param {*} data 10 * @param {*} data
11 * @author: renchao 11 * @author: renchao
12 */ 12 */
13 export function getSqcxPage (data) { 13 export function addRepairRecord (data) {
14 return request({ 14 return request({
15 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage', 15 url: SERVER.SERVERAPI + '/rest/djbRepair/addRepairRecord',
16 method: 'post', 16 method: 'post',
17 data 17 data
18 }) 18 })
19 } 19 }
20 20
21 /** 21 /**
22 * @description: 新增申请查询家庭房产信息 22 * @description: 删除流程
23 * @param {*} data 23 * @param {*} data
24 * @author: renchao 24 * @author: renchao
25 */ 25 */
26 export function addJtfcCxjgXx (data) { 26 export function deleteFlow (data) {
27 return request({ 27 return request({
28 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', 28 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow',
29 method: 'post', 29 method: 'post',
30 data 30 data
31 }) 31 })
32 } 32 }
33 33
34 /** 34 /**
35 * @description: 新增申请查询房屋明细信息 35 * @description: 删除补录记录
36 * @param {*} data 36 * @param {*} data
37 * @author: renchao 37 * @author: renchao
38 */ 38 */
39 export function addFwmxCxjgXx (data) { 39 export function deleteRepairRecord (data) {
40 return request({ 40 return request({
41 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx', 41 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteRepairRecord',
42 method: 'post', 42 method: 'post',
43 data 43 data
44 }) 44 })
45 } 45 }
46 46
47 /** 47 /**
48 * @description: 获取申请查询记录详细信息 48 * @description: 初始化内容
49 * @param {*} params 49 * @param {*} data
50 * @author: renchao 50 * @author: renchao
51 */ 51 */
52 export function getJtfcInfo (params) { 52 export function init (data) {
53 return request({ 53 return request({
54 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/', 54 url: SERVER.SERVERAPI + '/rest/djbRepair/init',
55 method: 'get', 55 method: 'post',
56 params 56 data
57 }) 57 })
58 } 58 }
59 59
60 /** 60 /**
61 * @description: 获取房屋明细记录详细信息 61 * @description: 左侧菜单集合
62 * @param {*} params 62 * @param {*} data
63 * @author: renchao 63 * @author: renchao
64 */ 64 */
65 export function getFwmxInfo (params) { 65 export function leftMenubl (data) {
66 return request({ 66 return request({
67 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/', 67 url: SERVER.SERVERAPI + '/rest/djbRepair/leftMenu',
68 method: 'get', 68 method: 'post',
69 params 69 data
70 }) 70 })
71 } 71 }
72 72
73 /** 73 /**
74 * @description: 打印家庭房产 74 * @description: 保存数据
75 * @param {*} data 75 * @param {*} data
76 * @author: renchao 76 * @author: renchao
77 */ 77 */
78 export function printJtcfInfo (data) { 78 export function save (data) {
79 return request({ 79 return request({
80 url: SERVER.SERVERAPI + '/rest/djbRepair/addRepairRecord', 80 url: SERVER.SERVERAPI + '/rest/djbRepair/save',
81 method: 'post',
82 data
83 })
84 }
85
86 /**
87 * @description: 发起业务申请流程
88 * @param {*} data
89 * @author: renchao
90 */
91 export function startBusinessFlow (data) {
92 return request({
93 url: SERVER.SERVERAPI + '/rest/djbRepair/startBusinessFlow',
81 method: 'post', 94 method: 'post',
82 data 95 data
83 }) 96 })
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 if (process.env.NODE_ENV === 'development') { 68 if (process.env.NODE_ENV === 'development') {
69 localStorage.removeItem('token') 69 localStorage.removeItem('token')
70 } else { 70 } else {
71 Cookies.remove('accessToken') 71 Cookies.remove('ACCESS_TOKEN')
72 } 72 }
73 if (window._config.casEnable) { 73 if (window._config.casEnable) {
74 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); 74 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href);
......
1 /* 1 /*
2 * @Description: 项目权限 2 * @Description: 项目权限
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-13 10:49:43 4 * @LastEditTime: 2023-06-13 15:50:18
5 */ 5 */
6 import Vue from 'vue' 6 import Vue from 'vue'
7 import axios from 'axios' 7 import axios from 'axios'
...@@ -23,7 +23,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -23,7 +23,7 @@ router.beforeEach(async (to, from, next) => {
23 let hasAddDict = store.state.dict.addDict 23 let hasAddDict = store.state.dict.addDict
24 let hasAddRoute = store.state.permission.addRoutes 24 let hasAddRoute = store.state.permission.addRoutes
25 // cas操作 25 // cas操作
26 const token = localStorage.getItem("token") || Cookies.get('accessToken'); 26 const token = localStorage.getItem("token") || Cookies.get('ACCESS_TOKEN');
27 if (to.path === '/login') { 27 if (to.path === '/login') {
28 if (token) { 28 if (token) {
29 next('/') 29 next('/')
...@@ -46,7 +46,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -46,7 +46,7 @@ router.beforeEach(async (to, from, next) => {
46 if (process.env.NODE_ENV === 'development') { 46 if (process.env.NODE_ENV === 'development') {
47 localStorage.setItem('token', res.data.content.accessToken) 47 localStorage.setItem('token', res.data.content.accessToken)
48 } else { 48 } else {
49 Cookies.set('accessToken', res.data.content.accessToken) 49 Cookies.set('ACCESS_TOKEN', res.data.content.accessToken)
50 } 50 }
51 window.location.href = localStorage.getItem('location') 51 window.location.href = localStorage.getItem('location')
52 52
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 /* 2 /*
3 * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 3 * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2023-06-13 10:50:32 5 * @LastEditTime: 2023-06-13 15:52:38
6 */ 6 */
7 import axios from 'axios' 7 import axios from 'axios'
8 import Router from '@/router' 8 import Router from '@/router'
...@@ -78,7 +78,7 @@ service.interceptors.response.use( ...@@ -78,7 +78,7 @@ service.interceptors.response.use(
78 if (process.env.NODE_ENV === 'development') { 78 if (process.env.NODE_ENV === 'development') {
79 localStorage.removeItem('token') 79 localStorage.removeItem('token')
80 } else { 80 } else {
81 Cookies.remove('accessToken') 81 Cookies.remove('ACCESS_TOKEN')
82 } 82 }
83 if (window._config.casEnable) { 83 if (window._config.casEnable) {
84 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(locationUrl); 84 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(locationUrl);
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
44 <script> 44 <script>
45 import { mapGetters } from 'vuex' 45 import { mapGetters } from 'vuex'
46 import { leftMenu } from "@/api/fqsq.js" 46 import { leftMenu } from "@/api/fqsq.js"
47 import { leftMenubl } from "@/api/djbbl.js"
47 import { deleteSlbdcdy } from "@/api/ywbl.js"; 48 import { deleteSlbdcdy } from "@/api/ywbl.js";
48 import { getBdcqljqtsx } from "@/api/registerBook.js"; 49 import { getBdcqljqtsx } from "@/api/registerBook.js";
49 import { loadTreeData, getNode } from "./djbFrameData.js"; 50 import { loadTreeData, getNode } from "./djbFrameData.js";
...@@ -111,6 +112,22 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; ...@@ -111,6 +112,22 @@ import { loadTreeData, getNode } from "./djbFrameData.js";
111 } 112 }
112 }) 113 })
113 this.loadData () 114 this.loadData ()
115 this.getleftMenubl()
116 },
117 getleftMenubl(){
118 var formdata = new FormData();
119 formdata.append("bsmSlsq", this.bsmSlsq);
120 leftMenubl(formdata).then((res) => {
121 console.log("左侧菜单集合",res);
122 // if (res.code === 200 && res.result) {
123 // this.currentSelectProps = res.result[0];
124 // this.$emit('getCurrentSelectProps', this.currentSelectProps);
125 // // this.getdjblist()
126
127
128 // }
129 }
130 )
114 }, 131 },
115 // 获取登记簿菜单 132 // 获取登记簿菜单
116 loadData () { 133 loadData () {
......
1 <!-- 1 <!--
2 * @Description :查封登记信息 2 * @Description :查封登记信息
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-08 17:04:19 4 * @LastEditTime : 2023-06-13 13:56:45
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
1 <!-- 1 <!--
2 * @Description :抵押权登记信息 2 * @Description :抵押权登记信息
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-02 14:41:50 4 * @LastEditTime : 2023-06-13 13:56:37
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
29 ]"> 29 ]">
30 <div class="setbut" v-if="item.prop == 'cz'"> 30 <div class="setbut" v-if="item.prop == 'cz'">
31 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 31 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
32 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
33 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 32 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
34 </div> 33 </div>
35 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 34 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
1 <!-- 1 <!--
2 * @Description : 房地产权2 2 * @Description : 房地产权2
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-02 14:42:33 4 * @LastEditTime : 2023-06-13 14:33:55
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
...@@ -77,6 +76,7 @@ export default { ...@@ -77,6 +76,7 @@ export default {
77 qszt: this.checkList, 76 qszt: this.checkList,
78 }).then((res) => { 77 }).then((res) => {
79 if (res.code === 200) { 78 if (res.code === 200) {
79 console.log("国有建设",res);
80 this.tableData = res.result; 80 this.tableData = res.result;
81 if (this.tableData.length < datas.columns().emptycolNum) { 81 if (this.tableData.length < datas.columns().emptycolNum) {
82 this.emptycolNum = 82 this.emptycolNum =
...@@ -105,11 +105,6 @@ export default { ...@@ -105,11 +105,6 @@ export default {
105 } 105 }
106 return name; 106 return name;
107 }, 107 },
108 AddDialog(row){
109 this.$popupDialog("新增", "djbworkflow/djbBook/components/djbeditDialog", {
110 data: ''
111 })
112 },
113 editDialog(row){ 108 editDialog(row){
114 this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { 109 this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
115 datalist:this.columns, 110 datalist:this.columns,
......
1 <!-- 1 <!--
2 * @Description :国有建设用地使用权 2 * @Description :国有建设用地使用权
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-09 13:33:38 4 * @LastEditTime : 2023-06-13 13:55:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
30 > 30 >
31 <div class="setbut" v-if="item.prop == 'cz'"> 31 <div class="setbut" v-if="item.prop == 'cz'">
32 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 32 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
33 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
34 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 33 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
35 </div> 34 </div>
36 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 35 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
...@@ -86,7 +85,6 @@ ...@@ -86,7 +85,6 @@
86 }).then((res) => { 85 }).then((res) => {
87 if (res.code === 200) { 86 if (res.code === 200) {
88 this.tableData = res.result; 87 this.tableData = res.result;
89 console.log("111111111111this.tableDat1",this.tableData);
90 if (this.tableData.length < datas.columns().emptycolNum) { 88 if (this.tableData.length < datas.columns().emptycolNum) {
91 this.emptycolNum = 89 this.emptycolNum =
92 datas.columns().emptycolNum - this.tableData.length; 90 datas.columns().emptycolNum - this.tableData.length;
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
29 ]"> 29 ]">
30 <div class="setbut" v-if="item.prop == 'cz'"> 30 <div class="setbut" v-if="item.prop == 'cz'">
31 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 31 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
32 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
33 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 32 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
34 </div> 33 </div>
35 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 34 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
1 <!-- 1 <!--
2 * @Description :预告登记 2 * @Description :预告登记
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-12 09:17:17 4 * @LastEditTime : 2023-06-13 13:57:01
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
1 <!-- 1 <!--
2 * @Description :异议登记 2 * @Description :异议登记
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-09 13:55:42 4 * @LastEditTime : 2023-06-13 13:57:04
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
27 ]"> 27 ]">
28 <div class="setbut" v-if="item.prop == 'cz'"> 28 <div class="setbut" v-if="item.prop == 'cz'">
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
30 <el-button type="text" icon="el-icon-edit-outline" @click="AddDialog(row)">新增</el-button>
31 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button>
32 </div> 31 </div>
33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
......
...@@ -42,8 +42,6 @@ export default { ...@@ -42,8 +42,6 @@ export default {
42 methods: { 42 methods: {
43 //加载流程初始参数 43 //加载流程初始参数
44 flowInitParam () { 44 flowInitParam () {
45 this.bsmSlsq='dd7176d47d79abc17739a1ca06172e96'
46 this.bestepid='cs'
47 var formdata = new FormData(); 45 var formdata = new FormData();
48 formdata.append("bsmSlsq", this.bsmSlsq); 46 formdata.append("bsmSlsq", this.bsmSlsq);
49 formdata.append("bestepid", this.bestepid); 47 formdata.append("bestepid", this.bestepid);
...@@ -51,6 +49,7 @@ export default { ...@@ -51,6 +49,7 @@ export default {
51 if (res.code === 200) { 49 if (res.code === 200) {
52 this.leftButtonList = res.result.button; 50 this.leftButtonList = res.result.button;
53 this.rightButtonList = res.result.operation; 51 this.rightButtonList = res.result.operation;
52 console.log("this.leftButtonList",this.leftButtonList);
54 // this.rightButtonList.splice(0,2) 53 // this.rightButtonList.splice(0,2)
55 } 54 }
56 }) 55 })
...@@ -58,6 +57,7 @@ export default { ...@@ -58,6 +57,7 @@ export default {
58 }, 57 },
59 //流程环节操作按钮 58 //流程环节操作按钮
60 operation (item) { 59 operation (item) {
60 console.log("流程环节操作按钮信息",item);
61 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 61 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
62 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 62 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
63 let that = this; 63 let that = this;
...@@ -103,10 +103,11 @@ export default { ...@@ -103,10 +103,11 @@ export default {
103 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) 103 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true)
104 break; 104 break;
105 case "B5": 105 case "B5":
106 this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { 106 // this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", {
107 bsmSlsq: this.bsmSlsq, 107 // bsmSlsq: this.bsmSlsq,
108 entryType: '1' 108 // entryType: '1'
109 }, '65%', true) 109 // }, '65%', true)
110 this.addRepairRecord()
110 break; 111 break;
111 case "B6": 112 case "B6":
112 //根据编号获取对应信息 113 //根据编号获取对应信息
......
...@@ -81,7 +81,7 @@ import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; ...@@ -81,7 +81,7 @@ import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
81 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 81 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
82 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; 82 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
83 // 登记簿数据信息 83 // 登记簿数据信息
84 import { leftMenu } from "@/api/fqsq.js" 84 import { addRepairRecord } from "@/api/djbbl.js"
85 import { getBdcqljqtsx } from "@/api/registerBook.js"; 85 import { getBdcqljqtsx } from "@/api/registerBook.js";
86 export default { 86 export default {
87 components: { 87 components: {
...@@ -128,11 +128,13 @@ export default { ...@@ -128,11 +128,13 @@ export default {
128 this.currentSelectProps = val 128 this.currentSelectProps = val
129 this.getdjblist() 129 this.getdjblist()
130 }, 130 },
131 // 获取登记簿列表
131 getdjblist(){ 132 getdjblist(){
132 getBdcqljqtsx({ 133 getBdcqljqtsx({
133 bdcdyid: this.currentSelectProps.bdcdyid, 134 bdcdyid: this.currentSelectProps.bdcdyid,
134 bdcdyh: this.currentSelectProps.bdcdyh, 135 bdcdyh: this.currentSelectProps.bdcdyh,
135 }).then((res) => { 136 }).then((res) => {
137 console.log("登记簿列表",res);
136 if (res.code === 200) { 138 if (res.code === 200) {
137 this.treedata = loadTreeData(res.result, this.bdcdyh); 139 this.treedata = loadTreeData(res.result, this.bdcdyh);
138 this.$nextTick(function () { 140 this.$nextTick(function () {
...@@ -141,6 +143,7 @@ export default { ...@@ -141,6 +143,7 @@ export default {
141 }); 143 });
142 } 144 }
143 }); 145 });
146
144 setTimeout(() => { 147 setTimeout(() => {
145 let settree=JSON.parse(JSON.stringify(this.treedata)) 148 let settree=JSON.parse(JSON.stringify(this.treedata))
146 this.tabdata=[...settree,...settree[1].children[0].children[0].children] 149 this.tabdata=[...settree,...settree[1].children[0].children[0].children]
...@@ -149,11 +152,25 @@ export default { ...@@ -149,11 +152,25 @@ export default {
149 arr[index].value=item.id 152 arr[index].value=item.id
150 }) 153 })
151 this.tabList=this.tabdata 154 this.tabList=this.tabdata
155 console.log("登记簿列表",this.tabList);
152 }, 200) 156 }, 200)
153 157
154
155 // this.tabdatalet
156 }, 158 },
159 addRepairRecord(){
160 addRepairRecord({
161 bdcdyid: this.currentSelectProps.bdcdyid,
162 bdcdyh: this.currentSelectProps.bdcdyh,
163 }).then((res) => {
164 console.log("添加补录记录",res);
165 if (res.code === 200) {
166 this.treedata = loadTreeData(res.result, this.bdcdyh);
167 this.$nextTick(function () {
168 this.defaultNode = getNode(this.currentSelectProps.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, "");
169 this.tabName =this.defaultNode.id; //data[0].id为默认选中的节点
170 });
171 }
172 });
173 },
157 tabset(){ 174 tabset(){
158 this.tabList = [ 175 this.tabList = [
159 { 176 {
......
1 <!--
2 * @Description: 页面提供插件下载
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-13 15:49:55
5 -->
6 <template>
7 <div class='downLoad'>
8 <p>{{formData}}是否下载文件?</p>
9 <div>
10 <el-button @click="$popupCacel">取消</el-button>
11 <el-button type="primary" @click="handleDown">确定</el-button>
12 </div>
13 </div>
14 </template>
15 <script>
16 export default {
17 props: {
18 formData: {
19 type: Object,
20 default: {}
21 }
22 },
23 methods: {
24 handleDown () {
25 let a = document.createElement('a')
26 a.style.display = 'none'
27 a.setAttribute('download', 'bg.jpg')
28 // a.href = require('../../../../public/')
29 document.body.appendChild(a)
30 console.log('href', a.href)
31 a.click()
32 document.body.removeChild(a)
33 }
34 }
35 }
36 </script>
37 <style scoped lang='scss'>
38 @import "~@/styles/public.scss";
39 </style>
...\ 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-06-13 13:12:25 4 * @LastEditTime: 2023-06-13 15:05:35
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -195,15 +195,20 @@ ...@@ -195,15 +195,20 @@
195 195
196 // 身份证读取 196 // 身份证读取
197 readClick (row) { 197 readClick (row) {
198 console.log(row, 'row');
199 var httpurl = "http://127.0.0.1:33088/"; 198 var httpurl = "http://127.0.0.1:33088/";
200 var url = httpurl + "function=get_idcard&readnew=0" 199 var url = httpurl + "function=get_idcard&readnew=0"
201
202 axios.post(url).then(res => { 200 axios.post(url).then(res => {
203 let data = res.data.IDCardInfo 201 if (res.data.code == 1) {
204 row.sqrmc = data.name 202 this.$message({
205 row.zjzl = 1 203 message: res.data.message,
206 row.zjh = data.cardID 204 type: 'warning'
205 })
206 } else {
207 let data = res.data.IDCardInfo
208 row.sqrmc = data.name
209 row.zjzl = 1
210 row.zjh = data.cardID
211 }
207 }) 212 })
208 }, 213 },
209 // 修改 214 // 修改
......
...@@ -202,6 +202,7 @@ ...@@ -202,6 +202,7 @@
202 }); 202 });
203 }, 203 },
204 ywhClick (item) { 204 ywhClick (item) {
205 console.log("代办箱列表信息",item);
205 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 206 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
206 judgeUserTaskPermission({ 207 judgeUserTaskPermission({
207 bsmSlsq: item.bsmSlsq, 208 bsmSlsq: item.bsmSlsq,
......
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
73 }, 73 },
74 methods: { 74 methods: {
75 queryClick () { 75 queryClick () {
76 console.log("申请业务单一流向状态",this.sqywInfo.sqywdylx);
77 this.$startLoading(); 76 this.$startLoading();
78 this.queryForm.sqywbm = this.sqywInfo.djywbm; 77 this.queryForm.sqywbm = this.sqywInfo.djywbm;
79 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 78 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
......
...@@ -4,21 +4,13 @@ ...@@ -4,21 +4,13 @@
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> 5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px">
6 <el-row> 6 <el-row>
7 <!-- <el-col :span="5"> 7 <el-col :span="10">
8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型">
10 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
11 </el-option>
12 </el-select>
13 </el-form-item>
14 </el-col> -->
15 <el-col :span="5">
16 <el-form-item label="不动产单元号" label-width="105px"> 8 <el-form-item label="不动产单元号" label-width="105px">
17 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> 9 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
18 </el-input> 10 </el-input>
19 </el-form-item> 11 </el-form-item>
20 </el-col> 12 </el-col>
21 <el-col :span="5"> 13 <el-col :span="10">
22 <el-form-item label="不动产权证号" label-width="105px"> 14 <el-form-item label="不动产权证号" label-width="105px">
23 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> 15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100">
24 </el-input> 16 </el-input>
...@@ -30,23 +22,32 @@ ...@@ -30,23 +22,32 @@
30 </el-input> 22 </el-input>
31 </el-form-item> 23 </el-form-item>
32 </el-col> 24 </el-col>
33 25 <el-col :span="6">
26 <el-form-item label="坐落">
27 <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
28 </el-input>
29 </el-form-item>
30 </el-col>
34 <el-col :span="4" class="btnColRight"> 31 <el-col :span="4" class="btnColRight">
35 <el-form-item> 32 <el-form-item>
36 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 33 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
37 <el-button @click="moreQueryClick">高级查询</el-button> 34 <el-button @click="moreQueryClick">高级查询</el-button>
38 </el-form-item> 35 </el-form-item>
39 </el-col> 36 </el-col>
40 </el-row> 37 </el-row>
41 </el-form> 38 </el-form>
42 </div> 39 </div>
43 <!-- 表格 --> 40 <!-- 表格 -->
44 <div class="from-clues-content"> 41 <div class="from-clues-content loadingtext" >
45 <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort" 42 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.size" class="loadingtext"
46 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" 43 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
47 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 44 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
48 </lb-table> 45 </lb-table>
49 </div> 46 </div>
47 <div class="submit_button">
48 <el-button @click="$popupCacel">取消</el-button>
49 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
50 </div>
50 </div> 51 </div>
51 </template> 52 </template>
52 <script> 53 <script>
...@@ -54,18 +55,23 @@ import { mapGetters } from "vuex"; ...@@ -54,18 +55,23 @@ import { mapGetters } from "vuex";
54 import table from "@/utils/mixin/table"; 55 import table from "@/utils/mixin/table";
55 import { datas, sendThis } from "../javascript/selectDjbbl.js"; 56 import { datas, sendThis } from "../javascript/selectDjbbl.js";
56 import { getDjbBysearch } from "@/api/zhcx.js"; 57 import { getDjbBysearch } from "@/api/zhcx.js";
57 58 import jump from "../components/mixin/jump";
58 export default { 59 export default {
59 name: "djbcx", 60 name: "djbcx",
60 mixins: [table], 61 mixins: [table, jump],
61 mounted () { 62 mounted () {
62 sendThis(this); 63 sendThis(this);
63 this.queryClick() 64 this.queryClick()
64 }, 65 },
66 props: {
67 isJump: { type: Boolean, default: false },
68 sqywInfo: { type: Object, default: () => { } },
69 },
65 data () { 70 data () {
66 return { 71 return {
72 bdcdysz: [],
67 queryForm: { 73 queryForm: {
68 qllx: "", 74 zl: "",
69 bdcdyh: "", 75 bdcdyh: "",
70 bdcqzh: "", 76 bdcqzh: "",
71 ywh: "", 77 ywh: "",
...@@ -100,9 +106,9 @@ export default { ...@@ -100,9 +106,9 @@ export default {
100 } 106 }
101 }); 107 });
102 }, 108 },
103 handleSort (name, sort) { 109 // handleSort (name, sort) {
104 console.log(name, sort); 110 // console.log(name, sort);
105 }, 111 // },
106 // 高级查询 112 // 高级查询
107 moreQueryClick () { }, 113 moreQueryClick () { },
108 // openDialog (scroll) { 114 // openDialog (scroll) {
...@@ -129,6 +135,61 @@ export default { ...@@ -129,6 +135,61 @@ export default {
129 window.open(href, `urlname${item.bdcdyid}`); 135 window.open(href, `urlname${item.bdcdyid}`);
130 136
131 }, 137 },
138 submitForm () {
139 if (this.bdcdysz.length == 0) {
140 this.$message.error("请至少选择一条数据");
141 return;
142 }
143 startBusinessFlow({
144 bsmSqyw: this.bsmSqyw,
145 bdcdysz: this.bdcdysz,
146 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
147 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
148 }).then((res) => {
149 if (res.code == 200) {
150 this.$message({
151 showClose: true,
152 message: '发起申请成功',
153 type: 'success'
154 })
155 if (!this.isJump) {
156 this.jump(res.result, this.djywbm)
157 } else {
158 store.dispatch('user/refreshPage', true);
159 }
160 } else {
161 this.$message.error(res.message);
162 }
163 this.$popupCacel()
164 })
165 },
166 handleSelectionChange (val) {
167 this.bdcdysz = val;
168 },
169 handleRowClick(row){
170 // 如果状态是1,那就是单选
171 if(this.sqywInfo.sqywdylx=="1"){
172 const bdcdysz = this.bdcdysz
173 this.$refs.table.clearSelection()
174 if( bdcdysz.length == 1 ) {
175 bdcdysz.forEach(item => {
176 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
177 if (item == row) {
178 this.$refs.table.toggleRowSelection(row, false);
179 }
180 // 不然就让当前的一行勾选
181 else {
182 this.$refs.table.toggleRowSelection(row, true);
183 }
184 })
185 }
186 else {
187 this.$refs.table.toggleRowSelection(row, true);
188 }
189 }else{
190 this.$refs.table.toggleRowSelection(row);
191 }
192 },
132 } 193 }
133 } 194 }
134 </script> 195 </script>
......
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
136 this.$refs.table.toggleRowSelection(row, true); 136 this.$refs.table.toggleRowSelection(row, true);
137 } 137 }
138 }, 138 },
139
139 handleRowClick(row){ 140 handleRowClick(row){
140 // 如果状态是1,那就是单选 141 // 如果状态是1,那就是单选
141 if(this.sqywInfo.sqywdylx=="1"){ 142 if(this.sqywInfo.sqywdylx=="1"){
......
...@@ -11,6 +11,11 @@ class data extends filter { ...@@ -11,6 +11,11 @@ class data extends filter {
11 columns () { 11 columns () {
12 return [ 12 return [
13 { 13 {
14 type: 'selection',
15 label: '全选',
16 selectable: this.selected
17 },
18 {
14 label: '序号', 19 label: '序号',
15 type: 'index', 20 type: 'index',
16 width: '50', 21 width: '50',
...@@ -53,10 +58,6 @@ class data extends filter { ...@@ -53,10 +58,6 @@ class data extends filter {
53 { 58 {
54 prop: "ywh", 59 prop: "ywh",
55 label: "业务号", 60 label: "业务号",
56 width: '110',
57 render: (h, scope) => {
58 return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
59 }
60 }, 61 },
61 { 62 {
62 prop: "qllxmc", 63 prop: "qllxmc",
......