8658247a by 蔡俊立
2 parents 4e450e2e 835c044c
Showing 53 changed files with 397 additions and 492 deletions
......@@ -120,7 +120,6 @@ export default {
// 单选
singleElection (row) {
this.selected = this.data.indexOf(row);
console.log(this.selected);
},
tableRowClassName ({ row, rowIndex }) {
......
......@@ -120,7 +120,6 @@ export default {
// 单选
singleElection (row) {
this.selected = this.data.indexOf(row);
console.log(this.selected);
},
tableRowClassName ({ row, rowIndex }) {
......
......@@ -49,6 +49,17 @@ export default {
created () {
this.queryNoticeList()
},
mounted () {
let that = this
window.addEventListener('message', function (messageEvent) {
if (messageEvent.data.update) {
that.queryNoticeList()
}
}, false)
},
destroyed () {
window.removeEventListener('message')
},
methods: {
queryNoticeList () {
getHomeNoticeList().then(res => {
......
......@@ -69,10 +69,8 @@
}
}
.el-form-item--small.el-form-item {
margin-bottom: 0px;
margin-bottom: 5px;
}
}
......
......@@ -64,14 +64,15 @@
// 有子级
.el-submenu__title {
margin-left: 13px;
padding-left: 10px !important;
// margin-left: 13px;
// padding-left: 10px !important;
color: $menuText;
background-color: transparent !important;
border-bottom: 1px solid $sliderBorderColor;
&:hover {
color: $subMenuActiveText !important;
background-color: $subMenuHover !important;
background-color: $menuHover !important;
.svg-icon,
i,
......@@ -84,10 +85,15 @@
// 没有子级
.submenu-title-noDropdown {
color: $menuText;
border-radius: 6px;
padding-left: 10px !important;
border-bottom: 1px solid $sliderBorderColor;
&:hover {
background-color: $subMenuHover !important;
}
// border-radius: 6px;
// padding-left: 10px !important;
b &:hover {
color: $menuActiveText !important;
background-color: $subMenuHover !important;
......@@ -119,8 +125,8 @@
.el-submenu__title {
font-weight: 600;
font-size: $sideBarFontSize;
margin: 0 10px;
border-radius: 6px;
// margin: 0 10px;
// border-radius: 6px;
>i {
color: $subMenuActiveText !important;
......@@ -151,22 +157,30 @@
& .nest-menu .el-submenu>.el-submenu__title,
& .el-submenu .el-menu-item {
&.is-active {
background-color: $subMenuHover !important;
color: $menuActiveText !important;
border-bottom: 1px solid $sliderBorderColor;
}
&:hover {
background-color: $subMenuHover !important;
color: $menuActiveText !important;
border-bottom: 1px solid $sliderBorderColor;
}
min-width: 130px !important;
background-color: transparent !important;
font-weight: 600;
font-size: $sideBarFontSize;
margin: 0 10px;
border-radius: 6px;
// margin: 0 10px;
// border-radius: 6px;
span {
margin-left: 10px;
}
}
}
......@@ -279,16 +293,16 @@
.nest-menu .el-submenu>.el-submenu__title,
.el-menu-item {
width: calc(100% - 12px);
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
// width: calc(100% - 12px);
// border-top-right-radius: 8px;
// border-bottom-right-radius: 8px;
font-weight: 600 !important;
font-size: 15px !important;
background-color: $menuHover !important;
color: $menuText !important;
&:hover {
background-color: $menuHover !important;
background-color: $subMenuHover !important;
opacity: .9;
.svg-icon,
......
......@@ -17,16 +17,18 @@ $menuActiveText:#ffffff;
$subMenuActiveText:#ffffff;
$menuBg:#202B3D;
$menuHover:#0794FF;
$menuHover:#249af4;
$subMenuBg:#202B3D;
$subMenuHover:#0794FF;
$subMenuHover:#0e6fba;
$sideBarWidth: 170px;
$sideBarFontSize:15px;
// border颜色
$borderColor: #EBEEF5;
$sliderBorderColor: #606266;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
......
......@@ -11,9 +11,12 @@ export default {
computed: {
...mapGetters(['dictData']),
},
created () {
if (this.fetchData) {
this.fetchData()
mounted () {
// if (this.fetchData) {
// this.fetchData()
// }
if (this.queryClick) {
this.queryClick()
}
},
methods: {
......@@ -24,9 +27,9 @@ export default {
},
handleCurrentChange (val) {
this.pageData.currentPage = val
if (this.fetchData) {
this.fetchData()
}
// if (this.fetchData) {
// this.fetchData()
// }
console.log('this.queryClick,', this.queryClick, 'this.fetchData', this.fetchData);
if (this.queryClick) {
this.queryClick()
......
......@@ -107,6 +107,7 @@
import * as G2 from '@antv/g2'
import vueSeamlessScroll from "vue-seamless-scroll"
import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js";
import { setReadStatus } from '@/api/system'
import addDialog from "./components/addProject.vue";
export default {
name: 'home',
......@@ -336,6 +337,11 @@ export default {
this.projectDialog = true;
},
handleNotice (item) {
setReadStatus({ bsmNotice: item.bsmNotice }).then(res => {
if (res.code == 200) {
this.queryNoticeList()
}
})
this.$alertMes(item.noticeTitle, item.noticeContent)
}
}
......
......@@ -16,8 +16,17 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
<el-col :span="10">
<el-form-item label="查询时间">
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
clearable>
</el-date-picker>
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="结束日期" value-format="yyyy-MM-dd"
clearable>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......@@ -44,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx";
export default {
name: "dydjb",
mixins: [table],
mounted () {
mounted() {
sendThis(this);
this.queryClick()
this.queryClick();
},
computed: {
...mapGetters(["dictData"]),
},
data () {
data() {
return {
queryForm: {
cxbh: "",
......@@ -66,7 +75,7 @@ export default {
},
methods: {
// 初始化数据
queryClick () {
queryClick() {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
......@@ -77,12 +86,12 @@ export default {
}
});
},
dydjbClick (scope) {
dydjbClick(scope) {
popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
sqcxdata: scope.row,
})
});
},
handleSort (name, sort) {
handleSort(name, sort) {
console.log(name, sort);
},
},
......
......@@ -21,14 +21,12 @@
</el-col>
</el-row>
</el-form>
<!-- <personInfoTable @getInfoList="handleGetSqList" :dataList="form.sqrList" /> -->
<lb-table border :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting
<lb-table :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
<b class="title">权利人</b>
<!-- <personInfoTable @getInfoList="handleGetQlList" :dataList="form.qlrList" :isGanged="isGanged" /> -->
<lb-table border :column="qlrColumns" key="ql2r" :data="form.qlrList" :maxHeight="200" heightNumSetting
<lb-table :column="qlrColumns" key="ql2r" :data="form.qlrList" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
<div v-show="isSearch">
......@@ -41,10 +39,10 @@
<el-divider></el-divider>
<div class="submit-button" style="padding-bottom:50px">
<el-button @click="resetClick">重置</el-button>
<el-button type="primary" v-show="isSearch==false" @click="queryChick">查询</el-button>
<el-button type="primary" v-show="isSearch&&form.dyjlList.length > 0">房产结果打印({{form.dyjlList.length}}
<el-button type="primary" v-show="isSearch == false" @click="queryChick">查询</el-button>
<el-button type="primary" v-show="isSearch && form.dyjlList.length > 0">房产结果打印({{ form.dyjlList.length }}
</el-button>
<el-button type="primary" v-show="isSearch&&form.dyjlList.length == 0">无房证明打印({{form.dyjlList.length}}
<el-button type="primary" v-show="isSearch && form.dyjlList.length == 0">无房证明打印({{ form.dyjlList.length }}
</el-button>
<el-button @click="closeDialog">关闭</el-button>
</div>
......@@ -53,25 +51,21 @@
</template>
<script>
import personInfoTable from "./personInfoTable";
import { addJtfcCxjgXx, getJtfcInfo } from "@/api/sqcx";
import { datas, sendThis } from "./addjtfcdata";
import { mapGetters } from "vuex";
export default {
components: {
personInfoTable,
},
computed: {
...mapGetters(["dictData"]),
},
props: {
value: { type: Boolean, default: false },
bsmSqcx: { type: String, default: "" },
sqcxBsm: { type: String, default: "" },
},
mounted() {
mounted () {
sendThis(this);
},
data() {
data () {
return {
myValue: this.value,
//是否查询
......@@ -99,37 +93,42 @@ export default {
};
},
watch: {
value(val) {
value (val) {
this.myValue = val;
let that = this
if (val) {
//this.$alert(this.bsmSqcx);
if (this.bsmSqcx == "") {
this.add("sqr");
this.add("qlr");
this.form.sqrList = []
this.form.qlrList = []
this.isSearch = false
if (this.sqcxBsm == "") {
that.add("sqr");
that.add("qlr");
} else {
this.loadData();
that.loadData();
}
}
},
"form.djSqcxDO.ycyrgx"(val) {
"form.djSqcxDO.ycyrgx" (val) {
if (val == "1") {
this.form.qlrList = this.form.sqrList;
this.form.qlrList = _.cloneDeep(this.form.sqrList);
} else {
this.form.qlrList = [];
this.add("qlr");
}
},
"form.sqrList"(val) {
//this.$alert(val);
},
"form.sqrList" (val) {
if (this.form.djSqcxDO.ycyrgx == '1') {
this.form.qlrList = _.cloneDeep(this.form.sqrList)
}
}
},
methods: {
closeDialog() {
closeDialog () {
this.$emit("input", false);
},
loadData() {
loadData () {
this.$startLoading();
getJtfcInfo({ sqcxBsm: sqcxBsm }).then((res) => {
getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => {
this.$endLoading();
if (res.code == 200) {
this.form = res.result;
......@@ -137,7 +136,7 @@ export default {
}
});
},
queryChick() {
queryChick () {
this.$startLoading();
addJtfcCxjgXx(this.form).then((res) => {
this.$endLoading();
......@@ -148,30 +147,30 @@ export default {
}
});
},
resetClick() {
resetClick () {
this.form.djSqcxDO = { ycyrgx: "1", cxyt: "" };
this.form.sqrList = _.cloneDeep([this.newData]);
this.form.qlrList =_.cloneDeep([this.newData]);
this.form.qlrList = _.cloneDeep([this.newData]);
this.form.cxjgList = [];
this.form.dyjlList = [];
this.isSearch = false;
},
handleRead(scope) {},
add(type) {
handleRead (scope) { },
add (type) {
if (type == "sqr") {
this.form.sqrList.push(this.newData);
this.form.sqrList.push(_.cloneDeep(this.newData));
} else {
this.form.qlrList.push(this.newData);
this.form.qlrList.push(_.cloneDeep(this.newData));
}
},
remove(index, row, type) {
remove (index, row, type) {
if (type == "sqr") {
this.form.sqrList.splice(index, 1);
} else {
this.form.qlrList.splice(index, 1);
}
},
teltest(row) {
teltest (row) {
const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/;
if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) {
row.inputErr = true;
......
......@@ -8,7 +8,7 @@ class data extends filter {
constructor() {
super()
}
columns() {
columns () {
return [
{
prop: 'qszt',
......@@ -74,7 +74,7 @@ class data extends filter {
}
]
}
sqrCol() {
sqrCol () {
return [
{
width: "60",
......@@ -94,7 +94,7 @@ class data extends filter {
<i
class="el-icon-minus pointer"
onClick={() => {
vm.remove(scope.$index, scope.row,"sqr");
vm.remove(scope.$index, scope.row, "sqr");
}}
></i>
);
......@@ -142,6 +142,7 @@ class data extends filter {
return (
<el-select
class="width100"
clearable
value={scope.row[scope.column.property]}
onChange={(val) => {
scope.row[scope.column.property] = val;
......@@ -211,7 +212,7 @@ class data extends filter {
},
]
}
qlrCol() {
qlrCol () {
return [
{
width: "60",
......@@ -231,7 +232,7 @@ class data extends filter {
<i
class="el-icon-minus pointer"
onClick={() => {
vm.remove(scope.$index, scope.row,"qlr");
vm.remove(scope.$index, scope.row, "qlr");
}}
></i>
);
......
<!--
功能:个人信息table
作者:calliope
-->
<template>
<lb-table border :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
</template>
<script>
import { mapGetters } from "vuex";
export default {
props: {
dataList: { type: Array, default: () => [{}] },
},
created() {
if (this.dataList.length == 0) {
this.add();
}
},
computed: {
...mapGetters(["dictData"]),
},
data() {
return {
tableData: {
columns: [
{
width: "60",
renderHeader: (h, scope) => {
return (
<i
class="el-icon-plus pointer"
onClick={() => {
this.add();
}}
style="color:#409EFF"
></i>
);
},
render: (h, scope) => {
return (
<i
class="el-icon-minus pointer"
onClick={() => {
this.remove(scope.$index, scope.row);
}}
></i>
);
},
},
{
width: "150",
label: "身份证读卡器",
render: (h, scope) => {
return (
<div>
<el-button
type="text"
icon="el-icon-edit-outline"
onClick={() => {
this.handleRead(scope);
}}
>
读取
</el-button>
</div>
);
},
},
{
width: "150",
prop: "sqrxm",
label: "姓名/名称",
render: (h, scope) => {
return (
<el-input
placeholder="姓名/名称"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
></el-input>
);
},
},
{
prop: "sqrzjlxbm",
label: "证件种类",
render: (h, scope) => {
return (
<el-select
class="width100"
value={scope.row[scope.column.property]}
onChange={(val) => {
scope.row[scope.column.property] = val;
}}
>
{this.dictData["A30"].map((option) => {
return (
<el-option
label={option.dname}
value={option.dcode}
></el-option>
);
})}
</el-select>
);
},
},
{
prop: "sqrzjhm",
label: "证件号",
render: (h, scope) => {
return (
<el-input
placeholder="证件号"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
maxlength="21"
></el-input>
);
},
},
{
prop: "lxdh",
label: "联系电话",
render: (h, scope) => {
return (
<div class="typePhone">
<el-input
placeholder="联系电话"
value={scope.row[scope.column.property]}
onInput={(val) => {
scope.row[scope.column.property] = val;
}}
onBlur={(val) => {
this.teltest(scope.row);
}}
type="tel"
maxlength="11"
></el-input>
<span
v-show={scope.row.inputErr}
style={{
fontSize: "12px",
color: "red",
position: "absolute",
bottom: "-2px",
left: "0",
}}
>
请输入正确手机号
</span>
</div>
);
},
},
],
data: this.dataList,
},
};
},
watch: {
// 'tableData.data': {
// handler (newValue, oldName) {
// if (newValue.length != 0) {
// //this.$alert(newValue);
// //this.$emit('getInfoList', newValue)
// }
// },
// deep: true,
// immediate: true
// },
// dataList: {
// handler (newValue, oldName) {
// this.tableData.data = _.cloneDeep(newValue)
// //console.log(this.tableData.data, 'this.tableData.datathis.tableData.data');
// },
// deep: true,
// immediate: true
// },
},
methods: {
add() {
this.tableData.data.push({
sqrxm: "",
sqrzjlxbm: "",
sqrzjhm: "",
lxdh: "",
inputErr: false,
});
},
remove(index, row) {
this.tableData.data.splice(index, 1);
},
teltest(row) {
const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/;
if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) {
row.inputErr = true;
return false;
} else {
row.inputErr = false;
return true;
}
},
},
};
</script>
<style scoped lang='scss'>
/deep/.el-table__cell {
padding: 12px 0;
}
</style>
\ No newline at end of file
......@@ -18,11 +18,11 @@
</el-col>
<el-col :span="10">
<el-form-item label="查询时间">
<el-date-picker v-model="queryForm.sqr" type="date"
placeholder="开始日期" value-format="yyyy-MM-dd" clearable>
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
clearable>
</el-date-picker>
<el-date-picker v-model="queryForm.sqr" type="date"
placeholder="结束日期" value-format="yyyy-MM-dd" clearable>
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="结束日期" value-format="yyyy-MM-dd"
clearable>
</el-date-picker>
</el-form-item>
</el-col>
......@@ -52,11 +52,11 @@ export default {
name: "jtfc",
components: { addjtfc },
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick();
},
data() {
data () {
return {
timer: "",
isDialog: false,
......@@ -73,7 +73,7 @@ export default {
},
methods: {
// 初始化数据
queryClick() {
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
......@@ -84,26 +84,18 @@ export default {
}
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
handleAdd() {
//this.handleLoad();
handleAdd () {
this.sqcxBsm = ''
this.isDialog = true;
},
handleViewClick(scope) {
//this.handleLoad();
this.bsmSqcx = scope.row.bsmSqcx;
handleViewClick (row) {
this.sqcxBsm = row.bsmSqcx;
this.isDialog = true;
// this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
// formData: {
// sqcxBsm: sqcxBsm,
// },
// cancel: function () { }, //取消事件的回调
// confirm: function () { },
// });
},
handleLoad() {
handleLoad () {
this.timer = new Date().getTime();
},
},
......
......@@ -50,17 +50,8 @@ class data extends filter {
label: "申请人",
},
{
label: "与权利人的关系",
render: (h, scope) => {
switch (scope.row.ycyrgx) {
case '1':
return <div>房屋权利人</div>
case '2':
return <div>产权利害关系人</div>
case '3':
return <div>委托人</div>
}
}
prop: "ycqrgxmc",
label: "与产权人的关系",
},
{
prop: "qlrxm",
......@@ -74,7 +65,7 @@ class data extends filter {
label: "操作",
width: 80,
render: (h, scope) => {
return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button>
return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope.row) }}>查看</el-button>
}
}
]
......
<template>
<div>
<el-form :model="ruleForm" label-width="120px">
<el-form :model="form" boder label-width="120px">
<el-row>
<el-col :span="24" style="margin-bottom: 15px">
<div class="slxx_title title-block">
申请信息
查询情况
<div class="triangle"></div>
</div>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="查询用途" label-width="90px">
<el-input v-model="ruleForm.cxyt" class="width200px"></el-input>
<el-col :span="6">
<el-form-item label="查询来源:" label-width="90px">{{form.djSqcxDO.cxly}}
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="与产权人的关系">
<el-radio-group v-model="ruleForm.ycyrgx">
<el-radio :label="1">房屋权利人</el-radio>
<el-radio :label="2">产权利害关系人</el-radio>
<el-radio :label="3">委托人</el-radio>
</el-radio-group>
<el-col :span="6">
<el-form-item label="查询类型:">{{form.djSqcxDO.cxlx}}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询人员:" label-width="90px">{{form.djSqcxDO.cxr}}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询时间:">{{form.djSqcxDO.cxsj}}
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="查询编号:" label-width="90px">{{form.djSqcxDO.cxbh}}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询用途:" label-width="90px">{{form.djSqcxDO.cxyt}}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="与产权人的关系:">{{form.djSqcxDO.ycqrgxmc}}
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号:">{{form.djSqcxDO.bdcqzh}}
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24" style="margin-bottom: 15px">
<div class="slxx_title title-block">
申请人
<div class="triangle"></div>
</div>
</el-col>
</el-row>
<el-row>
<el-col>
<lb-table :column="sqrData.columns" border :data="sqrData.data" :maxHeight="200" heightNumSetting
<lb-table :column="sqrData.columns" border :data="form.sqrList" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
</el-col>
</el-row>
<el-row>
<el-col :span="24" style="margin-bottom: 15px">
<div class="slxx_title title-block">
......@@ -45,7 +71,7 @@
</el-row>
<el-row>
<el-col>
<lb-table :column="qlrData.columns" border :data="qlrData.data" :maxHeight="200" heightNumSetting
<lb-table :column="qlrData.columns" border :data="form.qlrList" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
</el-col>
......@@ -61,13 +87,22 @@
</el-row>
<el-row>
<el-col>
<p>查询编号:{{ cxbh }}</p>
<lb-table :column="cxjgData.columns" :data="form.cxjgList" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
</el-col>
</el-row>
<el-row>
<el-col :span="24" style="margin-bottom: 15px">
<div class="slxx_title title-block">
打印记录
<div class="triangle"></div>
</div>
</el-col>
</el-row>
<el-row>
<el-col>
<lb-table :column="cxjgData.columns" :data="cxjgData.data" :maxHeight="200" heightNumSetting
:pagination="false">
<lb-table :column="dyjlcolumns" :data="form.dyjlList" :maxHeight="200" heightNumSetting :pagination="false">
</lb-table>
</el-col>
</el-row>
......@@ -86,13 +121,14 @@ export default {
// },
props: ["formData"],
created () {
created() {
// debugger;
// alert(this.formData.sqcxBsm);
},
data () {
data() {
return {
form: {},
ruleForm: {
cxyt: "",
ycyrgx: 1,
......@@ -113,26 +149,27 @@ export default {
columns: datas.qlrcolumns(),
data: [],
},
dyjlcolumns: datas.dyjlcolumns(),
};
},
mounted () {
mounted() {
sendThis(this);
var sqcxBsm = this.formData.sqcxBsm;
getJtfcInfo({ sqcxBsm: sqcxBsm })
.then((res) => {
if (res.code == 200) {
this.form = res.result;
this.sqrData.data = res.result.sqxx;
this.qlrData.data = res.result.qlrxx;
this.cxjgData.data = res.result.djSqcxCxjgDOList;
this.cxbh = res.result.djSqcxDO.cxbh;
}
})
.catch((error) => {
console.log(error);
})
});
},
methods: {},
};
......
......@@ -126,7 +126,22 @@ class data extends filter {
},
]
}
dyjlcolumns () {
return [
{
prop: 'sqrxm',
label: '打印类型',
},
{
prop: 'sqrzjlxmc',
label: '打印人员',
},
{
prop: 'sqrzjhm',
label: '打印时间',
}
]
}
}
......
......@@ -2,21 +2,53 @@
<div class="from-clues">
<!-- 表单部分 -->
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px">
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="查询来源">
<el-select v-model="queryForm.cxbh" class="width100" placeholder="请选择活动区域">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询类型">
<el-select v-model="queryForm.cxbh" class="width100" placeholder="请选择活动区域">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="查询编号">
<el-input placeholder="请输入编号" @clear="queryClick" v-model="queryForm.cxbh" class="width100" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="申请人">
<el-input placeholder="请输入申请人" @clear="queryClick" v-model="queryForm.sqr" class="width100" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="开始日期" class="marginbtm0">
<el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="开始日期"
value-format="yyyy-MM-dd" clearable>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="结束日期" class="marginbtm0">
<el-date-picker class="width100" v-model="queryForm.sqr" type="date" placeholder="结束日期"
value-format="yyyy-MM-dd" clearable>
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......@@ -27,7 +59,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
<lb-table :page-size="pageData.size" :heightNum="305" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -43,7 +75,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
this.queryClick();
},
data () {
return {
......@@ -89,5 +121,9 @@ export default {
};
</script>
<style scoped lang="scss">
.marginbtm0 {
margin-bottom: 0
}
@import "~@/styles/public.scss";
</style>
......
......@@ -8,7 +8,7 @@ class data extends filter {
constructor() {
super()
}
columns () {
columns() {
return [
{
label: '序号',
......@@ -16,13 +16,30 @@ class data extends filter {
width: '50'
},
{
label: "查询来源",
render: (h, scope) => {
switch (scope.row.cxly) {
case '1':
return <div>办事大厅</div>
case '2':
return <div>自助查询机</div>
case '3':
return <div>政务一体化平台</div>
case '4':
return <div>互联网</div>
case '5':
return <div>微信公众号</div>
}
}
},
{
label: "查询类型",
render: (h, scope) => {
switch (scope.row.cxlx) {
case '1':
return <div>家庭房产</div>
case '2':
return <div>登记簿</div>
return <div>房屋明细</div>
}
}
},
......@@ -44,7 +61,7 @@ class data extends filter {
},
{
prop: "ycqrgxmc",
label: "与权利人的关系",
label: "与产权人的关系",
},
{
prop: "qlrxm",
......
......@@ -129,6 +129,7 @@ export default {
publishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.$message.success('发布成功')
this.postMessage()
this.queryClick();
} else {
this.$message.error(res.message)
......@@ -141,6 +142,9 @@ export default {
});
});
},
postMessage () {
window.parent.postMessage({ update: true }, '*')
},
//取消发布
toUnPublish (item) {
this.$confirm('是否确定取消发布', '提示', {
......@@ -150,6 +154,7 @@ export default {
}).then(() => {
unPublishNotice({ "bsmNotice": item.bsmNotice }).then(res => {
if (res.code == 200) {
this.postMessage()
this.$message.success('删除成功')
this.queryClick();
} else {
......
......@@ -21,7 +21,7 @@
</el-col>
<el-col :span="6" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="zslqClick()">证书领取</el-button>
</el-form-item>
</el-col>
......@@ -64,8 +64,7 @@ export default {
}
},
methods: {
// 列表渲染接口
fetchData () {
queryClick () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
getCertificateList(this.ruleForm).then(res => {
if (res.code === 200) {
......
......@@ -86,7 +86,7 @@ export default {
label: "联系电话"
},
{
label: '修改',
label: '操作',
render: (h, scope) => {
return (
<div>
......@@ -98,6 +98,7 @@ export default {
icon="el-icon-edit-outline"
type="text"
onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
}
</div>
)
......@@ -131,7 +132,9 @@ export default {
handler (newVal, oldValue) {
let dataList = _.cloneDeep(this.InformationTable)
if (newVal == 0) {
this.column = _.cloneDeep(dataList).slice(1, dataList.length)
// this.column = _.cloneDeep(dataList).slice(1, dataList.length)
this.column = _.cloneDeep(dataList)
} else if ((newVal == '1' || newVal == '3')) {
this.column = dataList
} else {
......@@ -148,7 +151,6 @@ export default {
},
methods: {
handleupdateDetail (value) {
debugger
if(this.isaddupdate){
if (!_.isEqual(value, this.tableData)) {
this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
......@@ -170,7 +172,14 @@ export default {
// 删除
deleClick (index, row) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.tableData.splice(index, 1)
}).catch(() => {
});
},
// 身份证读取
......
......@@ -119,7 +119,7 @@ export default {
issueCertificate(this.ruleForm).then(res => {
if (res.code == 200) {
this.$message.success('保存成功');
this.$parent.fetchData();
this.$parent.queryClick();
this.$emit("input", false);
} else {
this.$message.error(res.message)
......
......@@ -7,13 +7,23 @@ export default {
}
},
created () {
this.getHomeNotice()
},
mounted () {
let that = this
window.addEventListener('message', function (messageEvent) {
console.log(23333333333333333);
that.getHomeNotice()
}, false)
},
methods: {
getHomeNotice () {
getHomeNoticeList().then(res => {
if (res.result) {
this.noticeList = res.result.noticeList
}
})
},
methods: {
//右侧表单选项卡事件
beforeLeave (activeName, oldActiveName) {
if (activeName && activeName != 0) this.getFromRouter(activeName)
......@@ -21,8 +31,8 @@ export default {
//切换选项卡内容组件
getFromRouter (tabname) {
//根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
for(let item of this.tabList){
if(item.value === tabname){
for (let item of this.tabList) {
if (item.value === tabname) {
this.currentSelectTab = item
break;
}
......
......@@ -198,7 +198,7 @@ export default {
//默认加载第一个表单信息
this.tabName = res.result[0].value;
//批量操作无分屏按钮
if(index != null){
if (index != null) {
//处理分屏材料信息
let that = this;
this.tabList.forEach(function (item, index) {
......@@ -220,7 +220,7 @@ export default {
this.stepForm(index);
},
//批量按钮点击事件
batchUnitClick(){
batchUnitClick () {
this.currentSelectProps.batchOperation = true;
this.activeIndex = "-1";
this.stepForm();
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -63,11 +63,7 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick(){
getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......@@ -79,9 +75,6 @@ export default {
}
})
},
queryClick(){
this.fetchData();
},
viewDetail(e){
this.$popup("错误日志", "xtjk/cwrz/components/viewDialog", {
formData: {
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -63,11 +63,7 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick(){
getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......@@ -76,9 +72,6 @@ export default {
}
})
},
queryClick(){
this.fetchData();
},
viewDetail(e){
this.$popup("操作日志", "xtjk/czrz/components/viewDialog", {
formData: {
......
......@@ -157,11 +157,8 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick () {
getServerInfo().then(res => {
if (res.code === 200) {
this.serverData = res.result
......
......@@ -105,7 +105,6 @@ export default {
},
mounted () {
sendThis(this);
this.queryClick()
},
watch: {
queryForm: {
......
......@@ -225,6 +225,16 @@ export default {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val))
},
onSubmit () {
if(this.ruleForm.slywxx.gyfs=="0"){
if(this.ruleForm.qlrList.length>1){
this.$message({
showClose: true,
message: "共有方式:单独所有,权利人只能是一个人",
type: "error",
});
return false;
}
}
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
......@@ -41,7 +41,7 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -82,7 +82,6 @@ export default {
mixins: [table, searchMin],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......
......@@ -24,7 +24,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -84,7 +84,7 @@ export default {
closeDialog () {
this.$emit("closeDialog")
},
fetchData () {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectCfdj({ ...this.queryForm, ...this.pageData })
.then((res) => {
......
......@@ -33,7 +33,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -89,7 +89,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
<template>
<div class="from-clues">
<div class="from-clues-header">
<el-tabs v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
<el-tabs type="card" v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
<el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
<el-tab-pane label="多幢" name="h"></el-tab-pane>
</el-tabs>
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="110px">
<el-row>
<el-col :span="7">
<el-form-item label="宗地代码">
<el-input placeholder="宗地代码" v-model="queryForm.zddm" clearable>
<el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="土地证号">
<el-input placeholder="土地证号" v-model="queryForm.bdcqzh" clearable>
<el-input placeholder="请输入土地证号" v-model="queryForm.bdcqzh" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="土地坐落">
<el-input placeholder="土地坐落" v-model="queryForm.zl" clearable>
<el-input placeholder="请输入土地坐落" v-model="queryForm.zl" clearable>
</el-input>
</el-form-item>
</el-col>
......@@ -30,25 +31,25 @@
<el-row>
<el-col :span="7">
<el-form-item label="自然幢号">
<el-input placeholder="自然幢号" v-model="queryForm.zrzh" clearable>
<el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="项目名称">
<el-input v-model="queryForm.xmmc"></el-input>
<el-input placeholder="请输入项目名称" v-model="queryForm.xmmc"></el-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="建筑物名称">
<el-input placeholder="建筑物名称" v-model="queryForm.jzwmc" clearable>
<el-input placeholder="请输入建筑物名称" v-model="queryForm.jzwmc" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -112,7 +113,7 @@ export default {
closeDialog () {
this.$emit("closeDialog");
},
fetchData () {
queryClick () {
if (!this.isJump) {
//从业务办理进入
this.queryForm.sqywbm = this.sqywInfo.djywbm;
......@@ -148,7 +149,7 @@ export default {
},
handleTabClick () {
this.pageData.currentPage = 1;
this.fetchData();
this.queryClick();
},
submitForm () {
if (this.bdcdysz.length == 0) {
......@@ -209,4 +210,5 @@ export default {
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
</style>
......
......@@ -12,7 +12,7 @@ export default {
},
queryClick () {
this.pageData.currentPage = 1
this.fetchData();
// this.fetchData();
}
}
}
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -78,7 +78,7 @@ export default {
closeDialog () {
this.$emit("closeDialog");
},
fetchData () {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +75,7 @@ export default {
closeDialog () {
this.$emit("closeDialog");
},
fetchData () {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -33,7 +33,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -103,7 +103,7 @@ export default {
this.$emit("closeDialog");
},
//默认加载表格信息
fetchData() {
queryClick() {
this.queryForm.bsmSqyw = this.bsmSqyw;
selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -25,7 +25,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -80,7 +80,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -32,7 +32,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -88,7 +88,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -79,9 +79,6 @@ export default {
this.$emit("closeDialog");
},
queryClick() {
this.fetchData();
},
fetchData() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -40,7 +40,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -104,7 +104,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -40,7 +40,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -104,7 +104,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -40,7 +40,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -104,7 +104,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -36,7 +36,7 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
</el-form-item>
</el-col>
</el-row>
......
......@@ -38,7 +38,7 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -64,7 +64,6 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......
......@@ -32,7 +32,7 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -57,7 +57,6 @@ export default {
mixins: [table],
mounted () {
sendThis(this)
this.queryClick()
},
data () {
return {
......
......@@ -6,32 +6,32 @@
<el-row>
<el-col :span="5">
<el-form-item label="不动产权证号" label-width="100px">
<el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick()" v-model="queryForm.bdcqzh">
<el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick" v-model="queryForm.bdcqzh">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="印刷序列号" label-width="100px">
<el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick()" v-model="queryForm.ysxlh">
<el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick" v-model="queryForm.ysxlh">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" class="width100" @clear="queryClick()" v-model="queryForm.ywh">
<el-input placeholder="请输入业务号" class="width100" @clear="queryClick" v-model="queryForm.ywh">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="领取人">
<el-input placeholder="请输入领取人" class="width100" @clear="queryClick()" v-model="queryForm.lqr">
<el-input placeholder="请输入领取人" class="width100" @clear="queryClick" v-model="queryForm.lqr">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -73,12 +73,8 @@ export default {
methods: {
// 查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
},
},
};
</script>
......
......@@ -33,10 +33,10 @@
<el-form-item>
<el-button
type="primary"
@click="queryClick()"
@click="queryClick"
>查询</el-button
>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -83,11 +83,8 @@ export default {
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {},
},
};
</script>
......
......@@ -140,7 +140,7 @@ export default {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
this.resetTableFields();
this.$parent.fetchData();
this.$parent.queryClick();
} else {
this.$message.error(res.message)
}
......
......@@ -27,7 +27,7 @@
<el-col :span="9" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
</el-form-item>
</el-col>
......@@ -96,19 +96,6 @@ export default {
}
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
openDialog (bsmBatch) {
if (bsmBatch) {
this.$nextTick(() => {
......@@ -123,7 +110,13 @@ export default {
this.isDialog = true;
},
queryClick () {
this.fetchData()
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//确定证书分发
confrimVerify (item) {
......@@ -135,7 +128,7 @@ export default {
confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("分发成功")
this.fetchData();
this.queryClick();
} else {
this.$message.error(res.message)
}
......@@ -158,7 +151,7 @@ export default {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.fetchData()
this.queryClick()
} else {
this.$message.error(res.message)
}
......
......@@ -147,7 +147,7 @@ export default {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
this.resetTableFields();
this.$parent.fetchData();
this.$parent.queryClick();
} else {
this.$message.error(res.message);
}
......
......@@ -25,7 +25,7 @@
</el-col>
<el-col :span="9" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
</el-form-item>
</el-col>
......@@ -93,16 +93,6 @@ export default {
}
},
methods: {
// 列表渲染接口
fetchData () {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
openDialog (bsmBatch) {
if (bsmBatch) {
this.$nextTick(() => {
......@@ -116,7 +106,13 @@ export default {
this.isDialog = true;
},
queryClick () {
this.fetchData()
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//删除证书入库数据
delZsrk (item) {
......@@ -129,7 +125,7 @@ export default {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.fetchData()
this.queryClick()
} else {
this.$message.error(res.message)
}
......@@ -151,7 +147,7 @@ export default {
verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("审核成功")
this.fetchData();
this.queryClick();
} else {
this.$message.error(res.message)
}
......
......@@ -6,12 +6,12 @@
<el-row>
<el-col :span="5">
<el-form-item label="印刷序列号" prop="ysxlh">
<el-input v-model="ruleForm.ysxlh" @clear="fetchData()" 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" @change="fetchData()" class="width100" placeholder="请选择证书类型" clearable>
<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>
......@@ -19,18 +19,18 @@
</el-col>
<el-col :span="5">
<el-form-item label="业务号" label-width="60px" prop="ywh">
<el-input v-model="ruleForm.ywh" @clear="fetchData()" clearable placeholder="请输入业务号"></el-input>
<el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh" @clear="fetchData()" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -80,8 +80,7 @@ export default {
};
},
methods: {
// 列表渲染接口
fetchData () {
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......