8397619d by 田浩浩
2 parents 4bcf4ea0 9c5fe647
...@@ -127,11 +127,9 @@ export default { ...@@ -127,11 +127,9 @@ export default {
127 handleSelectionChange (val) { 127 handleSelectionChange (val) {
128 this.bdcdysz = val; 128 this.bdcdysz = val;
129 }, 129 },
130 queryClick () { 130
131 this.fetchData(); 131 }
132 }, 132 }
133 },
134 };
135 </script> 133 </script>
136 <style scoped lang="scss"> 134 <style scoped lang="scss">
137 @import "~@/styles/mixin.scss"; 135 @import "~@/styles/mixin.scss";
......
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-tabs v-model="activeName">
6 <el-tab-pane label="自然幢" name="first"></el-tab-pane>
7 <el-tab-pane label="户" name="second"></el-tab-pane>
8 </el-tabs>
9 <el-form :model="queryForm" ref="queryForm" label-width="100px">
10 <el-row>
11 <el-col :span="5">
12 <el-form-item label="权利类型" label-width="70px">
13 <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型">
14 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
15 </el-option>
16 </el-select>
17 </el-form-item>
18 </el-col>
19 <el-col :span="5">
20 <el-form-item label="不动产单元号">
21 <el-input placeholder="不动产单元号" v-model="queryForm.bdcdyh" clearable>
22 </el-input>
23 </el-form-item>
24 </el-col>
25 <el-col :span="5">
26 <el-form-item label="业务号" label-width="70px">
27 <el-input placeholder="业务号" v-model="queryForm.ywh" clearable>
28 </el-input>
29 </el-form-item>
30 </el-col>
31 <el-col :span="5">
32 <el-form-item label="不动产权证号">
33 <el-input placeholder="不动产权证号" v-model="queryForm.bdcqzh" clearable>
34 </el-input>
35 </el-form-item>
36 </el-col>
37 <el-col :span="4" class="btnCol">
38 <el-form-item>
39 <el-button type="primary" @click="queryClick()">查询</el-button>
40 </el-form-item>
41 </el-col>
42 </el-row>
43 </el-form>
44 </div>
45 <!-- 表格 -->
46 <div class="from-clues-content">
47 <lb-table border :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
48 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
49 @selection-change="handleSelectionChange" :column="tableData.columns" :data="tableData.data">
50 </lb-table>
51 </div>
52 <div class="submit_button">
53 <el-button @click="closeDialog">取消</el-button>
54 <el-button type="primary" plain @click="submitForm" :loading="saveloding">发起申请</el-button>
55 </div>
56 </div>
57 </template>
58 <script>
59 //国有建设用地使用权/房屋使用权
60 import { mapGetters } from 'vuex'
61 import { datas, sendThis } from "../javascript/houseOwnership.js";
62 import table from "@/utils/mixin/table";
63 import jump from "../components/mixin/jump";
64 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
65 export default {
66 props: {
67 bsmSqyw: { type: String, default: "" },
68 djqxObj: { type: Object, default: "" },
69 djywbm: { type: String, default: "" }
70 },
71 mixins: [table, jump],
72 data () {
73 return {
74 activeName: 'first',
75 queryForm: {
76 qllx: '',
77 bdcdyh: '',
78 ywh: '',
79 bdcqzh: ''
80 },
81
82 tableData: {
83 total: 0,
84 columns: datas.columns(),
85 data: [],
86 },
87 bdcdysz: [],
88 saveloding: false,
89 };
90 },
91 watch: {
92 bsmSqyw (val) {
93 this.fetchData();
94 },
95 },
96 mounted () {
97 sendThis(this);
98 },
99 computed: {
100 ...mapGetters(['dictData']),
101 },
102 methods: {
103 closeDialog () {
104 this.$emit("closeDialog");
105 },
106 fetchData () {
107 if (this.bsmSqyw) {
108 this.queryForm.sqywbm = this.djywbm;
109
110 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
111 if (res.code === 200) {
112 let { total, records } = res.result;
113 this.tableData.total = total;
114 this.tableData.data = records;
115 }
116 });
117 }
118 },
119 submitForm () {
120 if (this.bdcdysz.length == 0) {
121 this.$message.error("请至少选择一条数据");
122 return;
123 }
124 this.saveloding = true;
125 startBusinessFlow({
126 bsmSqyw: this.bsmSqyw,
127 bdcdysz: this.bdcdysz,
128 djqxbm: this.djqxObj.djqxbm,
129 djqxmc: this.djqxObj.djqxmc,
130 }).then((res) => {
131 this.saveloding = false;
132 if (res.code == 200) {
133 this.jump(res.result)
134 } else {
135 this.$message.error(res.message);
136 }
137 });
138 },
139 handleSelectionChange (val) {
140 this.bdcdysz = val;
141 }
142 },
143 };
144 </script>
145 <style scoped lang="scss">
146 @import "~@/styles/mixin.scss";
147 @import "~@/styles/public.scss";
148 </style>
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 表单部分 国有建设用地使用权 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row> 6 <el-row>
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
79 }, 79 },
80 fetchData () { 80 fetchData () {
81 if (this.bsmSqyw) { 81 if (this.bsmSqyw) {
82 this.queryForm.sqywbm=this.djywbm; 82 this.queryForm.sqywbm = this.djywbm;
83 83
84 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 84 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
85 if (res.code === 200) { 85 if (res.code === 200) {
...@@ -113,11 +113,8 @@ export default { ...@@ -113,11 +113,8 @@ export default {
113 handleSelectionChange (val) { 113 handleSelectionChange (val) {
114 this.bdcdysz = val; 114 this.bdcdysz = val;
115 }, 115 },
116 queryClick () { 116 }
117 this.fetchData(); 117 }
118 },
119 },
120 };
121 </script> 118 </script>
122 <style scoped lang="scss"> 119 <style scoped lang="scss">
123 @import "~@/styles/mixin.scss"; 120 @import "~@/styles/mixin.scss";
......
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
94 }, 94 },
95 fetchData () { 95 fetchData () {
96 if (this.bsmSqyw) { 96 if (this.bsmSqyw) {
97 this.queryForm.sqywbm=this.djywbm; 97 this.queryForm.sqywbm = this.djywbm;
98 98
99 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 99 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
100 if (res.code === 200) { 100 if (res.code === 200) {
...@@ -131,13 +131,9 @@ export default { ...@@ -131,13 +131,9 @@ export default {
131 item.ybdcqzsh = item.bdcqzh 131 item.ybdcqzsh = item.bdcqzh
132 }) 132 })
133 this.bdcdysz = val; 133 this.bdcdysz = val;
134 134 }
135 }, 135 }
136 queryClick () { 136 }
137 this.fetchData();
138 },
139 },
140 };
141 </script> 137 </script>
142 <style scoped lang="scss"> 138 <style scoped lang="scss">
143 @import "~@/styles/mixin.scss"; 139 @import "~@/styles/mixin.scss";
......
...@@ -9,6 +9,10 @@ export default { ...@@ -9,6 +9,10 @@ export default {
9 data.bestepid + '&bsmBusiness=' 9 data.bestepid + '&bsmBusiness='
10 ); 10 );
11 window.open(href, "_blank"); 11 window.open(href, "_blank");
12 },
13 queryClick () {
14 this.pageData.currentPage = 1
15 this.fetchData();
12 } 16 }
13 } 17 }
14 } 18 }
......
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 prop: "status",
31 label: "状态",
32 },
33 {
34 prop: "qllxmc",
35 label: "权利类型",
36 },
37 {
38 prop: "zrzh",
39 label: "自然幢号",
40 },
41 {
42 prop: "bdcdyh",
43 label: "不动产单元号",
44 },
45 {
46 prop: "showQlxz",
47 label: "权利性质",
48 },
49 {
50 prop: "zdmj",
51 label: "宗地面积",
52 },
53 {
54 prop: "qlsdfsmc",
55 label: "权利设定方式",
56 },
57 {
58 prop: "showFwyt",
59 label: "房屋用途",
60 },
61 {
62 prop: "zl",
63 label: "坐落",
64 },
65 ]
66 }
67
68
69 }
70 let datas = new data()
71 export {
72 datas,
73 sendThis
74 }
...@@ -48,7 +48,7 @@ class data extends filter { ...@@ -48,7 +48,7 @@ class data extends filter {
48 }, 48 },
49 { 49 {
50 prop: "zdmj", 50 prop: "zdmj",
51 label: "宗地面积", 51 label: "宗地面积(㎡)",
52 }, 52 },
53 { 53 {
54 prop: "qlsdfsmc", 54 prop: "qlsdfsmc",
......
...@@ -10,20 +10,16 @@ class data extends filter { ...@@ -10,20 +10,16 @@ class data extends filter {
10 constructor() { 10 constructor() {
11 super() 11 super()
12 } 12 }
13 defaultParameters(){ 13 defaultParameters () {
14 return [ 14 return {
15 {
16 qllx: "", 15 qllx: "",
17 bdcdyh: "", 16 bdcdyh: "",
18 ywh: "", 17 ywh: "",
19 bdcqzh: "", 18 bdcqzh: "",
20 fwfl:"", 19 fwfl: "",
21 zl:"", 20 zl: "",
22 } 21 }
23 ]
24 } 22 }
25
26
27 } 23 }
28 let defaultParameters = new data() 24 let defaultParameters = new data()
29 export { 25 export {
......
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
23 this.myValue = val 23 this.myValue = val
24 }, 24 },
25 djywbm (val) { 25 djywbm (val) {
26 console.log(val);
26 let dd = queueDjywmc(val); 27 let dd = queueDjywmc(val);
27 this.editItem = this.loadView(dd); 28 this.editItem = this.loadView(dd);
28 }, 29 },
......
1 export function queueDjywmc(djywbm) { 1 export function queueDjywmc (djywbm) {
2 let vm = null; 2 let vm = null;
3 switch (djywbm) { 3 switch (djywbm) {
4 case "A03100"://建设用地使用权(首次登记) 4 case "A03100"://建设用地使用权(首次登记)
...@@ -9,6 +9,9 @@ export function queueDjywmc(djywbm) { ...@@ -9,6 +9,9 @@ export function queueDjywmc(djywbm) {
9 case "A03200": 9 case "A03200":
10 case "A03300": 10 case "A03300":
11 case "A03400": 11 case "A03400":
12 case "A04100":
13 vm = "houseOwnership";
14 break;
12 case "A05200": 15 case "A05200":
13 case "A05300": 16 case "A05300":
14 case "A05400": 17 case "A05400":
......