f1a18221 by 蔡俊立
2 parents 4b050f97 3c988b4f
Showing 42 changed files with 1881 additions and 434 deletions
...@@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) { ...@@ -29,15 +29,29 @@ export function getNextNode (bsmSqyw) {
29 } 29 }
30 30
31 /* 31 /*
32 业务办理-选择单元-根据条件进行列表查询 32 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权
33 */ 33 */
34 export function selectScBdcdy (data) { 34 export function selectScBdcdy (data) {
35 return request({ 35 return request({
36 url: '/ywbl/ywsq/selectScBdcdy', 36 url: '/ywbl/ywsq/selectScBdcdy',
37 method: 'post', 37 method: 'post',
38 data 38 data,
39 showLoading: true
39 }) 40 })
40 } 41 }
42
43 /*
44 业务办理-选择单元-根据条件进行列表查询-房屋所有权
45 */
46 export function selectFwsyq (data) {
47 return request({
48 url: 'ywbl/ywsq/selectFwsyq',
49 method: 'post',
50 data,
51 showLoading: true
52 })
53 }
54
41 // 待办箱列表查询接口 55 // 待办箱列表查询接口
42 export function searchTaskToDo (data) { 56 export function searchTaskToDo (data) {
43 return request({ 57 return request({
...@@ -62,7 +76,8 @@ export function startBusinessFlow (data) { ...@@ -62,7 +76,8 @@ export function startBusinessFlow (data) {
62 return request({ 76 return request({
63 url: '/business/workFlow/startBusinessFlow', 77 url: '/business/workFlow/startBusinessFlow',
64 method: 'post', 78 method: 'post',
65 data 79 data,
80 showLoading: true
66 }) 81 })
67 } 82 }
68 /* 83 /*
...@@ -83,7 +98,8 @@ export function selectQlxx (data) { ...@@ -83,7 +98,8 @@ export function selectQlxx (data) {
83 return request({ 98 return request({
84 url: '/ywbl/ywsq/selectQlxx', 99 url: '/ywbl/ywsq/selectQlxx',
85 method: 'post', 100 method: 'post',
86 data 101 data,
102 showLoading: true
87 }) 103 })
88 } 104 }
89 /* 105 /*
...@@ -93,7 +109,8 @@ export function selectDiyaq (data) { ...@@ -93,7 +109,8 @@ export function selectDiyaq (data) {
93 return request({ 109 return request({
94 url: '/ywbl/ywsq/selectDiyaq', 110 url: '/ywbl/ywsq/selectDiyaq',
95 method: 'post', 111 method: 'post',
96 data 112 data,
113 showLoading: true
97 }) 114 })
98 } 115 }
99 /* 116 /*
...@@ -103,7 +120,8 @@ export function selectCfdj (data) { ...@@ -103,7 +120,8 @@ export function selectCfdj (data) {
103 return request({ 120 return request({
104 url: '/ywbl/ywsq/selectCfdj', 121 url: '/ywbl/ywsq/selectCfdj',
105 method: 'post', 122 method: 'post',
106 data 123 data,
124 showLoading: true
107 }) 125 })
108 } 126 }
109 /* 127 /*
......
...@@ -24,10 +24,11 @@ export function getDjbfm(qlbsm) { ...@@ -24,10 +24,11 @@ export function getDjbfm(qlbsm) {
24 } 24 }
25 25
26 // 获取登记目录 26 // 获取登记目录
27 export function getDjml(qlbsm) { 27 export function getBdcqldjmlByBdcdyid(data) {
28 return request({ 28 return request({
29 url: '/zhcx/djbcx/djml/' + qlbsm, 29 url: '/zhcx/djbcx/getBdcqldjmlByBdcdyid',
30 method: 'get' 30 method: 'get',
31 params: data
31 }) 32 })
32 } 33 }
33 34
...@@ -40,9 +41,27 @@ export function getZdjbxx(qlbsm) { ...@@ -40,9 +41,27 @@ export function getZdjbxx(qlbsm) {
40 } 41 }
41 42
42 // 获取宗地信息 43 // 获取宗地信息
44 export function getZdjjxxBybdcdyid(data) {
45 return request({
46 url: '/zhcx/djbcx/getZdjjxxBybdcdyid',
47 method: 'get',
48 params: data
49 })
50 }
51
52 // 获取宗地信息
43 export function getZdjjxxBySLdy(data) { 53 export function getZdjjxxBySLdy(data) {
44 return request({ 54 return request({
45 url: '/zhcx/djbcx/getZdjjxxBySLdy', 55 url: '/zhcx/djbcx/getZdjjxxBybdcdyid',
56 method: 'get',
57 params: data
58 })
59 }
60
61 // 获取不动产权利及其他事项
62 export function getBdcqljqtsx(data) {
63 return request({
64 url: '/zhcx/djbcx/getBdcqljqtsx',
46 method: 'get', 65 method: 'get',
47 params: data 66 params: data
48 }) 67 })
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
59 }, 59 },
60 heightNum: { 60 heightNum: {
61 type: Number, 61 type: Number,
62 default: 260, 62 default: 275,
63 }, 63 },
64 maxHeight: { 64 maxHeight: {
65 type: Number, 65 type: Number,
......
...@@ -3,14 +3,17 @@ ...@@ -3,14 +3,17 @@
3 <div class="ls-mask" v-loading="loading"> 3 <div class="ls-mask" v-loading="loading">
4 <div class="ls-mask-window" :style="{'width':width,'height':height}"> 4 <div class="ls-mask-window" :style="{'width':width,'height':height}">
5 <div class="ls-head"> 5 <div class="ls-head">
6 <div class="ls-title" :style="{'text-align':titleStyle}"><b>{{title}}</b></div> 6 <div class="ls-title" :style="{'text-align':titleStyle}">
7 <i class="el-icon-close" @click="onCancel"></i> 7 <svg-icon v-if="iconClass!=''" :icon-class='iconClass' />
8 <b>{{title}}</b>
9 </div>
10 <svg-icon icon-class='close' class="closeStyle" @click="onCancel" />
8 </div> 11 </div>
9 12
10 <div class="ls-mask-content" ref='contentRef' :style="{'height': contentHeight + 'px'}"> 13 <div class="ls-mask-content" ref='contentRef' :style="{'height': contentHeight}">
11 <component :is="editItem" ref='childRef' @loading='loadingFn' :formData='formData' /> 14 <component :is="editItem" ref='childRef' @loading='loadingFn' :key="key" :formData='formData' />
12 </div> 15 </div>
13 <div class="ls-mask-footer"> 16 <div class="ls-mask-footer" v-if='btnShow'>
14 <el-button type="primary" @click="onConfirm">{{confirmText}}</el-button> 17 <el-button type="primary" @click="onConfirm">{{confirmText}}</el-button>
15 <el-button @click="onCancel">{{cancelText}}</el-button> 18 <el-button @click="onCancel">{{cancelText}}</el-button>
16 </div> 19 </div>
...@@ -23,6 +26,7 @@ export default { ...@@ -23,6 +26,7 @@ export default {
23 name: 'index', 26 name: 'index',
24 data () { 27 data () {
25 return { 28 return {
29 btnShow: true,
26 title: '提示', 30 title: '提示',
27 cancelText: '取消', 31 cancelText: '取消',
28 confirmText: '确认', 32 confirmText: '确认',
...@@ -34,24 +38,39 @@ export default { ...@@ -34,24 +38,39 @@ export default {
34 titleStyle: 'center', 38 titleStyle: 'center',
35 width: "75%", 39 width: "75%",
36 height: "auto", 40 height: "auto",
37 formData: "",//父组件传递的参数 负责传给子组件 41 formData: undefined,//父组件传递的参数 负责传给子组件
38 contentHeight:"", 42 contentHeight: "",
43 iconClass: "",
44 key: 0
39 } 45 }
40 }, 46 },
41
42 props: { 47 props: {
43 loading: { type: Boolean, default: false }, 48 loading: { type: Boolean, default: false },
44 }, 49 },
45 watch: { 50 watch: {
46 isShow (a, b) { 51 isShow (a, b) {
52 this.key++
47 this.editItem = this.loadViewFn(this.editItem) 53 this.editItem = this.loadViewFn(this.editItem)
48 }, 54 },
49 }, 55 },
50 mounted(){ 56 mounted () {
51 // 计算滚动条高度 57 // 计算滚动条高度
52 setTimeout(() => { 58 setTimeout(() => {
53 this.contentHeight = this.$refs.contentRef.offsetHeight 59 if(this.btnShow){
54 }, 1000); 60 if(this.height == 'auto'){
61 this.contentHeight = (this.$refs.contentRef.offsetHeight - 115) + 'px'
62 }else{
63 this.contentHeight =(parseInt(this.height)-parseInt('115px'))+'px';
64 }
65 }else{
66 if(this.height == 'auto'){
67 this.contentHeight = this.$refs.contentRef.offsetHeight + 'px'
68 }else{
69 this.contentHeight =this.height
70 }
71 }
72
73 }, 500)
55 }, 74 },
56 methods: { 75 methods: {
57 onCancel () { 76 onCancel () {
...@@ -76,7 +95,7 @@ export default { ...@@ -76,7 +95,7 @@ export default {
76 require.ensure([], () => 95 require.ensure([], () =>
77 r(require(`@/views/${view}.vue`)) 96 r(require(`@/views/${view}.vue`))
78 ); 97 );
79 }, 98 }
80 } 99 }
81 } 100 }
82 </script> 101 </script>
...@@ -105,40 +124,43 @@ export default { ...@@ -105,40 +124,43 @@ export default {
105 transform: translate(-50%, -50%); 124 transform: translate(-50%, -50%);
106 border-radius: 10px; 125 border-radius: 10px;
107 } 126 }
108 .ls-head{ 127
109 position: relative;
110 }
111 .ls-mask-window b { 128 .ls-mask-window b {
112 padding-left: 12px; 129 padding-left: 5px;
113 } 130 }
114 .ls-title{ 131
115 padding: 20px; 132 .ls-title {
116 background: #1E9FFF; 133 padding: 16px;
117 color: #ffffff; 134 color: #ffffff;
135 background: linear-gradient(-2deg,#409EFF, transparent)
118 } 136 }
137
138 .ls-title .svg-icon {
139 font-size: 18px;
140 }
141
119 .ls-mask-content { 142 .ls-mask-content {
120 padding: 20px; 143 padding: 20px;
121 text-align: center;
122 position: absolute;
123 width: 100%; 144 width: 100%;
124 overflow: scroll; 145 overflow: scroll;
125 } 146 }
126 147
127 .ls-mask-footer { 148 .ls-mask-footer {
128 height: 65px; 149 height: 65px;
129 border-top: 1px solid #f0f0f0;
130 display: flex; 150 display: flex;
131 justify-content: center; 151 justify-content: center;
132 position: absolute;
133 width: 100%; 152 width: 100%;
134 bottom: 0px; 153 box-shadow: 0px 0px 2px 0px;
135 right: 0px; 154 border-radius: 0 0 10px 10px;
136 background: #f3f3f3; 155 position: absolute;
156 bottom: 0;
157 background: #ffffff;
137 } 158 }
138 159
139 /deep/.el-icon-close { 160
161 /deep/.closeStyle {
140 position: absolute; 162 position: absolute;
141 top: 20px; 163 top: 17px;
142 right: 12px; 164 right: 12px;
143 font-size: 20px; 165 font-size: 20px;
144 cursor: pointer; 166 cursor: pointer;
...@@ -148,8 +170,10 @@ export default { ...@@ -148,8 +170,10 @@ export default {
148 /deep/.el-loading-mask { 170 /deep/.el-loading-mask {
149 background: none; 171 background: none;
150 } 172 }
151 /deep/.el-button{ 173
174 /deep/.el-button {
152 margin: 15px 10px; 175 margin: 15px 10px;
176 width: 75px;
153 } 177 }
154 </style> 178 </style>
155 179
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -9,10 +9,12 @@ ...@@ -9,10 +9,12 @@
9 height:"", //弹窗的高度 9 height:"", //弹窗的高度
10 editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径 10 editItem: 'ywbl/dbx/aa', // 子组件的路径 相当于你平时img取的路径
11 formData:this.formData, //父组件传给子组件的参数 11 formData:this.formData, //父组件传给子组件的参数
12 btnShow:false,//按钮显隐 false隐藏 true显示
12 confirmText:"" // 确认按钮的文字 13 confirmText:"" // 确认按钮的文字
13 cancelText:"" //取消按钮的文字 14 cancelText:"" //取消按钮的文字
14 cancel: function () {}, //取消事件的回调 15 cancel: function () {}, //取消事件的回调
15 confirm: function () {}, //确认事件的回调 16 confirm: function () {}, //确认事件的回调
17 iconClass:"",//标题前面icon图标名称
16 }) 18 })
17 3.子组件的方法名字必须统一为 childFn() 19 3.子组件的方法名字必须统一为 childFn()
18 4.子组件切记props接收 父组件传参formData 20 4.子组件切记props接收 父组件传参formData
......
1 <svg t="1665567795982" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2615" width="200" height="200"><path d="M512 74.666667C270.933333 74.666667 74.666667 270.933333 74.666667 512S270.933333 949.333333 512 949.333333 949.333333 753.066667 949.333333 512 753.066667 74.666667 512 74.666667z m0 810.666666c-204.8 0-373.333333-168.533333-373.333333-373.333333S307.2 138.666667 512 138.666667 885.333333 307.2 885.333333 512 716.8 885.333333 512 885.333333z" p-id="2616"></path><path d="M657.066667 360.533333c-12.8-12.8-32-12.8-44.8 0l-102.4 102.4-102.4-102.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l102.4 102.4-102.4 102.4c-12.8 12.8-12.8 32 0 44.8 6.4 6.4 14.933333 8.533333 23.466666 8.533334s17.066667-2.133333 23.466667-8.533334l102.4-102.4 102.4 102.4c6.4 6.4 14.933333 8.533333 23.466667 8.533334s17.066667-2.133333 23.466666-8.533334c12.8-12.8 12.8-32 0-44.8l-106.666666-100.266666 102.4-102.4c12.8-12.8 12.8-34.133333 0-46.933334z" p-id="2617"></path></svg>
...\ No newline at end of file ...\ No newline at end of file
...@@ -11,6 +11,6 @@ const getters = { ...@@ -11,6 +11,6 @@ const getters = {
11 addRoutes: state => state.permission.addRoutes, 11 addRoutes: state => state.permission.addRoutes,
12 addDict: state => state.dict.addDict, 12 addDict: state => state.dict.addDict,
13 dictData: state => state.dict.dictData, 13 dictData: state => state.dict.dictData,
14 djbxx: state => state.djbxx.djbxx 14 djbxx: state => state.djbxx.djbxx,
15 } 15 }
16 export default getters 16 export default getters
......
1 const state = {
2 bsmSqyw: '',
3 djqxObj: {
4 djqxbm: "",
5 djqxmc: ""
6 },
7 djywbm: ''
8 }
9 const mutations = {
10 SET_BSMSQYW: (state, data) => {
11 state.bsmSqyw = data
12 },
13 SET_DJQXOBJ: (state, data) => {
14 state.djqxObj = data
15 },
16 SET_DJYWBM: (state, data) => {
17 state.djywbm = data
18 },
19 }
20
21 const actions = {
22 setBsmSqyw ({ commit }, data) {
23 commit('SET_BSMSQYW', data)
24 },
25 setDjqxObj ({ commit }, data) {
26 commit('SET_DJQXOBJ', data)
27 },
28 setDjywbm ({ commit }, data) {
29 commit('SET_DJYWBM', data)
30 }
31 }
32
33 export default {
34 namespaced: true,
35 state,
36 mutations,
37 actions
38 }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 7
8 &-header { 8 &-header {
9 width: 100%; 9 width: 100%;
10 padding: 10px 10px 3px 10px; 10 padding: 10px;
11 box-sizing: border-box; 11 box-sizing: border-box;
12 background: #FFFFFF; 12 background: #FFFFFF;
13 border-radius: 2px; 13 border-radius: 2px;
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 display: flex; 18 display: flex;
19 font-size: 12px; 19 font-size: 12px;
20 flex-wrap: wrap; 20 flex-wrap: wrap;
21 line-height: 36px; 21 padding-top: 10px;
22 22
23 span { 23 span {
24 display: flex; 24 display: flex;
......
...@@ -8,12 +8,12 @@ export default { ...@@ -8,12 +8,12 @@ export default {
8 } 8 }
9 } 9 }
10 }, 10 },
11 computed: {
12 ...mapGetters(['dictData']),
13 },
11 created () { 14 created () {
12 this.fetchData() 15 this.fetchData()
13 }, 16 },
14 computed: {
15 ...mapGetters(['dictData'])
16 },
17 methods: { 17 methods: {
18 handleSizeChange (val) { 18 handleSizeChange (val) {
19 this.pageData.currentPage = 1 19 this.pageData.currentPage = 1
......
...@@ -229,7 +229,7 @@ export default { ...@@ -229,7 +229,7 @@ export default {
229 height: calc(100% - 80px); 229 height: calc(100% - 80px);
230 align-items: center; 230 align-items: center;
231 background: rgba(194, 190, 190, 0.1); 231 background: rgba(194, 190, 190, 0.1);
232 232 overflow: scroll;
233 img { 233 img {
234 display: block; 234 display: block;
235 object-fit: scale-down; 235 object-fit: scale-down;
......
1 <template>
2 <div class="bdcqldjml">
3 <table class="mlTable">
4 <tr>
5 <th colspan="5" class="title">不动产权利登记目录</th>
6 </tr>
7 <tr>
8 <td>序号</td>
9 <td>不动产单元号</td>
10 <td>不动产类型</td>
11 <td>所在本数</td>
12 <td>备注</td>
13 </tr>
14 <tr v-for="(item, index) in bdcqlml" :key="index">
15 <td>{{ index + 1 }}</td>
16 <td>{{ item.bdcdyh }}</td>
17 <td>{{ item.bdclx }}</td>
18 <td>{{ item.szbs }}</td>
19 <td>{{ item.bz }}</td>
20 </tr>
21 </table>
22 </div>
23 </template>
24
25 <script>
26 import { getBdcqldjmlByBdcdyid } from "@/api/zhcx.js";
27 export default {
28 data() {
29 return {
30 bdcqlml: [],
31 propsParam: this.$attrs,
32 };
33 },
34 mounted() {
35 getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
36 if (res.code === 200) {
37 this.bdcqlml = res.result;
38 }
39 });
40 },
41 };
42 </script>
43
44 <style lang="scss" scoped>
45 .bdcqldjml {
46 width: 100%;
47 height: 100%;
48 background: #fff;
49 overflow-y: scroll;
50 .mlTable {
51 width: 90%;
52 margin: 0 auto;
53 color: #333;
54 border-spacing: 1px;
55 background-color: #333;
56
57 .title {
58 font-size: 20px;
59 line-height: 60px;
60 font-family: serif;
61 position: relative;
62 }
63
64 td,
65 th {
66 background-color: white;
67 line-height: 30px;
68 padding: 0 4px;
69 text-align: center;
70 }
71 }
72 }
73 </style>
1 <template>
2 <div class="bdcqljqtsx">
3 <div class="content">
4 <div class="title">不动产权利及其他事项<br />登记信息</div>
5 <div>
6 不动产单元号:
7 <div class="underline">{{ propsParam.bdcdyh }}</div>
8 </div>
9 <br /><br /><br />
10 <div>
11 <div class="underline">{{ qlxxList.ztqlmc }}</div>
12 登记 共
13 <div class="underline">{{ qlxxList.ztql.total }}</div>
14
15 </div>
16 <br /><br />
17 <div>
18 抵押权登记 共
19 <div class="underline">{{ qlxxList.diyaq.total }}</div>
20
21 </div>
22 <br />
23 <div>
24 地役权登记 共
25 <div class="underline">{{ qlxxList.diyiq.total }}</div>
26
27 </div>
28 <br />
29 <div>
30 预告登记 共
31 <div class="underline">{{ qlxxList.ygdj.total }}</div>
32
33 </div>
34 <br />
35 <div>
36 异议登记 共
37 <div class="underline">{{ qlxxList.yydj.total }}</div>
38
39 </div>
40 <br />
41 <div>
42 查封登记 共
43 <div class="underline">{{ qlxxList.cfdj.total }}</div>
44
45 </div>
46 <br />
47 </div>
48 </div>
49 </template>
50
51 <script>
52 import { getBdcqljqtsx } from "@/api/zhcx.js";
53 export default {
54 name: "bdcqljqtsx",
55 data() {
56 return {
57 //传递参数
58 propsParam: this.$attrs,
59 qlxxList: "",
60 };
61 },
62 mounted() {
63 getBdcqljqtsx({
64 bdcdyid: this.propsParam.bdcdyid,
65 bdcdyh: this.propsParam.bdcdyh,
66 }).then((res) => {
67 if (res.code === 200) {
68 this.qlxxList = res.result;
69 }
70 });
71 },
72 };
73 </script>
74
75 <style lang="scss" scoped>
76 .bdcqljqtsx {
77 width: 100%;
78 height: 100%;
79 background: #fff;
80
81 .content {
82 width: 50%;
83 height: 100%;
84 margin: 0 auto;
85 text-align: right;
86 color: #333;
87 font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif;
88 font-weight: 700;
89 font-size: 18px;
90 line-height: 16px;
91
92 .title {
93 font-size: 32px;
94 text-align: center;
95 padding: 40px 0;
96 line-height: 34px;
97 }
98
99 .underline {
100 font-size: 14px;
101 font-weight: normal;
102 text-decoration: underline;
103 display: inline-block;
104 }
105 }
106 }
107 </style>
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox">
18 <table class="xxTable">
19 <tr v-for="(item, colindex) in columns" :key="colindex">
20 <td>
21 {{ item.label }}
22 </td>
23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
27 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]"
31 >
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }}
37 </span>
38
39 <span v-else> {{ row[item.prop] }}</span>
40 </td>
41 <td v-for="count in emptycolNum" :key="~count"></td>
42 </tr>
43 </table>
44 </div>
45 </div>
46 </div>
47 </template>
48
49 <script>
50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
52 export default {
53 data() {
54 return {
55 title: "查封登记信息",
56 qsztList: datas.columns().qsztList,
57 checkList: datas.columns().checkList,
58 //传递参数
59 propsParam: this.$attrs,
60 //列表数据
61 tableData: [],
62 //空列值个数
63 emptycolNum: 0,
64 //列名称对象
65 columns: datas.columns().CFDJ,
66 };
67 },
68 created() {
69 this.loadData();
70 },
71 methods: {
72 loadData() {
73 getJsydsyqList({
74 bdcdyid: this.propsParam.bdcdyid,
75 qllx: this.propsParam.qllx,
76 qszt: this.checkList,
77 }).then((res) => {
78 if (res.code === 200) {
79 this.tableData = res.result;
80 this.emptycolNum = 3 - this.tableData.length;
81 }
82 });
83 },
84 checkChange() {
85 this.loadData();
86 },
87 getQsztName(code) {
88 let name = "";
89 for (let item of this.qsztList) {
90 if (item.value == code) {
91 name = item.label;
92 break;
93 }
94 }
95 return name;
96 },
97 },
98 };
99 </script>
100
101 <style lang="scss" scoped>
102 @import "./qlxxCommon.scss";
103 </style>
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox">
18 <table class="xxTable">
19 <tr v-for="(item, colindex) in columns" :key="colindex">
20 <td>
21 {{ item.label }}
22 </td>
23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
27 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]"
31 >
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }}
37 </span>
38
39 <span v-else> {{ row[item.prop] }}</span>
40 </td>
41 <td v-for="count in emptycolNum" :key="~count"></td>
42 </tr>
43 </table>
44 </div>
45 </div>
46 </div>
47 </template>
48
49 <script>
50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
52 export default {
53 data() {
54 return {
55 title: "抵押权登记信息",
56 qsztList: datas.columns().qsztList,
57 checkList: datas.columns().checkList,
58 //传递参数
59 propsParam: this.$attrs,
60 //列表数据
61 tableData: [],
62 //空列值个数
63 emptycolNum: 0,
64 //列名称对象
65 columns: datas.columns().DYAQ,
66 };
67 },
68 created() {
69 this.loadData();
70 },
71 methods: {
72 loadData() {
73 getJsydsyqList({
74 bdcdyid: this.propsParam.bdcdyid,
75 qllx: this.propsParam.qllx,
76 qszt: this.checkList,
77 }).then((res) => {
78 if (res.code === 200) {
79 this.tableData = res.result;
80 this.emptycolNum = 3 - this.tableData.length;
81 }
82 });
83 },
84 checkChange() {
85 this.loadData();
86 },
87 getQsztName(code) {
88 let name = "";
89 for (let item of this.qsztList) {
90 if (item.value == code) {
91 name = item.label;
92 break;
93 }
94 }
95 return name;
96 },
97 },
98 };
99 </script>
100
101 <style lang="scss" scoped>
102 @import "./qlxxCommon.scss";
103 </style>
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox">
18 <table class="xxTable">
19 <tr v-for="(item, colindex) in columns" :key="colindex">
20 <td>
21 {{ item.label }}
22 </td>
23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
27 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]"
31 >
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }}
37 </span>
38
39 <span v-else> {{ row[item.prop] }}</span>
40 </td>
41 <td v-for="count in emptycolNum" :key="~count"></td>
42 </tr>
43 </table>
44 </div>
45 </div>
46 </div>
47 </template>
48
49 <script>
50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
52 export default {
53 data() {
54 return {
55 title: "地役权登记信息",
56 qsztList: datas.columns().qsztList,
57 checkList: datas.columns().checkList,
58 //传递参数
59 propsParam: this.$attrs,
60 //列表数据
61 tableData: [],
62 //空列值个数
63 emptycolNum: 0,
64 //列名称对象
65 columns: datas.columns().DYIQ,
66 };
67 },
68 created() {
69 this.loadData();
70 },
71 methods: {
72 loadData() {
73 getJsydsyqList({
74 bdcdyid: this.propsParam.bdcdyid,
75 qllx: this.propsParam.qllx,
76 qszt: this.checkList,
77 }).then((res) => {
78 if (res.code === 200) {
79 this.tableData = res.result;
80 this.emptycolNum = 3 - this.tableData.length;
81 }
82 });
83 },
84 checkChange() {
85 this.loadData();
86 },
87 getQsztName(code) {
88 let name = "";
89 for (let item of this.qsztList) {
90 if (item.value == code) {
91 name = item.label;
92 break;
93 }
94 }
95 return name;
96 },
97 },
98 };
99 </script>
100
101 <style lang="scss" scoped>
102 @import "./qlxxCommon.scss";
103 </style>
1 <template>
2 <div class="content">
3 <div class="left">
4 <el-tree
5 ref="tree"
6 :data="treedata"
7 :props="defaultProps"
8 @node-click="handleNodeClick"
9 :default-expand-all="true"
10 :expand-on-click-node="false"
11 node-key="id"
12 :default-checked-keys="[showTab]"
13 >
14 </el-tree>
15 </div>
16 <div class="right">
17 <component :is="componentTag" v-bind="currentSelectProps" />
18 </div>
19 </div>
20 </template>
21 <script>
22 import { getBdcqljqtsx } from "@/api/zhcx.js";
23 import axios from "axios";
24 export default {
25 data() {
26 return {
27 //接收参数
28 // propsParam: this.$attrs,
29 //左侧目录
30 catalog: {},
31 //选择加载哪一个组件
32 componentTag: "JSYDSYQ",
33 //子组件接收参数
34 currentSelectProps: {},
35 //左侧树形结构数据
36 treedata: [],
37 bdcqljqtsxData: [],
38 defaultProps: {
39 children: "children",
40 label: "label",
41 },
42 showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断
43 };
44 },
45 props: ["formData"],
46 mounted() {
47 this.loadData();
48 },
49 methods: {
50 loadData() {
51 getBdcqljqtsx({
52 bdcdyid: this.formData.bdcdyid,
53 bdcdyh: this.formData.bdcdyh,
54 }).then((res) => {
55 if (res.code === 200) {
56 this.loadLeftMenu(res.result);
57 }
58 });
59 //this.$alert(this.bdcqlml);
60 this.currentSelectProps = {
61 bdcdyid: this.formData.bdcdyid,
62 bdcdyh: this.formData.bdcdyh,
63 qllx: this.formData.qllx,
64 bsmQlxx: this.formData.bsmQlxx,
65 };
66
67 this.componentTag = (r) =>
68 require.ensure([], () =>
69 r(require("@/views/registerBook/jsydsyq.vue"))
70 );
71 },
72 loadLeftMenu(qlxxData) {
73 this.treedata.push({
74 id: "djbfm",
75 form: "djbfm.vue",
76 label: "登记簿封面",
77 children: [],
78 });
79 this.treedata[0].children.push({
80 id: "zdjbxx",
81 form: "zdjbxx.vue",
82 label: "宗地基本信息\n (" + this.formData.bdcdyh.substring(0, 19) + ")",
83 children: [],
84 });
85 this.treedata[0].children.push({
86 id: "bdcqldjml",
87 form: "bdcqldjml.vue",
88 label: "不动产权利登记目录",
89 children: [],
90 });
91 this.treedata[0].children[1].children.push({
92 id: "bdcqljqtsx",
93 form: "bdcqljqtsx.vue",
94 label:
95 "不动产权利及其他事项\n (" + this.formData.bdcdyh.slice(19) + ")",
96 children: [],
97 });
98 this.treedata[0].children[1].children[0].children.push({
99 id: "jsydsyq",
100 form: "jsydsyq.vue",
101 label:
102 qlxxData.ztqlmc +
103 "(临:" +
104 qlxxData.ztql.linShi +
105 ",现:" +
106 qlxxData.ztql.xianShi +
107 ",历:" +
108 qlxxData.ztql.liShi +
109 ")",
110 });
111 this.treedata[0].children[1].children[0].children.push({
112 id: "diyaq",
113 form: "diyaq.vue",
114 label:
115 "抵押权(临:" +
116 qlxxData.diyaq.linShi +
117 ",现:" +
118 qlxxData.diyaq.xianShi +
119 ",历:" +
120 qlxxData.diyaq.liShi +
121 ")",
122 });
123 this.treedata[0].children[1].children[0].children.push({
124 id: "diyiq",
125 form: "diyiq.vue",
126 label:
127 "地役权(临:" +
128 qlxxData.diyiq.linShi +
129 ",现:" +
130 qlxxData.diyiq.xianShi +
131 ",历:" +
132 qlxxData.diyiq.liShi +
133 ")",
134 });
135 this.treedata[0].children[1].children[0].children.push({
136 id: "ygdj",
137 form: "ygdj.vue",
138 label:
139 "预告登记(临:" +
140 qlxxData.ygdj.linShi +
141 ",现:" +
142 qlxxData.ygdj.xianShi +
143 ",历:" +
144 qlxxData.ygdj.liShi +
145 ")",
146 });
147 this.treedata[0].children[1].children[0].children.push({
148 id: "yydj",
149 form: "yydj.vue",
150 label:
151 "异议登记(临:" +
152 qlxxData.yydj.linShi +
153 ",现:" +
154 qlxxData.yydj.xianShi +
155 ",历:" +
156 qlxxData.yydj.liShi +
157 ")",
158 });
159 this.treedata[0].children[1].children[0].children.push({
160 id: "cfdj",
161 form: "cfdj.vue",
162 label:
163 "查封登记(临:" +
164 qlxxData.cfdj.linShi +
165 ",现:" +
166 qlxxData.cfdj.xianShi +
167 ",历:" +
168 qlxxData.cfdj.liShi +
169 ")",
170 });
171 },
172 handleNodeClick(data, node, elem) {
173 this.componentTag = (r) =>
174 require.ensure([], () =>
175 r(require("@/views/registerBook/" + data.form))
176 );
177 },
178 },
179 };
180 </script>
181 <style scoped lang="scss">
182 .content {
183 width: 100%;
184 height: 100%;
185 display: flex;
186
187 .left {
188 width: 256px;
189 height: 704px;
190 background-color: #f5f5f5;
191 color: #333;
192 border: 1px solid rgb(228, 228, 228);
193 }
194
195 .right {
196 width: calc(100% - 256px);
197 height: 704px;
198 // overflow-y: scroll;
199 overflow: auto;
200 background-color: #f5f5f5;
201 border: 1px solid rgb(228, 228, 228);
202 }
203 }
204
205 /deep/ .expanded.el-tree-node__expand-icon,
206 /deep/ .el-tree-node__expand-icon {
207 visibility: hidden;
208 }
209
210 /deep/ .el-tree-node__content {
211 border: 1px solid rgb(228, 228, 228);
212 height: 45px;
213 }
214
215 /deep/ .el-tree-node:focus > .el-tree-node__content {
216 background-color: #f5f5f5;
217 color: #0079fe;
218 border-right: 4px solid #0079fe;
219 }
220
221 /deep/.el-tree-node {
222 white-space: pre-wrap;
223 }
224
225 /deep/ .is-current > .el-tree-node__content {
226 background-color: #f5f5f5;
227 color: #0079fe;
228 border-right: 4px solid #0079fe;
229 }
230 </style>
1 <template>
2 <div class="djbfm">
3 <br /><br />
4 <p>
5 <font>{{ info.sheng }}</font>
6 省 (区、市)
7 <font>{{ info.shi }}</font>
8 市 (区)
9 <font>{{ info.xian }}</font>
10 区 (县、市)
11 </p>
12 <p>
13 <font>{{ info.zhen }}</font>
14 街道 (乡、镇)
15 <font>{{ info.cun }}</font>
16 街坊 (村)
17 <font>{{ info.zu }}</font>
18
19 </p>
20 <div class="title">不动产登记簿</div>
21 <br />
22 <p>
23 宗地/宗海号:
24 <font>{{ info.zddm }}</font>
25 </p>
26 <div class="bottom">
27 <p>
28 登记机构:
29 <font>{{ info.djjg }}</font>
30 </p>
31 </div>
32 </div>
33 </template>
34
35 <script>
36 import { getDjbfm } from "@/api/zhcx.js";
37
38 export default {
39 data() {
40 return {
41 //传递参数
42 propsParam: this.$attrs,
43 info: {},
44 };
45 },
46 mounted() {
47 this.loadData();
48 },
49 methods: {
50 loadData() {
51 getDjbfm(
52 this.propsParam.bsmQlxx
53 ).then((res) => {
54 if (res.code === 200) {
55 this.info = res.result;
56 }
57 });
58 },
59 },
60 };
61 </script>
62
63 <style lang="scss" scoped>
64 .djbfm {
65 width: 100%;
66 height: 100%;
67 background: #fff;
68 border-right: 1px solid #ccc;
69 line-height: 45px;
70 text-align: center;
71 font-size: 18px;
72 font-family: serif;
73 position: relative;
74 font {
75 border-bottom: 1px solid #000;
76 display: inline-block;
77 padding: 0 15px;
78 line-height: 16px;
79 }
80 .title {
81 height: 40%;
82 display: flex;
83 font-size: 38px;
84 color: #000;
85 justify-content: center;
86 align-items: center;
87 }
88 .bottom {
89 position: absolute;
90 bottom: 0px;
91 text-align: center;
92 width: 100%;
93 left: 0;
94 height: 100px;
95 line-height: 100px;
96 p {
97 font-size: 28px;
98 }
99 font {
100 font-size: 24px;
101 line-height: 24px;
102 }
103 }
104 }
105 </style>
1 import filter from '@/utils/filter.js'
2
3 class data extends filter {
4 constructor() {
5 super()
6 }
7 columns () {
8 return [
9 {
10 prop: "qszt",
11 label: "权属状态",
12 },
13 {
14 prop: "qllxmc",
15 label: "权利类型",
16 },
17 {
18 prop: "djlxmc",
19 label: "登记类型",
20 },
21 {
22 prop: "ssywh",
23 label: "上手业务号",
24 },
25 {
26 prop: "dah",
27 label: "档案号",
28 },
29 {
30 prop: "ywh",
31 label: "业务号",
32 },
33 {
34 prop: "bdcdyh",
35 label: "不动产单元号",
36 },
37 {
38 prop: "zl",
39 label: "坐落",
40 },
41 {
42 prop: "qlrlx",
43 label: "权利人类型",
44 },
45 {
46 prop: "qlrmc",
47 label: "权利人",
48 },
49 {
50 prop: "qlrzjzl",
51 label: "证件种类",
52 },
53 {
54 prop: "qlrzjhm",
55 label: "证件号",
56 },
57 {
58 prop: "gyfs",
59 label: "共有情况",
60 },
61 {
62 prop: "mj",
63 label: "使用权面积(m²)",
64 },
65 {
66 prop: "qlxz",
67 label: "权利性质",
68 },
69 {
70 prop: "ytmc",
71 label: "土地用途",
72 },
73 {
74 prop: "syqqzsj",
75 label: "使用权起止时间",
76 },
77 {
78 prop: "tdsyqx",
79 label: "土地使用期限",
80 },
81 {
82 prop: "qdjg",
83 label: "取得价格(万元)",
84 },
85 {
86 prop: "djyy",
87 label: "登记原因",
88 },
89 {
90 prop: "bdcqzh",
91 label: "不动产权证号",
92 },
93 {
94 prop: "djsj",
95 label: "登记时间",
96 },
97 {
98 prop: "dbr",
99 label: "登簿人",
100 },
101 {
102 prop: "fj",
103 label: "附记",
104 },
105 ]
106 }
107 }
108
109 let datas = new data()
110
111 export {
112 datas
113 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -5,7 +5,12 @@ ...@@ -5,7 +5,12 @@
5 {{ title }} 5 {{ title }}
6 <div class="checkbox"> 6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange"> 7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> 8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
9 </el-checkbox-group> 14 </el-checkbox-group>
10 </div> 15 </div>
11 </div> 16 </div>
...@@ -15,11 +20,15 @@ ...@@ -15,11 +20,15 @@
15 <td> 20 <td>
16 {{ item.label }} 21 {{ item.label }}
17 </td> 22 </td>
18 <td v-for="(row, index) in tableData" :key="index" :class="[ 23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
19 row.qszt == '2' ? 'lishi' : '', 27 row.qszt == '2' ? 'lishi' : '',
20 row.qszt == '0' ? 'linshi' : '', 28 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 ]"> 30 ]"
31 >
23 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
24 正在办理 33 正在办理
25 </div> 34 </div>
...@@ -38,47 +47,29 @@ ...@@ -38,47 +47,29 @@
38 </template> 47 </template>
39 48
40 <script> 49 <script>
41 import { datas } from "./jsydsyq.js";
42 import { getJsydsyqList } from "@/api/zhcx.js"; 50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
43 export default { 52 export default {
44 data () { 53 data() {
45 return { 54 return {
46 qsztList: [ 55 title: "建设用地使用权、宅基地使用权登记信息",
47 { 56 qsztList: datas.columns().qsztList,
48 value: "0", 57 checkList: datas.columns().checkList,
49 label: "临时",
50 },
51 {
52 value: "1",
53 label: "现势",
54 },
55 {
56 value: "2",
57 label: "历史",
58 },
59 ],
60 checkList: ["0", "1", "2"],
61 //传递参数 58 //传递参数
62 propsParam: {}, 59 propsParam: this.$attrs,
63 //列表数据 60 //列表数据
64 tableData: [], 61 tableData: [],
65 //空列值个数 62 //空列值个数
66 emptycolNum: 0, 63 emptycolNum: datas.columns().emptycolNum,
67 //列名称对象 64 //列名称对象
68 columns: [], 65 columns: datas.columns().JSYDSYQ,
69 title: "建设用地使用权、宅基地使用权登记信息",
70 }; 66 };
71 }, 67 },
72 created () { 68 created() {
73 this.propsParam = this.$attrs;
74 console.log(this.$attrs, 'this.$attrs;');
75 this.columns = datas.columns();
76 this.loadData(); 69 this.loadData();
77 // this.$alert(datas.columns());
78 }, 70 },
79 methods: { 71 methods: {
80 loadData () { 72 loadData() {
81 //this.$alert(this.propsParam.bdcdyh);
82 getJsydsyqList({ 73 getJsydsyqList({
83 bdcdyid: this.propsParam.bdcdyid, 74 bdcdyid: this.propsParam.bdcdyid,
84 qllx: this.propsParam.qllx, 75 qllx: this.propsParam.qllx,
...@@ -86,14 +77,19 @@ export default { ...@@ -86,14 +77,19 @@ export default {
86 }).then((res) => { 77 }).then((res) => {
87 if (res.code === 200) { 78 if (res.code === 200) {
88 this.tableData = res.result; 79 this.tableData = res.result;
89 this.emptycolNum = 3 - this.tableData.length; 80 // this.emptycolNum -= this.tableData.length;
81 if (this.tableData.length < this.emptycolNum) {
82 this.emptycolNum -= this.tableData.length;
83 }else{
84 this.emptycolNum = 0;
85 }
90 } 86 }
91 }); 87 });
92 }, 88 },
93 checkChange () { 89 checkChange() {
94 this.loadData(); 90 this.loadData();
95 }, 91 },
96 getQsztName (code) { 92 getQsztName(code) {
97 let name = ""; 93 let name = "";
98 for (let item of this.qsztList) { 94 for (let item of this.qsztList) {
99 if (item.value == code) { 95 if (item.value == code) {
...@@ -108,5 +104,5 @@ export default { ...@@ -108,5 +104,5 @@ export default {
108 </script> 104 </script>
109 105
110 <style lang="scss" scoped> 106 <style lang="scss" scoped>
111 // @import "./qlxxCommon.scss"; 107 @import "./qlxxCommon.scss";
112 </style> 108 </style>
......
1 .djxxTable {
2 width: 100%;
3 height: 100%;
4 background: #fff;
5 overflow-y: scroll;
6 color: #333;
7
8 .tableBox {
9 margin: 0 auto;
10 display: flex;
11 flex-wrap: wrap;
12
13 .title {
14 width: 100%;
15 font-weight: 700;
16 font-size: 16px;
17 text-align: center;
18 background: #e9e9e9;
19 height: 62px;
20 line-height: 62px;
21 position: relative;
22 margin: 1px 0;
23
24 .checkbox {
25 position: absolute;
26 right: 20px;
27 bottom: -16px;
28 height: 62px;
29 }
30 }
31
32 .xxTableBox {
33 overflow-x: scroll;
34 width: 100%;
35 padding-bottom: 35px;
36 }
37
38 .xxTable>tr:first-child th {
39 width: 140px;
40 }
41
42 .xxTable {
43 border-spacing: 1px;
44 width: 100%;
45
46 tr>th {
47 border: 1px solid #ccc;
48 background: #F2F2F2;
49 color: #333333;
50 font-size: 16px;
51 height: 40px;
52 }
53
54 th.linshi,
55 th.xianshi {
56 background: #464c5b;
57 }
58
59 th.lishi {
60 background: rgba(70, 76, 91, 0.8);
61 }
62
63 .one th {
64 height: 25px;
65 font-size: 14px;
66 }
67
68 th.linshi {
69 color: #fe9400;
70 }
71
72 .two th {
73 height: 45px;
74
75 p:nth-child(2) {
76 font-size: 14px;
77 }
78 }
79
80 .linshiIcon {
81 position: relative;
82 }
83
84 .linshiIcon::after {
85 content: "";
86 display: block;
87 width: 0;
88 height: 0;
89 border-width: 0px 0px 55px 55px;
90 border-style: none solid solid;
91 border-color: transparent transparent #fe9400;
92 position: absolute;
93 top: 0;
94 right: 0;
95 transform: rotate(-90deg);
96 }
97
98 .icon {
99 position: absolute;
100 top: 13px;
101 right: -4px;
102 transform: rotate(45deg);
103 color: #fff;
104 font-size: 12px;
105 z-index: 10;
106 }
107
108 tr td {
109 border: 1px solid #ccc;
110 text-align: center;
111 height: 40px;
112 padding: 4px;
113 font-size: 13px;
114 width: 140px;
115 }
116
117 >tr:nth-child(odd) td {
118 background: #f2f2f2;
119 }
120
121 >tr:nth-child(even) td {
122 background: #f9f9f9;
123 }
124
125 td.linshi {
126 color: #fe9400;
127 }
128
129 tr>td.lishi {
130 color: #7f7f7f;
131 }
132 }
133 }
134 }
...\ No newline at end of file ...\ No newline at end of file
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox">
18 <table class="xxTable">
19 <tr v-for="(item, colindex) in columns" :key="colindex">
20 <td>
21 {{ item.label }}
22 </td>
23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
27 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]"
31 >
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }}
37 </span>
38
39 <span v-else> {{ row[item.prop] }}</span>
40 </td>
41 <td v-for="count in emptycolNum" :key="~count"></td>
42 </tr>
43 </table>
44 </div>
45 </div>
46 </div>
47 </template>
48
49 <script>
50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
52 export default {
53 data() {
54 return {
55 title: "预告登记信息",
56 qsztList: datas.columns().qsztList,
57 checkList: datas.columns().checkList,
58 //传递参数
59 propsParam: this.$attrs,
60 //列表数据
61 tableData: [],
62 //空列值个数
63 emptycolNum: 0,
64 //列名称对象
65 columns: datas.columns().YGDJ,
66 };
67 },
68 created() {
69 this.loadData();
70 },
71 methods: {
72 loadData() {
73 getJsydsyqList({
74 bdcdyid: this.propsParam.bdcdyid,
75 qllx: this.propsParam.qllx,
76 qszt: this.checkList,
77 }).then((res) => {
78 if (res.code === 200) {
79 this.tableData = res.result;
80 this.emptycolNum = 3 - this.tableData.length;
81 }
82 });
83 },
84 checkChange() {
85 this.loadData();
86 },
87 getQsztName(code) {
88 let name = "";
89 for (let item of this.qsztList) {
90 if (item.value == code) {
91 name = item.label;
92 break;
93 }
94 }
95 return name;
96 },
97 },
98 };
99 </script>
100
101 <style lang="scss" scoped>
102 @import "./qlxxCommon.scss";
103 </style>
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox
9 v-for="item in qsztList"
10 :key="item.value"
11 :label="item.value"
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox">
18 <table class="xxTable">
19 <tr v-for="(item, colindex) in columns" :key="colindex">
20 <td>
21 {{ item.label }}
22 </td>
23 <td
24 v-for="(row, index) in tableData"
25 :key="index"
26 :class="[
27 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]"
31 >
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }}
37 </span>
38
39 <span v-else> {{ row[item.prop] }}</span>
40 </td>
41 <td v-for="count in emptycolNum" :key="~count"></td>
42 </tr>
43 </table>
44 </div>
45 </div>
46 </div>
47 </template>
48
49 <script>
50 import { getJsydsyqList } from "@/api/zhcx.js";
51 import { datas } from "./qlxxFormData.js";
52 export default {
53 data() {
54 return {
55 title: "异议登记信息",
56 qsztList: datas.columns().qsztList,
57 checkList: datas.columns().checkList,
58 //传递参数
59 propsParam: this.$attrs,
60 //列表数据
61 tableData: [],
62 //空列值个数
63 emptycolNum: 0,
64 //列名称对象
65 columns: datas.columns().YYDJ,
66 };
67 },
68 created() {
69 this.loadData();
70 },
71 methods: {
72 loadData() {
73 getJsydsyqList({
74 bdcdyid: this.propsParam.bdcdyid,
75 qllx: this.propsParam.qllx,
76 qszt: this.checkList,
77 }).then((res) => {
78 if (res.code === 200) {
79 this.tableData = res.result;
80 this.emptycolNum = 3 - this.tableData.length;
81 }
82 });
83 },
84 checkChange() {
85 this.loadData();
86 },
87 getQsztName(code) {
88 let name = "";
89 for (let item of this.qsztList) {
90 if (item.value == code) {
91 name = item.label;
92 break;
93 }
94 }
95 return name;
96 },
97 },
98 };
99 </script>
100
101 <style lang="scss" scoped>
102 @import "./qlxxCommon.scss";
103 </style>
1 <template>
2 <div class="zdxx">
3 <div class="tablebox">
4 <table cellpadding="0" cellspacing="0" class="zdxxTable">
5 <col width="80" />
6 <col width="60" />
7 <col width="90" />
8 <col width="235" />
9 <col width="150" />
10 <tr>
11 <td colspan="6" class="title">宗地基本信息</td>
12 </tr>
13 <tr>
14 <td colspan="6" class="unit" v-if="zdjbxx.mjdw == '1'">
15 单位:■平方米 □公顷(□亩)、万元
16 </td>
17 <td colspan="6" class="unit" v-else>
18 单位:□平方米 ■公顷(■亩)、万元
19 </td>
20 </tr>
21 <tr>
22 <td colspan="2">不动产类型</td>
23 <td colspan="4">■土地 ■房屋建筑 □构筑物 □森林、林地 □其他</td>
24 </tr>
25 <tr>
26 <td colspan="2">坐落</td>
27 <td colspan="4">{{ zdjbxx.zl }}</td>
28 </tr>
29 <tr>
30 <td rowspan="8" class="title2">土地状况</td>
31 </tr>
32 <tr>
33 <td colspan="2">宗地面积</td>
34 <td>{{ zdjbxx.zdmj }}</td>
35 <td>用途</td>
36 <td>{{ zdjbxx.ghytmc }}</td>
37 </tr>
38 <tr>
39 <td colspan="2">等级</td>
40 <td>{{ zdjbxx.dj }}</td>
41 <td>价格</td>
42 <td>{{ zdjbxx.jg }}</td>
43 </tr>
44 <tr>
45 <td colspan="2">权利类型</td>
46 <td>{{ zdjbxx.qllx }}</td>
47 <td>权利性质</td>
48 <td>{{ zdjbxx.qlxz }}</td>
49 </tr>
50 <tr>
51 <td colspan="2">权利设定方式</td>
52 <td>{{ zdjbxx.qlsdfs }}</td>
53 <td>容积率</td>
54 <td>{{ zdjbxx.rjl }}</td>
55 </tr>
56 <tr>
57 <td colspan="2">建筑密度</td>
58 <td>{{ zdjbxx.jzmd }}</td>
59 <td>建筑限高</td>
60 <td>{{ zdjbxx.jzxg }}</td>
61 </tr>
62 <tr>
63 <td colspan="2">图幅号</td>
64 <td>{{ zdjbxx.tfh }}</td>
65 <td>地籍号</td>
66 <td>{{ zdjbxx.djh }}</td>
67 </tr>
68 <tr>
69 <td colspan="2">档案号</td>
70 <td>{{ zdjbxx.dah }}</td>
71 <td>地块代码</td>
72 <td>{{ zdjbxx.dkdm }}</td>
73 </tr>
74 <tr>
75 <td colspan="2">宗地四至-东</td>
76 <td colspan="4">{{ zdjbxx.zdszd }}</td>
77 </tr>
78 <tr>
79 <td colspan="2">宗地四至-南</td>
80 <td colspan="4">{{ zdjbxx.zdszn }}</td>
81 </tr>
82 <tr>
83 <td colspan="2">宗地四至-西</td>
84 <td colspan="4">{{ zdjbxx.zdszx }}</td>
85 </tr>
86 <tr>
87 <td colspan="2">宗地四至-北</td>
88 <td colspan="4">{{ zdjbxx.zdszb }}</td>
89 </tr>
90 <tr>
91 <td class="title2" height="96">备注</td>
92 <td colspan="5">{{ zdjbxx.bz }}</td>
93 </tr>
94 <tr>
95 <td class="title2" height="96">附记</td>
96 <td colspan="5">{{ zdjbxx.fj }}</td>
97 </tr>
98 <tr>
99 <td colspan="2">状态</td>
100 <td colspan="2">{{ zdjbxx.zt }}</td>
101 <td>区县代码</td>
102 <td>{{ zdjbxx.qxdm }}</td>
103 </tr>
104 <tr v-show="showGroup">
105 <td class="title2">变化情况</td>
106 <td colspan="5" class="bhqk">
107 <div class="box">
108 <table cellspacing="0" cellpadding="0" :width="bhqkTableWidth">
109 <tr v-for="(item, index) in bhqkColumns" :key="index">
110 <td class="bhqkTh">{{ item.label }}</td>
111 <!-- <td v-for="(item2, index2) in zdbhqks" :key="index2">
112 {{ item2[item.prop] }}
113 </td> -->
114 </tr>
115 </table>
116 </div>
117 </td>
118 </tr>
119 </table>
120 </div>
121 </div>
122 </template>
123
124 <script>
125 import { mapGetters } from "vuex";
126 import { getZdjjxxBybdcdyid } from "@/api/zhcx.js";
127
128 export default {
129 data () {
130 return {
131 bhqkColumns: [
132 {
133 prop: "ssywh",
134 label: "上手业务号",
135 },
136 {
137 prop: "zddm",
138 label: "宗地代码",
139 },
140 {
141 prop: "bhqzddm",
142 label: "变化前宗地代码",
143 },
144 {
145 prop: "bhnr",
146 label: "变化内容",
147 },
148 {
149 prop: "bhyy",
150 label: "变化原因",
151 },
152 {
153 prop: "djsj",
154 label: "登记时间",
155 },
156 {
157 prop: "dbr",
158 label: "登簿人",
159 },
160 {
161 prop: "fj",
162 label: "附记",
163 },
164 ],
165 bhqkTableWidth: 745,
166 zdjbxx: {},
167 zdbhqks: [],
168 propsParam:this.$attrs,
169 showGroup: false,
170 };
171 },
172 // computed: {
173 // ...mapGetters(["djbxx"]),
174 // },
175 created () {
176 //this.propsParam = this.$attrs;
177 // this.$nextTick(() => {
178
179 // });
180 this.loadData();
181 //this.$alert(this.param.bdcdyh);
182 // this.info = this.djbxx.zdjbxx;
183 // this.djzd = this.djbxx.zdjbxx.djzd;
184 // this.zdbhqks = this.djbxx.zdjbxx.zdbhqks;
185
186 // let widths = (this.zdbhqks.length + 1) * 180 + 110;
187 // this.bhqkTableWidth = widths > 745 ? widths : 745;
188 },
189 methods: {
190 loadData () {
191 getZdjjxxBybdcdyid({bdcdyid:this.propsParam.bdcdyid}).then((res) => {
192 if (res.code === 200) {
193 this.zdjbxx = res.result.zdjbxx;
194 this.zdbhqks = res.result.zdbhqkList;
195 //this.$alert(this.zdjbxx);
196 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
197 this.showGroup = true;
198 }
199 }
200 });
201 },
202 },
203 };
204 </script>
205
206 <style lang="scss" scoped>
207 .zdxx {
208 width: 100%;
209 height: calc(100% - 42px);
210 background-color: #f5f5f5;
211 padding: 5px;
212
213
214 }
215 .tablebox {
216 overflow-x: auto;
217 width: 100%;
218 height: 100%;
219 background: #fff;
220 border: 1px solid rgb(228, 228, 228);
221 text-align: center;
222 padding: 4px;
223 overflow-y: scroll;
224
225 .zdxxTable {
226 width: 100%;
227 min-width: 900px;
228 color: #333;
229
230 td {
231 border: 1px solid rgb(228, 228, 228);
232 line-height: 30px;
233 padding: 0 4px;
234 }
235
236 .title {
237 line-height: 68px;
238 font-size: 20px;
239 }
240
241 .unit {
242 text-align: right;
243 }
244
245 .title2 {
246 writing-mode: vertical-lr;
247 letter-spacing: 6px;
248 }
249
250 .bhqk {
251 padding: 0;
252
253 .box {
254 width: 745px;
255 overflow: auto;
256 }
257
258 .test {}
259
260 table {
261 .bhqkTh {
262 width: 110px;
263 line-height: 40px;
264 background-color: #f5f5f5;
265 border: 1px solid rgb(228, 228, 228);
266 font-weight: bold;
267 }
268
269 td {
270 width: 180px;
271 }
272 }
273 }
274 }
275 }
276 </style>
...@@ -59,7 +59,6 @@ import table from "@/utils/mixin/table"; ...@@ -59,7 +59,6 @@ import table from "@/utils/mixin/table";
59 import { datas, sendThis } from "./dydjbdata"; 59 import { datas, sendThis } from "./dydjbdata";
60 export default { 60 export default {
61 name: "dydjb", 61 name: "dydjb",
62 components: {},
63 mixins: [table], 62 mixins: [table],
64 mounted () { 63 mounted () {
65 sendThis(this); 64 sendThis(this);
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
6 border: 1px solid #ebeef5; 6 border: 1px solid #ebeef5;
7 z-index: 100; 7 z-index: 100;
8 @include flex; 8 @include flex;
9 /deep/.el-tabs__header {
10 margin-bottom: 0 !important;
11 }
9 } 12 }
10 13
11 .leftmenu { 14 .leftmenu {
...@@ -62,9 +65,7 @@ ...@@ -62,9 +65,7 @@
62 padding-left: 5px !important; 65 padding-left: 5px !important;
63 } 66 }
64 67
65 /deep/.el-tabs__header { 68
66 margin-bottom: 0 !important;
67 }
68 69
69 /deep/.el-menu-item.is-active { 70 /deep/.el-menu-item.is-active {
70 background-color: #e7f4fe; 71 background-color: #e7f4fe;
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
101 .iconName { 102 .iconName {
102 line-height: 24px; 103 line-height: 24px;
103 font-size: 12px; 104 font-size: 12px;
105 white-space: nowrap;
104 } 106 }
105 107
106 .container { 108 .container {
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
56 </div> 56 </div>
57 </div> 57 </div>
58 </div> 58 </div>
59 <fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" />
59 </div> 60 </div>
60 </template> 61 </template>
61 62
...@@ -63,7 +64,6 @@ ...@@ -63,7 +64,6 @@
63 @import "~@/styles/mixin.scss"; 64 @import "~@/styles/mixin.scss";
64 @import "./workFrame.scss"; 65 @import "./workFrame.scss";
65 </style> 66 </style>
66
67 <script> 67 <script>
68 import { 68 import {
69 leftMenu, 69 leftMenu,
...@@ -74,9 +74,15 @@ import { ...@@ -74,9 +74,15 @@ import {
74 } from "@/api/fqsq.js" 74 } from "@/api/fqsq.js"
75 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" 75 import { getWorkFlowImage } from "@/api/jsydsyqFlow.js"
76 import { getForm } from "./flowform.js" 76 import { getForm } from "./flowform.js"
77 import fqsqDialog from "@/views/ywbl/ywsq/slectBdc.vue"
78 import { queueDjywmc } from '@/views/ywbl/ywsq/slectBdcdata.js';
77 export default { 79 export default {
80 components: {
81 fqsqDialog
82 },
78 data () { 83 data () {
79 return { 84 return {
85 isDialog: false,
80 // 流程图 86 // 流程图
81 imgSrc: '', 87 imgSrc: '',
82 // 折叠 88 // 折叠
...@@ -149,6 +155,10 @@ export default { ...@@ -149,6 +155,10 @@ export default {
149 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 155 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
150 let that = this; 156 let that = this;
151 switch (item.value) { 157 switch (item.value) {
158 case "B0":
159 // let type = queueDjywmc(this.$route.query.sqywbm)
160 this.isDialog = true
161 break;
152 case "B1": 162 case "B1":
153 getWorkFlowImage(this.bsmSlsq).then(res => { 163 getWorkFlowImage(this.bsmSlsq).then(res => {
154 this.imgSrc = URL.createObjectURL(res) 164 this.imgSrc = URL.createObjectURL(res)
......
...@@ -76,10 +76,7 @@ ...@@ -76,10 +76,7 @@
76 </el-col> 76 </el-col>
77 <el-col :span="8"> 77 <el-col :span="8">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:" prop="qlsdfs"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:" prop="qlsdfs">
79 <el-select disabled v-model="ruleForm.qlsdfs" filterable clearable placeholder="请选择权利设定方式"> 79 <el-input disabled v-model="ruleForm.qlsdfsmc"></el-input>
80 <el-option v-for="item in qlsdfsOption" :key="item.value" :label="item.label" :value="item.value">
81 </el-option>
82 </el-select>
83 </el-form-item> 80 </el-form-item>
84 </el-col> 81 </el-col>
85 </el-row> 82 </el-row>
...@@ -189,8 +186,6 @@ export default { ...@@ -189,8 +186,6 @@ export default {
189 data () { 186 data () {
190 return { 187 return {
191 disabled: true, 188 disabled: true,
192 tdytOption: [],
193 qlsdfsOption: [],
194 czrOptions: [], 189 czrOptions: [],
195 ruleForm: { 190 ruleForm: {
196 ywh: "", 191 ywh: "",
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-col> 32 </el-col>
33 <el-col :span="2" class="btnCol"> 33 <el-col :span="2" class="btnCol">
34 <el-form-item> 34 <el-form-item>
35 <el-button type="primary" @click="queryClick()">查询</el-button> 35 <el-button type="primary" @click="fetchData">查询</el-button>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 </el-row> 38 </el-row>
...@@ -53,17 +53,18 @@ ...@@ -53,17 +53,18 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import Cookies from 'js-cookie'
56 import { datas, sendThis } from "../javascript/bdcql.js"; 57 import { datas, sendThis } from "../javascript/bdcql.js";
57 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
58 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
59 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
60 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 62 export default {
63 mixins: [table, jump],
62 props: { 64 props: {
63 bsmSqyw: { type: String, default: '' }, 65 isJump: { type: Boolean, default: false },
64 djywbm: { type: String, default: "" } 66 djywbm: { type: String, default: '' }
65 }, 67 },
66 mixins: [table, jump],
67 data () { 68 data () {
68 return { 69 return {
69 queryForm: defaultParameters.defaultParameters(), 70 queryForm: defaultParameters.defaultParameters(),
...@@ -77,30 +78,24 @@ export default { ...@@ -77,30 +78,24 @@ export default {
77 saveloding: false 78 saveloding: false
78 }; 79 };
79 }, 80 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 81 mounted () {
86 sendThis(this); 82 sendThis(this)
87 }, 83 },
88 methods: { 84 methods: {
89 closeDialog () { 85 closeDialog () {
90 this.$emit("closeDialog") 86 this.$emit("closeDialog")
91 }, 87 },
92 fetchData () { 88 fetchData () {
93 if (this.bsmSqyw) { 89 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm;
95 selectQlxx({ ...this.queryForm, ...this.pageData }) 90 selectQlxx({ ...this.queryForm, ...this.pageData })
96 .then((res) => { 91 .then((res) => {
92 console.log(res);
97 if (res.code === 200) { 93 if (res.code === 200) {
98 let { total, records } = res.result; 94 let { total, records } = res.result;
99 this.tableData.total = total; 95 this.tableData.total = total;
100 this.tableData.data = records; 96 this.tableData.data = records;
101 } 97 }
102 }) 98 })
103 }
104 }, 99 },
105 submitForm () { 100 submitForm () {
106 if (this.bdcdysz.length == 0) { 101 if (this.bdcdysz.length == 0) {
...@@ -109,12 +104,23 @@ export default { ...@@ -109,12 +104,23 @@ export default {
109 } 104 }
110 this.saveloding = true; 105 this.saveloding = true;
111 startBusinessFlow({ 106 startBusinessFlow({
112 bsmSqyw: this.bsmSqyw, 107 bsmSqyw: Cookies.get("bsmSqyw"),
113 bdcdysz: this.bdcdysz, 108 bdcdysz: this.bdcdysz,
109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
114 }).then((res) => { 111 }).then((res) => {
115 this.saveloding = false; 112 this.saveloding = false;
116 if (res.code == 200) { 113 if (res.code == 200) {
117 this.jump(res.result) 114 this.$message({
115 showClose: true,
116 message: '发起申请成功',
117 type: 'success'
118 })
119 if (!this.isJump) {
120 this.jump(res.result, this.djywbm)
121 } else {
122 this.$emit('updateDialog', true)
123 }
118 } else { 124 } else {
119 this.$message.error(res.message); 125 this.$message.error(res.message);
120 } 126 }
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </el-col> 33 </el-col>
34 <el-col :span="2" class="btnCol"> 34 <el-col :span="2" class="btnCol">
35 <el-form-item> 35 <el-form-item>
36 <el-button type="primary" @click="queryClick()">查询</el-button> 36 <el-button type="primary" @click="fetchData()">查询</el-button>
37 </el-form-item> 37 </el-form-item>
38 </el-col> 38 </el-col>
39 </el-row> 39 </el-row>
...@@ -53,17 +53,18 @@ ...@@ -53,17 +53,18 @@
53 </div> 53 </div>
54 </template> 54 </template>
55 <script> 55 <script>
56 import Cookies from 'js-cookie'
56 import { datas, sendThis } from "../javascript/bdcqlMain.js"; 57 import { datas, sendThis } from "../javascript/bdcqlMain.js";
57 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
58 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
59 import jump from "../components/mixin/jump"; 60 import jump from "../components/mixin/jump";
60 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 62 export default {
63 mixins: [table, jump],
62 props: { 64 props: {
63 bsmSqyw: { type: String, default: '' }, 65 isJump: { type: Boolean, default: false },
64 djywbm: { type: String, default: "" } 66 djywbm: { type: String, default: '' }
65 }, 67 },
66 mixins: [table, jump],
67 data () { 68 data () {
68 return { 69 return {
69 queryForm: defaultParameters.defaultParameters(), 70 queryForm: defaultParameters.defaultParameters(),
...@@ -77,21 +78,15 @@ export default { ...@@ -77,21 +78,15 @@ export default {
77 saveloding: false 78 saveloding: false
78 }; 79 };
79 }, 80 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 81 mounted () {
86 sendThis(this); 82 sendThis(this)
87 }, 83 },
88 methods: { 84 methods: {
89 closeDialog () { 85 closeDialog () {
90 this.$emit("closeDialog") 86 this.$emit("closeDialog")
91 }, 87 },
92 fetchData () { 88 fetchData () {
93 if (this.bsmSqyw) { 89 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm;
95 selectQlxx({ ...this.queryForm, ...this.pageData }) 90 selectQlxx({ ...this.queryForm, ...this.pageData })
96 .then((res) => { 91 .then((res) => {
97 if (res.code === 200) { 92 if (res.code === 200) {
...@@ -100,7 +95,6 @@ export default { ...@@ -100,7 +95,6 @@ export default {
100 this.tableData.data = records; 95 this.tableData.data = records;
101 } 96 }
102 }) 97 })
103 }
104 }, 98 },
105 submitForm () { 99 submitForm () {
106 if (this.bdcdysz.length == 0) { 100 if (this.bdcdysz.length == 0) {
...@@ -109,8 +103,10 @@ export default { ...@@ -109,8 +103,10 @@ export default {
109 } 103 }
110 this.saveloding = true; 104 this.saveloding = true;
111 startBusinessFlow({ 105 startBusinessFlow({
112 bsmSqyw: this.bsmSqyw, 106 bsmSqyw: Cookies.get("bsmSqyw"),
113 bdcdysz: this.bdcdysz, 107 bdcdysz: this.bdcdysz,
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
114 }).then((res) => { 110 }).then((res) => {
115 this.saveloding = false; 111 this.saveloding = false;
116 if (res.code == 200) { 112 if (res.code == 200) {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-col> 32 </el-col>
33 <el-col :span="2" class="btnCol"> 33 <el-col :span="2" class="btnCol">
34 <el-form-item> 34 <el-form-item>
35 <el-button type="primary" @click="queryClick()">查询</el-button> 35 <el-button type="primary" @click="fetchData()">查询</el-button>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 </el-row> 38 </el-row>
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
53 </template> 53 </template>
54 <script> 54 <script>
55 //查封登记 55 //查封登记
56 import Cookies from 'js-cookie'
56 import { datas, sendThis } from "../javascript/cfdj.js"; 57 import { datas, sendThis } from "../javascript/cfdj.js";
57 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 58 import { defaultParameters } from "../javascript/publicDefaultPar.js";
58 import table from "@/utils/mixin/table"; 59 import table from "@/utils/mixin/table";
...@@ -60,8 +61,8 @@ import jump from "../components/mixin/jump"; ...@@ -60,8 +61,8 @@ import jump from "../components/mixin/jump";
60 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; 61 import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js";
61 export default { 62 export default {
62 props: { 63 props: {
63 bsmSqyw: { type: String, default: '' }, 64 isJump: { type: Boolean, default: false },
64 djywbm: { type: String, default: "" } 65 djywbm: { type: String, default: '' }
65 }, 66 },
66 mixins: [table, jump], 67 mixins: [table, jump],
67 data () { 68 data () {
...@@ -77,11 +78,6 @@ export default { ...@@ -77,11 +78,6 @@ export default {
77 saveloding: false 78 saveloding: false
78 }; 79 };
79 }, 80 },
80 watch: {
81 bsmSqyw (val) {
82 this.fetchData()
83 },
84 },
85 mounted () { 81 mounted () {
86 sendThis(this); 82 sendThis(this);
87 }, 83 },
...@@ -90,8 +86,7 @@ export default { ...@@ -90,8 +86,7 @@ export default {
90 this.$emit("closeDialog") 86 this.$emit("closeDialog")
91 }, 87 },
92 fetchData () { 88 fetchData () {
93 if (this.bsmSqyw) { 89 this.queryForm.sqywbm = this.djywbm;
94 this.queryForm.sqywbm=this.djywbm;
95 selectCfdj({ ...this.queryForm, ...this.pageData }) 90 selectCfdj({ ...this.queryForm, ...this.pageData })
96 .then((res) => { 91 .then((res) => {
97 if (res.code === 200) { 92 if (res.code === 200) {
...@@ -100,7 +95,6 @@ export default { ...@@ -100,7 +95,6 @@ export default {
100 this.tableData.data = records; 95 this.tableData.data = records;
101 } 96 }
102 }) 97 })
103 }
104 }, 98 },
105 submitForm () { 99 submitForm () {
106 if (this.bdcdysz.length == 0) { 100 if (this.bdcdysz.length == 0) {
...@@ -109,12 +103,23 @@ export default { ...@@ -109,12 +103,23 @@ export default {
109 } 103 }
110 this.saveloding = true; 104 this.saveloding = true;
111 startBusinessFlow({ 105 startBusinessFlow({
112 bsmSqyw: this.bsmSqyw, 106 bsmSqyw: Cookies.get("bsmSqyw"),
113 bdcdysz: this.bdcdysz, 107 bdcdysz: this.bdcdysz,
108 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
109 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
114 }).then((res) => { 110 }).then((res) => {
115 this.saveloding = false; 111 this.saveloding = false;
116 if (res.code == 200) { 112 if (res.code == 200) {
117 this.jump(res.result) 113 this.$message({
114 showClose: true,
115 message: '发起申请成功',
116 type: 'success'
117 })
118 if (!this.isJump) {
119 this.jump(res.result, this.djywbm)
120 } else {
121 this.$emit('updateDialog', true)
122 }
118 } else { 123 } else {
119 this.$message.error(res.message); 124 this.$message.error(res.message);
120 } 125 }
......
...@@ -55,18 +55,18 @@ ...@@ -55,18 +55,18 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //抵押权首次登记 57 //抵押权首次登记
58 import Cookies from 'js-cookie'
58 import { datas, sendThis } from "../javascript/diyaq.js"; 59 import { datas, sendThis } from "../javascript/diyaq.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import table from "@/utils/mixin/table"; 61 import table from "@/utils/mixin/table";
61 import jump from "../components/mixin/jump"; 62 import jump from "../components/mixin/jump";
62 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; 63 import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js";
63 export default { 64 export default {
65 mixins: [table, jump],
64 props: { 66 props: {
65 bsmSqyw: { type: String, default: "" }, 67 isJump: { type: Boolean, default: false },
66 djqxObj: { type: Object, default: "" }, 68 djywbm: { type: String, default: '' }
67 djywbm: { type: String, default: "" }
68 }, 69 },
69 mixins: [table, jump],
70 data () { 70 data () {
71 return { 71 return {
72 queryForm: defaultParameters.defaultParameters(), 72 queryForm: defaultParameters.defaultParameters(),
...@@ -80,11 +80,6 @@ export default { ...@@ -80,11 +80,6 @@ export default {
80 saveloding: false, 80 saveloding: false,
81 }; 81 };
82 }, 82 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData();
86 },
87 },
88 mounted () { 83 mounted () {
89 sendThis(this); 84 sendThis(this);
90 }, 85 },
...@@ -93,8 +88,7 @@ export default { ...@@ -93,8 +88,7 @@ export default {
93 this.$emit("closeDialog"); 88 this.$emit("closeDialog");
94 }, 89 },
95 fetchData () { 90 fetchData () {
96 if (this.bsmSqyw) { 91 this.queryForm.sqywbm = this.djywbm;
97 this.queryForm.sqywbm=this.djywbm;
98 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { 92 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
99 if (res.code === 200) { 93 if (res.code === 200) {
100 let { total, records } = res.result; 94 let { total, records } = res.result;
...@@ -102,7 +96,6 @@ export default { ...@@ -102,7 +96,6 @@ export default {
102 this.tableData.data = records; 96 this.tableData.data = records;
103 } 97 }
104 }); 98 });
105 }
106 }, 99 },
107 submitForm () { 100 submitForm () {
108 if (this.bdcdysz.length == 0) { 101 if (this.bdcdysz.length == 0) {
...@@ -111,14 +104,23 @@ export default { ...@@ -111,14 +104,23 @@ export default {
111 } 104 }
112 this.saveloding = true; 105 this.saveloding = true;
113 startBusinessFlow({ 106 startBusinessFlow({
114 bsmSqyw: this.bsmSqyw, 107 bsmSqyw: Cookies.get("bsmSqyw"),
115 bdcdysz: this.bdcdysz, 108 bdcdysz: this.bdcdysz,
116 djqxbm: this.djqxObj.djqxbm, 109 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
117 djqxmc: this.djqxObj.djqxmc, 110 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
118 }).then((res) => { 111 }).then((res) => {
119 this.saveloding = false; 112 this.saveloding = false;
120 if (res.code == 200) { 113 if (res.code == 200) {
121 this.jump(res.result) 114 this.$message({
115 showClose: true,
116 message: '发起申请成功',
117 type: 'success'
118 })
119 if (!this.isJump) {
120 this.jump(res.result, this.djywbm)
121 } else {
122 this.$emit('updateDialog', true)
123 }
122 } else { 124 } else {
123 this.$message.error(res.message); 125 this.$message.error(res.message);
124 } 126 }
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 3 <div class="from-clues-header">
5 <el-tabs v-model="activeName"> 4 <el-tabs v-model="activeName" @tab-click="handleTabClick">
6 <el-tab-pane label="自然幢" name="first"></el-tab-pane> 5 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
7 <el-tab-pane label="户" name="second"></el-tab-pane> 6 <el-tab-pane label="户" name="h"></el-tab-pane>
8 </el-tabs> 7 </el-tabs>
9 <el-form :model="queryForm" ref="queryForm" label-width="100px"> 8 <el-form :model="queryForm" ref="queryForm" label-width="110px">
10 <el-row> 9 <el-row>
11 <el-col :span="5"> 10 <el-col :span="6">
12 <el-form-item label="权利类型" label-width="70px">
13 <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型">
14 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
15 </el-option>
16 </el-select>
17 </el-form-item>
18 </el-col>
19 <el-col :span="5">
20 <el-form-item label="不动产单元号"> 11 <el-form-item label="不动产单元号">
21 <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable> 12 <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable>
22 </el-input> 13 </el-input>
23 </el-form-item> 14 </el-form-item>
24 </el-col> 15 </el-col>
25 <el-col :span="5"> 16 <el-col :span="6">
26 <el-form-item label="业务号" label-width="70px"> 17 <el-form-item label="坐落">
27 <el-input placeholder="业务号" v-model="queryForm.ywh" clearable> 18 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable>
28 </el-input>
29 </el-form-item>
30 </el-col>
31 <el-col :span="5">
32 <el-form-item label="不动产权证号">
33 <el-input placeholder="不动产权证号" v-model="queryForm.bdcqzh" clearable>
34 </el-input> 19 </el-input>
35 </el-form-item> 20 </el-form-item>
36 </el-col> 21 </el-col>
37 <el-col :span="4" class="btnCol"> 22 <el-col :span="12" class="btnCol">
38 <el-form-item> 23 <el-form-item>
39 <el-button type="primary" @click="queryClick()">查询</el-button> 24 <el-button type="primary" @click="fetchData()">查询</el-button>
40 </el-form-item> 25 </el-form-item>
41 </el-col> 26 </el-col>
42 </el-row> 27 </el-row>
43 </el-form> 28 </el-form>
44 </div> 29 </div>
45 <!-- 表格 -->
46 <div class="from-clues-content"> 30 <div class="from-clues-content">
47 <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" 31 <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
48 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 32 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
...@@ -51,27 +35,26 @@ ...@@ -51,27 +35,26 @@
51 </div> 35 </div>
52 <div class="submit_button"> 36 <div class="submit_button">
53 <el-button @click="closeDialog">取消</el-button> 37 <el-button @click="closeDialog">取消</el-button>
54 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button> 38 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
55 </div> 39 </div>
56 </div> 40 </div>
57 </template> 41 </template>
58 <script> 42 <script>
59 //国有建设用地使用权/房屋使用权 43 //国有建设用地使用权/房屋使用权
60 import { mapGetters } from 'vuex' 44 import Cookies from 'js-cookie'
61 import { datas, sendThis } from "../javascript/houseOwnership.js"; 45 import { datas, sendThis } from "../javascript/fwsyq.js";
62 import table from "@/utils/mixin/table"; 46 import table from "@/utils/mixin/table";
63 import jump from "../components/mixin/jump"; 47 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
64 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 48 import { selectFwsyq, startBusinessFlow } from "@/api/ywbl.js";
65 export default { 49 export default {
50 mixins: [table, jump],
66 props: { 51 props: {
67 bsmSqyw: { type: String, default: "" }, 52 isJump: { type: Boolean, default: false },
68 djqxObj: { type: Object, default: "" }, 53 djywbm: { type: String, default: '' }
69 djywbm: { type: String, default: "" }
70 }, 54 },
71 mixins: [table, jump],
72 data () { 55 data () {
73 return { 56 return {
74 activeName: 'first', 57 activeName: 'zrz',
75 queryForm: { 58 queryForm: {
76 qllx: '', 59 qllx: '',
77 bdcdyh: '', 60 bdcdyh: '',
...@@ -84,63 +67,62 @@ export default { ...@@ -84,63 +67,62 @@ export default {
84 columns: datas.columns(), 67 columns: datas.columns(),
85 data: [], 68 data: [],
86 }, 69 },
87 bdcdysz: [], 70 bdcdysz: []
88 saveloding: false,
89 }; 71 };
90 }, 72 },
91 watch: {
92 bsmSqyw (val) {
93 this.fetchData();
94 },
95 },
96 mounted () { 73 mounted () {
97 sendThis(this); 74 sendThis(this)
98 },
99 computed: {
100 ...mapGetters(['dictData']),
101 }, 75 },
102 methods: { 76 methods: {
103 closeDialog () { 77 closeDialog () {
104 this.$emit("closeDialog"); 78 this.$emit("closeDialog");
105 }, 79 },
106 fetchData () { 80 fetchData () {
107 if (this.bsmSqyw) {
108 this.queryForm.sqywbm = this.djywbm; 81 this.queryForm.sqywbm = this.djywbm;
109 console.log(this.queryForm, this.bsmSqyw); 82 selectFwsyq({ ...this.queryForm, ...this.pageData, fwfl: this.activeName }).then((res) => {
110 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
111 if (res.code === 200) { 83 if (res.code === 200) {
112 let { total, records } = res.result; 84 let { total, records } = res.result;
113 this.tableData.total = total; 85 this.tableData.total = total;
114 this.tableData.data = records; 86 this.tableData.data = records;
115 } 87 }
116 }); 88 })
117 } 89 },
90 handleTabClick () {
91 this.pageData.currentPage = 1
92 this.fetchData()
118 }, 93 },
119 submitForm () { 94 submitForm () {
120 if (this.bdcdysz.length == 0) { 95 if (this.bdcdysz.length == 0) {
121 this.$message.error("请至少选择一条数据"); 96 this.$message.error("请至少选择一条数据");
122 return; 97 return;
123 } 98 }
124 this.saveloding = true;
125 startBusinessFlow({ 99 startBusinessFlow({
126 bsmSqyw: this.bsmSqyw, 100 bsmSqyw: Cookies.get("bsmSqyw"),
127 bdcdysz: this.bdcdysz, 101 bdcdysz: this.bdcdysz,
128 djqxbm: this.djqxObj.djqxbm, 102 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
129 djqxmc: this.djqxObj.djqxmc, 103 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
130 }).then((res) => { 104 }).then((res) => {
131 this.saveloding = false;
132 if (res.code == 200) { 105 if (res.code == 200) {
133 this.jump(res.result) 106 this.$message({
107 showClose: true,
108 message: '发起申请成功',
109 type: 'success'
110 })
111 if (!this.isJump) {
112 this.jump(res.result, this.djywbm)
113 } else {
114 this.$emit('updateDialog', true)
115 }
134 } else { 116 } else {
135 this.$message.error(res.message); 117 this.$message.error(res.message);
136 } 118 }
137 }); 119 })
138 }, 120 },
139 handleSelectionChange (val) { 121 handleSelectionChange (val) {
140 this.bdcdysz = val; 122 this.bdcdysz = val
141 } 123 }
142 }, 124 }
143 }; 125 }
144 </script> 126 </script>
145 <style scoped lang="scss"> 127 <style scoped lang="scss">
146 @import "~@/styles/mixin.scss"; 128 @import "~@/styles/mixin.scss";
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="4" class="btnCol"> 19 <el-col :span="4" class="btnCol">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="queryClick()">查询</el-button> 21 <el-button type="primary" @click="fetchData">查询</el-button>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
...@@ -39,18 +39,18 @@ ...@@ -39,18 +39,18 @@
39 </template> 39 </template>
40 <script> 40 <script>
41 //首次登记 41 //首次登记
42 import Cookies from 'js-cookie'
42 import { datas, sendThis } from "../javascript/jsydsyq100.js"; 43 import { datas, sendThis } from "../javascript/jsydsyq100.js";
43 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
44 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
45 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
46 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 47 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
47 export default { 48 export default {
49 mixins: [table, jump],
48 props: { 50 props: {
49 bsmSqyw: { type: String, default: "" }, 51 isJump: { type: Boolean, default: false },
50 djqxObj: { type: Object, default: "" }, 52 djywbm: { type: String, default: '' }
51 djywbm: { type: String, default: "" }
52 }, 53 },
53 mixins: [table, jump],
54 data () { 54 data () {
55 return { 55 return {
56 queryForm: defaultParameters.defaultParameters(), 56 queryForm: defaultParameters.defaultParameters(),
...@@ -65,11 +65,6 @@ export default { ...@@ -65,11 +65,6 @@ export default {
65 saveloding: false, 65 saveloding: false,
66 }; 66 };
67 }, 67 },
68 watch: {
69 bsmSqyw (val) {
70 this.fetchData();
71 },
72 },
73 mounted () { 68 mounted () {
74 sendThis(this); 69 sendThis(this);
75 }, 70 },
...@@ -78,7 +73,6 @@ export default { ...@@ -78,7 +73,6 @@ export default {
78 this.$emit("closeDialog"); 73 this.$emit("closeDialog");
79 }, 74 },
80 fetchData () { 75 fetchData () {
81 if (this.bsmSqyw) {
82 this.queryForm.sqywbm = this.djywbm; 76 this.queryForm.sqywbm = this.djywbm;
83 77
84 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 78 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -88,7 +82,6 @@ export default { ...@@ -88,7 +82,6 @@ export default {
88 this.tableData.data = records; 82 this.tableData.data = records;
89 } 83 }
90 }); 84 });
91 }
92 }, 85 },
93 submitForm () { 86 submitForm () {
94 if (this.bdcdysz.length == 0) { 87 if (this.bdcdysz.length == 0) {
...@@ -97,14 +90,23 @@ export default { ...@@ -97,14 +90,23 @@ export default {
97 } 90 }
98 this.saveloding = true; 91 this.saveloding = true;
99 startBusinessFlow({ 92 startBusinessFlow({
100 bsmSqyw: this.bsmSqyw, 93 bsmSqyw: Cookies.get("bsmSqyw"),
101 bdcdysz: this.bdcdysz, 94 bdcdysz: this.bdcdysz,
102 djqxbm: this.djqxObj.djqxbm, 95 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
103 djqxmc: this.djqxObj.djqxmc, 96 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
104 }).then((res) => { 97 }).then((res) => {
105 this.saveloding = false; 98 this.saveloding = false;
106 if (res.code == 200) { 99 if (res.code == 200) {
107 this.jump(res.result) 100 this.$message({
101 showClose: true,
102 message: '发起申请成功',
103 type: 'success'
104 })
105 if (!this.isJump) {
106 this.jump(res.result, this.djywbm)
107 } else {
108 this.$emit('updateDialog', true)
109 }
108 } else { 110 } else {
109 this.$message.error(res.message); 111 this.$message.error(res.message);
110 } 112 }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 </el-col> 34 </el-col>
35 <el-col :span="2" class="btnCol"> 35 <el-col :span="2" class="btnCol">
36 <el-form-item> 36 <el-form-item>
37 <el-button type="primary" @click="queryClick()">查询</el-button> 37 <el-button type="primary" @click="fetchData">查询</el-button>
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 </el-row> 40 </el-row>
...@@ -55,18 +55,18 @@ ...@@ -55,18 +55,18 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 //首次登记 57 //首次登记
58 import Cookies from 'js-cookie'
58 import { datas, sendThis } from "../javascript/jsydsyq200.js"; 59 import { datas, sendThis } from "../javascript/jsydsyq200.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import table from "@/utils/mixin/table"; 61 import table from "@/utils/mixin/table";
61 import jump from "../components/mixin/jump"; 62 import jump from "../components/mixin/jump";
62 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; 63 import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
63 export default { 64 export default {
65 mixins: [table, jump],
64 props: { 66 props: {
65 bsmSqyw: { type: String, default: "" }, 67 isJump: { type: Boolean, default: false },
66 djqxObj: { type: Object, default: "" }, 68 djywbm: { type: String, default: '' }
67 djywbm: { type: String, default: "" }
68 }, 69 },
69 mixins: [table, jump],
70 data () { 70 data () {
71 return { 71 return {
72 queryForm: defaultParameters.defaultParameters(), 72 queryForm: defaultParameters.defaultParameters(),
...@@ -80,11 +80,6 @@ export default { ...@@ -80,11 +80,6 @@ export default {
80 saveloding: false, 80 saveloding: false,
81 }; 81 };
82 }, 82 },
83 watch: {
84 bsmSqyw (val) {
85 this.fetchData();
86 },
87 },
88 mounted () { 83 mounted () {
89 sendThis(this); 84 sendThis(this);
90 }, 85 },
...@@ -93,7 +88,6 @@ export default { ...@@ -93,7 +88,6 @@ export default {
93 this.$emit("closeDialog"); 88 this.$emit("closeDialog");
94 }, 89 },
95 fetchData () { 90 fetchData () {
96 if (this.bsmSqyw) {
97 this.queryForm.sqywbm = this.djywbm; 91 this.queryForm.sqywbm = this.djywbm;
98 92
99 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 93 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -103,7 +97,6 @@ export default { ...@@ -103,7 +97,6 @@ export default {
103 this.tableData.data = records; 97 this.tableData.data = records;
104 } 98 }
105 }); 99 });
106 }
107 }, 100 },
108 submitForm () { 101 submitForm () {
109 if (this.bdcdysz.length == 0) { 102 if (this.bdcdysz.length == 0) {
...@@ -112,14 +105,23 @@ export default { ...@@ -112,14 +105,23 @@ export default {
112 } 105 }
113 this.saveloding = true; 106 this.saveloding = true;
114 startBusinessFlow({ 107 startBusinessFlow({
115 bsmSqyw: this.bsmSqyw, 108 bsmSqyw: Cookies.get("bsmSqyw"),
116 bdcdysz: this.bdcdysz, 109 bdcdysz: this.bdcdysz,
117 djqxbm: this.djqxObj.djqxbm, 110 djqxbm: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxbm : '',
118 djqxmc: this.djqxObj.djqxmc, 111 djqxmc: Cookies.get("djqxObj") ? JSON.parse(Cookies.get("djqxObj"))?.djqxmc : '',
119 }).then((res) => { 112 }).then((res) => {
120 this.saveloding = false; 113 this.saveloding = false;
121 if (res.code == 200) { 114 if (res.code == 200) {
122 this.jump(res.result) 115 this.$message({
116 showClose: true,
117 message: '发起申请成功',
118 type: 'success'
119 })
120 if (!this.isJump) {
121 this.jump(res.result, this.djywbm)
122 } else {
123 this.$emit('updateDialog', true)
124 }
123 } else { 125 } else {
124 this.$message.error(res.message); 126 this.$message.error(res.message);
125 } 127 }
......
1 export default { 1 export default {
2 methods: { 2 methods: {
3 jump (data) { 3 jump (data, type) {
4 this.$emit("closeDialog"); 4 this.$emit("closeDialog");
5 const { href } = this.$router.resolve( 5 const { href } = this.$router.resolve(
6 "/workFrame?bsmSlsq=" + 6 "/workFrame?bsmSlsq=" +
7 data.bsmSlsq + 7 data.bsmSlsq +
8 "&bestepid=" + 8 "&bestepid=" +
9 data.bestepid + '&bsmBusiness=' 9 data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type
10 ); 10 );
11 window.open(href, "_blank"); 11 window.open(href, "_blank");
12 }, 12 },
......
...@@ -51,11 +51,11 @@ class data extends filter { ...@@ -51,11 +51,11 @@ class data extends filter {
51 label: "宗地面积", 51 label: "宗地面积",
52 }, 52 },
53 { 53 {
54 prop: "qlsdfsmc", 54 prop: "qlsdfs",
55 label: "权利设定方式", 55 label: "权利设定方式",
56 }, 56 },
57 { 57 {
58 prop: "showFwyt", 58 prop: "jzwjbyt",
59 label: "房屋用途", 59 label: "房屋用途",
60 }, 60 },
61 { 61 {
......
1 <template> 1 <template>
2 <dialogBox title="查询权利信息" width="85%" :isButton="false" @closeDialog="closeDialog" v-model="myValue"> 2 <dialogBox title="查询权利信息" width="85%" :isButton="false" :isMain="true" @closeDialog="closeDialog" v-model="myValue">
3 <component :is="editItem" @closeDialog="closeDialog" :bsmSqyw="bsmSqyw" :djqxObj='djqxObj' :djywbm="djywbm" /> 3 <component :is="editItem" @closeDialog="closeDialog" :isJump="isJump" @updateDialog="updateDialog" :djywbm="djywbm"
4 :key="key" />
4 </dialogBox> 5 </dialogBox>
5 </template> 6 </template>
6 <script> 7 <script>
7 import { queueDjywmc } from './slectBdcdata.js'; 8 import { queueDjywmc } from './slectBdcdata.js'
8 export default { 9 export default {
9 props: { 10 props: {
11 isJump: { type: Boolean, default: false },
10 value: { type: Boolean, default: true }, 12 value: { type: Boolean, default: true },
11 bsmSqyw: { type: String, default: '' }, 13 djywbm: { type: String, default: '' }
12 djywbm: { type: String, default: '' },
13 djqxObj: { type: Object, default: '' }
14 }, 14 },
15 data () { 15 data () {
16 return { 16 return {
17 key: 0,
17 editItem: '', 18 editItem: '',
18 myValue: this.value, 19 myValue: this.value,
19 }; 20 }
20 }, 21 },
21 watch: { 22 watch: {
22 value (val) { 23 value (val) {
23 this.myValue = val 24 this.myValue = val
25 this.key++
26 if (this.$route.query.sqywbm) {
27 let dd = queueDjywmc(this.$route.query.sqywbm)
28 this.editItem = this.loadView(dd)
29 }
24 }, 30 },
25 djywbm (val) { 31 'djywbm' (val) {
26 console.log(val); 32 let dd = queueDjywmc(val)
27 let dd = queueDjywmc(val); 33 this.editItem = this.loadView(dd)
28 this.editItem = this.loadView(dd); 34 }
29 },
30 }, 35 },
31 methods: { 36 methods: {
32 loadView (view) { 37 loadView (view) {
33 console.log(view);
34 return r => require.ensure([], () => r(require(`./components/${view}.vue`))) 38 return r => require.ensure([], () => r(require(`./components/${view}.vue`)))
35 }, 39 },
36 closeDialog () { 40 closeDialog () {
37 this.$emit("input", false); 41 this.$emit("input", false)
42 },
43 updateDialog () {
44 this.$emit("input", false)
45 this.key++
38 } 46 }
39 } 47 }
40 }; 48 }
41 </script> 49 </script>
42 <style scoped lang="scss"> 50 <style scoped lang="scss">
43 @import "~@/styles/mixin.scss"; 51 @import "~@/styles/mixin.scss";
......
...@@ -11,8 +11,8 @@ export function queueDjywmc (djywbm) { ...@@ -11,8 +11,8 @@ export function queueDjywmc (djywbm) {
11 case "A03400": 11 case "A03400":
12 vm = "jsydsyq200"; 12 vm = "jsydsyq200";
13 break; 13 break;
14 case "A04100": 14 case "A04100"://国有建设用地使用权/房屋所有权(首次登记)
15 vm = "houseOwnership"; 15 vm = "fwsyq";
16 break; 16 break;
17 case "A05200": 17 case "A05200":
18 case "A05300": 18 case "A05300":
......
...@@ -65,12 +65,13 @@ ...@@ -65,12 +65,13 @@
65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 65 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
66 </div> 66 </div>
67 </div> 67 </div>
68 <fqsqDialog v-model="isDialog" :bsmSqyw="bsmSqyw" :djywbm="djywbm" :djqxObj='djqxObj' /> 68 <fqsqDialog v-model="isDialog" :djywbm="djywbm" />
69 </div> 69 </div>
70 </template> 70 </template>
71 <script> 71 <script>
72 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" 72 import Cookies from 'js-cookie'
73 import fqsqDialog from "./slectBdc.vue" 73 import fqsqDialog from "./slectBdc.vue"
74 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
74 export default { 75 export default {
75 data () { 76 data () {
76 return { 77 return {
...@@ -83,14 +84,9 @@ export default { ...@@ -83,14 +84,9 @@ export default {
83 djlxList: [], 84 djlxList: [],
84 ywList: [], 85 ywList: [],
85 djqxList: [], 86 djqxList: [],
86 bsmSqyw: '',
87 isDialog: false, 87 isDialog: false,
88 btnDisabled: true, 88 btnDisabled: true,
89 djywbm: '', 89 djywbm: ''
90 djqxObj: {
91 djqxbm: "",
92 djqxmc: "",
93 }
94 } 90 }
95 }, 91 },
96 components: { 92 components: {
...@@ -122,16 +118,16 @@ export default { ...@@ -122,16 +118,16 @@ export default {
122 // 业务-登记情形选择 118 // 业务-登记情形选择
123 handleSelectYw (item, list) { 119 handleSelectYw (item, list) {
124 list.forEach(item => { 120 list.forEach(item => {
125 item.cselect = false 121 this.$set(item, 'cselect', false)
126 }) 122 })
127 item.cselect = !item.cselect 123 item.cselect = true
128 this.djqxObj = { 124 Cookies.set("djqxObj", JSON.stringify({
129 'djqxbm': item.nodecode, 125 'djqxbm': item.nodecode,
130 'djqxmc': item.nodename, 126 'djqxmc': item.nodename
131 } 127 }))
132 if (item.sffqlc == '1') { 128 if (item.sffqlc == '1') {
133 this.btnDisabled = false 129 this.btnDisabled = false
134 this.bsmSqyw = item.parentid 130 Cookies.set("bsmSqyw", item.parentid)
135 this.djywbm = item.djywbm 131 this.djywbm = item.djywbm
136 } 132 }
137 }, 133 },
...@@ -147,18 +143,18 @@ export default { ...@@ -147,18 +143,18 @@ export default {
147 this.djlxList = [] 143 this.djlxList = []
148 }, 144 },
149 // 获取下个节点类型 145 // 获取下个节点类型
150 getNextNode (bsmSqyw) { 146 getNextNode (bsmSqyw, type) {
151 getNextNode(bsmSqyw).then(res => { 147 getNextNode(bsmSqyw).then(res => {
152 if (res.result.djqx) this.djqxList = res.result.djqx 148 if (res.result.djqx) this.djqxList = res.result.djqx
153 if (res.result.djlx) this.djlxList = res.result.djlx 149 if (res.result.djlx) this.djlxList = res.result.djlx
150 if (type) {
154 this.djqxList.forEach(item => { 151 this.djqxList.forEach(item => {
155 this.$set(item, 'cselect', false) 152 this.$set(item, 'cselect', false)
156 this.$set(item, 'select', false)
157 }) 153 })
158 this.djlxList.forEach(item => { 154 this.djlxList.forEach(item => {
159 this.$set(item, 'cselect', false) 155 this.$set(item, 'cselect', false)
160 this.$set(item, 'select', false)
161 }) 156 })
157 }
162 }) 158 })
163 }, 159 },
164 handleCollection (item) { 160 handleCollection (item) {
...@@ -171,6 +167,7 @@ export default { ...@@ -171,6 +167,7 @@ export default {
171 message: '收藏成功!', 167 message: '收藏成功!',
172 type: 'success' 168 type: 'success'
173 }) 169 })
170 that.getDataList()
174 } 171 }
175 }) 172 })
176 } else { 173 } else {
...@@ -181,6 +178,7 @@ export default { ...@@ -181,6 +178,7 @@ export default {
181 message: '取消收藏成功!', 178 message: '取消收藏成功!',
182 type: 'success' 179 type: 'success'
183 }) 180 })
181 that.getDataList()
184 } 182 }
185 }) 183 })
186 } 184 }
...@@ -200,10 +198,10 @@ export default { ...@@ -200,10 +198,10 @@ export default {
200 this.$set(item, 'cselect', true) 198 this.$set(item, 'cselect', true)
201 if (item.sffqlc == '1') { 199 if (item.sffqlc == '1') {
202 this.btnDisabled = false 200 this.btnDisabled = false
203 this.bsmSqyw = item.bsmSqyw 201 Cookies.set("bsmSqyw", item.bsmSqyw)
204 this.djywbm = item.djywbm 202 this.djywbm = item.djywbm
205 } else { 203 } else {
206 this.getNextNode(item.bsmSqyw) 204 this.getNextNode(item.bsmSqyw, false)
207 } 205 }
208 this.djqxList = [] 206 this.djqxList = []
209 }, 207 },
......
...@@ -123,43 +123,58 @@ export default { ...@@ -123,43 +123,58 @@ export default {
123 // 高级查询 123 // 高级查询
124 moreQueryClick () { }, 124 moreQueryClick () { },
125 openDialog (scroll) { 125 openDialog (scroll) {
126 //debugger; 126 this.$popup({
127 let _this = this; 127 titleStyle:"left",
128 let bsm = scroll.bsmQlxx; 128 title: '提示', // 弹窗标题
129 axios 129 editItem: 'registerBook/djbFrame', // 弹窗内容
130 .all([ 130 formData: scroll,
131 getDjbfm(bsm), 131 width:"1220px",
132 getDjml(bsm), 132 height:"800px",
133 getZdjbxx(bsm), 133 // cancelText: '取消摆烂', // 右边按钮文本
134 getQlname(bsm), 134 // confirmText: '确定点击', //左边按钮文本
135 getDetail(bsm), 135 cancel: () => {
136 ]) 136 console.log('取消回调')
137 .then(([djbfm, djml, zdjbxx, qlname, detail]) => { 137 },
138 let obj = { 138 confirm: () => {
139 djbfm: djbfm.result, 139 console.log('确认回调')
140 djml: djml.result,
141 zdjbxx: zdjbxx.result,
142 qlname: qlname.result,
143 detail: detail.result,
144 };
145 this.$store.dispatch("djbxx/setDjbxx", obj);
146 _this.isDialog = true;
147
148 // 弹窗打开,自动切换到对应的登记类型
149 if (scroll.qllxmc == "国有建设用地使用权") {
150 this.$refs.djbxxDialog.showType = "JSYDSYQ";
151 } else if (scroll.qllxmc == "抵押权") {
152 this.$refs.djbxxDialog.showType = "DYAQ";
153 } else if (scroll.qllxmc == "地役权") {
154 this.$refs.djbxxDialog.showType = "DYIQ";
155 } else if (scroll.qllxmc == "预告登记") {
156 this.$refs.djbxxDialog.showType = "YGDJ";
157 } else if (scroll.qllxmc == "异议登记") {
158 this.$refs.djbxxDialog.showType = "YYDJ";
159 } else if (scroll.qllxmc == "查封登记") {
160 this.$refs.djbxxDialog.showType = "CFDJ";
161 } 140 }
162 }); 141 })
142 // let _this = this;
143 // let bsm = scroll.bsmQlxx;
144 // axios
145 // .all([
146 // getDjbfm(bsm),
147 // getDjml(bsm),
148 // getZdjbxx(bsm),
149 // getQlname(bsm),
150 // getDetail(bsm),
151 // ])
152 // .then(([djbfm, djml, zdjbxx, qlname, detail]) => {
153 // let obj = {
154 // djbfm: djbfm.result,
155 // djml: djml.result,
156 // zdjbxx: zdjbxx.result,
157 // qlname: qlname.result,
158 // detail: detail.result,
159 // };
160 // this.$store.dispatch("djbxx/setDjbxx", obj);
161 // _this.isDialog = true;
162
163 // // 弹窗打开,自动切换到对应的登记类型
164 // if (scroll.qllxmc == "国有建设用地使用权") {
165 // this.$refs.djbxxDialog.showType = "JSYDSYQ";
166 // } else if (scroll.qllxmc == "抵押权") {
167 // this.$refs.djbxxDialog.showType = "DYAQ";
168 // } else if (scroll.qllxmc == "地役权") {
169 // this.$refs.djbxxDialog.showType = "DYIQ";
170 // } else if (scroll.qllxmc == "预告登记") {
171 // this.$refs.djbxxDialog.showType = "YGDJ";
172 // } else if (scroll.qllxmc == "异议登记") {
173 // this.$refs.djbxxDialog.showType = "YYDJ";
174 // } else if (scroll.qllxmc == "查封登记") {
175 // this.$refs.djbxxDialog.showType = "CFDJ";
176 // }
177 // });
163 }, 178 },
164 }, 179 },
165 }; 180 };
......