4ae342bd by 蔡俊立
2 parents 17d80724 ce7d08dc
...@@ -41,7 +41,7 @@ export function getForm(tabName, djywbm) { ...@@ -41,7 +41,7 @@ export function getForm(tabName, djywbm) {
41 case "cfdjxx": 41 case "cfdjxx":
42 form = require("@/views/registerBook/cfdj.vue"); 42 form = require("@/views/registerBook/cfdj.vue");
43 break; 43 break;
44 case "qlxx": 44 case "jsydsyqQlxx":
45 form = require("@/views/registerBook/jsydsyq.vue"); 45 form = require("@/views/registerBook/jsydsyq.vue");
46 break; 46 break;
47 case "fdcq2Qlxx": 47 case "fdcq2Qlxx":
......
...@@ -11,111 +11,105 @@ ...@@ -11,111 +11,105 @@
11 <el-row :gutter="10"> 11 <el-row :gutter="10">
12 <el-col :span="8"> 12 <el-col :span="8">
13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:"> 13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
14 <el-input disabled v-model="ruleForm.ywh"></el-input> 14 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="8"> 17 <el-col :span="8">
18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:"> 18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
19 <el-input disabled v-model="ruleForm.slry"></el-input> 19 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="8"> 22 <el-col :span="8">
23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:"> 23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
24 <el-input disabled v-model="ruleForm.slsj"></el-input> 24 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 </el-row> 27 </el-row>
28 <el-row :gutter="10"> 28 <el-row :gutter="10">
29 <el-col :span="8"> 29 <el-col :span="8">
30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> 30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
31 <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> 31 <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
32 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
33 </el-option>
34 </el-select>
35 </el-form-item> 32 </el-form-item>
36 </el-col> 33 </el-col>
37 <el-col :span="8"> 34 <el-col :span="8">
38 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:"> 35 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
39 <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> 36 <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
40 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
41 </el-option>
42 </el-select>
43 </el-form-item> 37 </el-form-item>
44 </el-col> 38 </el-col>
45 <el-col :span="8"> 39 <el-col :span="8">
46 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:"> 40 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:">
47 <el-input disabled v-model="ruleForm.djqxmc"></el-input> 41 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
48 </el-form-item> 42 </el-form-item>
49 </el-col> 43 </el-col>
50 </el-row> 44 </el-row>
51 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block">
52 不动产单元情况 46 不动产单元情况
53 <div class="triangle"></div> 47 <div><el-button @click="compare">变化情况对比+</el-button></div>
54 </div> 48 </div>
55 <el-row :gutter="10"> 49 <el-row :gutter="10">
56 <el-col :span="8"> 50 <el-col :span="8">
57 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> 51 <el-form-item :class="flag ? 'marginBot0' : ''" label="原不动产权证号:">
58 <el-input disabled v-model="ruleForm.zddm"></el-input> 52 <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
59 </el-form-item> 53 </el-form-item>
60 </el-col> 54 </el-col>
61 <el-col :span="8"> 55 <el-col :span="8">
62 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> 56 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
63 <el-input disabled v-model="ruleForm.bdcdyh"></el-input> 57 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
64 </el-form-item> 58 </el-form-item>
65 </el-col> 59 </el-col>
66 <el-col :span="8"> 60 <el-col :span="8">
67 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> 61 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:">
68 <el-input disabled v-model="ruleForm.qlxzmc"></el-input> 62 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
69 </el-form-item> 63 </el-form-item>
70 </el-col> 64 </el-col>
71 </el-row> 65 </el-row>
72 <el-row :gutter="10"> 66 <el-row :gutter="10">
73 <el-col :span="8"> 67 <el-col :span="8">
74 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> 68 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:">
75 <el-input disabled v-model="ruleForm.zdmj"></el-input> 69 <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input>
76 </el-form-item> 70 </el-form-item>
77 </el-col> 71 </el-col>
78 <el-col :span="8"> 72 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> 73 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
80 <el-input disabled v-model="ruleForm.ghytmc"></el-input> 74 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
81 </el-form-item> 75 </el-form-item>
82 </el-col> 76 </el-col>
83 <el-col :span="8"> 77 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:">
85 <el-input disabled v-model="ruleForm.qlsdfsmc"></el-input> 79 <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
86 </el-form-item> 80 </el-form-item>
87 </el-col> 81 </el-col>
88 </el-row> 82 </el-row>
89 <el-row :gutter="10"> 83 <el-row :gutter="10">
90 <el-col :span="8"> 84 <el-col :span="8">
91 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:">
92 <el-input disabled v-model="ruleForm.qdjg"></el-input> 86 <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input>
93 </el-form-item> 87 </el-form-item>
94 </el-col> 88 </el-col>
95 89
96 <el-col :span="16"> 90 <el-col :span="16">
97 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> 91 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
98 <el-input disabled v-model="ruleForm.zl"></el-input> 92 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
99 </el-form-item> 93 </el-form-item>
100 </el-col> 94 </el-col>
101 </el-row> 95 </el-row>
102 <el-row :gutter="10"> 96 <el-row :gutter="10">
103 <el-col :span="8"> 97 <el-col :span="8">
104 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:"> 98 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:">
105 <el-input disabled v-model="ruleForm.tdsyqx"></el-input> 99 <el-input disabled v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
106 </el-form-item> 100 </el-form-item>
107 </el-col> 101 </el-col>
108 102
109 <el-col :span="16"> 103 <el-col :span="16">
110 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:"> 104 <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:">
111 <el-input disabled v-model="ruleForm.syqqzsj"></el-input> 105 <el-input disabled v-model="ruleForm.jsydsyq.syqqzsj"></el-input>
112 </el-form-item> 106 </el-form-item>
113 </el-col> 107 </el-col>
114 </el-row> 108 </el-row>
115 <el-row :gutter="10"> 109 <el-row :gutter="10">
116 <el-col> 110 <el-col>
117 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> 111 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
118 <el-input type="textarea" v-model="ruleForm.fj" :disabled="$route.query.viewtype==1"></el-input> 112 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input>
119 </el-form-item> 113 </el-form-item>
120 </el-col> 114 </el-col>
121 </el-row> 115 </el-row>
...@@ -126,7 +120,7 @@ ...@@ -126,7 +120,7 @@
126 <el-row :gutter="10"> 120 <el-row :gutter="10">
127 <el-col :span="14"> 121 <el-col :span="14">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 122 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
129 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.gyfs"> 123 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
130 <el-radio label="1">单独所有</el-radio> 124 <el-radio label="1">单独所有</el-radio>
131 <el-radio label="2">共同共有</el-radio> 125 <el-radio label="2">共同共有</el-radio>
132 <el-radio label="3">按份所有</el-radio> 126 <el-radio label="3">按份所有</el-radio>
...@@ -135,7 +129,7 @@ ...@@ -135,7 +129,7 @@
135 </el-col> 129 </el-col>
136 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 130 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
137 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 131 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
138 <el-radio-group v-model="ruleForm.sffbcz"> 132 <el-radio-group v-model="ruleForm.slywxx.sffbcz">
139 <el-radio label="1"></el-radio> 133 <el-radio label="1"></el-radio>
140 <el-radio label="0"></el-radio> 134 <el-radio label="0"></el-radio>
141 </el-radio-group> 135 </el-radio-group>
...@@ -150,7 +144,7 @@ ...@@ -150,7 +144,7 @@
150 </el-form-item> 144 </el-form-item>
151 </el-col> 145 </el-col>
152 </el-row> 146 </el-row>
153 <InformationTable :tableData="ruleForm.qlrxx" :viewtype="$route.query.viewtype" :gyfs="ruleForm.gyfs" /> 147 <InformationTable :tableData="ruleForm.qlrList" :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
154 <div class="slxx_title title-block"> 148 <div class="slxx_title title-block">
155 登记原因 149 登记原因
156 <div class="triangle"></div> 150 <div class="triangle"></div>
...@@ -158,7 +152,7 @@ ...@@ -158,7 +152,7 @@
158 <el-row :gutter="10"> 152 <el-row :gutter="10">
159 <el-col> 153 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 154 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
161 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.djyy"> 155 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy">
162 </el-input> 156 </el-input>
163 </el-form-item> 157 </el-form-item>
164 </el-col> 158 </el-col>
...@@ -174,13 +168,14 @@ ...@@ -174,13 +168,14 @@
174 </template> 168 </template>
175 <script> 169 <script>
176 import InformationTable from "@/views/workflow/components/InformationTable"; 170 import InformationTable from "@/views/workflow/components/InformationTable";
177 import { Init, fristReg } from "@/api/jsydsyqFlow.js"; 171 import { Init, saveData } from "@/api/jsydsyqFlow.js";
178 import { mapGetters } from "vuex"; 172 import { mapGetters } from "vuex";
179 export default { 173 export default {
180 async created () { 174 async created () {
181 this.propsParam = this.$attrs; 175 this.propsParam = this.$attrs;
182 var formdata = new FormData(); 176 var formdata = new FormData();
183 formdata.append("bsmSldy", this.propsParam.bsmSldy); 177 formdata.append("bsmSldy", this.propsParam.bsmSldy);
178 formdata.append("djlx", this.propsParam.djlx);
184 Init(formdata).then((res) => { 179 Init(formdata).then((res) => {
185 if (res.code === 200 && res.result) { 180 if (res.code === 200 && res.result) {
186 this.ruleForm = res.result; 181 this.ruleForm = res.result;
...@@ -207,8 +202,8 @@ export default { ...@@ -207,8 +202,8 @@ export default {
207 this.ruleForm.qlrList = _.cloneDeep(val); 202 this.ruleForm.qlrList = _.cloneDeep(val);
208 }, 203 },
209 onSubmit () { 204 onSubmit () {
210 fristReg(this.ruleForm).then((res) => { 205 saveData(this.ruleForm).then((res) => {
211 if (res.code === 200 && res.result) { 206 if (res.code === 200) {
212 this.$message({ 207 this.$message({
213 showClose: true, 208 showClose: true,
214 message: "保存成功!", 209 message: "保存成功!",
...@@ -223,7 +218,26 @@ export default { ...@@ -223,7 +218,26 @@ export default {
223 } 218 }
224 }); 219 });
225 }, 220 },
221 compare(){
222 this.$popup({
223 titleStyle: "left",
224 title: "土地变化情况比对", // 弹窗标题
225 editItem: "registerBook/jsydsyq", // 弹窗内容
226 formData: this.propsParam,
227 width: "1220px",
228 height: "790px",
229 // cancelText: '取消摆烂', // 右边按钮文本
230 // confirmText: '确定点击', //左边按钮文本
231 cancel: () => {
232 console.log("取消回调");
226 }, 233 },
234 confirm: () => {
235 console.log("确认回调");
236 },
237 });
238 }
239 },
240
227 }; 241 };
228 </script> 242 </script>
229 <style scoped lang='scss'> 243 <style scoped lang='scss'>
......
...@@ -6,27 +6,52 @@ ...@@ -6,27 +6,52 @@
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 clearable placeholder="请选择权利类型"> 9 <el-select
10 <el-option v-for="item in dictData['权利类型']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 10 v-model="queryForm.qllx"
11 filterable
12 clearable
13 placeholder="请选择权利类型"
14 >
15 <el-option
16 v-for="item in dictData['A8']"
17 :key="item.dcode"
18 :label="item.dname"
19 :value="item.dcode"
20 >
11 </el-option> 21 </el-option>
12 </el-select> 22 </el-select>
13 </el-form-item> 23 </el-form-item>
14 </el-col> 24 </el-col>
15 <el-col :span="5"> 25 <el-col :span="5">
16 <el-form-item label="不动产单元号"> 26 <el-form-item label="不动产单元号">
17 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px"> 27 <el-input
28 placeholder="请输入不动产单元号"
29 v-model="queryForm.bdcdyh"
30 clearable
31 class="width200px"
32 >
18 </el-input> 33 </el-input>
19 </el-form-item> 34 </el-form-item>
20 </el-col> 35 </el-col>
21 <el-col :span="5"> 36 <el-col :span="5">
22 <el-form-item label="不动产权证号"> 37 <el-form-item label="不动产权证号">
23 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> 38 <el-input
39 placeholder="请输入不动产权证号"
40 v-model="queryForm.bdcqzh"
41 clearable
42 class="width200px"
43 >
24 </el-input> 44 </el-input>
25 </el-form-item> 45 </el-form-item>
26 </el-col> 46 </el-col>
27 <el-col :span="5"> 47 <el-col :span="5">
28 <el-form-item label="业务号"> 48 <el-form-item label="业务号">
29 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> 49 <el-input
50 placeholder="请输入业务号"
51 v-model="queryForm.ywh"
52 clearable
53 class="width200px"
54 >
30 </el-input> 55 </el-input>
31 </el-form-item> 56 </el-form-item>
32 </el-col> 57 </el-col>
...@@ -42,9 +67,17 @@ ...@@ -42,9 +67,17 @@
42 </div> 67 </div>
43 <!-- 表格 --> 68 <!-- 表格 -->
44 <div class="from-clues-content"> 69 <div class="from-clues-content">
45 <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current" 70 <lb-table
46 :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 71 :page-size="pageData.size"
47 :column="tableData.columns" :data="tableData.data"> 72 border
73 @sort-change="handleSort"
74 :current-page.sync="pageData.current"
75 :total="tableData.total"
76 @size-change="handleSizeChange"
77 @p-current-change="handleCurrentChange"
78 :column="tableData.columns"
79 :data="tableData.data"
80 >
48 </lb-table> 81 </lb-table>
49 </div> 82 </div>
50 </div> 83 </div>
...@@ -58,10 +91,10 @@ import { mapGetters } from "vuex"; ...@@ -58,10 +91,10 @@ import { mapGetters } from "vuex";
58 export default { 91 export default {
59 name: "djbcx", 92 name: "djbcx",
60 mixins: [table], 93 mixins: [table],
61 mounted () { 94 mounted() {
62 sendThis(this); 95 sendThis(this);
63 }, 96 },
64 data () { 97 data() {
65 return { 98 return {
66 queryForm: { 99 queryForm: {
67 qllx: "", 100 qllx: "",
...@@ -74,7 +107,6 @@ export default { ...@@ -74,7 +107,6 @@ export default {
74 size: 10, 107 size: 10,
75 total: 0, 108 total: 0,
76 }, 109 },
77 ywlys: datas.ywlys(),
78 tableData: { 110 tableData: {
79 columns: datas.columns(), 111 columns: datas.columns(),
80 data: [], 112 data: [],
...@@ -89,42 +121,43 @@ export default { ...@@ -89,42 +121,43 @@ export default {
89 }, 121 },
90 methods: { 122 methods: {
91 // 初始化数据 123 // 初始化数据
92 fetchData () { 124 fetchData() {
125 debugger;
93 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { 126 getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
94 if (res.code === 200) { 127 if (res.code === 200) {
95 let { total, records } = res.result; 128 let { total, records } = res.result;
96 this.pageData.total = total;
97 this.tableData.data = records; 129 this.tableData.data = records;
130 this.tableData.total = total;
98 } 131 }
99 }); 132 });
100 }, 133 },
101 handleSort (name, sort) { 134 handleSort(name, sort) {
102 console.log(name, sort); 135 console.log(name, sort);
103 }, 136 },
104 // 查询 137 // 查询
105 queryClick () { 138 queryClick() {
106 this.pageData.current = 1; 139 // this.pageData.current = 1;
107 this.pageData.currentPage = 1; 140 // this.pageData.currentPage = 1;
108 this.fetchData(); 141 this.fetchData();
109 }, 142 },
110 // 高级查询 143 // 高级查询
111 moreQueryClick () { }, 144 moreQueryClick() {},
112 openDialog (scroll) { 145 openDialog(scroll) {
113 this.$popup({ 146 this.$popup({
114 titleStyle:"left", 147 titleStyle: "left",
115 title: '登记簿详情', // 弹窗标题 148 title: "登记簿详情", // 弹窗标题
116 editItem: 'registerBook/djbFrame', // 弹窗内容 149 editItem: "registerBook/djbFrame", // 弹窗内容
117 formData: scroll, 150 formData: scroll,
118 width:"1220px", 151 width: "1220px",
119 height:"790px", 152 height: "790px",
120 // cancelText: '取消摆烂', // 右边按钮文本 153 // cancelText: '取消摆烂', // 右边按钮文本
121 // confirmText: '确定点击', //左边按钮文本 154 // confirmText: '确定点击', //左边按钮文本
122 cancel: () => { 155 cancel: () => {
123 console.log('取消回调') 156 console.log("取消回调");
124 }, 157 },
125 confirm: () => { 158 confirm: () => {
126 console.log('确认回调') 159 console.log("确认回调");
127 } 160 },
128 }); 161 });
129 }, 162 },
130 }, 163 },
......
...@@ -35,7 +35,7 @@ class data extends filter { ...@@ -35,7 +35,7 @@ class data extends filter {
35 text: '历史', 35 text: '历史',
36 color: '#AAAAAA' 36 color: '#AAAAAA'
37 }, 37 },
38 "3": { 38 "0": {
39 text: '临时', 39 text: '临时',
40 color: '#FE9400' 40 color: '#FE9400'
41 } 41 }
...@@ -110,15 +110,6 @@ class data extends filter { ...@@ -110,15 +110,6 @@ class data extends filter {
110 ] 110 ]
111 } 111 }
112 112
113 ywlys () {
114 return [
115 { value: 1, label: "办事大厅" },
116 { value: 2, label: "微信小程序" },
117 { value: 3, label: "法院端" },
118 { value: 4, label: "银行端" },
119 ]
120 }
121
122 } 113 }
123 let datas = new data() 114 let datas = new data()
124 export { 115 export {
......
...@@ -36,7 +36,7 @@ class data extends filter { ...@@ -36,7 +36,7 @@ class data extends filter {
36 label: "坐落", 36 label: "坐落",
37 }, 37 },
38 { 38 {
39 prop: "yt", 39 prop: "showFwyt",
40 label: "用途", 40 label: "用途",
41 }, 41 },
42 { 42 {
......