dca5777f by 任超

style:申请查询

1 parent 246fbfa7
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from './config'
3 // 根据条件进行列表查询 3 // 根据条件进行列表查询
4 export function getJtfcPage (data) { 4 export function getJtfcPage (data, headers) {
5 return request({ 5 return request({
6 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcPage', 6 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcPage',
7 method: 'post', 7 method: 'post',
8 data 8 data,
9 headers
9 }) 10 })
10 } 11 }
11 // 新增申请查询家庭房产信息 12 // 新增申请查询家庭房产信息
12 export function addJtfcCxjgXx (data) { 13 export function addJtfcCxjgXx (data, headers) {
13 return request({ 14 return request({
14 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', 15 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx',
15 method: 'post', 16 method: 'post',
16 data, 17 data,
17 showLoading: true, 18 headers
18 loadingTarget: '正在查询中...'
19 }) 19 })
20 } 20 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
28 </div> 28 </div>
29 <!-- 表格 --> 29 <!-- 表格 -->
30 <div class="from-clues-content"> 30 <div class="from-clues-content">
31 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current" 31 <lb-table :page-size="pageData.size" id="dydjb" border @sort-change="handleSort"
32 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 32 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
33 :column="tableData.columns" :data="tableData.data"> 33 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
34 </lb-table> 34 </lb-table>
35 </div> 35 </div>
36 </div> 36 </div>
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
66 methods: { 66 methods: {
67 // 初始化数据 67 // 初始化数据
68 fetchData () { 68 fetchData () {
69 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { 69 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#dydjb' }).then((res) => {
70 let { records, total } = res.result; 70 let { records, total } = res.result;
71 this.tableData.data = records; 71 this.tableData.data = records;
72 this.tableData.total = total; 72 this.tableData.total = total;
...@@ -78,27 +78,22 @@ export default { ...@@ -78,27 +78,22 @@ export default {
78 78
79 dydjbClick (scope) { 79 dydjbClick (scope) {
80 // var sqcxBsm = scope.row.bsmSqcx; 80 // var sqcxBsm = scope.row.bsmSqcx;
81 this.$popup({ 81 this.$popup("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
82 title: "打印登记薄",
83 width: "65%",
84 btnShow: true, 82 btnShow: true,
85 editItem: "sqcx/dydjb/components/dydjbInfo", // 弹窗内容
86 height: "800px", 83 height: "800px",
87 formData: { 84 formData: {
88 sqcxdata: scope.row, 85 sqcxdata: scope.row,
89 }, 86 },
90 cancel: function () { }, //取消事件的回调 87 cancel: function () { }, //取消事件的回调
91 confirm: function () { 88 confirm: function () {
92 // that.loadBdcdylist(); 89 }
93 }, //确认事件的回调 90 })
94 });
95 }, 91 },
96
97 queryClick () { 92 queryClick () {
98 this.fetchData(); 93 this.fetchData();
99 }, 94 }
100 }, 95 }
101 }; 96 }
102 </script> 97 </script>
103 <style scoped lang="scss"> 98 <style scoped lang="scss">
104 @import "~@/styles/public.scss"; 99 @import "~@/styles/public.scss";
......
...@@ -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.size" border :current-page.sync="pageData.current" :total="tableData.total" 28 <lb-table :page-size="pageData.size" border id="jtfc" :current-page.sync="pageData.current"
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 <addjtfc v-model="isDialog" /> 33 <addjtfc v-model="isDialog" />
...@@ -66,10 +66,9 @@ export default { ...@@ -66,10 +66,9 @@ export default {
66 queryClick () { 66 queryClick () {
67 this.fetchData(); 67 this.fetchData();
68 }, 68 },
69
70 // 初始化数据 69 // 初始化数据
71 fetchData () { 70 fetchData () {
72 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { 71 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#jtfc' }).then((res) => {
73 let { records, total } = res.result; 72 let { records, total } = res.result;
74 this.tableData.data = records; 73 this.tableData.data = records;
75 this.tableData.total = total; 74 this.tableData.total = total;
...@@ -80,9 +79,9 @@ export default { ...@@ -80,9 +79,9 @@ export default {
80 }, 79 },
81 handleAdd () { 80 handleAdd () {
82 this.isDialog = true; 81 this.isDialog = true;
83 }, 82 }
84 }, 83 }
85 }; 84 }
86 </script> 85 </script>
87 <style scoped lang="scss"> 86 <style scoped lang="scss">
88 @import "~@/styles/public.scss"; 87 @import "~@/styles/public.scss";
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
27 </div> 27 </div>
28 <!-- 表格 --> 28 <!-- 表格 -->
29 <div class="from-clues-content"> 29 <div class="from-clues-content">
30 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current" 30 <lb-table :page-size="pageData.size" border id="sqcxjl" @sort-change="handleSort"
31 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 31 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
32 :column="tableData.columns" :data="tableData.data"> 32 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
33 </lb-table> 33 </lb-table>
34 </div> 34 </div>
35 </div> 35 </div>
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
65 // 初始化数据 65 // 初始化数据
66 fetchData () { 66 fetchData () {
67 67
68 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { 68 getJtfcPage({ ...this.queryForm, ...this.pageData }, { 'target': '#sqcxjl' }).then((res) => {
69 let { records, total } = res.result; 69 let { records, total } = res.result;
70 this.tableData.data = records; 70 this.tableData.data = records;
71 this.tableData.total = total; 71 this.tableData.total = total;
......