c2d77cb4 by 田浩浩
2 parents 3424b13b 0ac38332
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
......
1 import request from '@/utils/request'
2 import SERVER from './config'
3
4 // 初始化内容
5 export function Init (data) {
6 let apiUrl = "";
7 switch (data.get("djlx")) {
8 case "100":
9 apiUrl = "/rest/ywbl/nydsyqlr/fristInit";
10 break;
11 case "200":
12 apiUrl = "/rest/ywbl/nydsyqlr/transferInit";
13 break;
14 case "300":
15 apiUrl = "/rest/ywbl/nydsyqlr/changeInit";
16 break;
17 case "400":
18 apiUrl = "/rest/ywbl/nydsyqlr/logoutInit";
19 break;
20 case "500":
21 apiUrl = "/rest/ywbl/nydsyqlr/riviseInit";
22 break;
23 case "901":
24 apiUrl = "/rest/ywbl/nydsyqlr/renewalInit";
25 break;
26 case "902":
27 apiUrl = "/rest/ywbl/nydsyqlr/replaceInit";
28 break;
29 }
30 return request({
31 url: SERVER.SERVERAPI + apiUrl,
32 method: 'post',
33 data
34 })
35 }
36 // 初始化内容
37 export function saveData (data) {
38 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
40 method: 'post',
41 data
42 })
43 }
...@@ -115,4 +115,13 @@ export function choiceBdcdy (data) { ...@@ -115,4 +115,13 @@ export function choiceBdcdy (data) {
115 method: 'post', 115 method: 'post',
116 data 116 data
117 }) 117 })
118 }
119
120 // 业务办理-选择农用地信息-根据条件进行列表查询
121 export function selectNydjbxx (data) {
122 return request({
123 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydjbxx',
124 method: 'post',
125 data
126 })
118 } 127 }
...\ 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)
......
1 <template>
2 <div class="djxxTable">
3 <div class="tableBox">
4 <div class="title">
5 {{ title }}
6 <div class="checkbox">
7 <el-checkbox-group v-model="checkList" @change="checkChange">
8 <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox>
9 </el-checkbox-group>
10 </div>
11 </div>
12 <div class="xxTableBox">
13 <!-- 固定前三个 -->
14 <table class="xxTable">
15 <tr v-for="(item, colindex) in columns.slice(0, 3)" :key="colindex">
16 <td>
17 {{ item.label }}
18 </td>
19 <td v-for="(row, index) in tableData" :key="index" :class="[
20 row.qszt == '2' ? 'lishi' : '',
21 row.qszt == '0' ? 'linshi' : '',
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 ]">
24 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
25 正在办理
26 </div>
27 <span v-if="item.prop == 'qszt'">
28 {{ getQsztName(row[item.prop]) }}
29 </span>
30
31 <span v-else> {{ row[item.prop] }}</span>
32 </td>
33 <td v-for="count in emptycolNum" :key="~count"></td>
34 </tr>
35 </table>
36
37 <table class="xxTable rollTable">
38 <tr v-for="(item, colindex) in columns.slice(3)" :key="colindex">
39 <td>
40 {{ item.label }}
41 </td>
42 <td v-for="(row, index) in tableData" :key="index" :class="[
43 row.qszt == '2' ? 'lishi' : '',
44 row.qszt == '0' ? 'linshi' : '',
45 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
46 ]">
47 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
48 正在办理
49 </div>
50 <span v-if="item.prop == 'qszt'">
51 {{ getQsztName(row[item.prop]) }}
52 </span>
53
54 <span v-else> {{ row[item.prop] }}</span>
55 </td>
56 <td v-for="count in emptycolNum" :key="~count"></td>
57 </tr>
58 </table>
59 </div>
60 </div>
61 </div>
62 </template>
63
64 <script>
65 import { getJsydsyqList } from "@/api/registerBook.js";
66 import { datas } from "./qlxxFormData.js";
67 export default {
68 data () {
69 return {
70 title: "建设用地使用权、宅基地使用权登记信息",
71 qsztList: datas.columns().qsztList,
72 checkList: datas.columns().checkList,
73 //传递参数
74 propsParam: this.$attrs,
75 //列表数据
76 tableData: [],
77 //空列值个数
78 emptycolNum: datas.columns().emptycolNum,
79 //列名称对象
80 columns: datas.columns().JSYDSYQ,
81 };
82 },
83 created () {
84 this.loadData();
85 },
86 methods: {
87 loadData () {
88 getJsydsyqList({
89 bdcdyid: this.propsParam.bdcdyid,
90 qllx: this.propsParam.qllx,
91 qszt: this.checkList,
92 }).then((res) => {
93 if (res.code === 200) {
94 this.tableData = res.result;
95 if (this.tableData.length < datas.columns().emptycolNum) {
96 this.emptycolNum =
97 datas.columns().emptycolNum - this.tableData.length;
98 } else {
99 this.emptycolNum = 0;
100 }
101 }
102 });
103 },
104 checkChange () {
105 if (this.checkList.length === 0) {
106 this.tableData = [];
107 this.emptycolNum = datas.columns().emptycolNum;
108 } else {
109 this.loadData();
110 }
111 },
112 getQsztName (code) {
113 let name = "";
114 for (let item of this.qsztList) {
115 if (item.value == code) {
116 name = item.label;
117 break;
118 }
119 }
120 return name;
121 },
122 },
123 };
124 </script>
125
126 <style lang="scss" scoped>
127 @import "./qlxxCommon.scss";
128 </style>
...@@ -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
......
1 <template>
2 <div>
3 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
4 </lb-table>
5 <addQlr v-model="dialog" :details="details" @updateDetail="updateDetail" />
6 </div>
7 </template>
8 <script>
9 import addQlr from './addQlr.vue'
10 import { mapGetters } from 'vuex'
11 export default {
12 components: {
13 addQlr
14 },
15 computed: {
16 ...mapGetters(["dictData"]),
17 },
18 props: {
19 tableData: {
20 type: Array,
21 default: function () {
22 return []
23 }
24 },
25 gyfs: {
26 type: String,
27 default: '1'
28 }
29 },
30 data () {
31 return {
32 key: 0,
33 dataIndex: 0,
34 dialog: false,
35 details: {},
36 tableDataList: [],
37 InformationTable: [
38 {
39 width: '50',
40 renderHeader: (h, scope) => {
41 return <div> {
42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
43 }
44 </div>
45 },
46 render: (h, scope) => {
47 return (
48 <div>
49 {
50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
51 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
52 }
53 </div>
54 )
55 }
56 },
57 {
58 label: '身份证读卡器',
59 align: 'center',
60 render: (h, scope) => {
61 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
62 }
63 },
64 {
65 prop: "cyxm",
66 label: "成员姓名"
67 },
68 {
69 prop: "sfzhm",
70 label: "身份证号码"
71 },
72 {
73 prop: "dh",
74 label: "联系电话"
75 },
76 {
77 label: '修改',
78 render: (h, scope) => {
79 return (
80 <div>
81 {
82 this.$route.query.viewtype == 1 ? <el-button
83 icon="el-icon-view"
84 type="text"
85 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
86 icon="el-icon-edit-outline"
87 type="text"
88 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
89 }
90 </div>
91 )
92 }
93 }
94 ],
95 column: this.InformationTable
96 }
97 },
98 watch: {
99 tableData: {
100 handler: function (val, oldVal) {
101 let that = this
102 if (val.length == 0 || !val) {
103 that.tableDataList = _.cloneDeep([{
104 sqrmc: '',
105 dlrzjlx: '',
106 dlrzjh: '',
107 fr: ''
108 }])
109 } else {
110 that.tableDataList = _.cloneDeep(val)
111 }
112 },
113 immediate: true,
114 deep: true
115 },
116 gyfs: {
117 handler (newVal, oldValue) {
118 let dataList = _.cloneDeep(this.InformationTable)
119 if (newVal == '1') {
120 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
121 } else {
122 this.column = dataList
123 }
124 },
125 immediate: true
126 }
127 },
128 methods: {
129 updateDetail (value) {
130 this.tableDataList[this.dataIndex] = value
131 this.key++
132 this.$emit('upDateQlrxxList', this.tableDataList)
133 },
134
135 // 新增
136 addClick () {
137 this.dialog = true
138 },
139
140 // 删除
141 deleClick (index, row) {
142 this.tableData.splice(index, 1)
143 },
144
145 // 身份证读取
146 readClick () { },
147
148 // 修改
149 editClick (index, row) {
150 console.log(row, 'rowrowrowrowrow');
151 this.dataIndex = index
152 this.dialog = true
153 this.details = row
154 },
155
156 queryViewClick () {
157 this.dialog = true
158 }
159 }
160 }
161 </script>
162 <style scoped lang='scss'>
163
164 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -26,6 +26,9 @@ export function getForm(tabName, djywbm) { ...@@ -26,6 +26,9 @@ export function getForm(tabName, djywbm) {
26 case "fwsyqslxx900": 26 case "fwsyqslxx900":
27 form = require("@/views/ywbl/fdcq2/slxx900.vue"); 27 form = require("@/views/ywbl/fdcq2/slxx900.vue");
28 break; 28 break;
29 case "nydsyqslxx100":
30 form = require("@/views/ywbl/nydsyq/slxx.vue");
31 break;
29 case "tdslxxCfdj": 32 case "tdslxxCfdj":
30 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 33 form = require("@/views/ywbl/cfdj/tdslxx.vue");
31 break; 34 break;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 </el-row> 14 </el-row>
15 <el-row :gutter="8"> 15 <el-row :gutter="8">
16 <el-col :span="24" class="margin-top-middle"> 16 <el-col :span="24" class="margin-top-middle">
17 错误内容: 17 操作内容:
18 <el-input type="textarea" :rows="10" v-model="formData.item.cznr"></el-input> 18 <el-input type="textarea" :rows="10" v-model="formData.item.cznr"></el-input>
19 </el-col> 19 </el-col>
20 </el-row> 20 </el-row>
......
...@@ -55,7 +55,8 @@ ...@@ -55,7 +55,8 @@
55 </div> 55 </div>
56 <div class="flex-display"> 56 <div class="flex-display">
57 <div class="width-33">使用率</div> 57 <div class="width-33">使用率</div>
58 <div class="width-33">{{serverData.xtjkMem.usage}}%</div> 58 <div class="width-33" v-if="serverData.xtjkMem.usage > 80" style="color:red">{{serverData.xtjkMem.usage}}%</div>
59 <div class="width-33" v-else>{{serverData.xtjkMem.usage}}%</div>
59 <div>{{serverData.xtjkJvm.usage}}%</div> 60 <div>{{serverData.xtjkJvm.usage}}%</div>
60 </div> 61 </div>
61 </el-card> 62 </el-card>
...@@ -123,7 +124,12 @@ ...@@ -123,7 +124,12 @@
123 <el-table-column prop="sysTypeName" label="文件系统" width="180"></el-table-column> 124 <el-table-column prop="sysTypeName" label="文件系统" width="180"></el-table-column>
124 <el-table-column prop="typeName" label="盘符类型"></el-table-column> 125 <el-table-column prop="typeName" label="盘符类型"></el-table-column>
125 <el-table-column prop="total" label="总大小"></el-table-column> 126 <el-table-column prop="total" label="总大小"></el-table-column>
126 <el-table-column prop="free" label="可用大小"></el-table-column> 127 <el-table-column label="可用大小">
128 <template slot-scope="scope">
129 <div v-if="scope.row.free < '20 GB'" style="color:red">{{scope.row.free}}</div>
130 <div v-else>{{scope.row.free}}</div>
131 </template>
132 </el-table-column>
127 <el-table-column prop="used" label="已用大小"></el-table-column> 133 <el-table-column prop="used" label="已用大小"></el-table-column>
128 <el-table-column prop="usage" label="已用百分比"></el-table-column> 134 <el-table-column prop="usage" label="已用百分比"></el-table-column>
129 </el-table> 135 </el-table>
...@@ -188,7 +194,7 @@ export default { ...@@ -188,7 +194,7 @@ export default {
188 padding-bottom: 10px; 194 padding-bottom: 10px;
189 } 195 }
190 .font-border { 196 .font-border {
191 font-weight: bolder 197 font-weight: bolder;
192 } 198 }
193 </style> 199 </style>
194 200
......
...@@ -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(',')
......
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 国有建设用地使用权 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row>
7 <el-col :span="10">
8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
10 </el-input>
11 </el-form-item>
12 </el-col>
13 <el-col :span="10">
14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px">
16 </el-input>
17 </el-form-item>
18 </el-col>
19 <el-col :span="4" class="btnColRight">
20 <el-form-item>
21 <el-button type="primary" @click="fetchData">查询</el-button>
22 </el-form-item>
23 </el-col>
24 </el-row>
25 </el-form>
26 </div>
27 <!-- 表格 -->
28 <div class="from-clues-content">
29 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
30 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
31 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
32 :data="tableData.data">
33 </lb-table>
34 </div>
35 <div class="submit_button">
36 <el-button @click="closeDialog">取消</el-button>
37 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
38 </div>
39 </div>
40 </template>
41 <script>
42 //首次登记
43 import { datas, sendThis } from "../javascript/nydsyq100.js";
44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
45 import table from "@/utils/mixin/table";
46 import jump from "../components/mixin/jump";
47 import { startBusinessFlow } from "@/api/ywbl.js";
48 import { selectNydjbxx } from "@/api/selectQlxx.js";
49 export default {
50 mixins: [table, jump],
51 props: {
52 isJump: { type: Boolean, default: false },
53 djywbm: { type: String, default: '' },
54 djqxObj: {
55 type: Object,
56 default: {}
57 },
58 bsmSqyw: { type: String, default: '' },
59 },
60 data () {
61 return {
62 queryForm: defaultParameters.defaultParameters(),
63
64 qllxs: [],
65 tableData: {
66 total: 0,
67 columns: datas.columns(),
68 data: [],
69 },
70 bdcdysz: []
71 };
72 },
73 mounted () {
74 sendThis(this);
75 },
76 methods: {
77 //点击行选中或取消复选框
78 handleRowClick (row, column, event) {
79 //通过ref绑定后这里使用$refs.table来操作bom元素
80 this.$refs.table.toggleRowSelection(row);
81 },
82 closeDialog () {
83 this.$emit("closeDialog");
84 },
85 fetchData () {
86 this.queryForm.sqywbm = this.djywbm;
87 selectNydjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
88 if (res.code === 200) {
89 let { total, records } = res.result;
90 this.tableData.total = total;
91 this.tableData.data = records;
92 }
93 });
94 },
95 submitForm () {
96 if (this.bdcdysz.length == 0) {
97 this.$message.error("请至少选择一条数据");
98 return;
99 }
100 startBusinessFlow({
101 bsmSqyw: this.bsmSqyw,
102 bdcdysz: this.bdcdysz,
103 djqxbm: this.djqxObj?.djqxbm,
104 djqxmc: this.djqxObj?.djqxmc
105 }).then((res) => {
106 if (res.code == 200) {
107 this.$message({
108 showClose: true,
109 message: '发起申请成功',
110 type: 'success'
111 })
112 if (!this.isJump) {
113 this.jump(res.result, this.djywbm)
114 } else {
115 this.$emit('updateDialog', true)
116 }
117 } else {
118 this.$message.error(res.message);
119 }
120 })
121 },
122 handleSelectionChange (val) {
123 this.bdcdysz = val;
124 }
125 }
126 }
127 </script>
128 <style scoped lang="scss">
129 @import "~@/styles/mixin.scss";
130 @import "~@/styles/public.scss";
131 </style>
132
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter {
8 constructor() {
9 super()
10 }
11 columns () {
12 return [
13 {
14 type: 'selection',
15 label: '全选'
16 },
17 {
18 label: '序号',
19 type: 'index',
20 width: '50',
21 render: (h, scope) => {
22 return (
23 <div>
24 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
25 </div>
26 )
27 }
28 },
29 {
30 label: "状态",
31 render: (h, scope) => {
32 return (
33 <div>
34 {/* <a v-on:click="doSomething"></a> */}
35 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
36 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
37 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
38 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
39 <span v-show={scope.row.cfzt == 1}>,已查封</span>
40 <span v-show={scope.row.diyizt == 1}>,已地役</span>
41 <span v-show={scope.row.yyzt == 1}>,异议中</span>
42 <span v-show={scope.row.xzzt == 1}>,已限制</span>
43 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
44 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
45 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
46 </div>
47 )
48 }
49 },
50 {
51 prop: "qllxmc",
52 label: "权利类型",
53 },
54 {
55 prop: "zddm",
56 label: "宗地代码",
57 },
58 {
59 prop: "bdcdyh",
60 label: "不动产单元号",
61 },
62 {
63 prop: "qlxzmc",
64 label: "权利性质",
65 },
66 {
67 prop: "mj",
68 label: "农用地面积(㎡)",
69 },
70 {
71 prop: "qlsdfsmc",
72 label: "权利设定方式",
73 },
74 {
75 prop: "ytmc",
76 label: "土地用途",
77 },
78 {
79 prop: "zl",
80 label: "坐落",
81 },
82 ]
83 }
84
85
86 }
87 let datas = new data()
88 export {
89 datas,
90 sendThis
91 }
...@@ -14,6 +14,9 @@ export function queueDjywmc (djywbm) { ...@@ -14,6 +14,9 @@ export function queueDjywmc (djywbm) {
14 case "A04100"://国有建设用地使用权/房屋所有权(首次登记) 14 case "A04100"://国有建设用地使用权/房屋所有权(首次登记)
15 vm = "fwsyq"; 15 vm = "fwsyq";
16 break; 16 break;
17 case "A23100"://农用地使用权(首次登记)
18 vm = "nydsyq100";
19 break;
17 case "A05200": 20 case "A05200":
18 case "A05300": 21 case "A05300":
19 case "A05400": 22 case "A05400":
......
...@@ -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;
......