de3d2764 by 蔡俊立

功能完善

1 parent fe0edf78
...@@ -150,5 +150,14 @@ export function getBdcqzReceiveList (data) { ...@@ -150,5 +150,14 @@ export function getBdcqzReceiveList (data) {
150 }) 150 })
151 } 151 }
152 152
153 // 在建工程抵押查询
154 export function getZjgcdyList (data) {
155 return request({
156 url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList',
157 method: 'post',
158 data
159 })
160 }
161
153 162
154 163
......
...@@ -23,7 +23,7 @@ class data extends filter { ...@@ -23,7 +23,7 @@ class data extends filter {
23 } 23 }
24 }, 24 },
25 { 25 {
26 prop: "qymc", 26 prop: "dwmc",
27 label: "企业名称", 27 label: "企业名称",
28 }, 28 },
29 { 29 {
...@@ -43,11 +43,11 @@ class data extends filter { ...@@ -43,11 +43,11 @@ class data extends filter {
43 label: "坐落" 43 label: "坐落"
44 }, 44 },
45 { 45 {
46 prop: "yt", 46 prop: "showFwyt",
47 label: "用途" 47 label: "用途"
48 }, 48 },
49 { 49 {
50 prop: "mj", 50 prop: "scjzmj",
51 label: "面积(㎡)" 51 label: "面积(㎡)"
52 }, 52 },
53 { 53 {
......
...@@ -5,31 +5,24 @@ ...@@ -5,31 +5,24 @@
5 <el-form :model="queryForm" ref="queryForm" label-width="80px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="80px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="项目名称" label-width="70px"> 8 <el-form-item label="企业名称" label-width="70px">
9 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc"> 9 <el-input placeholder="请输入企业名称" v-model="queryForm.qymc" clearable>
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="5"> 13 <el-col :span="5">
14 <el-form-item label="项目编号"> 14 <el-form-item label="项目名称" label-width="70px">
15 <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh"> 15 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable>
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
19 <el-col :span="5"> 19 <el-col :span="5">
20 <el-form-item label="自然幢号"> 20 <el-form-item label="自然幢号">
21 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh"> 21 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable>
22 </el-input> 22 </el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="5"> 25 <el-col :span="9" class="btnColRight">
26 <el-form-item label="宗地代码">
27 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm">
28 </el-input>
29 </el-form-item>
30 </el-col>
31
32 <el-col :span="4" class="btnColRight">
33 <el-form-item> 26 <el-form-item>
34 <el-button type="primary" @click="queryClick">查询</el-button> 27 <el-button type="primary" @click="queryClick">查询</el-button>
35 <el-button @click="moreQueryClick">高级查询</el-button> 28 <el-button @click="moreQueryClick">高级查询</el-button>
...@@ -50,6 +43,7 @@ ...@@ -50,6 +43,7 @@
50 <script> 43 <script>
51 import table from "@/utils/mixin/table"; 44 import table from "@/utils/mixin/table";
52 import { datas, sendThis } from "./zxgcdycx"; 45 import { datas, sendThis } from "./zxgcdycx";
46 import { getZjgcdyList } from "@/api/zhcx"
53 export default { 47 export default {
54 components: {}, 48 components: {},
55 mixins: [table], 49 mixins: [table],
...@@ -60,11 +54,11 @@ export default { ...@@ -60,11 +54,11 @@ export default {
60 return { 54 return {
61 queryForm: { 55 queryForm: {
62 xmmc: "", 56 xmmc: "",
63 xmbh: "", 57 qymc: "",
64 zrzh: "", 58 zrzh: "",
65 zddm: "",
66 }, 59 },
67 tableData: { 60 tableData: {
61 total: 0,
68 columns: datas.columns(), 62 columns: datas.columns(),
69 data: [], 63 data: [],
70 }, 64 },
...@@ -73,6 +67,15 @@ export default { ...@@ -73,6 +67,15 @@ export default {
73 methods: { 67 methods: {
74 // 查询 68 // 查询
75 queryClick () { 69 queryClick () {
70 this.$startLoading()
71 getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
72 this.$endLoading()
73 if (res.code === 200) {
74 let { total, records } = res.result
75 this.tableData.total = total;
76 this.tableData.data = records ? records : []
77 }
78 })
76 }, 79 },
77 80
78 }, 81 },
......