ceaac6ba by 田浩浩
2 parents dcb36428 abe24335
......@@ -122,3 +122,19 @@ export function record (data) {
data
})
}
// 获取不动产权证列表
export function getBdcqzList (params) {
return request({
url: '/business/workFlow/getBdcqzList',
method: 'get',
params: params
})
}
// 获取印刷序列号
export function readYsxlh (params) {
return request({
url: '/business/workFlow/readYsxlh',
method: 'get',
params: params
})
}
......
......@@ -6,33 +6,58 @@
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input placeholder="请输入编号" v-model="queryForm.cxbh" clearable>
<el-input
placeholder="请输入编号"
v-model="queryForm.cxbh"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input placeholder="请输入申请人" v-model="queryForm.sqr" clearable>
<el-input
placeholder="请输入申请人"
v-model="queryForm.sqr"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="查询用途">
<el-select v-model="queryForm.cxyt" filterable clearable placeholder="请选择用途">
<el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value">
<el-select
v-model="queryForm.cxyt"
filterable
clearable
placeholder="请选择用途"
>
<el-option
v-for="item in cxytOption"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px">
<el-input
placeholder="请输入业务号"
v-model="queryForm.ywh"
clearable
class="width200px"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="fetchData"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -41,25 +66,32 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table
:page-size="pageData.size"
border
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
</lb-table>
</div>
</div>
</template>
<script>
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./jtfcdata"
import { getJtfcPage } from '@/api/sqcx'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./jtfcdata";
import { getJtfcPage } from "@/api/sqcx";
export default {
name: "jtfc",
components: {},
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
sqrOption: [],
cxytOption: [],
......@@ -89,18 +121,18 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
getJtfcPage({ ...this.queryForm, ...this.pageData }).then(res => {
let { records, total } = res.result
fetchData() {
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
let { records, total } = res.result;
// this.tableData.data = records
this.tableData.total = total
})
this.tableData.total = total;
});
},
handleSort (name, sort) {
handleSort(name, sort) {
console.log(name, sort);
}
}
}
},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
<template>
<div class="szxx">
<el-card class="box-card" v-for="(item,index) in tableData" :key="index">
<div slot="header" class="szxx_header">
<span class="header_type">{{item.bdcqzlx == 1 ? '不动产权证书' : '不动产登记证明'}}</span>
<div class="header_text">{{item.bdcqzh}}</div>
</div>
<div class="szxx_body card_padding">
<div class="text color_iray">
<span>{{item.qllxmc}}</span>
</div>
<div class="text color_red">
<span>{{item.qlr}}</span>
</div>
<div class="text color_iray">
<span>{{item.gyfs == 1 ? '单独所有' : item.gyfs == 2 ? '共同共有' : '按份所有'}}</span>
</div>
<div class="text color_red">
<span>{{item.bdcdyh}}</span>
</div>
<div class="text color_iray">
<span>{{item.yt}}</span>
</div>
<div class="text color_red">
<span>{{item.mj}}</span>
</div>
<div class="text color_iray">
<span>{{item.syqx}}</span>
</div>
<div v-if="item.ysxlh">
<div class="top_line middle_margin"></div>
<div class="text color_iray">
<span>印刷序列号:{{item.ysxlh}}</span>
</div>
</div>
</div>
<div class="card_padding">
<div class="top_line middle_margin"></div>
<div class="text">
<el-button class="operation_button" type="text" @click="openZsylDialog(item)">证书预览</el-button>
<el-button class="operation_button" type="text">证书打印(1)</el-button>
</div>
</div>
</el-card>
<zsylDialog ref="zsylDialog" v-model="zsylFlag" :value='zsylFlag'/>
</div>
</template>
<script>
import zsylDialog from "./zsyl";
import { getBdcqzList } from "@/api/fqsq.js";
export default {
components: { zsylDialog },
props: {
},
data() {
return {
tableData: [],
zsylFlag: false,
bdcqzlx: 1,
bdcqz: {}
};
},
async created() {
var bsmSldy = this.$parent._data.unitData[0].bsmSldy;
this.list(bsmSldy);
},
methods: {
list(bsmSldy){
getBdcqzList({bsmSldy:bsmSldy}).then(res => {
if (res.code === 200) {
this.tableData = res.result
}
})
},
openZsylDialog(item){
this.zsylFlag = true;
this.bdcqz = item;
this.$nextTick(() => {
this.$refs.zsylDialog.ysxlhList();
});
}
},
};
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
.szxx {
box-sizing: border-box;
padding-right: 15px;
width: 100%;
height: 600px;
overflow-y: scroll;
.box-card {
float: left;
width: 330px;
margin-top: 20px;
margin-right: 20px;
height: 440px;
.szxx_body {
height: 240px;
}
}
}
.szxx_header {
color:white;
font-weight:bolder;
font-size: 18px;
.header_type{
display: flex;
justify-content: center;
align-content: center;
}
.header_text{
text-align: center;
margin-top:10px;
height: 50px;
line-height: 30px;
}
}
.top_line {
border-top: 2px solid rgb(222,222,222);
}
.text {
margin-bottom: 10px;
text-align: center;
}
.color_iray {
color: rgb(153,153,153);
}
.color_red {
color: rgb(255,89,24);
}
.middle_margin {
margin-bottom: 10px;
}
.operation_button {
border: 1px solid rgb(0,121,254);
padding: 15px 10px;
text-align: center;
width: 100px;
}
.card_padding {
padding-top:20px
}
/deep/.el-card__header{
background-color: rgb(198,67,83);
}
/deep/.el-card__body{
padding: 0px
}
</style>
\ No newline at end of file
......@@ -87,7 +87,7 @@ export default {
},
methods: {
tablelistFn(){
getTaskBackNode({taskId:this.taskId}).then(res => {
getTaskBackNode({bsmBusiness:this.bsmBusiness}).then(res => {
if (res.code === 200) {
this.tableData = res.result
}
......
......@@ -3,6 +3,17 @@
@closeDialog="closeDialog" v-model="value">
<div class="from-clues">
<!-- 表单部分 -->
<div class="middle_padding" v-if="zslx">
<span>印刷序列号:</span>
<el-select v-model="selectYsxlh" placeholder="请选择">
<el-option
v-for="item in ysxlh"
:key="item.bsmZswj"
:label="item.ysxlh"
:value="item.bsmZswj">
</el-option>
</el-select>
</div>
<div class="zsyl-box">
<div class="zsyl-left">
<div class="zsyl-title">
......@@ -22,19 +33,21 @@
<div class="zsyl-text"></div>
</div>
</div>
<div class="zsyl-button" v-if="zslx">
<el-button class="operation_button dy-button" type="text">打印证书</el-button>
<el-button class="operation_button gb-button" type="text" @click="closeDialog()">关闭</el-button>
</div>
</div>
</dialogBox>
</template>
<script>
import { getTaskBackNode,sendBackTask } from "@/api/fqsq.js"
import { readYsxlh } from "@/api/fqsq.js"
export default {
components: {
},
props: {
value: { type: Boolean, default: false },
queryForm:{type:Object},
bsmBusiness:{type:String}
},
data () {
const columns=[
......@@ -58,6 +71,9 @@ export default {
];
return {
ysxlh: [],
selectYsxlh: '',
zslx: '',
columns,
tableData:[{
activityName:'权利人',
......@@ -93,21 +109,17 @@ export default {
}
},
mounted(){
// if(this.$route.query.bsmSlsq){
// this.list.bsmSlsq = this.$route.query.bsmSlsq
// }
},
methods: {
ysxlhList() {
this.zslx = this.$parent.bdcqzlx
readYsxlh({zslx:this.$parent.bdcqzlx}).then(res => {
if (res.code === 200) {
this.ysxlh = res.result
}
})
tablelistFn(){
// getTaskBackNode({taskId:this.taskId}).then(res => {
// if (res.code === 200) {
// this.tableData = res.result
// }
// })
},
closeDialog () {
this.$emit("input", false);
},
......@@ -150,4 +162,19 @@ export default {
background: #FAFBE5!important;
}
}
.middle_padding {
padding-bottom: 10px;
}
.zsyl-button{
text-align: center;
margin-top: 20px;
.operation_button{
width: 100px;
border: 1px solid rgb(0,121,254);
}
.dy-button {
color: white;
background-color: rgb(0,121,254);
}
}
</style>
......
......@@ -86,7 +86,6 @@
<thDialog
ref="thdialogRef"
v-model="thflag"
:taskId="taskId"
:bsmBusiness="bsmBusiness"
:queryForm="queryForm"
/>
......@@ -123,7 +122,6 @@ export default {
editItem: "",
issplitScreen: false,
unitData: [],
taskId: "",
bsmBusiness: "",
fetch: false
};
......@@ -162,7 +160,6 @@ export default {
this.unitData = res.result ? res.result : [];
setTimeout(() => {
that.$refs.slxx?.[0].list(that.unitData?.[0]?.bsmSldy);
this.taskId = that.unitData?.[0]?.taskId;
this.bsmBusiness = that.unitData?.[0]?.bsmBusiness;
}, 300);
}
......@@ -191,7 +188,6 @@ export default {
},
// 左侧列表点击调用接口
unitClick (item) {
this.taskId = item.taskId
this.bsmBusiness = item.bsmBusiness
var activeTabName = this.activeName
if(activeTabName == 'slxx'){
......
......@@ -46,7 +46,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" @sort-change="handleSort" :current-page.sync="pageData.current"
<lb-table :page-size="pageData.size" @sort-change="handleSort" border :current-page.sync="pageData.current"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
......
......@@ -5,25 +5,6 @@
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-row>
<el-col :span="10">
<el-form-item label="权利类型">
<el-select
v-model="queryForm.qllx"
filterable
clearable
placeholder="请选择权利类型"
class="width300px"
>
<el-option
v-for="item in qllxs"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="不动产单元号">
<el-input
placeholder="请输入不动产单元号"
......@@ -34,19 +15,6 @@
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="业务号">
<el-input
placeholder="请输入业务号"
v-model="queryForm.ywh"
clearable
class="width300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="不动产权证号">
<el-input
......@@ -58,7 +26,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="4" class="btnCol">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
</el-form-item>
......@@ -68,7 +36,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table
<lb-table border
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
......