40eb2956 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 76aa13a9 60aa808e
1 /* 1 /*
2 * @Description: 登记簿详情页 2 * @Description: 登记簿详情页
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:11:14 4 * @LastEditTime: 2023-08-11 15:27:45
5 */ 5 */
6 6
7 import request from '@/utils/request' 7 import request from '@/utils/request'
...@@ -230,3 +230,16 @@ export function getNydsyqList (data) { ...@@ -230,3 +230,16 @@ export function getNydsyqList (data) {
230 method: 'post', 230 method: 'post',
231 }) 231 })
232 } 232 }
233
234 /**
235 * @description: 获取林权登记簿信息
236 * @param {*} data
237 * @author: renchao
238 */
239 export function getLqList (data) {
240 return request({
241 url: SERVER.SERVERAPI + '/rest/djbDetail/getLqList',
242 method: 'post',
243 data
244 })
245 }
......
...@@ -10,7 +10,7 @@ var qlxxPage = [ ...@@ -10,7 +10,7 @@ var qlxxPage = [
10 { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" }, 10 { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" },
11 { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, 11 { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" },
12 { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, 12 { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" },
13 { qllx: "A11", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权" }, 13 { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" },
14 { qllx: "A12", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权/森林、林木使用权" }, 14 { qllx: "A12", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权/森林、林木使用权" },
15 { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, 15 { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" },
16 { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" }, 16 { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" },
......
...@@ -198,7 +198,8 @@ ...@@ -198,7 +198,8 @@
198 flex: 1; 198 flex: 1;
199 border-right: 2px solid #e3e2e2; 199 border-right: 2px solid #e3e2e2;
200 line-height: 40px; 200 line-height: 40px;
201 overflow: hidden; 201 overflow: unset;
202 width: 450px;
202 } 203 }
203 div:last-child{ 204 div:last-child{
204 border: 0; 205 border: 0;
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-08-11 15:33:53
5 -->
6 <template>
7 <div class="djxxTable">
8 <div class="tableBox">
9 <div class="title">
10 {{ title }}
11 <div class="checkbox">
12 <el-checkbox-group v-model="checkList" @change="checkChange">
13 <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox>
14 </el-checkbox-group>
15 </div>
16 </div>
17 <div class="xxTableBox rollTable">
18 <!-- 固定前三个 -->
19 <table class="xxTable">
20 <tr v-for="(item, colindex) in columns" :key="colindex">
21 <td>
22 {{ item.label }}
23 </td>
24 <td v-for="(row, index) in tableData" :key="index" :class="[
25 row.qszt == '2' ? 'lishi' : '',
26 row.qszt == '0' ? 'linshi' : '',
27 row.qlzt == '4' ? 'linshi' : '',
28
29 item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '',
30 item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
31 item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
32 item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : ''
33 ]">
34 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
35 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
36 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button>
37 </div>
38 <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">
39 有效
40 </div>
41 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">
42 正在补录
43 </div>
44 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">
45 正在申请
46 </div>
47 <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">
48 正在注销
49 </div>
50 <span v-if="item.prop == 'qszt'">
51 {{ getQsztName(row[item.prop]) }}
52 </span>
53
54 <span v-else> {{ row[item.prop] }}</span>
55 </td>
56 <td v-for="count in emptycolNum" :key="~count"></td>
57 </tr>
58 </table>
59 </div>
60 </div>
61 </div>
62 </template>
63
64 <script>
65 import { datas } from "./qlxxFormData.js";
66 import { getSjlx } from "@/utils/dictionary.js";
67 import { getLqList } from "@/api/djbDetail.js";
68 export default {
69 data () {
70 return {
71 title: "林地使用权登记信息",
72 qsztList: datas.columns().qsztList,
73 checkList: datas.columns().checkList,
74 //传递参数
75 propsParam: this.$attrs,
76 //列表数据
77 tableData: [],
78 //空列值个数
79 emptycolNum: datas.columns().emptycolNum,
80 //列名称对象
81 columns: datas.columns().LDSYQ,
82 };
83 },
84 created () {
85 this.loadData();
86 },
87 methods: {
88 /**
89 * @description: loadData
90 * @author: renchao
91 */
92 loadData () {
93
94 if (this.$parent.addRepairRecord) {
95 this.columns.unshift({
96 prop: "cz",
97 label: "操作"
98 })
99 }
100 getLqList({
101 bdcdyid: this.propsParam.bdcdyid,
102 qllx: this.propsParam.qllx,
103 qszt: this.checkList,
104 }).then((res) => {
105 if (res.code === 200) {
106 this.tableData = res.result;
107 this.tableData.forEach(item => {
108 item.sjlx = getSjlx(item.sjlx)
109 })
110 if (this.tableData.length < datas.columns().emptycolNum) {
111 this.emptycolNum =
112 datas.columns().emptycolNum - this.tableData.length;
113 } else {
114 this.emptycolNum = 0;
115 }
116 }
117 });
118 },
119 /**
120 * @description: checkChange
121 * @author: renchao
122 */
123 checkChange () {
124 if (this.checkList.length === 0) {
125 this.tableData = [];
126 this.emptycolNum = datas.columns().emptycolNum;
127 } else {
128 this.loadData();
129 }
130 },
131 /**
132 * @description: getQsztName
133 * @param {*} code
134 * @author: renchao
135 */
136 getQsztName (code) {
137 let name = "";
138 for (let item of this.qsztList) {
139 if (item.value == code) {
140 name = item.label;
141 break;
142 }
143 }
144 return name;
145 },
146 // 新增一条补录信息
147 /**
148 * @description: 新增一条补录信息
149 * @param {*} row
150 * @param {*} del
151 * @author: renchao
152 */
153 editDialog (row, del) {
154 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
155 confirmButtonText: '确定',
156 cancelButtonText: '取消',
157 type: 'warning'
158 }).then(() => {
159 this.$parent.addRepairRecord(row, del)
160
161 this.$message({
162 type: 'success',
163 message: '补录成功!'
164 });
165 }).catch(() => {
166 this.$message({
167 type: 'info',
168 message: '取消编辑'
169 });
170 });
171
172 },
173 },
174 };
175 </script>
176
177 <style lang="scss" scoped>
178 @import "./qlxxCommon.scss";
179 </style>
180
...\ No newline at end of file ...\ No newline at end of file
...@@ -1136,6 +1136,92 @@ class data extends filter { ...@@ -1136,6 +1136,92 @@ class data extends filter {
1136 label: "注销异议登记时间", 1136 label: "注销异议登记时间",
1137 }, 1137 },
1138 ], 1138 ],
1139 LDSYQ: [
1140 {
1141 prop: "qszt",
1142 label: "权属状态",
1143 },
1144 {
1145 prop: "sjlx",
1146 label: "数据类型",
1147 },
1148 {
1149 prop: "qllxmc",
1150 label: "权利类型",
1151 },
1152 {
1153 prop: "djlxmc",
1154 label: "登记类型",
1155 },
1156 {
1157 prop: "ssywh",
1158 label: "上手业务号",
1159 },
1160 {
1161 prop: "ywh",
1162 label: "业务号",
1163 },
1164 {
1165 prop: "bdcdyh",
1166 label: "不动产单元号",
1167 },
1168 {
1169 prop: "zl",
1170 label: "坐落",
1171 },
1172 {
1173 prop: "gyqk",
1174 label: "共有情况",
1175 },
1176 {
1177 prop: "qlrlx",
1178 label: "权利人类型",
1179 },
1180 {
1181 prop: "qlrmc",
1182 label: "权利人",
1183 },
1184 {
1185 prop: "qlrzjzl",
1186 label: "证件种类",
1187 },
1188 {
1189 prop: "qlrzjhm",
1190 label: "证件号",
1191 },
1192 {
1193 prop: "qlxzmc",
1194 label: "权利性质",
1195 },
1196 {
1197 prop: "ytmc",
1198 label: "土地用途",
1199 },
1200 {
1201 prop: "fbfdm",
1202 label: "发包方代码",
1203 },
1204 {
1205 prop: "fbfmc",
1206 label: "发包方名称",
1207 },
1208 {
1209 prop: "mjmc",
1210 label: "使用权面积",
1211 },
1212 {
1213 prop: "djjg",
1214 label: "登记机构",
1215 },
1216 {
1217 prop: "dbr",
1218 label: "登簿人",
1219 },
1220 {
1221 prop: "djsj",
1222 label: "登记时间",
1223 },
1224 ]
1139 } 1225 }
1140 } 1226 }
1141 1227
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-09 16:12:34 4 * @LastEditTime: 2023-08-11 15:54:34
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 import store from '@/store/index.js' 56 import store from '@/store/index.js'
57 import table from "@/utils/mixin/table"; 57 import table from "@/utils/mixin/table";
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLqQjdc } from "@/api/ywsq.js"; 59 import { selectZdjbxx } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 61 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
93 queryClick () { 93 queryClick () {
94 this.$startLoading(); 94 this.$startLoading();
95 this.queryForm.sqywbm = this.sqywInfo.djywbm; 95 this.queryForm.sqywbm = this.sqywInfo.djywbm;
96 selectLqQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { 96 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
97 this.$endLoading(); 97 this.$endLoading();
98 if (res.code === 200) { 98 if (res.code === 200) {
99 let { total, records } = res.result; 99 let { total, records } = res.result;
......