0ac38332 by 蔡俊立
2 parents 3dcc2f6b 58714585
export default {
SERVERAPI: '/service-bdcdj9',
SERVERAPI: '/service-bdcdj',
// SERVERCAI: '/service-bdcdj-Tian'
}
\ No newline at end of file
......
......@@ -12,17 +12,29 @@ export default {
...mapGetters(['dictData']),
},
created () {
this.fetchData()
if (this.fetchData) {
this.fetchData()
}
},
methods: {
handleSizeChange (val) {
this.pageData.currentPage = 1
this.pageData.pageSize = val
this.fetchData()
if (this.fetchData) {
this.fetchData()
}
if (this.queryClick) {
this.queryClick()
}
},
handleCurrentChange (val) {
this.pageData.currentPage = val
this.fetchData()
if (this.fetchData) {
this.fetchData()
}
if (this.queryClick) {
this.queryClick()
}
},
handleDel () {
let deleteAfterPage = Math.ceil((this.tableData.total - 1) / this.pageData.pageSize)
......
......@@ -2,46 +2,24 @@
<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="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入编号"
v-model="queryForm.cxbh"
class="width100"
clearable
@clear="queryClick()"
>
<el-input placeholder="请输入编号" v-model="queryForm.cxbh" class="width100" clearable @clear="queryClick">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
v-model="queryForm.sqr"
class="width100"
@clear="queryClick()"
clearable
>
<el-input placeholder="请输入申请人" v-model="queryForm.sqr" class="width100" @clear="queryClick" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" 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>
......@@ -49,19 +27,10 @@
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
id="dydjb"
border
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" border @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>
</div>
</div>
......@@ -75,13 +44,14 @@ import { getJtfcPage } from "@/api/jtfc";
export default {
name: "dydjb",
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(["dictData"]),
},
data() {
data () {
return {
queryForm: {
cxbh: "",
......@@ -95,13 +65,9 @@ export default {
};
},
methods: {
//查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -111,17 +77,17 @@ export default {
}
});
},
dydjbClick(scope) {
dydjbClick (scope) {
this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
height: "800px",
formData: {
sqcxdata: scope.row,
},
cancel: function () {}, //取消事件的回调
confirm: function () {},
cancel: function () { }, //取消事件的回调
confirm: function () { },
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
},
......
......@@ -2,59 +2,32 @@
<div class="from-clues">
<!-- 家庭房产 -->
<div class="from-clues-header">
<el-form
:model="queryForm"
@submit.native.prevent
ref="queryForm"
label-width="70px"
>
<el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入查询编号"
@clear="queryClick()"
v-model="queryForm.cxbh"
clearable
class="width100"
>
<el-input placeholder="请输入查询编号" @clear="queryClick()" v-model="queryForm.cxbh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
@clear="queryClick()"
v-model="queryForm.sqr"
clearable
class="width100"
>
<el-input placeholder="请输入申请人" @clear="queryClick()" v-model="queryForm.sqr" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnColRight">
<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="handleAdd">新增</el-button>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
border
id="jtfc"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<addjtfc v-model="isDialog" />
......@@ -69,10 +42,11 @@ export default {
name: "jtfc",
components: { addjtfc },
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
data() {
data () {
return {
isDialog: false,
sqrOption: [],
......@@ -89,13 +63,9 @@ export default {
};
},
methods: {
//查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -105,10 +75,10 @@ export default {
}
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
handleAdd() {
handleAdd () {
this.isDialog = true;
},
},
......
......@@ -2,45 +2,23 @@
<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="70px">
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input
placeholder="请输入编号"
@clear="queryClick()"
v-model="queryForm.cxbh"
class="width100"
clearable
>
<el-input placeholder="请输入编号" @clear="queryClick" v-model="queryForm.cxbh" class="width100" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input
placeholder="请输入申请人"
@clear="queryClick()"
v-model="queryForm.sqr"
class="width100"
clearable
>
<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-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>
......@@ -48,19 +26,10 @@
</el-form>
</div>
<!-- 表格 -->
<div class="from-clues-content" id="divcontentid">
<lb-table
:page-size="pageData.size"
border
id="sqcxjl"
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" 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>
</div>
</div>
......@@ -72,10 +41,11 @@ import { getJtfcPage } from "@/api/jtfc";
export default {
name: "sqcxjl",
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick()
},
data() {
data () {
return {
queryForm: {
cxbh: "",
......@@ -89,12 +59,9 @@ export default {
};
},
methods: {
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {
this.$startLoading("divcontentid");
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -104,19 +71,19 @@ export default {
}
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
// 查看
handleViewClick(scope) {
handleViewClick (scope) {
var sqcxBsm = scope.row.bsmSqcx;
this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
height: "800px",
formData: {
sqcxBsm: sqcxBsm,
},
cancel: function () {}, //取消事件的回调
confirm: function () {},
cancel: function () { }, //取消事件的回调
confirm: function () { },
});
},
},
......
......@@ -6,17 +6,17 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="字典类型编码">
<el-input v-model="ruleForm.dcode" @clear="fetchData()" clearable placeholder="字典类型编码"></el-input>
<el-input v-model="ruleForm.dcode" @clear="queryClick" clearable placeholder="字典类型编码"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="字典类型名称">
<el-input v-model="ruleForm.dname" @clear="fetchData()" clearable placeholder="字典类型名称"></el-input>
<el-input v-model="ruleForm.dname" @clear="queryClick" clearable placeholder="字典类型名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" 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 icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button>
</el-form-item>
</el-col>
......@@ -25,9 +25,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table :page-size="pageData.pageSize" class="loadingtext" :current-page.sync="pageData.currentPage"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
......@@ -46,6 +46,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -68,8 +69,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
......
......@@ -6,7 +6,7 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" @change="fetchData()" class="width100" filterable clearable
<el-select v-model="queryForm.qllx" @change="queryClick" class="width100" filterable clearable
placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="18" 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 @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -24,9 +24,9 @@
</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" class="loadingtext" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
......@@ -46,6 +46,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......@@ -66,9 +67,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => {
this.loading = false
this.$endLoading();
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
......
......@@ -6,7 +6,7 @@
<el-row :gutter="20">
<el-col :span="6">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" @change="queryClick()" filterable class="width100" clearable
<el-select v-model="queryForm.qllx" @change="queryClick" filterable class="width100" clearable
placeholder="请选择权利类型">
<el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -15,13 +15,13 @@
</el-col>
<el-col :span="6">
<el-form-item label="登记业务编码">
<el-input placeholder="请输入登记业务编码" @clear="queryClick()" v-model="queryForm.djywbm" clearable>
<el-input placeholder="请输入登记业务编码" @clear="queryClick" v-model="queryForm.djywbm" clearable>
</el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -29,9 +29,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
<lb-table :page-size="pageData.pageSize" class="loadingtext" :current-page.sync="pageData.currentPage"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" />
......@@ -50,6 +50,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -69,13 +70,11 @@ export default {
}
},
methods: {
//查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total ? total : 0
......
......@@ -56,7 +56,7 @@
</el-form>
</div>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" border @sort-change="handleSort"
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.currentPage" :heightNum="300" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
......@@ -103,8 +103,8 @@ export default {
queryClick () {
this.$startLoading()
searchTaskToDo({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
this.$endLoading()
let { total, records } = res.result
records.forEach(item => {
item.qlrmc = item.qlrmc.join(',')
......
......@@ -6,8 +6,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" filterable class="width100" @change="queryClick()" clearable
placeholder="请选择权利类型">
<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>
......@@ -15,28 +14,28 @@
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号" label-width="105px">
<el-input placeholder="请输入不动产单元号" @clear="queryClick()" v-model="queryForm.bdcdyh" clearable
<el-input placeholder="请输入不动产单元号" @clear="queryClick" v-model="queryForm.bdcdyh" clearable
class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号" label-width="105px">
<el-input placeholder="请输入不动产权证号" @clear="queryClick()" v-model="queryForm.bdcqzh" clearable
<el-input placeholder="请输入不动产权证号" @clear="queryClick" v-model="queryForm.bdcqzh" clearable
class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" @clear="queryClick()" v-model="queryForm.ywh" clearable class="width100">
<el-input placeholder="请输入业务号" @clear="queryClick" v-model="queryForm.ywh" clearable class="width100">
</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>
......@@ -45,9 +44,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" border @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 :page-size="pageData.size" 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>
</div>
</div>
......@@ -63,6 +62,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
......@@ -91,8 +91,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading()
getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.data = records;
......@@ -103,10 +105,6 @@ export default {
handleSort (name, sort) {
console.log(name, sort);
},
// 查询
queryClick () {
this.fetchData();
},
// 高级查询
moreQueryClick () { },
openDialog (scroll) {
......
......@@ -6,8 +6,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" class="width100" @change="fetchData()" 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>
......@@ -15,8 +14,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权利类型">
<el-select v-model="queryForm.qllx" class="width100" @change="fetchData()" 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>
......@@ -24,8 +22,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="queryForm.djlx" class="width100" @change="fetchData()" 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>
......@@ -33,14 +30,14 @@
</el-col>
<el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="fetchData()" clearable class="width200px">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="fetchData()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -49,7 +46,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table border :page-size="pageData.pageSize" @sort-change="handleSort"
<lb-table :page-size="pageData.pageSize" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.currentPage" :total="pageData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -67,6 +64,7 @@ export default {
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
computed: {
...mapGetters(['dictData'])
......@@ -92,8 +90,10 @@ export default {
},
methods: {
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
let str = ''
......@@ -108,7 +108,7 @@ export default {
if (item.ywrmc.length != 0) {
item.ywrmcStr = String(item.ywrmc)
}
if(item.zlList.length != 0){
if (item.zlList.length != 0) {
item.zlStr = String(item.zlList)
}
})
......
......@@ -6,32 +6,32 @@
<el-row>
<el-col :span="5">
<el-form-item label="项目名称">
<el-input placeholder="请输入项目名称" @clear="queryClick()" v-model="queryForm.xmmc" clearable class="width100">
<el-input placeholder="请输入项目名称" @clear="queryClick" v-model="queryForm.xmmc" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="项目编号">
<el-input placeholder="请输入项目编号" @clear="queryClick()" v-model="queryForm.xmbh" clearable class="width100">
<el-input placeholder="请输入项目编号" @clear="queryClick" v-model="queryForm.xmbh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="宗地代码">
<el-input placeholder="请输入宗地代码" @clear="queryClick()" v-model="queryForm.zddm" clearable class="width100">
<el-input placeholder="请输入宗地代码" @clear="queryClick" v-model="queryForm.zddm" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="自然幢号">
<el-input placeholder="请输入自然幢号" @clear="queryClick()" v-model="queryForm.zrzh" clearable class="width100">
<el-input placeholder="请输入自然幢号" @clear="queryClick" v-model="queryForm.zrzh" clearable class="width100">
</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>
......@@ -40,9 +40,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
</lb-table>
</div>
</div>
......@@ -56,7 +56,8 @@ export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
sendThis(this)
this.queryClick()
},
data () {
return {
......@@ -78,25 +79,20 @@ export default {
};
},
methods: {
//查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.pageData.total = res.result.total;
this.tableData.data = res.result.records;
}
});
},
handleSort (name, sort) {
console.log(name, sort);
},
//打开楼盘表
openlpbClick (scope) {
// var zrzbsm = scope.row.bsm;
......