3c21c35d by 田浩浩

1111

1 parent 0c06227e
...@@ -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'>
......