1b445023 by jiaozeping@pashanhoo.com

1

2 parents 195a5fae ba99dddd
......@@ -30,7 +30,7 @@
"babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "2.4.2",
"connect": "3.6.6",
"element-ui": "^2.15.6",
"element-ui": "^2.15.8",
"html-webpack-plugin": "3.2.0",
"runjs": "4.3.2",
"sass-loader": "8.0.2",
......
......@@ -16,7 +16,8 @@ export function getZsglrkList (data) {
return request({
url: '/sys/zsgl/getZsglrkList',
method: 'post',
data
data,
showLoading: true
})
}
/*
......@@ -26,7 +27,9 @@ export function zsrk (data) {
return request({
url: '/sys/zsgl/zsrk',
method: 'post',
data
data,
showLoading: true,
loadingTarget: '正在保存中...'
})
}
/*
......@@ -56,7 +59,8 @@ export function getZsglffList (data) {
return request({
url: '/sys/zsgl/getZsglffList',
method: 'post',
data
data,
showLoading: true
})
}
/*
......@@ -85,7 +89,9 @@ export function zsff (data) {
return request({
url: '/sys/zsgl/zsff',
method: 'post',
data
data,
showLoading: true,
loadingTarget: '正在保存中...'
})
}
/*
......@@ -105,6 +111,7 @@ export function getZssyqkList (data) {
return request({
url: '/sys/zsgl/getZssyqkList',
method: 'post',
data
data,
showLoading: true
})
}
\ No newline at end of file
......
......@@ -218,7 +218,7 @@ aside {
}
.width100 {
width: 100%;
width: 100%!important;
}
.sub-navbar {
......
......@@ -2,11 +2,11 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源">
<el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源">
<el-option v-for="item in dictData['ywly']" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......@@ -14,16 +14,16 @@
</el-col>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.value" :label="item.label" :value="item.value">
<el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.value" :label="item.label" :value="item.value">
<el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
......
......@@ -2,62 +2,37 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<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" class="width100" 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>
......@@ -66,16 +41,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<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 :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>
......@@ -88,10 +56,10 @@ export default {
name: "jtfc",
components: {},
mixins: [table],
mounted() {
mounted () {
sendThis(this);
},
data() {
data () {
return {
sqrOption: [],
cxytOption: [],
......@@ -121,14 +89,14 @@ export default {
},
methods: {
// 初始化数据
fetchData() {
fetchData () {
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
let { records, total } = res.result;
// this.tableData.data = records
this.tableData.total = total;
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
},
......
......@@ -2,7 +2,7 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="查询用途">
<el-select v-model="queryForm.cxyt" filterable clearable placeholder="请选择用途">
<el-select v-model="queryForm.cxyt" class="width100" filterable clearable placeholder="请选择用途">
<el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......
......@@ -2,11 +2,11 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源">
<el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源">
<el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -14,7 +14,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
<el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -22,7 +22,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型">
<el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......
......@@ -63,7 +63,7 @@
</div>
</template>
<script>
import zsylDialog from "./zsyl";
import zsylDialog from "./zsyl.vue";
import { getBdcqzList, invalidCertificate } from "@/api/fqsq.js";
export default {
......
......@@ -2,11 +2,11 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="70px">
<el-form :model="queryForm" ref="queryForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源">
<el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源">
<el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -14,7 +14,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型">
<el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -22,7 +22,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型">
<el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......
<template>
<dialogBox title="证书使用情况" @closeDialog="closeDialog" v-model="myValue" :isButton="false">
<dialogBox title="证书使用情况" @closeDialog="closeDialog" @submitForm="submitForm" v-model="myValue" :isButton="false">
<el-form :model="ruleForm" ref="ruleForm" label-width="100px">
<div class="title-name">
入库情况
......@@ -145,11 +145,16 @@ export default {
},
},
methods: {
getDetail () {
},
submitForm () {
},
closeDialog () {
this.$emit('input', false)
this.$refs['ruleForm'].resetFields()
}
},
};
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
......
......@@ -2,17 +2,17 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="ruleForm" label-width="70px">
<el-form :model="ruleForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="分发编号">
<el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input>
<el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="领取时间">
<el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable >
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -32,23 +32,26 @@
:data="tableData.data">
</lb-table>
</div>
<addDialog ref="addDialog" v-model="isDialog"/>
<addDialog ref="addDialog" v-model="isDialog" />
<viewDialog v-model="viewDialog" />
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsffdata";
import { getZsglffList,removeZsgl,confirmZsff} from "@/api/zsgl.js"
import viewDialog from "../components/viewDialog.vue";
import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js"
import addDialog from "./components/addDialog.vue"
export default {
name: "zsff",
components: {addDialog},
components: { addDialog, viewDialog },
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
viewDialog: false,
isDialog: false,
value: '',
ruleForm: {
......@@ -82,8 +85,8 @@ export default {
})
},
openDialog () {
this.isDialog = true;
this.$nextTick(()=> {
this.isDialog = true;
this.$nextTick(() => {
this.$refs.addDialog.ywhSerial();
this.$refs.addDialog.initStartNo();
})
......@@ -92,7 +95,7 @@ export default {
this.fetchData()
},
//修改筛选时间
timeChange() {
timeChange () {
if (this.ruleForm.ffsj != null) {
this.approveForm.ffkssj = this.ruleForm.ffsj[0];
this.approveForm.ffjssj = this.ruleForm.ffsj[1];
......@@ -102,17 +105,17 @@ export default {
}
},
//确定证书分发
confrimVerify(item){
confrimVerify (item) {
this.$confirm('是否确定分发', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
confirmZsff({"bsmBatch":item.bsmBatch}).then(res => {
if(res.code == 200){
confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("分发成功")
this.fetchData();
}else{
} else {
this.$message.error(res.message)
}
})
......@@ -123,18 +126,19 @@ export default {
});
});
},
//删除证书分发数据
delZsff(item){
//删除证书分发数据
delZsff (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({"bsmBatch":item.bsmBatch}).then(res => {
if(res.code == 200){
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.fetchData();
}else{
this.handleDel()
this.fetchData()
} else {
this.$message.error(res.message)
}
})
......
......@@ -13,7 +13,14 @@ class data extends filter {
{
label: '序号',
type: 'index',
width: '50'
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
prop: "batchno",
......@@ -59,25 +66,25 @@ class data extends filter {
switch (scope.row.state) {
case '0':
return <div>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button>
<el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsff(scope.row) }}>删除</el-button>
</div>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button>
<el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsff(scope.row) }}>删除</el-button>
</div>
case '1':
return <el-button type="text" onClick={() => { }}>查看</el-button>
return <el-button type="text" onClick={() => { vm.viewDialog = true }}>查看</el-button>
}
}
}
]
}
ywlys(){
return[
ywlys () {
return [
{ value: 1, label: "办事大厅" },
{ value: 2, label: "微信小程序" },
{ value: 3, label: "法院端" },
{ value: 4, label: "银行端" },
]
}
}
}
let datas = new data()
......
......@@ -2,17 +2,17 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="ruleForm" label-width="70px">
<el-form :model="ruleForm" label-width="80px">
<el-row>
<el-col :span="5">
<el-form-item label="入库编号">
<el-input v-model="approveForm.batchno" clearable placeholder="入库编号"></el-input>
<el-input v-model="ruleForm.batchno" clearable placeholder="入库编号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人库时间">
<el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期"
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable >
end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -32,17 +32,19 @@
:data="tableData.data">
</lb-table>
</div>
<addDialog ref="addDialog" v-model="isDialog"/>
<addDialog ref="addDialog" v-model="isDialog" />
<viewDialog v-model="viewDialog" />
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsrkdata";
import addDialog from "./components/addDialog.vue"
import { getZsglrkList ,removeZsgl,verifyZsrk} from "@/api/zsgl.js"
import addDialog from "./components/addDialog.vue";
import viewDialog from "../components/viewDialog.vue";
import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js";
export default {
name: "zsrk",
components: {addDialog},
components: { addDialog, viewDialog },
mixins: [table],
mounted () {
sendThis(this);
......@@ -50,10 +52,9 @@ export default {
data () {
return {
isDialog: false,
viewDialog: false,
ruleForm: {
rksj: ''
},
approveForm: {
rksj: '',
batchno: '',
rkkssj: '',
rkjssj: ''
......@@ -66,12 +67,9 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
getZsglrkList({ ...this.approveForm, ...this.pageData }).then(res => {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
......@@ -80,36 +78,38 @@ export default {
})
},
openDialog () {
this.isDialog = true;
this.$nextTick(()=> {
this.$nextTick(() => {
this.$refs.addDialog.ywhSerial();
this.isDialog = true;
})
},
queryClick () {
this.fetchData()
},
//修改筛选时间
timeChange() {
timeChange (val) {
if (this.ruleForm.rksj != null) {
this.approveForm.rkkssj = this.ruleForm.rksj[0];
this.approveForm.rkjssj = this.ruleForm.rksj[1];
this.ruleForm.rkkssj = this.ruleForm.rksj[0];
this.ruleForm.rkjssj = this.ruleForm.rksj[1];
} else {
this.approveForm.rkkssj = ''
this.approveForm.rkjssj = ''
this.ruleForm.rkkssj = ''
this.ruleForm.rkjssj = ''
}
},
//删除证书入库数据
delZsrk(item){
delZsrk (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
removeZsgl({"bsmBatch":item.bsmBatch}).then(res => {
if(res.code == 200){
removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("删除成功")
this.fetchData();
}else{
this.handleDel()
this.fetchData()
} else {
this.$message.error(res.message)
}
})
......@@ -121,17 +121,17 @@ export default {
});
},
//审核证书入库数据
confrimVerify(item){
confrimVerify (item) {
this.$confirm('审核是否通过', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
verifyZsrk({"bsmBatch":item.bsmBatch}).then(res => {
if(res.code == 200){
verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("审核成功")
this.fetchData();
}else{
} else {
this.$message.error(res.message)
}
})
......
......@@ -13,7 +13,14 @@ class data extends filter {
{
label: '序号',
type: 'index',
width: '50'
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
prop: "batchno",
......@@ -59,25 +66,25 @@ class data extends filter {
switch (scope.row.state) {
case '0':
return <div>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认审核</el-button>
<el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsrk(scope.row) }}>删除</el-button>
</div>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认审核</el-button>
<el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsrk(scope.row) }}>删除</el-button>
</div>
case '1':
return <el-button type="text" onClick={() => { }}>查看</el-button>
return <el-button type="text" onClick={() => { vm.viewDialog = true }}>查看</el-button>
}
}
}
]
}
ywlys(){
return[
ywlys () {
return [
{ value: 1, label: "办事大厅" },
{ value: 2, label: "微信小程序" },
{ value: 3, label: "法院端" },
{ value: 4, label: "银行端" },
]
}
}
}
let datas = new data()
......
......@@ -2,33 +2,29 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="ruleForm" label-width="120px">
<el-form :model="ruleForm" label-width="85px">
<el-row>
<el-col :span="5">
<el-form-item label="印刷序列号" prop="ysxlh">
<el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
<el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="证书类型" prop="zslx">
<el-select v-model="ruleForm.zslx" placeholder="请选择证书类型" clearable >
<el-option
v-for="item in zslxArr"
:key="item.value"
:label="item.label"
:value="item.value">
<el-select v-model="ruleForm.zslx" class="width100" placeholder="请选择证书类型" clearable>
<el-option v-for="item in zslxArr" :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="业务号" prop="ywh">
<el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input>
<el-form-item label="业务号" label-width="60px" prop="ywh">
<el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
<el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
......@@ -52,9 +48,9 @@
</div>
</template>
<script>
import viewDialog from "./components/viewDialog.vue"
import viewDialog from "../components/viewDialog.vue"
import table from "@/utils/mixin/table";
import { getZssyqkList} from "@/api/zsgl.js"
import { getZssyqkList } from "@/api/zsgl.js"
import { datas, sendThis } from "./zssyjldata";
export default {
name: "zssyjl",
......@@ -78,15 +74,12 @@ export default {
data: [],
},
zslxArr: [
{label: '不动产权证书',value: 'zs'},
{label: '不动产登记证明', value: 'zm'}
{ label: '不动产权证书', value: 'zs' },
{ label: '不动产登记证明', value: 'zm' }
]
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
......@@ -99,9 +92,9 @@ export default {
},
openDialog () {
this.isDialog = true
},
},
};
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
......@@ -13,7 +13,14 @@ class data extends filter {
{
label: '序号',
type: 'index',
width: '50'
width: '50',
render: (h, scope) => {
return (
<div>
{(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
</div>
)
}
},
{
label: "状态",
......@@ -75,7 +82,7 @@ class data extends filter {
align: 'center',
fixed: 'right',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-view" onClick={() => { }}>查看</el-button>
return <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog() }}>查看</el-button>
}
}
]
......