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