2bd85f7d by “miaofang
2 parents 00375c19 5121589e
Showing 43 changed files with 1522 additions and 389 deletions
/*
* @Description: 材料信息
* @Autor: renchao
* @LastEditTime: 2023-09-18 16:03:16
* @LastEditTime: 2024-01-19 16:00:03
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......
/*
* @Description: 互联共享数据
* @Autor:
* @LastEditTime: 2023-09-06 09:47:59
* @LastEditTime: 2024-01-23 15:37:47
*/
import request from "@/utils/request";
......@@ -16,7 +16,7 @@ let SERVER = window.config
*/
export function sfhc(data) {
return request({
url: SERVER.SERVERAPI + "/v1/gab/sfhc",
url: SERVER.SERVERAPI + "/rest/bj/sfhc",
method: "post",
data,
});
......@@ -28,7 +28,7 @@ export function sfhc(data) {
*/
export function hy(data) {
return request({
url: SERVER.SERVERAPI + "/v1/mzb/hy",
url: SERVER.SERVERAPI + "/rest/bj/hy",
method: "post",
data,
});
......@@ -40,7 +40,7 @@ export function hy(data) {
*/
export function jrxkz(data) {
return request({
url: SERVER.SERVERAPI + "/v1/ybj/jrxkz",
url: SERVER.SERVERAPI + "/rest/bj/jrxkz",
method: "post",
data,
});
......@@ -52,7 +52,7 @@ export function jrxkz(data) {
*/
export function qyjbxx(data) {
return request({
url: SERVER.SERVERAPI + "/v1/scjg/qyjbxx",
url: SERVER.SERVERAPI + "/rest/scjg/qyjbxx",
method: "post",
data,
});
......@@ -64,7 +64,7 @@ export function qyjbxx(data) {
*/
export function qyjbxxyz(data) {
return request({
url: SERVER.SERVERAPI + "/v1/scjg/qyjbxxyz",
url: SERVER.SERVERAPI + "/rest/scjg/qyjbxxyz",
method: "post",
data,
});
......@@ -76,7 +76,7 @@ export function qyjbxxyz(data) {
*/
export function dm(data) {
return request({
url: SERVER.SERVERAPI + "/v1/mzb/dm",
url: SERVER.SERVERAPI + "/rest/bj/dm",
method: "post",
data,
});
......@@ -88,7 +88,7 @@ export function dm(data) {
*/
export function gtgshjbxx(data) {
return request({
url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxx",
url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxx",
method: "post",
data,
});
......@@ -100,7 +100,7 @@ export function gtgshjbxx(data) {
*/
export function gtgshjbxxyz(data) {
return request({
url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxxyz",
url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxxyz",
method: "post",
data,
});
......@@ -112,7 +112,7 @@ export function gtgshjbxxyz(data) {
*/
export function xydm(data) {
return request({
url: SERVER.SERVERAPI + "/v1/zbb/xydm",
url: SERVER.SERVERAPI + "/rest/bj/xydm",
method: "post",
data,
});
......@@ -124,7 +124,7 @@ export function xydm(data) {
*/
export function jgxxcx(data) {
return request({
url: SERVER.SERVERAPI + "/v1/mzb/xydm",
url: SERVER.SERVERAPI + "/rest/bj/mzbxydm",
method: "post",
data,
});
......@@ -136,7 +136,7 @@ export function jgxxcx(data) {
*/
export function bdcdj(data) {
return request({
url: SERVER.SERVERAPI + "/v1/mzt/bdcdj",
url: SERVER.SERVERAPI + "/rest/mzsf/mzt/bdcdj",
method: "post",
data,
});
......@@ -148,7 +148,7 @@ export function bdcdj(data) {
*/
export function dzyyzz(data) {
return request({
url: SERVER.SERVERAPI + "/v1/sczj/dzyyzz",
url: SERVER.SERVERAPI + "/rest/scjg/dzyyzz",
method: "post",
data,
});
......@@ -158,11 +158,11 @@ export function dzyyzz(data) {
* @param {*} data
* @author:
*/
export function gzsxx(data) {
export function gzsxx(params) {
return request({
url: SERVER.SERVERAPI + "/v1/sft/gzsxx",
method: "post",
data,
url: SERVER.SERVERAPI + "/rest/mzsf/sft/gzsxx",
method: "get",
params,
});
}
/**
......@@ -172,7 +172,7 @@ export function gzsxx(data) {
*/
export function pjws(data) {
return request({
url: SERVER.SERVERAPI + "/v1/zgf/pjws",
url: SERVER.SERVERAPI + "/rest/bj/pjws",
method: "post",
data,
});
......@@ -184,9 +184,8 @@ export function pjws(data) {
*/
export function pjwsDetail(data) {
return request({
url: SERVER.SERVERAPI + "/v1/zgf/pjwsDetail",
url: SERVER.SERVERAPI + "/rest/bj/pjwsDetail",
method: "post",
data,
});
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:30:58
* @LastEditTime: 2024-01-23 10:59:37
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -11,29 +11,14 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
* @param data
* @author ssq 2023年5月26日14点29分
*/
export function BatchInit(data){
export function BatchInit (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/fristBatchInit";
break;
case "200":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/transferInit";
break;
case "300":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/changeInit";
break;
case "400":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutBatchSave";
break;
case "500":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/riviseInit";
break;
case "901":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/renewalInit";
break;
case "902":
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/replaceInit";
apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutBatchInit";
break;
}
return request({
......@@ -47,7 +32,7 @@ export function BatchInit(data){
* @param {*} data
* @author: renchao
*/
export function Init (data) {
export function Init(data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
......@@ -83,9 +68,13 @@ export function Init (data) {
* @param {*} data
* @author: renchao
*/
export function saveBatchData (data) {
export function saveBatchData(data) {
let path = "/rest/ywbl/fdcq2lr/fristBatchSave";
if (data.slsq.djywbm.includes("400")) {
path = "/rest/ywbl/fdcq2lr/logoutBatchSave";
}
return request({
url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveBatchData",
url: SERVER.SERVERAPI + path,
method: 'post',
data
})
......@@ -96,7 +85,7 @@ export function saveBatchData (data) {
* @param {*} data
* @author: renchao
*/
export function saveData (data) {
export function saveData(data) {
return request({
url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData",
method: 'post',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 14:10:30
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 初始化
* @param {*} data
* @author: renchao
*/
export function Init (data) {
let apiUrl = "";
switch (data.get("djlx")) {
case "100":
apiUrl = "/system/tdcbjyq/fristInit";
break;
case "200":
apiUrl = "/system/tdcbjyq/transferInit";
break;
case "300":
apiUrl = "/system/tdcbjyq/changeInit";
break;
case "400":
apiUrl = "/system/tdcbjyq/logoutInit";
break;
case "500":
apiUrl = "/system/tdcbjyq/riviseInit";
break;
case "901":
apiUrl = "/system/tdcbjyq/renewalInit";
break;
case "902":
apiUrl = "/system/tdcbjyq/replaceInit";
break;
}
return request({
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
data
})
}
/**
* @description: 受理信息保存
* @param {*} data
* @author: renchao
*/
export function saveData (data) {
return request({
url: SERVER.SERVERAPI + '/system/tdcbjyq/saveData',
method: 'post',
data
})
}
/*
* @Description: 业务申请
* @Autor: renchao
* @LastEditTime: 2023-11-14 09:30:08
* @LastEditTime: 2024-01-23 13:17:00
*/
import request from '@/utils/request'
......@@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) {
})
}
/**
* @description: 业务办理-查询土地承包经营权-根据条件进行列表查询
* @param {*} data
* @author: renchao
*/
export function selectTdcbjyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectTdcbjyq',
method: 'post',
data
})
}
/**
* @description: 业务办理-选择单元-查询宗地基本信息
......@@ -207,6 +220,35 @@ export function selectFwsyq (data) {
data
})
}
/**
* 业务办理-选择权利信息-根据条件进行列表查询
* @param data
* @returns {*}
*/
export function selectFwsyqQlxxSplitMergeBefore (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxxSplitMergeBefore',
method: 'post',
data
})
}
/**
* 业务办理-选择权利信息-根据条件进行列表查询
* @param data
* @returns {*}
*/
export function selectHSplitMerge (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHSplitMerge',
method: 'post',
data
})
}
/**
* 业务办理-预告登记-选择权利信息-根据条件进行列表查询
* @param data
......
......@@ -126,7 +126,7 @@ export const asyncRoutes = [
component: () => import('@/views/ywbl/ybx/ybx.vue'),
name: 'ybx',
meta: { title: '已办箱' }
}, {
}, {
path: 'ycsl',
id: '24',
parentId: '2',
......
......@@ -2,7 +2,7 @@
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-09-20 14:20:39
* @LastEditTime: 2024-01-22 17:02:42
*/
import axios from 'axios'
import Router from '@/router'
......@@ -18,7 +18,7 @@ const service = axios.create({
: window._config.baseUrl + "/",
withCredentials: true, //是否允许跨域
headers: {
'Content-Type': 'application/json; charset=utf-8'
'Content-Type': 'application/json'
},
timeout: 15000
})
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 13:58:43
* @LastEditTime: 2024-01-19 16:48:37
-->
<template>
<div class="from-clues">
......@@ -80,13 +80,13 @@
popupCacel();
that.$message.success("转件成功");
setTimeout(() => {
window.close();
that.$emit("input", false);
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
that.$emit("input", false);
}, 360);
} else {
this.$message.error(res.message);
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-21 09:55:21
* @LastEditTime: 2024-01-22 14:59:51
*/
//流程环节操作按钮
export function getForm (tabName) {
let form;
if (tabName == 0) return
switch (tabName) {
case "zdjbxx":
form = require("@/views/registerBook/zdjbxx.vue");
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-09 10:18:46
* @LastEditTime: 2024-01-19 16:30:06
-->
<template>
<div class="clxx">
......@@ -45,7 +45,7 @@
<script>
import store from '@/store/index.js'
import imagePreview from "./dialog/imagePreview.vue";
import { repairInitClml, getClmxList } from "@/api/clxx.js";
import { InitClml, repairInitClml, getClmxList } from "@/api/clxx.js";
export default {
components: { imagePreview },
props: {
......@@ -87,7 +87,7 @@
}
},
created () {
this.clmlInitList()
this.clmlInitList(1)
},
methods: {
/**
......@@ -148,26 +148,51 @@
clmlInitList (type) {
// 1:列表初始化 2:新增材料
return new Promise((resolve) => {
console.log(this.formData, 'this.formData');
repairInitClml(this.formData).then((res) => {
if (res.code == 200) {
resolve(res.code);
if (res.result && res.result.length > 0) {
this.tableData = res.result;
if (type == 1) {
this.treeClick(this.tableData[0], 0);
} else {
//新增材料后刷新列表焦点置于新增的对象上
this.treeClick(
this.tableData[this.tableData.length - 1],
this.tableData.length - 1
);
if (this.formData.sjlx == 2) {
repairInitClml(this.formData).then((res) => {
if (res.code == 200) {
resolve(res.code);
if (res.result && res.result.length > 0) {
this.tableData = res.result;
if (type == 1) {
this.treeClick(this.tableData[0], 0);
} else {
//新增材料后刷新列表焦点置于新增的对象上
this.treeClick(
this.tableData[this.tableData.length - 1],
this.tableData.length - 1
);
}
}
} else {
this.$message.error(res.message);
}
} else {
this.$message.error(res.message);
}
})
})
} else {
var formdata = new FormData();
formdata.append("bsmSlsq", this.formData.bsmSlsq);
formdata.append("bsmSldy", this.formData.bsmSldy);
InitClml(formdata).then((res) => {
if (res.code == 200) {
resolve(res.code);
if (res.result && res.result.length > 0) {
this.tableData = res.result;
if (type == 1) {
this.treeClick(this.tableData[0], 0);
} else {
//新增材料后刷新列表焦点置于新增的对象上
this.treeClick(
this.tableData[this.tableData.length - 1],
this.tableData.length - 1
);
}
}
} else {
this.$message.error(res.message);
}
})
}
})
},
/**
......@@ -280,13 +305,11 @@
position: absolute;
.menu-tree {
width: 20%;
width: 26%;
min-width: 160px;
height: 100%;
margin-right: 10px;
margin-right: 5px;
border-right: 1px dotted #d9d9d9;
padding: 0 15px;
.item {
line-height: 30px;
padding-top: 5px;
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 15:46:35
* @LastEditTime: 2024-01-19 16:10:10
-->
<template>
<div class="tableBox">
......@@ -260,19 +260,19 @@
if (sjlx == '系统数据') {
getXtParamsByYwh(ywh).then(res => {
let data = res.result
// that.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '60%',
// formData: data
// })
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
window.open(href, `urlname${new Date().getTime()}`)
that.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '70%',
formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy }
})
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
})
} else {
getBlParamsByYwh(ywh, bsmQlxx).then(res => {
let data = res.result
this.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '60%',
formData: data
width: '70%',
formData: { ...data, sjlx: 2 }
})
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-14 15:43:23
* @LastEditTime: 2024-01-23 10:37:15
-->
<template>
<div class="content">
......@@ -94,8 +94,17 @@
};
},
props: ["formData"],
mounted () {
this.loadData(this.formData.bdcdyh);
// mounted () {
// this.loadData(this.formData.bdcdyh);
// },
watch: {
'formData.bdcdyh': {
handler (newName, oldName) {
this.loadData(this.formData.bdcdyh);
},
immediate: true,
deep: true
}
},
methods: {
/**
......
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2024-01-19 15:46:23
* @LastEditTime: 2024-01-19 16:09:59
-->
<template>
<div class="djxxTable">
......@@ -307,19 +307,19 @@
if (sjlx == '系统数据') {
getXtParamsByYwh(ywh).then(res => {
let data = res.result
// that.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '60%',
// formData: data
// })
const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
window.open(href, `urlname${new Date().getTime()}`)
that.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '70%',
formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy }
})
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
})
} else {
getBlParamsByYwh(ywh, bsmQlxx).then(res => {
let data = res.result
this.$popup('材料信息', 'registerBook/components/clxx/index', {
width: '60%',
formData: data
width: '70%',
formData: { ...data, sjlx: 2 }
})
})
}
......
<!--
* @Author: yangwei
* @Date: 2023-09-06 09:00:34
* @LastEditors: yangwei
* @LastEditTime: 2023-09-07 11:11:32
* @LastEditors: vers
* @LastEditTime: 2024-01-23 15:36:59
* @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\gzsxxcx.vue
* @Description:
*
......@@ -19,7 +19,7 @@
label-width="80px"
>
<el-row>
<el-col :span="9">
<!-- <el-col :span="9">
<el-form-item label="业务号">
<el-input
placeholder="业务号"
......@@ -29,12 +29,12 @@
>
</el-input>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="9">
<el-form-item label="证件号码">
<el-input
placeholder="证件号码"
v-model="queryForm.certCode"
v-model="queryForm.zjhm"
clearable
class="width100"
>
......@@ -74,7 +74,8 @@
</el-table-column>
<el-table-column prop="notary_name" label="公证员" width="120">
</el-table-column>
<el-table-column prop="accept_date" label="公证日期" width="120"> </el-table-column>
<el-table-column prop="accept_date" label="公证日期" width="120">
</el-table-column>
<el-table-column prop="fwbh" label="房屋编号" width="120">
</el-table-column>
<el-table-column prop="mj" label="面积" width="120">
......
......@@ -259,7 +259,7 @@ class data extends filter {
{
vm.form.djqx.map(option => {
return (
<el-option label={option.nodename} value={option.bsmSqyw}></el-option>
<el-option label={option.nodename} value={option.nodecode}></el-option>
)
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-13 13:38:21
* @LastEditTime: 2024-01-22 15:49:28
-->
<template>
<div>
......@@ -111,7 +111,7 @@
</lb-table>
</el-collapse-item>
<el-collapse-item title="材料信息设置" name="2">
<lb-table :column="clxxList" :heightNumSetting="true" :minHeight="160"
<lb-table :column="clxxList" :heightNumSetting="true" :key="cLkey" :minHeight="160"
:pagination="false" :data="form.clxx">
</lb-table>
</el-collapse-item>
......@@ -169,6 +169,7 @@
},
data () {
return {
cLkey: 0,
loading: false,
key: 0,
tn: 0,
......@@ -211,7 +212,6 @@
}
},
methods: {
//页面初始化
/**
* @description: 页面初始化
* @author: renchao
......@@ -233,6 +233,7 @@
}
})
}
console.log(this.clxxList);
},
/**
* @description: orderNoChange
......@@ -289,7 +290,7 @@
getSqdjywDetail(bsmSqyw).then((res) => {
if (res.code === 200) {
this.form = res.result;
console.log(this.form.clxx);
console.log(this.form);
if (that.formData.sqfl == "2") {
that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw }))
}
......@@ -384,6 +385,7 @@
*/
removeDjqx (index, row) {
this.form.djqx.splice(index, 1);
this.cLkey++
},
/**
* @description: addClxx
......
......@@ -52,14 +52,18 @@
{
prop: "qllxmc",
label: "权利类型"
},
{
prop: "bdcqzh",
label: "不动产权证号"
},
{
prop: "qlrmc",
label: "被执行人"
label: "权利人"
},
{
prop: "bdcqzh",
label: "不动产权证号"
prop: "qlrzjhm",
label: "证件号码"
},
{
prop: "bdcdyh",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 11:04:53
* @LastEditTime: 2024-01-22 16:34:15
-->
<template>
<div>
......@@ -279,6 +279,8 @@
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56);
// 恢复原始字体设置
context.font = originalFont;
} else {
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
}
context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56);
......@@ -528,6 +530,8 @@
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125);
// 恢复原始字体设置
context.font = originalFont;
} else {
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
}
context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123);
......@@ -686,18 +690,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高
context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高
context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1)));
context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1)));
} else {
context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1)));
context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1)));
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 11:25:39
* @LastEditTime: 2024-01-23 11:07:58
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;">
......@@ -198,7 +198,6 @@
context.fillStyle = '#000000';
context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56);
context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56);
// context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56);
if (getByteLen(this.bdcqz.sxqc) > 14) {
const originalFont = context.font;
// 设置新的字体大小
......@@ -207,6 +206,8 @@
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56);
// 恢复原始字体设置
context.font = originalFont;
} else {
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
}
context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56);
context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97);
......@@ -451,6 +452,8 @@
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125);
// 恢复原始字体设置
context.font = originalFont;
} else {
context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56);
}
context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123);
......@@ -613,18 +616,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高
context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高
context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1)));
context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1)));
} else {
context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1)));
context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1)));
}
}
}
......
......@@ -65,11 +65,19 @@
prop: "fwxzmc",
label: "房屋性质"
},
{
prop: "sjc",
label: "层号"
},
{
prop: "jzmj",
label: "建筑面积"
},
{
prop: "fwlxmc",
label: "房屋类型"
},
{
prop: "showfwyt",
label: "房屋用途"
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:42:01
* @LastEditTime: 2024-01-19 16:43:43
-->
<template>
<div class="from-clues">
......@@ -102,15 +102,14 @@
this.$message.success("转件成功");
popupCacel();
setTimeout(() => {
// window.opener.location.reload(); //刷新父窗口
window.close();
this.$emit("input", false);
if (window.opener && window.opener.getBpageList) {
window.opener.getBpageList();
} else {
window.opener.frames[0].getBpageList();
}
window.close();
this.$emit("input", false);
}, 1000);
}, 360);
} else {
this.$message.error(res.message);
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-12 09:41:27
* @LastEditTime: 2024-01-23 14:07:58
*/
/**
* @description: 流程环节操作按钮
......@@ -10,6 +10,7 @@
*/
export function getForm (tabName) {
let form;
if (tabName == 0) return
switch (tabName) {
case "tdsyqslxx":
form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue");
......@@ -20,6 +21,10 @@ export function getForm (tabName) {
case "jsydsyqslxx300":
form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
break;
//土地承包经营权
case "tdcbjyqslxx100":
form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue");
break;
//国有建设用地使用权/房屋所有权
case "fwsyqdzslxx":
form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue");
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-19 10:02:03
* @LastEditTime: 2024-01-23 09:57:51
*/
import Vue from 'vue'
import { getPrintTemplateByCode } from "@/api/print";
......@@ -173,6 +173,7 @@ export default {
case "B-TXDW":
getZdInfo(this.currentSelectProps.bdcdyid).then(res => {
this.bsmZd = res?.result[0]?.bsmZd
console.log(this.bsmZd);
this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true)
})
break;
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-21 14:16:39
* @LastEditTime: 2024-01-23 10:23:02
*/
import { getForm } from "../flowform";
import { getHomeNoticeList } from "@/api/home.js"
......@@ -40,7 +40,7 @@ export default {
*/
beforeLeave (activeName, oldActiveName) {
sessionStorage.setItem('activeName', activeName);
if (activeName && activeName != 0) this.getFromRouter(activeName)
this.getFromRouter(activeName)
},
/**
* @description: 切换选项卡内容组件
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 15:02:23
* @LastEditTime: 2024-01-23 10:25:51
-->
<template>
<div class="container">
......@@ -38,7 +38,7 @@
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<segmentMenu v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)"
<segmentMenu v-if="['A0320099', 'A0330099','A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)"
@getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
<div class="leftCon">
......@@ -245,7 +245,13 @@
if (res.code === 200) {
//获取单元对应的所有表单信息
this.tabList = res.result;
var indexTab = 0
//默认加载第一个表单信息
res.result.forEach((item, index) => {
if (item.defaultForm) {
indexTab = index
}
})
let arr = res.result.filter((item) => item.defaultForm);
if (arr.length > 0) {
this.tabName = arr[0].value;
......@@ -255,7 +261,8 @@
if (sessionStorage.getItem('activeName') == this.tabName) {
this.fresh++;
}
this.ableOperation = this.tabList[0].ableOperation;
this.ableOperation = this.tabList[indexTab].ableOperation;
this.currentSelectTab = this.tabList[indexTab];
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 10:45:37
* @LastEditTime: 2024-01-23 10:21:28
-->
<template>
<div class="container">
......@@ -26,7 +26,7 @@
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<segmentMenu v-if="['A0320099','A0330099' ,'A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
<div class="leftCon">
......@@ -129,14 +129,21 @@
if (res.code === 200) {
//获取单元对应的所有表单信息
this.tabList = res.result;
var indexTab = 0
//默认加载第一个表单信息
res.result.forEach((item, index) => {
if (item.defaultForm) {
indexTab = index
}
})
if (res.result.length > 0) {
that.tabName = res.result[0].value;
}
if (sessionStorage.getItem('activeName') == this.tabName) {
that.fresh++;
}
this.ableOperation = this.tabList[0].ableOperation
this.ableOperation = this.tabList[indexTab].ableOperation
this.currentSelectTab = this.tabList[indexTab];
//批量操作无分屏按钮
if (index != null) {
//处理分屏材料信息
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:08:17
* @LastEditTime: 2024-01-23 09:44:44
-->
<template>
<dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue"
title="高级搜索">
<el-form :model="ruleForm" ref="ruleForm" label-width="100px">
<el-row>
<el-col :span="8">
<!-- <el-col :span="8">
<el-form-item label="申请业务名称" prop="sqywmc">
<el-input v-model.trim="ruleForm.sqywmc" clearable placeholder="请输入申请业务名称"></el-input>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="8">
<el-form-item label="权利人" prop="qlrmc">
<el-input v-model.trim="ruleForm.qlrmc" clearable placeholder="请输入权利人"></el-input>
......@@ -23,8 +23,11 @@
<el-input v-model.trim="ruleForm.ywrmc" clearable placeholder="请输入义务人"></el-input>
</el-form-item>
</el-col>
<el-col :span="8" class="btnColRight">
<el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button>
</el-col>
</el-row>
<el-row>
<!-- <el-row>
<el-col :span="8">
<el-form-item label="受理时间" prop="slsj">
<el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date"
......@@ -32,11 +35,11 @@
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-row> -->
<el-row class="search-btn">
<el-button type="text" @click.native="closeDialog">收起搜索</el-button>
<el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button>
<el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button>
<!-- <el-button type="text" @click.native="closeDialog">收起搜索</el-button> -->
<!-- <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> -->
<!-- <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> -->
</el-row>
</el-form>
</dialogBox>
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2024-01-18 16:19:51
* @LastEditTime: 2024-01-24 09:30:19
-->
<template>
<div class="slxx">
......@@ -56,93 +56,29 @@
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
房屋批量情况
<div class="triangle"></div>
</div>
<el-row :gutter="10" v-if="ruleForm.zdjbxx">
<el-col :span="8">
<el-form-item label="宗地面积:">
<div class="flex">
<el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
<el-select
disabled
v-model="ruleForm.zdjbxx.mjdw"
style="width: 68px">
<el-option
v-for="item in dictData['A7']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"></el-option>
</el-select>
</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地性质:">
<el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地用途:">
<el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-if="ruleForm.zdjbxx">
<el-col :span="8">
<el-form-item label="房屋性质:">
<el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房屋用途:">
<el-input disabled v-model="splicingFdcq2.fwxz"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房屋结构:">
<el-input disabled v-model="splicingFdcq2.fwjg"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-if="ruleForm.zdjbxx">
<el-col :span="8">
<el-form-item label="房屋总层数:">
<el-input disabled v-model="ruleForm.fdcq2List[0].zcs"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房屋总建筑面积:">
<el-input disabled v-model="splicingFdcq2.jzmj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="房屋总套数:">
<el-input disabled v-model="splicingFdcq2.zts"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" v-if="ruleForm.slsq">
<el-col :span="8">
<el-form-item label="竣工时间:">
<el-input disabled v-model="splicingFdcq2.jzmj"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="发证方式:" :disabled="!viewEdit">
<el-radio-group v-model="ruleForm.slsq.fzfs">
<el-radio label="2">大证</el-radio>
<el-radio label="1">小证</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
<div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')">
<el-row>
<el-col :span="19">
<p>房屋信息列表</p>
</el-col>
<el-col :span="5">
<el-form-item label="发证方式:" :disabled="!viewEdit">
<el-radio-group v-model="ruleForm.slsq.fzfs">
<el-radio label="2">大证</el-radio>
<el-radio label="1">小证</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<!-- <div class="triangle"></div> -->
</el-row>
</div>
<qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/>
<cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/>
<div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')">
权利人信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-row :gutter="10" v-if="ruleForm.slsq.djywbm.includes('100')">
<el-col :span="12" v-if="ruleForm.sldyList.length > 0">
<el-form-item label="共有方式:">
<el-radio-group
......@@ -191,7 +127,7 @@
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:tableData="ruleForm.qlrList"
:gyfs="ruleForm.sldyList[0].gyfs" />
:gyfs="ruleForm.sldyList[0].gyfs" v-if="ruleForm.slsq.djywbm.includes('100')" />
<div class="slxx_title title-block">
登记原因
<div class="triangle"></div>
......@@ -221,6 +157,8 @@
</template>
<script>
import ywmix from "@/views/ywbl/mixin/index";
import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable";
import qjhTable from "@/views/workflow/components/qjhTable";
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import {
BatchInit,
......@@ -234,7 +172,7 @@
computed: {
...mapGetters(["dictData", "flag"])
},
components: { qlrCommonTable },
components: { qlrCommonTable, cfBdcdyTable,qjhTable},
data () {
return {
isSave: true,
......@@ -264,15 +202,7 @@
viewEdit: true,
rules: {},
gyfs: "",
bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码
splicingFdcq2: {
//前端根据后台数组组装展示内容
tdxz: "", //土地性质
fwxz: "", //房屋性质
fwjg: "", //房屋结构
jzmj: "", //建筑面积
zts: "", //房屋总套数
},
bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码
};
},
mounted (callbackfn, thisArg) {
......@@ -300,7 +230,7 @@
}
})
that.isSave = this.viewEdit
this.splicingFdcq2Info();
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
......@@ -315,29 +245,6 @@
},
methods: {
/**
* @description: 组装房地产权通用信息
* @author: renchao
*/
splicingFdcq2Info () {
let fdcq2List = this.ruleForm.fdcq2List;
let fwxzArr = [];
let fwjgArr = [];
let jzmj = 0;
fdcq2List.forEach((fdcq2) => {
fwxzArr.push(fdcq2.fwxzmc);
fwjgArr.push(fdcq2.fwjgmc);
jzmj += parseFloat(fdcq2.jzmj);
});
//房屋性质
let fwxz = Array.from(new Set(fwxzArr)).join(",");
//房屋结构
let fwjg = Array.from(new Set(fwjgArr)).join(",");
this.splicingFdcq2.fwxz = fwxz;
this.splicingFdcq2.fwjg = fwjg;
this.splicingFdcq2.jzmj = jzmj == null ? 0 : jzmj;
this.splicingFdcq2.zts = fdcq2List.length;
},
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-24 17:35:49
* @LastEditTime: 2024-01-23 15:14:11
-->
<template>
<!-- 受理信息 -->
......@@ -215,7 +215,7 @@
:key="key"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 10:56:52
* @LastEditTime: 2024-01-22 10:43:54
-->
<template>
<!-- 受理信息 -->
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 16:05:38
-->
<template>
<!-- 受理信息 -->
<div class="slxx">
<el-form
:model="ruleForm"
:rules="rules"
:class="{ readonly: editDisabled }"
v-Loading="loading"
ref="ruleForm"
:label-position="flag ? 'top' : ''"
:inline="flag"
label-width="140px">
<div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
<div class="slxx_title title-block">
申请业务信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="业务号:">
<el-input disabled v-model="ruleForm.flow.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="受理人员:">
<el-input disabled v-model="ruleForm.slsq.slry"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="受理时间:">
<el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="权利类型:">
<el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记类型:">
<el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记情形:">
<el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
不动产单元情况
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="宗地代码:">
<el-input v-model="ruleForm.zdjbxx.zddm" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="不动产单元号:">
<el-input v-model="ruleForm.sldy.bdcdyh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="权利性质:">
<treeselect
v-model="ruleForm.zdjbxx.qlxz"
noOptionsText="暂无数据"
:default-expand-level="1"
:disabled="!viewEdit"
placeholder=""
:normalizer="normalizer"
:show-count="true"
:options="dictData['A9']" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="地块代码:">
<el-input v-model="ruleForm.tdcbjyq.dkdm" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="地块名称:">
<el-input v-model="ruleForm.tdcbjyq.dkmc" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="承包方式:">
<el-input v-model="ruleForm.tdcbjyq.cbfs" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="发包方代码:">
<el-input v-model="ruleForm.tdcbjyq.fbfdm" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="发包方全称:">
<el-input v-model="ruleForm.tdcbjyq.fbfqc" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="发包方负责人:">
<el-input v-model="ruleForm.tdcbjyq.fbffzr" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="承包起始时间:">
<el-date-picker
v-model="ruleForm.tdcbjyq.cbqssj"
class="width100"
type="date"
:disabled="!viewEdit"
:picker-options="pickerOptionsStart"
placeholder="选择日期"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="承包结束时间:">
<el-date-picker
v-model="ruleForm.tdcbjyq.cbjssj"
:disabled="!viewEdit"
class="width100"
type="date"
placeholder="选择日期"
:picker-options="pickerOptionsEnd"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="承包期限:">
<el-input v-model="ruleForm.tdcbjyq.cbqx" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="用途:">
<el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.yt"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="确权面积:">
<div class="flex">
<el-input
:disabled="!viewEdit"
v-model="ruleForm.tdcbjyq.qqmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select :disabled="!viewEdit" v-model="mjdw" style="width: 68px">
<el-option
v-for="item in dictData['A7']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
</el-option>
</el-select>
</div>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地所有权性质:">
<el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.tdsyqxz"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="是否永久基本农田:">
<el-radio-group
v-model="ruleForm.tdcbjyq.sfyjjbnt"
:disabled="!viewEdit">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="是否自留地:">
<el-radio-group
v-model="ruleForm.tdcbjyq.sfzld"
:disabled="!viewEdit">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="用地用海分类:">
<el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.ydyhfl"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item label="承包经营权取得方式:">
<el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.cbjyqqdfs"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="附记:">
<el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="slxx_title title-block">
权利人信息
<div class="triangle"></div>
</div>
<el-row :gutter="10">
<el-col :span="12">
<el-form-item label="共有方式:">
<el-radio-group
:disabled="!viewEdit"
v-model="ruleForm.sldy.gyfs">
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
<el-radio label="3">其它共有</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
<el-form-item label="是否分别持证:">
<el-radio-group
v-model="ruleForm.sldy.sqfbcz"
:disabled="!viewEdit"
@input="updaterow()">
<el-radio :label="1"></el-radio>
<el-radio :label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col
:span="6"
v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
<el-form-item label="持证人:">
<el-select
v-model="czr"
placeholder="持证人"
:disabled="!viewEdit">
<el-option
v-for="(item, index) in czrOptions"
:key="index"
:label="item.sqrmc"
:value="item.id">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<qlrCommonTable
:tableData="ruleForm.qlrList"
:disabled="viewEdit"
@upDateQlrxxList="upDateQlrxxList"
:key="key"
:gyfs="ruleForm.sldy.gyfs" />
<div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
<div class="slxx_title title-block">
义务人信息
<div class="triangle"></div>
</div>
<ywrCommonTable
v-if="ruleForm.ywrList"
:disabled="viewEdit"
:tableData="ruleForm.ywrList"
:key="key"
@upDateQlrxxList="upDateYwrxxList" />
</div>
</div>
<el-row class="btn" v-if="isSave">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
</el-row>
</el-form>
</div>
</template>
<script>
import { mapGetters } from "vuex";
import ywmix from "@/views/ywbl/mixin/index";
import { Init, saveData } from "@/api/workflow/tdcbjyq.js";
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
export default {
mixins: [ywmix],
mounted () {
let that = this
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
this.propsParam = this.$attrs;
var formdata = new FormData();
this.loading = true
formdata.append("bsmSldy", this.propsParam.bsmSldy);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.viewEdit);
Init(formdata).then((res) => {
setTimeout(() => {
that.loading = false
}, 200)
if (res.code === 200) {
that.ruleForm = res.result;
that.ruleForm.qlrList.forEach((item) => {
item.id = item.bsmSqr
if (item.sfczr == '1') {
that.czr = item.bsmSqr
}
})
that.czrOptions = that.ruleForm.qlrList;
that.isSave = that.viewEdit
} else {
that.isSave = false
that.$confirm(res.message, '提示', {
cancelButtonText: '取消',
showConfirmButton: false,
type: 'warning'
})
}
}).catch(() => {
this.loading = false
this.isSave = false
})
},
components: { qlrCommonTable, ywrCommonTable },
computed: {
...mapGetters(["dictData", "flag"]),
// 根据流程判断表单是否为只读
editDisabled () {
if (!this.viewEdit) {
//只读状态
return true;
}
return false;
},
},
data () {
return {
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
if (this.ruleForm.tdcbjyq.cbjssj) {
return (
time.getTime() >= new Date(this.ruleForm.tdcbjyq.cbjssj).getTime()
);
}
}
},
// 结束日期限制
pickerOptionsEnd: {
disabledDate: (time) => {
if (this.ruleForm.tdcbjyq.cbqssj) {
return (
time.getTime() <= new Date(this.ruleForm.tdcbjyq.cbqssj).getTime()
);
}
}
},
isSave: true,
// 键名转换,方法默认是label和children进行树状渲染
normalizer (node) {
//方法
if (node.children == null || node.children == "null") {
delete node.children;
}
return {
id: node.dcode,
label: node.dname,
};
},
loading: false,
mjdw: "1",
//表单是否可操作
viewEdit: true,
czr: "",
key: 0,
disabled: true,
czrOptions: [],
ruleForm: {},
//传递参数
propsParam: {},
rules: {},
};
},
methods: {
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.num = 0
this.ruleForm.qlrList.forEach(item => {
if (item.id == this.czr) {
this.num++
}
})
if (this.num == 0) {
this.czr = ''
}
},
/**
* @description: 是否持证人变化
* @param {*} val
* @author: renchao
*/
updaterow () {
this.czr = "";
},
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
let that = this;
if (this.ruleForm.qlrList.length == 0) {
this.$message({
showClose: true,
message: "请确认权利人信息",
type: "error",
});
return false;
}
if (this.ruleForm.sldy.gyfs == "0") {
if (this.ruleForm.qlrList.length > 1) {
this.$message({
showClose: true,
message: "共有方式:单独所有,权利人只能是一个人",
type: "error",
});
return false;
}
this.ruleForm.qlrList[0].sfczr = "1";
} else {
if (this.ruleForm.qlrList.length <= 1) {
this.$message({
showClose: true,
message:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
type: "error",
});
return false;
}
//是否分别持证
if (this.ruleForm.sldy.sqfbcz == "1") {
//是
this.ruleForm.qlrList.forEach((item, index) => {
item.sfczr = "1";
});
} else {
if (that.czr === '') {
that.$message({
showClose: true,
message: "请选择持证人",
type: "error",
});
return false;
}
this.ruleForm.qlrList.forEach((item, index) => {
if (item.id == that.czr) {
item.sfczr = "1";
} else {
item.sfczr = "0";
}
});
}
}
/**
* @description: saveData
* @author: renchao
*/
this.$store.dispatch("user/refreshPage", false);
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
message: "保存成功!",
type: "success",
});
this.$store.dispatch("user/refreshPage", true);
} else {
this.$message({
showClose: true,
message: res.message,
type: "error"
})
}
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/slxx/slxx.scss";
</style>
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 15:56:28
* @LastEditTime: 2024-01-22 16:30:18
-->
<template>
<div class="from-clues">
......@@ -171,6 +171,9 @@
* @author: renchao
*/
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsm = item.zdbsm;
});
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
this.bdcdysz = [...val[val.length - 1]];
......@@ -183,6 +186,7 @@
},
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
......@@ -194,6 +198,7 @@
// 如果状态是1,那就是单选
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-16 16:48:47
* @LastEditTime: 2024-01-23 15:15:58
-->
<template>
<div class="from-clues">
......@@ -33,7 +33,7 @@
<!-- 表格 -->
<div class="from-clues-content loadingtext">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -62,6 +62,7 @@
},
data () {
return {
radioVal: '',
loading: false,
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
......@@ -75,6 +76,28 @@
},
mounted () {
sendThis(this);
if (this.sqywInfo.sqywdylx == "1") {
this.tableData.columns = [{
label: '选择',
width: '50px',
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
&ensp;
</el-radio>
</div>
)
}
}].concat(datas.columns())
} else {
this.tableData.columns =
[{
type: 'selection',
label: '全选',
width: '50'
}].concat(datas.columns())
}
},
methods: {
/**
......@@ -158,21 +181,10 @@
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
* @description: handleRowClick
......@@ -181,28 +193,15 @@
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
this.$refs.table.toggleRowSelection(row, false);
}
// 不然就让当前的一行勾选
else {
this.$refs.table.toggleRowSelection(row, true);
}
})
}
else {
this.$refs.table.toggleRowSelection(row, true);
}
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
this.$refs.table.toggleRowSelection(row);
this.$refs[refs].toggleRowSelection(row)
}
},
}
}
}
</script>
......
......@@ -147,7 +147,7 @@
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/selectFwfgSplitMerge.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectFwsyq, selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMerge } from "@/api/ywsq.js";
import { selectFwsyqQlxxSplitMergeBefore, selectJsydQlxxSplitMergeBefore, selectHSplitMerge } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
......@@ -185,12 +185,12 @@
handleSelect () {
this.tableData.data.forEach(item => {
if (this.radioVal == item.bdcdyh) {
item.bglx = '1'
//item.bglx = '1'
this.bdcdysz[0] = item
this.queryForm.bhqkbsm = item.bhqkbsm
}
})
selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => {
selectHSplitMerge({ ...this.queryForm }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.tableData.datastwo = res.result
......@@ -208,7 +208,7 @@
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
selectFwsyqQlxxSplitMergeBefore({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.tableData.data = res.result.records
......@@ -289,16 +289,11 @@
* @author: renchao
*/
handleRowClick (row) {
this.queryForm.bhqkbsm = row.bhqkbsm
this.radioVal = row.bdcdyh
row.bglx = '1'
selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => {
this.queryForm.bhqkbsm = row.bhqkbsm
selectHSplitMerge({ ...this.queryForm }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.tableData.datastwo = res.result
this.tableData.datastwo.forEach(item => {
item.bsm = item.zdbsm;
})
this.tableData.datastwo = res.result;
this.bdcdysz = this.tableData.datastwo
}
})
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 14:18:01
* @LastEditTime: 2024-01-23 13:47:01
-->
<template>
<div class="from-clues">
......@@ -53,7 +53,7 @@
<!-- 表格 -->
<div class="from-clues-content loadingtext">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -82,6 +82,7 @@
},
data () {
return {
radioVal: '',
loading: false,
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -94,6 +95,28 @@
},
mounted () {
sendThis(this);
if (this.sqywInfo.sqywdylx == "1") {
this.tableData.columns = [{
label: '选择',
width: '50px',
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
&ensp;
</el-radio>
</div>
)
}
}].concat(datas.columns())
} else {
this.tableData.columns =
[{
type: 'selection',
label: '全选',
width: '50'
}].concat(datas.columns())
}
},
methods: {
/**
......@@ -182,21 +205,10 @@
formData: param
})
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select (selection, row) {
if (this.sqywInfo.sqywdylx == "1") {
// 清除 所有勾选项
this.$refs.table.clearSelection()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if (selection.length == 0) return
this.$refs.table.toggleRowSelection(row, true);
}
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
* @description: handleRowClick
......@@ -205,26 +217,13 @@
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
const bdcdysz = this.bdcdysz
this.$refs.table.clearSelection()
if (bdcdysz.length == 1) {
bdcdysz.forEach(item => {
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if (item == row) {
this.$refs.table.toggleRowSelection(row, false);
}
// 不然就让当前的一行勾选
else {
this.$refs.table.toggleRowSelection(row, true);
}
})
}
else {
this.$refs.table.toggleRowSelection(row, true);
}
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
this.$refs.table.toggleRowSelection(row);
this.$refs[refs].toggleRowSelection(row)
}
}
}
......
......@@ -104,7 +104,11 @@
</el-table-column>
<el-table-column
property="syqmj"
label="使用权面积">
label="面积">
</el-table-column>
<el-table-column
property="qlytmc"
label="用途">
</el-table-column>
<el-table-column
property="zl"
......@@ -283,8 +287,8 @@
*/
handleRowClick (row) {
this.queryForm.bhqkbsm = row.bhqkbsm
this.radioVal = row.bdcdyh
row.bglx = '1'
//this.radioVal = row.bdcdyh
//row.bglx = '1'
selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 14:17:17
* @LastEditTime: 2024-01-19 16:25:18
-->
<template>
<div class="from-clues">
......@@ -195,6 +195,7 @@
},
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
......@@ -204,31 +205,12 @@
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
// if (this.sqywInfo.sqywdylx == "1") {
// const bdcdysz = this.bdcdysz
// this.$refs.table.clearSelection()
// if (bdcdysz.length == 1) {
// bdcdysz.forEach(item => {
// // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
// if (item == row) {
// this.$refs.table.toggleRowSelection(row, false);
// }
// // 不然就让当前的一行勾选
// else {
// this.$refs.table.toggleRowSelection(row, true);
// }
// })
// }
// else {
// this.$refs.table.toggleRowSelection(row, true);
// }
// } else {
// this.$refs.table.toggleRowSelection(row);
// }
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
this.$refs[refs].toggleRowSelection(row)
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:40:23
-->
<template>
<div class="from-clues">
<!-- 表单部分 国有建设用地使用权 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-row>
<el-col :span="6">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="坐落" label-width="60px">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="权利人">
<el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="证件号">
<el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="24" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="handleSearch">查询</el-button>
<el-button type="primary" @click="resetForm(true)">重置</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content loadingtext">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "../components/mixin/jump";
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/tdjyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectZdjbxx } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => { } },
},
data () {
return {
radioVal: '',
loading: false,
queryForm: defaultParameters.defaultParameters(),
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
bdcdysz: [],
};
},
mounted () {
sendThis(this);
if (this.sqywInfo.sqywdylx == "1") {
this.tableData.columns = [{
label: '选择',
width: '50px',
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
&ensp;
</el-radio>
</div>
)
}
}].concat(datas.columns())
} else {
this.tableData.columns =
[{
type: 'selection',
label: '全选',
width: '50'
}].concat(datas.columns())
}
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
this.tableData.data = records;
}
});
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsm = item.zdbsm;
});
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
this.bdcdysz = [...val[val.length - 1]];
} else {
this.bdcdysz = val;
}
} else {
this.bdcdysz = val;
}
},
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
this.$refs[refs].toggleRowSelection(row)
}
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = {
bdcdyid: row.bdcdyid,
qllx: row.qllx,
bdcdyh: row.bdcdyh,
bsmQlxx: row.bsmQlxx,
};
this.$popup("登记簿详情", "registerBook/djbFrame", {
formData: param
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-23 13:44:44
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="100px">
<el-row>
<el-col :span="6">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="权利人">
<el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="证件号">
<el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="24" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="resetForm(true)">重置</el-button>
<el-button type="primary" @click="handleSearch">查询</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content loadingtext">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button">
<el-button @click="$popupCacel">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button>
</div>
</div>
</template>
<script>
//首次登记
import store from '@/store/index.js'
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "../components/mixin/jump";
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/selectJsydsyq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectTdcbjyq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => { } },
},
data () {
return {
radioVal: '',
loading: false,
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
bdcdysz: []
};
},
mounted () {
sendThis(this);
if (this.sqywInfo.sqywdylx == "1") {
this.tableData.columns = [{
label: '选择',
width: '50px',
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}>
&ensp;
</el-radio>
</div>
)
}
}].concat(datas.columns())
} else {
this.tableData.columns =
[{
type: 'selection',
label: '全选',
width: '50'
}].concat(datas.columns())
}
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectTdcbjyq({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
this.tableData.data = records;
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}).catch(() => {
this.loading = false
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
val.forEach((item, index) => {
item.bsm = item.zdbsm;
});
if (this.sqywInfo.sqywdylx == "1") {
if (val.length > 1) {
this.bdcdysz = [...val[val.length - 1]];
} else {
this.bdcdysz = val;
}
} else {
this.bdcdysz = val;
}
},
/**
* @description: openBook
* @param {*} row
* @author: renchao
*/
openBook (row) {
var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx };
this.$popup('登记簿详情', 'registerBook/djbFrame', {
formData: param
})
},
handleChange () {
let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal)
arr[0].bsm = arr[0].zdbsm
this.bdcdysz = arr
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
// 如果状态是1,那就是单选
let refs = 'table';
if (this.sqywInfo.sqywdylx == "1") {
row.bsm = row.zdbsm
this.bdcdysz = [row]
this.radioVal = row.bdcdyid
} else {
this.$refs[refs].toggleRowSelection(row)
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 09:44:35
* @LastEditTime: 2024-01-23 13:43:12
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -15,11 +15,11 @@ class data extends filter {
}
columns () {
return [
{
type: 'selection',
label: '全选',
selectable: this.selected
},
// {
// type: 'selection',
// label: '全选',
// selectable: this.selected
// },
{
label: '序号',
type: 'index',
......
......@@ -81,7 +81,7 @@ class data extends filter {
},
{
prop: "qlmjmc",
width: '100',
width: 100,
label: "使用权面积",
},
{
......@@ -198,7 +198,12 @@ class datatwo extends filter {
{
prop: "qlmjmc",
width: 100,
label: "使用权面积",
label: "面积",
},
{
prop: "qlytmc",
width: 100,
label: "用途",
},
{
prop: "zl",
......
......@@ -4,8 +4,8 @@ export function queueDjywmc (djywbm, djqxbm) {
if (djqxbm == "A0320099" || djqxbm == "A0330099") {
return "selectJsydsyqSplitMerge";
}
// 房屋分割
if (['A04300S1', 'A04200S1', 'A04300S2'].includes(djqxbm)) {
// 房屋分割A04200S1
if (['A04300S1', 'A04200S2', 'A0830S1'].includes(djqxbm)) {
return "selectFwfgSplitMerge";
}
if (djqxbm == "A37100S2") {
......@@ -65,13 +65,17 @@ export function queueDjywmc (djywbm, djqxbm) {
vm = "selectFwsyq";
break;
case "A23100"://农用地使用权(首次登记)
case "A09100"://土地经营权(首次登记)
vm = "nydsyq100";
break;
case "A09100"://土地经营权(首次登记)
vm = "tdjyq100";
break;
case "A23200":
case "A23300":
case "A23400":
case "A09200":
case "A09200": // 土地承包经营权(转移登记)
vm = "tdjyq200";
break;
case "A09300":
case "A09400":
vm = "nydsyq200";
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-22 16:23:21
*/
import filter from '@/utils/filter.js'
let vm = null
const sendThis = (_this) => {
vm = _this
}
class data extends filter {
constructor() {
super()
}
columns () {
return [
{
label: '序号',
type: 'index',
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
label: "状态",
render: (h, scope) => {
return (
<div>
<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
<span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
</div>
)
}
},
{
prop: "qllxmc",
label: "权利类型",
},
{
prop: "zddm",
label: "宗地代码",
},
{
prop: "bdcdyh",
label: "不动产单元号",
minWidth: '150'
},
{
prop: "qlxzmc",
label: "权利性质",
},
{
prop: "zdmj",
label: "面积(㎡)",
},
{
prop: "qlsdfsmc",
label: "权利设定方式",
},
{
prop: "showTdyt",
label: "土地用途",
},
{
prop: "zl",
label: "坐落",
minWidth: '130'
},
]
}
}
let datas = new data()
export {
datas,
sendThis
}