c905cbc0 by xiaomiao

--no commit message

1 parent 252da064
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 label-width="127px"> 16 label-width="127px"
17 >
17 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
18 <div class="slxx_title title-block"> 19 <div class="slxx_title title-block">
19 补录信息 20 补录信息
...@@ -66,7 +67,12 @@ ...@@ -66,7 +67,12 @@
66 <el-col :span="8"> 67 <el-col :span="8">
67 <el-form-item label="登记类型:"> 68 <el-form-item label="登记类型:">
68 <el-select v-model="ruleForm.qlxx.djlx"> 69 <el-select v-model="ruleForm.qlxx.djlx">
69 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 70 <el-option
71 v-for="item in dictData['A21']"
72 :key="item.dcode"
73 :label="item.dname"
74 :value="item.dcode"
75 >
70 </el-option> 76 </el-option>
71 </el-select> 77 </el-select>
72 </el-form-item> 78 </el-form-item>
...@@ -74,7 +80,12 @@ ...@@ -74,7 +80,12 @@
74 <el-col :span="8"> 80 <el-col :span="8">
75 <el-form-item label="权属状态:"> 81 <el-form-item label="权属状态:">
76 <el-select v-model="ruleForm.qlxx.qszt"> 82 <el-select v-model="ruleForm.qlxx.qszt">
77 <el-option v-for="item in qsztlist" :key="item.dcode" :label="item.dname" :value="item.dcode"> 83 <el-option
84 v-for="item in qsztlist"
85 :key="item.dcode"
86 :label="item.dname"
87 :value="item.dcode"
88 >
78 </el-option> 89 </el-option>
79 </el-select> 90 </el-select>
80 </el-form-item> 91 </el-form-item>
...@@ -91,19 +102,24 @@ ...@@ -91,19 +102,24 @@
91 </el-col> 102 </el-col>
92 <el-col :span="8"> 103 <el-col :span="8">
93 <el-form-item label="取得价格:"> 104 <el-form-item label="取得价格:">
94 <div style="display:flex"> 105 <div style="display: flex">
95 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%"></el-input> 106 <el-input
107 v-model="ruleForm.jsydsyq.qdjg"
108 style="width: 500%"
109 ></el-input>
96 <el-select v-model="ruleForm.jsydsyq.jedw"> 110 <el-select v-model="ruleForm.jsydsyq.jedw">
97 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 111 <el-option
112 v-for="item in dictData['A57']"
113 :key="item.dcode"
114 :label="item.dname"
115 :value="item.dcode"
116 >
98 </el-option> 117 </el-option>
99 </el-select> 118 </el-select>
100 </div> 119 </div>
101 </el-form-item> 120 </el-form-item>
102 </el-col> 121 </el-col>
103 122
104
105
106
107 <el-col :span="8"> 123 <el-col :span="8">
108 <el-form-item label="不动产权证号:"> 124 <el-form-item label="不动产权证号:">
109 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 125 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
...@@ -137,7 +153,14 @@ ...@@ -137,7 +153,14 @@
137 </el-form-item> 153 </el-form-item>
138 </el-col> 154 </el-col>
139 </el-row> 155 </el-row>
140 156 <div class="slxx_title title-block">
157 土地用途
158 <div class="triangle"></div>
159 </div>
160 <tdytTable
161 :tableData="ruleForm.tdytqxList"
162 @upDateTdytxxList="upDateTdytxxList"
163 />
141 <div class="slxx_title title-block"> 164 <div class="slxx_title title-block">
142 权利人信息 165 权利人信息
143 <div class="triangle"></div> 166 <div class="triangle"></div>
...@@ -147,7 +170,8 @@ ...@@ -147,7 +170,8 @@
147 <el-form-item label="共有方式:"> 170 <el-form-item label="共有方式:">
148 <el-radio-group 171 <el-radio-group
149 :disabled="$route.query.viewtype == 0" 172 :disabled="$route.query.viewtype == 0"
150 v-model="ruleForm.qlxx.gyqk"> 173 v-model="ruleForm.qlxx.gyqk"
174 >
151 <el-radio label="0">单独所有</el-radio> 175 <el-radio label="0">单独所有</el-radio>
152 <el-radio label="1">共同共有</el-radio> 176 <el-radio label="1">共同共有</el-radio>
153 <el-radio label="2">按份所有</el-radio> 177 <el-radio label="2">按份所有</el-radio>
...@@ -158,15 +182,23 @@ ...@@ -158,15 +182,23 @@
158 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 182 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
159 <el-form-item label="是否分别持证:"> 183 <el-form-item label="是否分别持证:">
160 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 184 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
161 <el-radio :label=1></el-radio> 185 <el-radio :label="1"></el-radio>
162 <el-radio :label=0></el-radio> 186 <el-radio :label="0"></el-radio>
163 </el-radio-group> 187 </el-radio-group>
164 </el-form-item> 188 </el-form-item>
165 </el-col> 189 </el-col>
166 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 190 <el-col
191 :span="6"
192 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
193 >
167 <el-form-item label="持证人:"> 194 <el-form-item label="持证人:">
168 <el-select v-model="ruleForm.czr" placeholder="持证人"> 195 <el-select v-model="ruleForm.czr" placeholder="持证人">
169 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 196 <el-option
197 v-for="item in czrOptions"
198 :key="item.zjh"
199 :label="item.sqrmc"
200 :value="item.zjh"
201 >
170 </el-option> 202 </el-option>
171 </el-select> 203 </el-select>
172 </el-form-item> 204 </el-form-item>
...@@ -177,7 +209,8 @@ ...@@ -177,7 +209,8 @@
177 @upDateQlrxxList="upDateQlrxxList" 209 @upDateQlrxxList="upDateQlrxxList"
178 :key="key" 210 :key="key"
179 :viewtype="$route.query.viewtype" 211 :viewtype="$route.query.viewtype"
180 :gyfs="ruleForm.qlxx.gyfs" /> 212 :gyfs="ruleForm.qlxx.gyfs"
213 />
181 214
182 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 215 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
183 <div class="slxx_title title-block"> 216 <div class="slxx_title title-block">
...@@ -189,7 +222,8 @@ ...@@ -189,7 +222,8 @@
189 :tableData="ruleForm.ywrList" 222 :tableData="ruleForm.ywrList"
190 :key="key" 223 :key="key"
191 @upDateQlrxxList="upDateYwrxxList" 224 @upDateQlrxxList="upDateYwrxxList"
192 :viewtype="$route.query.viewtype" /> 225 :viewtype="$route.query.viewtype"
226 />
193 </div> 227 </div>
194 </div> 228 </div>
195 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 229 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
...@@ -201,27 +235,28 @@ ...@@ -201,27 +235,28 @@
201 </div> 235 </div>
202 </template> 236 </template>
203 <script> 237 <script>
204 import store from '@/store/index.js' 238 import store from "@/store/index.js";
205 import { mapGetters } from "vuex"; 239 import { mapGetters } from "vuex";
206 import { init,save } from "@/api/djbbl.js"; 240 import { init, save } from "@/api/djbbl.js";
207 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 241 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
208 import tdytTable from "@/views/workflow/components/tdytTable"; 242 import tdytTable from "@/views/workflow/components/tdytTable";
209 export default { 243 export default {
210 components: { qlrCommonTable,tdytTable }, 244 components: { qlrCommonTable, tdytTable },
211 computed: { 245 computed: {
212 ...mapGetters(["dictData", "flag"]), 246 ...mapGetters(["dictData", "flag"]),
213 }, 247 },
214 data() { 248 data() {
215 return { 249 return {
216 // 键名转换,方法默认是label和children进行树状渲染 250 // 键名转换,方法默认是label和children进行树状渲染
217 normalizer (node) { //方法 251 normalizer(node) {
218 if (node.children == null || node.children == 'null') { 252 //方法
253 if (node.children == null || node.children == "null") {
219 delete node.children; 254 delete node.children;
220 } 255 }
221 return { 256 return {
222 id: node.dcode, 257 id: node.dcode,
223 label: node.dname 258 label: node.dname,
224 } 259 };
225 }, 260 },
226 //表单是否可操作 261 //表单是否可操作
227 propsParam: this.$attrs, 262 propsParam: this.$attrs,
...@@ -238,6 +273,7 @@ export default { ...@@ -238,6 +273,7 @@ export default {
238 dname: "历史", 273 dname: "历史",
239 }, 274 },
240 ], 275 ],
276 tdxz:null,
241 isShow: false, 277 isShow: false,
242 disabled: true, 278 disabled: true,
243 czrOptions: [], 279 czrOptions: [],
...@@ -252,31 +288,34 @@ export default { ...@@ -252,31 +288,34 @@ export default {
252 mounted() {}, 288 mounted() {},
253 methods: { 289 methods: {
254 // 字典 290 // 字典
255 getDictData (val) { 291 getDictData(val) {
256 return store.getters.dictData[val] 292 return store.getters.dictData[val];
257 }, 293 },
258 loadData() { 294 loadData() {
259 console.log("建设用地使用权",this.propsParam);
260 console.log("this.getDictData('A30')",this.getDictData('A22'));
261 init(this.propsParam.bsmRepair).then((res) => { 295 init(this.propsParam.bsmRepair).then((res) => {
262 if (res.code == 200) { 296 if (res.code == 200) {
263 this.ruleForm = res.result; 297 this.ruleForm = res.result;
264 console.log("this.ruleForm",this.ruleForm); 298 if( this.ruleForm.tdytqxList.length>0){
299 this.tdxz=this.ruleForm.tdytqxList[0].qlxzbm
300 }else{
301 this.tdxz=null
302 }
303 console.log("this.ruleForm", this.ruleForm);
265 this.isShow = true; 304 this.isShow = true;
266 } 305 }
267 }); 306 });
268 }, 307 },
269 // 更新土地用途信息 308 // 更新土地用途信息
270 upDateTdytxxList(val) { 309 upDateTdytxxList(val) {
271 console.log("VAL",val); 310 console.log("VAL", val);
272 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 311 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
273 this.key++; 312 this.key++;
274 }, 313 },
275 // 更新权利人信息 314 // 更新权利人信息
276 upDateQlrxxList(val) { 315 upDateQlrxxList(val) {
277 console.log("val",val); 316 console.log("val", val);
278 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 317 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
279 console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); 318 console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
280 this.czrOptions = this.ruleForm.qlrData; 319 this.czrOptions = this.ruleForm.qlrData;
281 this.key++; 320 this.key++;
282 }, 321 },
...@@ -286,7 +325,7 @@ export default { ...@@ -286,7 +325,7 @@ export default {
286 this.key++; 325 this.key++;
287 }, 326 },
288 onSubmit() { 327 onSubmit() {
289 console.log("this.ruleForm大信息",this.ruleForm); 328 console.log("this.ruleForm大信息", this.ruleForm);
290 if (this.ruleForm.qlrData.length == 0) { 329 if (this.ruleForm.qlrData.length == 0) {
291 this.$message({ 330 this.$message({
292 showClose: true, 331 showClose: true,
......
...@@ -7,7 +7,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; ...@@ -7,7 +7,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
7 import { getPrintTemplateByCode } from "@/api/system"; 7 import { getPrintTemplateByCode } from "@/api/system";
8 import { getPrintApplicationInfo } from "@/api/fqsq"; 8 import { getPrintApplicationInfo } from "@/api/fqsq";
9 import { uploadUndo } from "@/api/clxx"; 9 import { uploadUndo } from "@/api/clxx";
10 import { deleteFlow } from "@/api/ywbl"; 10 import { deleteFlow } from "@/api/djbbl";
11 import { getLodop } from "@/utils/LodopFuncs" 11 import { getLodop } from "@/utils/LodopFuncs"
12 import { 12 import {
13 stepExpandInfo, 13 stepExpandInfo,
...@@ -243,18 +243,18 @@ export default { ...@@ -243,18 +243,18 @@ export default {
243 }) 243 })
244 .then(() => { 244 .then(() => {
245 console.log('删除流程'); 245 console.log('删除流程');
246 // deleteFlow(formdata).then((res) => { 246 deleteFlow(formdata).then((res) => {
247 // if (res.code === 200) { 247 if (res.code === 200) {
248 // this.$message({ 248 this.$message({
249 // type: "success", 249 type: "success",
250 // message: "删除成功!", 250 message: "删除成功!",
251 // }); 251 });
252 // window.close(); 252 window.close();
253 // window.opener.getBpageList(); 253 window.opener.getBpageList();
254 // } else { 254 } else {
255 // this.$message.error(res.message); 255 this.$message.error(res.message);
256 // } 256 }
257 // }); 257 });
258 }) 258 })
259 .catch(() => { 259 .catch(() => {
260 this.$message({ 260 this.$message({
......