469fe58c by 蔡俊立
2 parents 1348c6cc 541833e7
...@@ -68,13 +68,17 @@ ...@@ -68,13 +68,17 @@
68 } 68 }
69 } 69 }
70 70
71
72
71 .el-form-item--small.el-form-item { 73 .el-form-item--small.el-form-item {
72 margin-bottom: 0px; 74 margin-bottom: 0px;
73 } 75 }
74 } 76 }
75 77
76 //*****end*通用表单查询条件,列表样式******// 78 //*****end*通用表单查询条件,列表样式******//
77 79 /deep/.el-range-separator {
80 line-height: 28px !important;
81 }
78 82
79 .width200px { 83 .width200px {
80 width: 200px; 84 width: 200px;
...@@ -94,4 +98,4 @@ ...@@ -94,4 +98,4 @@
94 font-size: 16px; 98 font-size: 16px;
95 font-weight: 500; 99 font-weight: 500;
96 color: #4a4a4a; 100 color: #4a4a4a;
97 }
...\ No newline at end of file ...\ No newline at end of file
101 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
2 <!-- 编辑 --> 2 <!-- 编辑 -->
3 <dialogBox submitForm="submitForm" @closeDialog="closeDialog" @submitForm="handleSubmit" width="80%" v-model="myValue" 3 <dialogBox submitForm="submitForm" @closeDialog="closeDialog" @submitForm="handleSubmit" width="80%" v-model="myValue"
4 :isSave="details.isenable == 1" title="字典信息"> 4 :isSave="details.isenable == 1" title="字典信息">
5 <el-form :model="ruleForm" ref="ruleForm" label-width="120px"> 5 <el-form :model="ruleForm" ref="ruleForm" label-width="100px">
6 <el-row :gutter="20"> 6 <el-row :gutter="20">
7 <el-col :span="6"> 7 <el-col :span="4">
8 <el-form-item label="字典类型编码"> 8 <el-form-item label="字典类型编码">
9 {{ ruleForm.dcode }} 9 {{ ruleForm.dcode }}
10 </el-form-item> 10 </el-form-item>
...@@ -70,12 +70,12 @@ export default { ...@@ -70,12 +70,12 @@ export default {
70 <div> 70 <div>
71 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} 71 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]}
72 onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} 72 onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }}
73 onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> 73 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input>
74 74
75 75
76 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} 76 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]}
77 onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} 77 onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }}
78 onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> 78 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input>
79 </div> 79 </div>
80 ) 80 )
81 } 81 }
...@@ -88,11 +88,11 @@ export default { ...@@ -88,11 +88,11 @@ export default {
88 <div> 88 <div>
89 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]} 89 <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]}
90 onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} 90 onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }}
91 onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 91 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input>
92 92
93 <el-input placeholder="字典项名称" disabled={this.details.isenable == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]} 93 <el-input placeholder="字典项名称" disabled={this.details.isenable == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]}
94 onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} 94 onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }}
95 onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 95 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input>
96 </div> 96 </div>
97 ) 97 )
98 } 98 }
...@@ -106,11 +106,11 @@ export default { ...@@ -106,11 +106,11 @@ export default {
106 <div> 106 <div>
107 <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} 107 <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]}
108 onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} 108 onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }}
109 onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> 109 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input>
110 110
111 <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} 111 <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]}
112 onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} 112 onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }}
113 onInput={(val) => { scope.row[scope.column.property] = val }} maxlength='8'></el-input> 113 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input>
114 </div> 114 </div>
115 ) 115 )
116 } 116 }
...@@ -123,11 +123,11 @@ export default { ...@@ -123,11 +123,11 @@ export default {
123 <div> 123 <div>
124 <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} 124 <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]}
125 onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} 125 onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }}
126 onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 126 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input>
127 127
128 <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} 128 <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]}
129 onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} 129 onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }}
130 onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 130 onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input>
131 </div> 131 </div>
132 ) 132 )
133 } 133 }
......
...@@ -2,21 +2,21 @@ ...@@ -2,21 +2,21 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="ruleForm"> 5 <el-form @submit.native.prevent :model="ruleForm">
6 <el-row :gutter="20"> 6 <el-row :gutter="20">
7 <el-col :span="6"> 7 <el-col :span="6">
8 <el-form-item label="字典类型编码"> 8 <el-form-item label="字典类型编码">
9 <el-input v-model="ruleForm.dcode" placeholder="字典类型编码"></el-input> 9 <el-input v-model="ruleForm.dcode" @clear="fetchData()" clearable placeholder="字典类型编码"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="6"> 12 <el-col :span="6">
13 <el-form-item label="字典类型名称"> 13 <el-form-item label="字典类型名称">
14 <el-input v-model="ruleForm.dname" placeholder="字典类型名称"></el-input> 14 <el-input v-model="ruleForm.dname" @clear="fetchData()" clearable placeholder="字典类型名称"></el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="12" class="btnColRight"> 17 <el-col :span="12" class="btnColRight">
18 <el-form-item> 18 <el-form-item>
19 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 19 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData">查询</el-button>
20 <el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button> 20 <el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button>
21 </el-form-item> 21 </el-form-item>
22 </el-col> 22 </el-col>
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" @submit.native.prevent ref="queryForm">
6 <el-row :gutter="20"> 6 <el-row :gutter="20">
7 <el-col :span="6"> 7 <el-col :span="6">
8 <el-form-item label="权利类型"> 8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> 9 <el-select v-model="queryForm.qllx" @change="fetchData()" class="width100" filterable clearable
10 placeholder="请选择权利类型">
10 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 11 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
11 </el-option> 12 </el-option>
12 </el-select> 13 </el-select>
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form @submit.native.prevent :model="queryForm" ref="queryForm">
6 <el-row :gutter="20"> 6 <el-row :gutter="20">
7 <el-col :span="6"> 7 <el-col :span="6">
8 <el-form-item label="权利类型"> 8 <el-form-item label="权利类型">
9 <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> 9 <el-select v-model="queryForm.qllx" @change="queryClick()" filterable class="width100" clearable
10 placeholder="请选择权利类型">
10 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> 11 <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value">
11 </el-option> 12 </el-option>
12 </el-select> 13 </el-select>
...@@ -14,13 +15,13 @@ ...@@ -14,13 +15,13 @@
14 </el-col> 15 </el-col>
15 <el-col :span="6"> 16 <el-col :span="6">
16 <el-form-item label="登记业务编码"> 17 <el-form-item label="登记业务编码">
17 <el-input placeholder="请输入登记业务编码" v-model="queryForm.djywbm" clearable> 18 <el-input placeholder="请输入登记业务编码" @clear="queryClick()" v-model="queryForm.djywbm" clearable>
18 </el-input> 19 </el-input>
19 </el-form-item> 20 </el-form-item>
20 </el-col> 21 </el-col>
21 <el-col :span="12" class="btnColRight"> 22 <el-col :span="12" class="btnColRight">
22 <el-form-item> 23 <el-form-item>
23 <el-button type="primary" icon="el-icon-search" @click="queryClick()">查询</el-button> 24 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick()">查询</el-button>
24 </el-form-item> 25 </el-form-item>
25 </el-col> 26 </el-col>
26 </el-row> 27 </el-row>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </el-col> 33 </el-col>
34 <el-col :span="5"> 34 <el-col :span="5">
35 <el-form-item label="业务号"> 35 <el-form-item label="业务号">
36 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick()" clearable class="width200px"> 36 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" @clear="queryClick()" clearable class="width100">
37 </el-input> 37 </el-input>
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
......
...@@ -2,63 +2,41 @@ ...@@ -2,63 +2,41 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="权利类型"> 8 <el-form-item label="权利类型">
9 <el-select 9 <el-select v-model="queryForm.qllx" filterable class="width100" @change="queryClick()" clearable
10 v-model="queryForm.qllx" 10 placeholder="请选择权利类型">
11 filterable 11 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
12 clearable
13 placeholder="请选择权利类型"
14 >
15 <el-option
16 v-for="item in dictData['A8']"
17 :key="item.dcode"
18 :label="item.dname"
19 :value="item.dcode"
20 >
21 </el-option> 12 </el-option>
22 </el-select> 13 </el-select>
23 </el-form-item> 14 </el-form-item>
24 </el-col> 15 </el-col>
25 <el-col :span="5"> 16 <el-col :span="5">
26 <el-form-item label="不动产单元号"> 17 <el-form-item label="不动产单元号" label-width="105px">
27 <el-input 18 <el-input placeholder="请输入不动产单元号" @clear="queryClick()" v-model="queryForm.bdcdyh" clearable
28 placeholder="请输入不动产单元号" 19 class="width100">
29 v-model="queryForm.bdcdyh"
30 clearable
31 class="width200px"
32 >
33 </el-input> 20 </el-input>
34 </el-form-item> 21 </el-form-item>
35 </el-col> 22 </el-col>
36 <el-col :span="5"> 23 <el-col :span="5">
37 <el-form-item label="不动产权证号"> 24 <el-form-item label="不动产权证号" label-width="105px">
38 <el-input 25 <el-input placeholder="请输入不动产权证号" @clear="queryClick()" v-model="queryForm.bdcqzh" clearable
39 placeholder="请输入不动产权证号" 26 class="width100">
40 v-model="queryForm.bdcqzh"
41 clearable
42 class="width200px"
43 >
44 </el-input> 27 </el-input>
45 </el-form-item> 28 </el-form-item>
46 </el-col> 29 </el-col>
47 <el-col :span="5"> 30 <el-col :span="5">
48 <el-form-item label="业务号"> 31 <el-form-item label="业务号">
49 <el-input 32 <el-input placeholder="请输入业务号" @clear="queryClick()" v-model="queryForm.ywh" clearable class="width100">
50 placeholder="请输入业务号"
51 v-model="queryForm.ywh"
52 clearable
53 class="width200px"
54 >
55 </el-input> 33 </el-input>
56 </el-form-item> 34 </el-form-item>
57 </el-col> 35 </el-col>
58 36
59 <el-col :span="4" class="btnColRight"> 37 <el-col :span="4" class="btnColRight">
60 <el-form-item> 38 <el-form-item>
61 <el-button type="primary" @click="queryClick()">查询</el-button> 39 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
62 <el-button @click="moreQueryClick()">高级查询</el-button> 40 <el-button @click="moreQueryClick()">高级查询</el-button>
63 </el-form-item> 41 </el-form-item>
64 </el-col> 42 </el-col>
...@@ -67,17 +45,9 @@ ...@@ -67,17 +45,9 @@
67 </div> 45 </div>
68 <!-- 表格 --> 46 <!-- 表格 -->
69 <div class="from-clues-content"> 47 <div class="from-clues-content">
70 <lb-table 48 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current"
71 :page-size="pageData.size" 49 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
72 border 50 :column="tableData.columns" :data="tableData.data">
73 @sort-change="handleSort"
74 :current-page.sync="pageData.current"
75 :total="tableData.total"
76 @size-change="handleSizeChange"
77 @p-current-change="handleCurrentChange"
78 :column="tableData.columns"
79 :data="tableData.data"
80 >
81 </lb-table> 51 </lb-table>
82 </div> 52 </div>
83 </div> 53 </div>
...@@ -91,10 +61,10 @@ import { mapGetters } from "vuex"; ...@@ -91,10 +61,10 @@ import { mapGetters } from "vuex";
91 export default { 61 export default {
92 name: "djbcx", 62 name: "djbcx",
93 mixins: [table], 63 mixins: [table],
94 mounted() { 64 mounted () {
95 sendThis(this); 65 sendThis(this);
96 }, 66 },
97 data() { 67 data () {
98 return { 68 return {
99 queryForm: { 69 queryForm: {
100 qllx: "", 70 qllx: "",
...@@ -121,7 +91,7 @@ export default { ...@@ -121,7 +91,7 @@ export default {
121 }, 91 },
122 methods: { 92 methods: {
123 // 初始化数据 93 // 初始化数据
124 fetchData() { 94 fetchData () {
125 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { 95 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
126 if (res.code === 200) { 96 if (res.code === 200) {
127 let { total, records } = res.result; 97 let { total, records } = res.result;
...@@ -130,18 +100,16 @@ export default { ...@@ -130,18 +100,16 @@ export default {
130 } 100 }
131 }); 101 });
132 }, 102 },
133 handleSort(name, sort) { 103 handleSort (name, sort) {
134 console.log(name, sort); 104 console.log(name, sort);
135 }, 105 },
136 // 查询 106 // 查询
137 queryClick() { 107 queryClick () {
138 // this.pageData.current = 1;
139 // this.pageData.currentPage = 1;
140 this.fetchData(); 108 this.fetchData();
141 }, 109 },
142 // 高级查询 110 // 高级查询
143 moreQueryClick() {}, 111 moreQueryClick () { },
144 openDialog(scroll) { 112 openDialog (scroll) {
145 this.$popup({ 113 this.$popup({
146 titleStyle: "left", 114 titleStyle: "left",
147 title: "登记簿详情", // 弹窗标题 115 title: "登记簿详情", // 弹窗标题
......
...@@ -2,56 +2,36 @@ ...@@ -2,56 +2,36 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 楼盘查询 --> 3 <!-- 楼盘查询 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="70px"> 5 <el-form :model="queryForm" @submit.native.prevent 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="项目名称"> 8 <el-form-item label="项目名称">
9 <el-input 9 <el-input placeholder="请输入项目名称" @clear="queryClick()" v-model="queryForm.xmmc" clearable class="width100">
10 placeholder="请输入项目名称"
11 v-model="queryForm.xmmc"
12 clearable
13 class="width200px"
14 >
15 </el-input> 10 </el-input>
16 </el-form-item> 11 </el-form-item>
17 </el-col> 12 </el-col>
18 <el-col :span="5"> 13 <el-col :span="5">
19 <el-form-item label="项目编号"> 14 <el-form-item label="项目编号">
20 <el-input 15 <el-input placeholder="请输入项目编号" @clear="queryClick()" v-model="queryForm.xmbh" clearable class="width100">
21 placeholder="请输入项目编号"
22 v-model="queryForm.xmbh"
23 clearable
24 class="width200px"
25 >
26 </el-input> 16 </el-input>
27 </el-form-item> 17 </el-form-item>
28 </el-col> 18 </el-col>
29 <el-col :span="5"> 19 <el-col :span="5">
30 <el-form-item label="宗地代码"> 20 <el-form-item label="宗地代码">
31 <el-input 21 <el-input placeholder="请输入宗地代码" @clear="queryClick()" v-model="queryForm.zddm" clearable class="width100">
32 placeholder="请输入宗地代码"
33 v-model="queryForm.zddm"
34 clearable
35 class="width200px"
36 >
37 </el-input> 22 </el-input>
38 </el-form-item> 23 </el-form-item>
39 </el-col> 24 </el-col>
40 <el-col :span="5"> 25 <el-col :span="5">
41 <el-form-item label="自然幢号"> 26 <el-form-item label="自然幢号">
42 <el-input 27 <el-input placeholder="请输入自然幢号" @clear="queryClick()" v-model="queryForm.zrzh" clearable class="width100">
43 placeholder="请输入自然幢号"
44 v-model="queryForm.zrzh"
45 clearable
46 class="width200px"
47 >
48 </el-input> 28 </el-input>
49 </el-form-item> 29 </el-form-item>
50 </el-col> 30 </el-col>
51 31
52 <el-col :span="4" class="btnColRight"> 32 <el-col :span="4" class="btnColRight">
53 <el-form-item> 33 <el-form-item>
54 <el-button type="primary" @click="queryClick()">查询</el-button> 34 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
55 <el-button @click="moreQueryClick()">高级查询</el-button> 35 <el-button @click="moreQueryClick()">高级查询</el-button>
56 </el-form-item> 36 </el-form-item>
57 </el-col> 37 </el-col>
...@@ -60,17 +40,9 @@ ...@@ -60,17 +40,9 @@
60 </div> 40 </div>
61 <!-- 表格 --> 41 <!-- 表格 -->
62 <div class="from-clues-content"> 42 <div class="from-clues-content">
63 <lb-table 43 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current"
64 :page-size="pageData.size" 44 :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
65 border 45 :column="tableData.columns" :data="tableData.data">
66 @sort-change="handleSort"
67 :current-page.sync="pageData.current"
68 :total="pageData.total"
69 @size-change="handleSizeChange"
70 @p-current-change="handleCurrentChange"
71 :column="tableData.columns"
72 :data="tableData.data"
73 >
74 </lb-table> 46 </lb-table>
75 </div> 47 </div>
76 </div> 48 </div>
...@@ -83,10 +55,10 @@ export default { ...@@ -83,10 +55,10 @@ export default {
83 name: "lpcx", 55 name: "lpcx",
84 components: {}, 56 components: {},
85 mixins: [table], 57 mixins: [table],
86 mounted() { 58 mounted () {
87 sendThis(this); 59 sendThis(this);
88 }, 60 },
89 data() { 61 data () {
90 return { 62 return {
91 queryForm: { 63 queryForm: {
92 xmmc: "", 64 xmmc: "",
...@@ -107,12 +79,12 @@ export default { ...@@ -107,12 +79,12 @@ export default {
107 }, 79 },
108 methods: { 80 methods: {
109 //查询 81 //查询
110 queryClick() { 82 queryClick () {
111 this.fetchData(); 83 this.fetchData();
112 }, 84 },
113 85
114 // 初始化数据 86 // 初始化数据
115 fetchData() { 87 fetchData () {
116 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { 88 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
117 if (res.code === 200) { 89 if (res.code === 200) {
118 this.pageData.total = res.result.total; 90 this.pageData.total = res.result.total;
...@@ -121,12 +93,12 @@ export default { ...@@ -121,12 +93,12 @@ export default {
121 }); 93 });
122 }, 94 },
123 95
124 handleSort(name, sort) { 96 handleSort (name, sort) {
125 console.log(name, sort); 97 console.log(name, sort);
126 }, 98 },
127 99
128 //打开楼盘表 100 //打开楼盘表
129 openlpbClick(scope) { 101 openlpbClick (scope) {
130 debugger; 102 debugger;
131 var zrzbsm = scope.row.bsm; 103 var zrzbsm = scope.row.bsm;
132 104
......
...@@ -2,46 +2,36 @@ ...@@ -2,46 +2,36 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px"> 5 <el-form :model="queryForm" @submit.native.prevent ref="queryForm" label-width="70px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="不动产权证号"> 8 <el-form-item label="不动产权证号" label-width="100px">
9 <el-input 9 <el-input placeholder="请输入不动产权证号" class="width100" @clear="queryClick()" v-model="queryForm.bdcqzh">
10 placeholder="请输入不动产权证号"
11 v-model="queryForm.bdcqzh"
12 >
13 </el-input> 10 </el-input>
14 </el-form-item> 11 </el-form-item>
15 </el-col> 12 </el-col>
16 <el-col :span="5"> 13 <el-col :span="5">
17 <el-form-item label="印刷序列号"> 14 <el-form-item label="印刷序列号" label-width="100px">
18 <el-input 15 <el-input placeholder="请输入印刷序列号" class="width100" @clear="queryClick()" v-model="queryForm.ysxlh">
19 placeholder="请输入印刷序列号"
20 v-model="queryForm.ysxlh"
21 >
22 </el-input> 16 </el-input>
23 </el-form-item> 17 </el-form-item>
24 </el-col> 18 </el-col>
25 <el-col :span="5"> 19 <el-col :span="5">
26 <el-form-item label="业务号"> 20 <el-form-item label="业务号">
27 <el-input placeholder="请输入业务号" v-model="queryForm.ywh"> 21 <el-input placeholder="请输入业务号" class="width100" @clear="queryClick()" v-model="queryForm.ywh">
28 </el-input> 22 </el-input>
29 </el-form-item> 23 </el-form-item>
30 </el-col> 24 </el-col>
31 <el-col :span="5"> 25 <el-col :span="5">
32 <el-form-item label="领取人"> 26 <el-form-item label="领取人">
33 <el-input placeholder="请输入领取人" v-model="queryForm.lqr"> 27 <el-input placeholder="请输入领取人" class="width100" @clear="queryClick()" v-model="queryForm.lqr">
34 </el-input> 28 </el-input>
35 </el-form-item> 29 </el-form-item>
36 </el-col> 30 </el-col>
37 31
38 <el-col :span="4" class="btnColRight"> 32 <el-col :span="4" class="btnColRight">
39 <el-form-item> 33 <el-form-item>
40 <el-button 34 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
41 type="primary"
42 @click="queryClick()"
43 >查询</el-button
44 >
45 <el-button @click="moreQueryClick()">高级查询</el-button> 35 <el-button @click="moreQueryClick()">高级查询</el-button>
46 </el-form-item> 36 </el-form-item>
47 </el-col> 37 </el-col>
...@@ -50,15 +40,9 @@ ...@@ -50,15 +40,9 @@
50 </div> 40 </div>
51 <!-- 表格 --> 41 <!-- 表格 -->
52 <div class="from-clues-content"> 42 <div class="from-clues-content">
53 <lb-table 43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
54 :page-size="pageData.size" 44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
55 :current-page.sync="pageData.current" 45 :data="tableData.data">
56 :total="tableData.total"
57 @size-change="handleSizeChange"
58 @p-current-change="handleCurrentChange"
59 :column="tableData.columns"
60 :data="tableData.data"
61 >
62 </lb-table> 46 </lb-table>
63 </div> 47 </div>
64 </div> 48 </div>
...@@ -69,10 +53,10 @@ import { datas, sendThis } from "./zslqcx"; ...@@ -69,10 +53,10 @@ import { datas, sendThis } from "./zslqcx";
69 export default { 53 export default {
70 components: {}, 54 components: {},
71 mixins: [table], 55 mixins: [table],
72 mounted() { 56 mounted () {
73 sendThis(this); 57 sendThis(this);
74 }, 58 },
75 data() { 59 data () {
76 return { 60 return {
77 queryForm: { 61 queryForm: {
78 bdcqzh: "", 62 bdcqzh: "",
...@@ -88,12 +72,12 @@ export default { ...@@ -88,12 +72,12 @@ export default {
88 }, 72 },
89 methods: { 73 methods: {
90 // 查询 74 // 查询
91 queryClick() { 75 queryClick () {
92 this.fetchData(); 76 this.fetchData();
93 }, 77 },
94 78
95 // 初始化数据 79 // 初始化数据
96 fetchData() { 80 fetchData () {
97 }, 81 },
98 }, 82 },
99 }; 83 };
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="ruleForm" label-width="80px"> 5 <el-form :model="ruleForm" @submit.native.prevent label-width="80px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="分发编号"> 8 <el-form-item label="分发编号">
9 <el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input> 9 <el-input v-model="approveForm.batchno" @clear="queryClick()" clearable placeholder="分发编号"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12 <el-col :span="8">
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="11" class="btnColRight"> 19 <el-col :span="11" class="btnColRight">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="queryClick()">查询</el-button> 21 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
22 <el-button type="primary" @click="openDialog()">新增</el-button> 22 <el-button type="primary" @click="openDialog()">新增</el-button>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
...@@ -85,11 +85,11 @@ export default { ...@@ -85,11 +85,11 @@ export default {
85 }) 85 })
86 }, 86 },
87 openDialog (bsmBatch) { 87 openDialog (bsmBatch) {
88 if(bsmBatch){ 88 if (bsmBatch) {
89 this.$nextTick(() => { 89 this.$nextTick(() => {
90 this.$refs.addDialog.getDetailInfo(bsmBatch); 90 this.$refs.addDialog.getDetailInfo(bsmBatch);
91 }) 91 })
92 }else{ 92 } else {
93 this.$nextTick(() => { 93 this.$nextTick(() => {
94 this.$refs.addDialog.ywhSerial(); 94 this.$refs.addDialog.ywhSerial();
95 this.$refs.addDialog.initStartNo(); 95 this.$refs.addDialog.initStartNo();
...@@ -109,6 +109,7 @@ export default { ...@@ -109,6 +109,7 @@ export default {
109 this.approveForm.ffkssj = '' 109 this.approveForm.ffkssj = ''
110 this.approveForm.ffjssj = '' 110 this.approveForm.ffjssj = ''
111 } 111 }
112 this.fetchData()
112 }, 113 },
113 //确定证书分发 114 //确定证书分发
114 confrimVerify (item) { 115 confrimVerify (item) {
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="ruleForm" label-width="80px"> 5 <el-form :model="ruleForm" @submit.native.prevent label-width="80px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="入库编号"> 8 <el-form-item label="入库编号">
9 <el-input v-model="ruleForm.batchno" clearable placeholder="入库编号"></el-input> 9 <el-input v-model="ruleForm.batchno" @clear="queryClick()" clearable placeholder="入库编号"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12 <el-col :span="8">
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="11" class="btnColRight"> 19 <el-col :span="11" class="btnColRight">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="queryClick()">查询</el-button> 21 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
22 <el-button type="primary" @click="openDialog()">新增</el-button> 22 <el-button type="primary" @click="openDialog()">新增</el-button>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
...@@ -78,11 +78,11 @@ export default { ...@@ -78,11 +78,11 @@ export default {
78 }) 78 })
79 }, 79 },
80 openDialog (bsmBatch) { 80 openDialog (bsmBatch) {
81 if(bsmBatch){ 81 if (bsmBatch) {
82 this.$nextTick(() => { 82 this.$nextTick(() => {
83 this.$refs.addDialog.getDetailInfo(bsmBatch); 83 this.$refs.addDialog.getDetailInfo(bsmBatch);
84 }) 84 })
85 }else{ 85 } else {
86 this.$nextTick(() => { 86 this.$nextTick(() => {
87 this.$refs.addDialog.ywhSerial(); 87 this.$refs.addDialog.ywhSerial();
88 }) 88 })
...@@ -95,13 +95,13 @@ export default { ...@@ -95,13 +95,13 @@ export default {
95 //修改筛选时间 95 //修改筛选时间
96 timeChange (val) { 96 timeChange (val) {
97 if (this.ruleForm.rksj != null) { 97 if (this.ruleForm.rksj != null) {
98
99 this.ruleForm.rkkssj = this.ruleForm.rksj[0]; 98 this.ruleForm.rkkssj = this.ruleForm.rksj[0];
100 this.ruleForm.rkjssj = this.ruleForm.rksj[1]; 99 this.ruleForm.rkjssj = this.ruleForm.rksj[1];
101 } else { 100 } else {
102 this.ruleForm.rkkssj = '' 101 this.ruleForm.rkkssj = ''
103 this.ruleForm.rkjssj = '' 102 this.ruleForm.rkjssj = ''
104 } 103 }
104 this.fetchData()
105 }, 105 },
106 //删除证书入库数据 106 //删除证书入库数据
107 delZsrk (item) { 107 delZsrk (item) {
......
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="ruleForm" label-width="85px"> 5 <el-form @submit.native.prevent :model="ruleForm" label-width="85px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="印刷序列号" prop="ysxlh"> 8 <el-form-item label="印刷序列号" prop="ysxlh">
9 <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> 9 <el-input v-model="ruleForm.ysxlh" @clear="fetchData()" clearable placeholder="请输入印刷序列号"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="5"> 12 <el-col :span="5">
13 <el-form-item label="证书类型" prop="zslx"> 13 <el-form-item label="证书类型" prop="zslx">
14 <el-select v-model="ruleForm.zslx" class="width100" placeholder="请选择证书类型" clearable> 14 <el-select v-model="ruleForm.zslx" @change="fetchData()" class="width100" placeholder="请选择证书类型" clearable>
15 <el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value"> 15 <el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value">
16 </el-option> 16 </el-option>
17 </el-select> 17 </el-select>
...@@ -19,18 +19,18 @@ ...@@ -19,18 +19,18 @@
19 </el-col> 19 </el-col>
20 <el-col :span="5"> 20 <el-col :span="5">
21 <el-form-item label="业务号" label-width="60px" prop="ywh"> 21 <el-form-item label="业务号" label-width="60px" prop="ywh">
22 <el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input> 22 <el-input v-model="ruleForm.ywh" @clear="fetchData()" clearable placeholder="请输入业务号"></el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="6"> 25 <el-col :span="6">
26 <el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh"> 26 <el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh">
27 <el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input> 27 <el-input v-model="ruleForm.bdcqzh" @clear="fetchData()" placeholder="请输入不动产权证号"></el-input>
28 </el-form-item> 28 </el-form-item>
29 </el-col> 29 </el-col>
30 30
31 <el-col :span="3" class="btnColRight"> 31 <el-col :span="3" class="btnColRight">
32 <el-form-item> 32 <el-form-item>
33 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 33 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData()">查询</el-button>
34 <el-button @click="moreQueryClick()">高级查询</el-button> 34 <el-button @click="moreQueryClick()">高级查询</el-button>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
......