95688102 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 91ef8e93 64c69303
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 14:10:30
5 */
6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8
9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
14 export function Init (data) {
15 let apiUrl = "";
16 switch (data.get("djlx")) {
17 case "100":
18 apiUrl = "/system/tdcbjyq/fristInit";
19 break;
20 case "200":
21 apiUrl = "/system/tdcbjyq/transferInit";
22 break;
23 case "300":
24 apiUrl = "/system/tdcbjyq/changeInit";
25 break;
26 case "400":
27 apiUrl = "/system/tdcbjyq/logoutInit";
28 break;
29 case "500":
30 apiUrl = "/system/tdcbjyq/riviseInit";
31 break;
32 case "901":
33 apiUrl = "/system/tdcbjyq/renewalInit";
34 break;
35 case "902":
36 apiUrl = "/system/tdcbjyq/replaceInit";
37 break;
38 }
39 return request({
40 url: SERVER.SERVERAPI + apiUrl,
41 method: 'post',
42 data
43 })
44 }
45 /**
46 * @description: 受理信息保存
47 * @param {*} data
48 * @author: renchao
49 */
50 export function saveData (data) {
51 return request({
52 url: SERVER.SERVERAPI + '/system/tdcbjyq/saveData',
53 method: 'post',
54 data
55 })
56 }
1 /* 1 /*
2 * @Description: 业务申请 2 * @Description: 业务申请
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-14 09:30:08 4 * @LastEditTime: 2024-01-23 13:17:00
5 */ 5 */
6 6
7 import request from '@/utils/request' 7 import request from '@/utils/request'
...@@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) { ...@@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) {
84 }) 84 })
85 } 85 }
86 86
87 /**
88 * @description: 业务办理-查询土地承包经营权-根据条件进行列表查询
89 * @param {*} data
90 * @author: renchao
91 */
92 export function selectTdcbjyq (data) {
93 return request({
94 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectTdcbjyq',
95 method: 'post',
96 data
97 })
98 }
99
87 100
88 /** 101 /**
89 * @description: 业务办理-选择单元-查询宗地基本信息 102 * @description: 业务办理-选择单元-查询宗地基本信息
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 14:56:43 4 * @LastEditTime: 2024-01-23 14:07:58
5 */ 5 */
6 /** 6 /**
7 * @description: 流程环节操作按钮 7 * @description: 流程环节操作按钮
...@@ -21,6 +21,10 @@ export function getForm (tabName) { ...@@ -21,6 +21,10 @@ export function getForm (tabName) {
21 case "jsydsyqslxx300": 21 case "jsydsyqslxx300":
22 form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); 22 form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
23 break; 23 break;
24 //土地承包经营权
25 case "tdcbjyqslxx100":
26 form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue");
27 break;
24 //国有建设用地使用权/房屋所有权 28 //国有建设用地使用权/房屋所有权
25 case "fwsyqdzslxx": 29 case "fwsyqdzslxx":
26 form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); 30 form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue");
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-24 17:35:49 4 * @LastEditTime: 2024-01-23 15:14:11
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
215 :key="key" 215 :key="key"
216 :gyfs="ruleForm.sldy.gyfs" /> 216 :gyfs="ruleForm.sldy.gyfs" />
217 217
218 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 218 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200">
219 <div class="slxx_title title-block"> 219 <div class="slxx_title title-block">
220 义务人信息 220 义务人信息
221 <div class="triangle"></div> 221 <div class="triangle"></div>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 16:48:47 4 * @LastEditTime: 2024-01-23 15:15:58
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 <!-- 表格 --> 33 <!-- 表格 -->
34 <div class="from-clues-content loadingtext"> 34 <div class="from-clues-content loadingtext">
35 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 35 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
36 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" 36 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
37 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 37 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
38 :data="tableData.data"> 38 :data="tableData.data">
39 </lb-table> 39 </lb-table>
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
62 }, 62 },
63 data () { 63 data () {
64 return { 64 return {
65 radioVal: '',
65 loading: false, 66 loading: false,
66 queryForm: defaultParameters.defaultParameters(), 67 queryForm: defaultParameters.defaultParameters(),
67 qllxs: [], 68 qllxs: [],
...@@ -75,6 +76,28 @@ ...@@ -75,6 +76,28 @@
75 }, 76 },
76 mounted () { 77 mounted () {
77 sendThis(this); 78 sendThis(this);
79 if (this.sqywInfo.sqywdylx == "1") {
80 this.tableData.columns = [{
81 label: '选择',
82 width: '50px',
83 render: (h, scope) => {
84 return (
85 <div class="orgColumn">
86 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
87 &ensp;
88 </el-radio>
89 </div>
90 )
91 }
92 }].concat(datas.columns())
93 } else {
94 this.tableData.columns =
95 [{
96 type: 'selection',
97 label: '全选',
98 width: '50'
99 }].concat(datas.columns())
100 }
78 }, 101 },
79 methods: { 102 methods: {
80 /** 103 /**
...@@ -158,21 +181,10 @@ ...@@ -158,21 +181,10 @@
158 formData: param 181 formData: param
159 }) 182 })
160 }, 183 },
161 /** 184 handleChange () {
162 * @description: select 185 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
163 * @param {*} selection 186 arr[0].bsm = arr[0].zdbsm
164 * @param {*} row 187 this.bdcdysz = arr
165 * @author: renchao
166 */
167 select (selection, row) {
168 if (this.sqywInfo.sqywdylx == "1") {
169 // 清除 所有勾选项
170 this.$refs.table.clearSelection()
171 // 当表格数据都没有被勾选的时候 就返回
172 // 主要用于将当前勾选的表格状态清除
173 if (selection.length == 0) return
174 this.$refs.table.toggleRowSelection(row, true);
175 }
176 }, 188 },
177 /** 189 /**
178 * @description: handleRowClick 190 * @description: handleRowClick
...@@ -181,28 +193,15 @@ ...@@ -181,28 +193,15 @@
181 */ 193 */
182 handleRowClick (row) { 194 handleRowClick (row) {
183 // 如果状态是1,那就是单选 195 // 如果状态是1,那就是单选
196 let refs = 'table';
184 if (this.sqywInfo.sqywdylx == "1") { 197 if (this.sqywInfo.sqywdylx == "1") {
185 const bdcdysz = this.bdcdysz 198 row.bsm = row.zdbsm
186 this.$refs.table.clearSelection() 199 this.bdcdysz = [row]
187 if (bdcdysz.length == 1) { 200 this.radioVal = row.bdcdyid
188 bdcdysz.forEach(item => {
189 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
190 if (item == row) {
191 this.$refs.table.toggleRowSelection(row, false);
192 }
193 // 不然就让当前的一行勾选
194 else {
195 this.$refs.table.toggleRowSelection(row, true);
196 }
197 })
198 }
199 else {
200 this.$refs.table.toggleRowSelection(row, true);
201 }
202 } else { 201 } else {
203 this.$refs.table.toggleRowSelection(row); 202 this.$refs[refs].toggleRowSelection(row)
204 } 203 }
205 }, 204 }
206 } 205 }
207 } 206 }
208 </script> 207 </script>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 14:18:01 4 * @LastEditTime: 2024-01-23 13:47:01
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <!-- 表格 --> 53 <!-- 表格 -->
54 <div class="from-clues-content loadingtext"> 54 <div class="from-clues-content loadingtext">
55 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 55 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
56 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" 56 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
57 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 57 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
58 :data="tableData.data"> 58 :data="tableData.data">
59 </lb-table> 59 </lb-table>
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
82 }, 82 },
83 data () { 83 data () {
84 return { 84 return {
85 radioVal: '',
85 loading: false, 86 loading: false,
86 queryForm: defaultParameters.defaultParameters(), 87 queryForm: defaultParameters.defaultParameters(),
87 tableData: { 88 tableData: {
...@@ -94,6 +95,28 @@ ...@@ -94,6 +95,28 @@
94 }, 95 },
95 mounted () { 96 mounted () {
96 sendThis(this); 97 sendThis(this);
98 if (this.sqywInfo.sqywdylx == "1") {
99 this.tableData.columns = [{
100 label: '选择',
101 width: '50px',
102 render: (h, scope) => {
103 return (
104 <div class="orgColumn">
105 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
106 &ensp;
107 </el-radio>
108 </div>
109 )
110 }
111 }].concat(datas.columns())
112 } else {
113 this.tableData.columns =
114 [{
115 type: 'selection',
116 label: '全选',
117 width: '50'
118 }].concat(datas.columns())
119 }
97 }, 120 },
98 methods: { 121 methods: {
99 /** 122 /**
...@@ -182,21 +205,10 @@ ...@@ -182,21 +205,10 @@
182 formData: param 205 formData: param
183 }) 206 })
184 }, 207 },
185 /** 208 handleChange () {
186 * @description: select 209 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
187 * @param {*} selection 210 arr[0].bsm = arr[0].zdbsm
188 * @param {*} row 211 this.bdcdysz = arr
189 * @author: renchao
190 */
191 select (selection, row) {
192 if (this.sqywInfo.sqywdylx == "1") {
193 // 清除 所有勾选项
194 this.$refs.table.clearSelection()
195 // 当表格数据都没有被勾选的时候 就返回
196 // 主要用于将当前勾选的表格状态清除
197 if (selection.length == 0) return
198 this.$refs.table.toggleRowSelection(row, true);
199 }
200 }, 212 },
201 /** 213 /**
202 * @description: handleRowClick 214 * @description: handleRowClick
...@@ -205,26 +217,13 @@ ...@@ -205,26 +217,13 @@
205 */ 217 */
206 handleRowClick (row) { 218 handleRowClick (row) {
207 // 如果状态是1,那就是单选 219 // 如果状态是1,那就是单选
220 let refs = 'table';
208 if (this.sqywInfo.sqywdylx == "1") { 221 if (this.sqywInfo.sqywdylx == "1") {
209 const bdcdysz = this.bdcdysz 222 row.bsm = row.zdbsm
210 this.$refs.table.clearSelection() 223 this.bdcdysz = [row]
211 if (bdcdysz.length == 1) { 224 this.radioVal = row.bdcdyid
212 bdcdysz.forEach(item => {
213 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
214 if (item == row) {
215 this.$refs.table.toggleRowSelection(row, false);
216 }
217 // 不然就让当前的一行勾选
218 else {
219 this.$refs.table.toggleRowSelection(row, true);
220 }
221 })
222 }
223 else {
224 this.$refs.table.toggleRowSelection(row, true);
225 }
226 } else { 225 } else {
227 this.$refs.table.toggleRowSelection(row); 226 this.$refs[refs].toggleRowSelection(row)
228 } 227 }
229 } 228 }
230 } 229 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 16:24:56 4 * @LastEditTime: 2024-01-23 13:40:23
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -198,6 +198,7 @@ ...@@ -198,6 +198,7 @@
198 // 如果状态是1,那就是单选 198 // 如果状态是1,那就是单选
199 let refs = 'table'; 199 let refs = 'table';
200 if (this.sqywInfo.sqywdylx == "1") { 200 if (this.sqywInfo.sqywdylx == "1") {
201 row.bsm = row.zdbsm
201 this.bdcdysz = [row] 202 this.bdcdysz = [row]
202 this.radioVal = row.bdcdyid 203 this.radioVal = row.bdcdyid
203 } else { 204 } else {
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:44:44
5 -->
6 <template>
7 <div class="from-clues">
8 <!-- 表单部分 -->
9 <div class="from-clues-header">
10 <el-form :model="queryForm" ref="queryForm" label-width="100px">
11 <el-row>
12 <el-col :span="6">
13 <el-form-item label="不动产单元号">
14 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
15 </el-input>
16 </el-form-item>
17 </el-col>
18 <el-col :span="6">
19 <el-form-item label="坐落">
20 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
21 </el-input>
22 </el-form-item>
23 </el-col>
24 <el-col :span="6">
25 <el-form-item label="权利人">
26 <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100">
27 </el-input>
28 </el-form-item>
29 </el-col>
30 <el-col :span="6">
31 <el-form-item label="证件号">
32 <el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100">
33 </el-input>
34 </el-form-item>
35 </el-col>
36 <el-col :span="24" class="btnColRight">
37 <el-form-item>
38 <el-button type="primary" @click="resetForm(true)">重置</el-button>
39 <el-button type="primary" @click="handleSearch">查询</el-button>
40 </el-form-item>
41 </el-col>
42 </el-row>
43 </el-form>
44 </div>
45 <!-- 表格 -->
46 <div class="from-clues-content loadingtext">
47 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
48 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
49 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
50 :data="tableData.data">
51 </lb-table>
52 </div>
53 <div class="submit_button">
54 <el-button @click="$popupCacel">取消</el-button>
55 <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
56 </div>
57 </div>
58 </template>
59 <script>
60 //首次登记
61 import store from '@/store/index.js'
62 import ywsqTable from "@/utils/mixin/ywsqTable";
63 import jump from "../components/mixin/jump";
64 import { ywPopupDialog } from "@/utils/popup.js";
65 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectTdcbjyq } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js";
69 export default {
70 mixins: [ywsqTable, jump],
71 props: {
72 isJump: { type: Boolean, default: false },
73 sqywInfo: { type: Object, default: () => { } },
74 },
75 data () {
76 return {
77 radioVal: '',
78 loading: false,
79 queryForm: defaultParameters.defaultParameters(),
80 qllxs: [],
81 tableData: {
82 total: 0,
83 columns: datas.columns(),
84 data: [],
85 },
86 bdcdysz: []
87 };
88 },
89 mounted () {
90 sendThis(this);
91 if (this.sqywInfo.sqywdylx == "1") {
92 this.tableData.columns = [{
93 label: '选择',
94 width: '50px',
95 render: (h, scope) => {
96 return (
97 <div class="orgColumn">
98 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
99 &ensp;
100 </el-radio>
101 </div>
102 )
103 }
104 }].concat(datas.columns())
105 } else {
106 this.tableData.columns =
107 [{
108 type: 'selection',
109 label: '全选',
110 width: '50'
111 }].concat(datas.columns())
112 }
113 },
114 methods: {
115 /**
116 * @description: queryClick
117 * @author: renchao
118 */
119 queryClick () {
120 this.$startLoading();
121 this.queryForm.sqywbm = this.sqywInfo.djywbm;
122 selectTdcbjyq({ ...this.queryForm, ...this.pageData }).then((res) => {
123 this.$endLoading();
124 if (res.code === 200) {
125 let { total, records } = res.result;
126 this.tableData.total = total;
127 this.tableData.data = records;
128 }
129 })
130 },
131 /**
132 * @description: submitForm
133 * @author: renchao
134 */
135 submitForm () {
136 if (this.bdcdysz.length == 0) {
137 this.$message.error("请至少选择一条数据");
138 return;
139 }
140 this.loading = true
141 startBusinessFlow({
142 bsmSqyw: this.sqywInfo.bsmSqyw,
143 bdcdysz: this.bdcdysz,
144 }).then((res) => {
145 this.loading = false
146 if (res.code == 200) {
147 this.$message({
148 showClose: true,
149 message: '发起申请成功',
150 type: 'success'
151 })
152 if (!this.isJump) {
153 this.jump(res.result)
154 } else {
155 store.dispatch('user/refreshPage', true);
156 }
157 this.$popupCacel()
158 } else {
159 if (res.result && res.result.length > 0) {
160 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
161 } else {
162 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
163 }
164 }
165 }).catch(() => {
166 this.loading = false
167 })
168 },
169 /**
170 * @description: handleSelectionChange
171 * @param {*} val
172 * @author: renchao
173 */
174 handleSelectionChange (val) {
175 val.forEach((item, index) => {
176 item.bsm = item.zdbsm;
177 });
178 if (this.sqywInfo.sqywdylx == "1") {
179 if (val.length > 1) {
180 this.bdcdysz = [...val[val.length - 1]];
181 } else {
182 this.bdcdysz = val;
183 }
184 } else {
185 this.bdcdysz = val;
186 }
187 },
188 /**
189 * @description: openBook
190 * @param {*} row
191 * @author: renchao
192 */
193 openBook (row) {
194 var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
195 this.$popup('登记簿详情', 'registerBook/djbFrame', {
196 formData: param
197 })
198 },
199 handleChange () {
200 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
201 arr[0].bsm = arr[0].zdbsm
202 this.bdcdysz = arr
203 },
204 /**
205 * @description: handleRowClick
206 * @param {*} row
207 * @author: renchao
208 */
209 handleRowClick (row) {
210 // 如果状态是1,那就是单选
211 let refs = 'table';
212 if (this.sqywInfo.sqywdylx == "1") {
213 row.bsm = row.zdbsm
214 this.bdcdysz = [row]
215 this.radioVal = row.bdcdyid
216 } else {
217 this.$refs[refs].toggleRowSelection(row)
218 }
219 }
220 }
221 }
222 </script>
223 <style scoped lang="scss">
224 @import "~@/styles/mixin.scss";
225 @import "~@/styles/public.scss";
226 </style>
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 09:44:35 4 * @LastEditTime: 2024-01-23 13:43:12
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -15,11 +15,11 @@ class data extends filter { ...@@ -15,11 +15,11 @@ class data extends filter {
15 } 15 }
16 columns () { 16 columns () {
17 return [ 17 return [
18 { 18 // {
19 type: 'selection', 19 // type: 'selection',
20 label: '全选', 20 // label: '全选',
21 selectable: this.selected 21 // selectable: this.selected
22 }, 22 // },
23 { 23 {
24 label: '序号', 24 label: '序号',
25 type: 'index', 25 type: 'index',
......
...@@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) { ...@@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) {
73 case "A23200": 73 case "A23200":
74 case "A23300": 74 case "A23300":
75 case "A23400": 75 case "A23400":
76 case "A09200": 76 case "A09200": // 土地承包经营权(转移登记)
77 vm = "tdjyq200";
78 break;
77 case "A09300": 79 case "A09300":
78 case "A09400": 80 case "A09400":
79 vm = "nydsyq200"; 81 vm = "nydsyq200";
......