a7cda769 by tianhaohao@pashanhoo.com

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

2 parents d38f72b2 7a0705e6
...@@ -517,6 +517,8 @@ ...@@ -517,6 +517,8 @@
517 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); 517 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125);
518 // 恢复原始字体设置 518 // 恢复原始字体设置
519 context.font = originalFont; 519 context.font = originalFont;
520 } else {
521 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
520 } 522 }
521 523
522 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); 524 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123);
......
...@@ -442,6 +442,8 @@ ...@@ -442,6 +442,8 @@
442 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); 442 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125);
443 // 恢复原始字体设置 443 // 恢复原始字体设置
444 context.font = originalFont; 444 context.font = originalFont;
445 } else {
446 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
445 } 447 }
446 448
447 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); 449 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123);
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 15:56:28 4 * @LastEditTime: 2024-01-22 16:30:18
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -171,6 +171,9 @@ ...@@ -171,6 +171,9 @@
171 * @author: renchao 171 * @author: renchao
172 */ 172 */
173 handleSelectionChange (val) { 173 handleSelectionChange (val) {
174 val.forEach((item, index) => {
175 item.bsm = item.zdbsm;
176 });
174 if (this.sqywInfo.sqywdylx == "1") { 177 if (this.sqywInfo.sqywdylx == "1") {
175 if (val.length > 1) { 178 if (val.length > 1) {
176 this.bdcdysz = [...val[val.length - 1]]; 179 this.bdcdysz = [...val[val.length - 1]];
...@@ -183,6 +186,7 @@ ...@@ -183,6 +186,7 @@
183 }, 186 },
184 handleChange () { 187 handleChange () {
185 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) 188 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
189 arr[0].bsm = arr[0].zdbsm
186 this.bdcdysz = arr 190 this.bdcdysz = arr
187 }, 191 },
188 /** 192 /**
...@@ -194,6 +198,7 @@ ...@@ -194,6 +198,7 @@
194 // 如果状态是1,那就是单选 198 // 如果状态是1,那就是单选
195 let refs = 'table'; 199 let refs = 'table';
196 if (this.sqywInfo.sqywdylx == "1") { 200 if (this.sqywInfo.sqywdylx == "1") {
201 row.bsm = row.zdbsm
197 this.bdcdysz = [row] 202 this.bdcdysz = [row]
198 this.radioVal = row.bdcdyid 203 this.radioVal = row.bdcdyid
199 } else { 204 } else {
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 16:24:56
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="坐落" label-width="60px">
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="handleSearch">查询</el-button>
39 <el-button type="primary" @click="resetForm(true)">重置</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/tdjyq100.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectZdjbxx } 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 tableData: {
81 total: 0,
82 columns: datas.columns(),
83 data: [],
84 },
85 bdcdysz: [],
86 };
87 },
88 mounted () {
89 sendThis(this);
90 if (this.sqywInfo.sqywdylx == "1") {
91 this.tableData.columns = [{
92 label: '选择',
93 width: '50px',
94 render: (h, scope) => {
95 return (
96 <div class="orgColumn">
97 <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
98 &ensp;
99 </el-radio>
100 </div>
101 )
102 }
103 }].concat(datas.columns())
104 } else {
105 this.tableData.columns =
106 [{
107 type: 'selection',
108 label: '全选',
109 width: '50'
110 }].concat(datas.columns())
111 }
112 },
113 methods: {
114 /**
115 * @description: queryClick
116 * @author: renchao
117 */
118 queryClick () {
119 this.$startLoading();
120 this.queryForm.sqywbm = this.sqywInfo.djywbm;
121 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
122 this.$endLoading();
123 if (res.code === 200) {
124 let { total, records } = res.result;
125 this.tableData.total = total;
126 this.tableData.data = records;
127 }
128 });
129 },
130 /**
131 * @description: submitForm
132 * @author: renchao
133 */
134 submitForm () {
135 if (this.bdcdysz.length == 0) {
136 this.$message.error("请至少选择一条数据");
137 return;
138 }
139 this.loading = true
140 startBusinessFlow({
141 bsmSqyw: this.sqywInfo.bsmSqyw,
142 bdcdysz: this.bdcdysz,
143 }).then((res) => {
144 this.loading = false
145 if (res.code == 200) {
146 this.$message({
147 showClose: true,
148 message: '发起申请成功',
149 type: 'success'
150 })
151 if (!this.isJump) {
152 this.jump(res.result, this.djywbm)
153 } else {
154 store.dispatch('user/refreshPage', true);
155 }
156 this.$popupCacel()
157 } else {
158 if (res.result && res.result.length > 0) {
159 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
160 } else {
161 ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
162 }
163 }
164 }).catch(() => {
165 this.loading = false
166 })
167 },
168 /**
169 * @description: handleSelectionChange
170 * @param {*} val
171 * @author: renchao
172 */
173 handleSelectionChange (val) {
174 val.forEach((item, index) => {
175 item.bsm = item.zdbsm;
176 });
177 if (this.sqywInfo.sqywdylx == "1") {
178 if (val.length > 1) {
179 this.bdcdysz = [...val[val.length - 1]];
180 } else {
181 this.bdcdysz = val;
182 }
183 } else {
184 this.bdcdysz = val;
185 }
186 },
187 handleChange () {
188 let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
189 arr[0].bsm = arr[0].zdbsm
190 this.bdcdysz = arr
191 },
192 /**
193 * @description: handleRowClick
194 * @param {*} row
195 * @author: renchao
196 */
197 handleRowClick (row) {
198 // 如果状态是1,那就是单选
199 let refs = 'table';
200 if (this.sqywInfo.sqywdylx == "1") {
201 this.bdcdysz = [row]
202 this.radioVal = row.bdcdyid
203 } else {
204 this.$refs[refs].toggleRowSelection(row)
205 }
206 },
207 /**
208 * @description: openBook
209 * @param {*} row
210 * @author: renchao
211 */
212 openBook (row) {
213 var param = {
214 bdcdyid: row.bdcdyid,
215 qllx: row.qllx,
216 bdcdyh: row.bdcdyh,
217 bsmQlxx: row.bsmQlxx,
218 };
219 this.$popup("登记簿详情", "registerBook/djbFrame", {
220 formData: param
221 })
222 }
223 }
224 }
225 </script>
226 <style scoped lang="scss">
227 @import "~@/styles/mixin.scss";
228 @import "~@/styles/public.scss";
229 </style>
230
...@@ -65,9 +65,11 @@ export function queueDjywmc (djywbm, djqxbm) { ...@@ -65,9 +65,11 @@ export function queueDjywmc (djywbm, djqxbm) {
65 vm = "selectFwsyq"; 65 vm = "selectFwsyq";
66 break; 66 break;
67 case "A23100"://农用地使用权(首次登记) 67 case "A23100"://农用地使用权(首次登记)
68 case "A09100"://土地经营权(首次登记)
69 vm = "nydsyq100"; 68 vm = "nydsyq100";
70 break; 69 break;
70 case "A09100"://土地经营权(首次登记)
71 vm = "tdjyq100";
72 break;
71 case "A23200": 73 case "A23200":
72 case "A23300": 74 case "A23300":
73 case "A23400": 75 case "A23400":
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 16:23:21
5 */
6 import filter from '@/utils/filter.js'
7 let vm = null
8
9 const sendThis = (_this) => {
10 vm = _this
11 }
12 class data extends filter {
13 constructor() {
14 super()
15 }
16 columns () {
17 return [
18 {
19 label: '序号',
20 type: 'index',
21 width: '50',
22 render: (h, scope) => {
23 return (
24 <div>
25 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
26 </div>
27 )
28 }
29 },
30 {
31 label: "状态",
32 render: (h, scope) => {
33 return (
34 <div>
35 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
36 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
37 </div>
38 )
39 }
40 },
41 {
42 prop: "qllxmc",
43 label: "权利类型",
44 },
45 {
46 prop: "zddm",
47 label: "宗地代码",
48 },
49 {
50 prop: "bdcdyh",
51 label: "不动产单元号",
52 minWidth: '150'
53 },
54 {
55 prop: "qlxzmc",
56 label: "权利性质",
57 },
58 {
59 prop: "zdmj",
60 label: "面积(㎡)",
61 },
62 {
63 prop: "qlsdfsmc",
64 label: "权利设定方式",
65 },
66 {
67 prop: "showTdyt",
68 label: "土地用途",
69 },
70 {
71 prop: "zl",
72 label: "坐落",
73 minWidth: '130'
74 },
75 ]
76 }
77
78
79 }
80 let datas = new data()
81 export {
82 datas,
83 sendThis
84 }