312ab615 by yangwei

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents b57728d8 dafd2826
...@@ -120,7 +120,7 @@ export function down (index, data) { ...@@ -120,7 +120,7 @@ export function down (index, data) {
120 */ 120 */
121 export function getIdCardInfo (level) { 121 export function getIdCardInfo (level) {
122 const resultMap = { 122 const resultMap = {
123 A: '10 颗星', 123 A: '设备',
124 default: axios.post(Vue.prototype.BASE_API.IDCARDURL), 124 default: axios.post(Vue.prototype.BASE_API.IDCARDURL),
125 } 125 }
126 return resultMap[level] || resultMap.default 126 return resultMap[level] || resultMap.default
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 11:12:13 4 * @LastEditTime: 2023-06-21 15:35:29
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <!--缩略图--> 22 <!--缩略图-->
23 <div class="thumb-wrap"> 23 <div class="thumb-wrap">
24 <div class="thumb-wrap-button"> 24 <div class="thumb-wrap-button">
25 <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button> 25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button>
26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
...@@ -30,9 +30,11 @@ ...@@ -30,9 +30,11 @@
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
32 v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> 32 v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button>
33 <div v-if="!this.$route.query.viewtype" class="pl-5">
33 <el-button type="primary" @click="handleOpenScan">{{scanTitle}}</el-button> 34 <el-button type="primary" @click="handleOpenScan">{{scanTitle}}</el-button>
34 <el-button type="primary" @click="handleViewScan" v-if="isScan">拍照</el-button> 35 <el-button type="primary" @click="handleViewScan" v-if="isScan">拍照</el-button>
35 </div> 36 </div>
37 </div>
36 <ul> 38 <ul>
37 <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" 39 <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }"
38 @click="showCurrent(index)"> 40 @click="showCurrent(index)">
...@@ -46,8 +48,8 @@ ...@@ -46,8 +48,8 @@
46 </div> 48 </div>
47 </template> 49 </template>
48 <script> 50 <script>
49 import { getAltimeterInfo } from '@/utils/operation.js'
50 import PhotoZoom from '@/components/PhotoZoom' 51 import PhotoZoom from '@/components/PhotoZoom'
52 import { getAltimeterInfo, getUuid } from '@/utils/operation.js'
51 import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; 53 import { uploadSjClmx, deleteClmx } from "@/api/clxx.js";
52 import publicPicture from '@/components/publicPicture/index.vue' 54 import publicPicture from '@/components/publicPicture/index.vue'
53 export default { 55 export default {
...@@ -82,12 +84,16 @@ ...@@ -82,12 +84,16 @@
82 watch: { 84 watch: {
83 previewImg: { 85 previewImg: {
84 handler (newValue, oldValue) { 86 handler (newValue, oldValue) {
85 if (newValue.imgList.length > 0) { 87 if (newValue.imgList && newValue.imgList.length > 0) {
86 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl) 88 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl)
87 this.thumbnailImages = newValue.imgList 89 this.thumbnailImages = newValue.imgList
90 } else {
91 this.allLi = []
92 this.thumbnailImages = []
88 } 93 }
89 }, 94 },
90 deep: true 95 deep: true,
96 immediate: true
91 } 97 }
92 }, 98 },
93 created () { 99 created () {
...@@ -145,8 +151,8 @@ ...@@ -145,8 +151,8 @@
145 return new Blob([u8arr], { type: mime }); 151 return new Blob([u8arr], { type: mime });
146 } 152 }
147 function blobToFile (blob) { 153 function blobToFile (blob) {
148 const options = { type: blob.type }; 154 let name = getUuid(8) + '.jpg'
149 const file = new File([blob], options); 155 const file = new File([blob], name);
150 return file; 156 return file;
151 } 157 }
152 getAltimeterInfo().then(res => { 158 getAltimeterInfo().then(res => {
......
...@@ -106,9 +106,9 @@ export default { ...@@ -106,9 +106,9 @@ export default {
106 }; 106 };
107 }, 107 },
108 mounted() { 108 mounted() {
109 this.getleftMenubl();
110 this.loadBdcdylist();
111 109
110 this.loadBdcdylist();
111 this.getleftMenubl();
112 }, 112 },
113 computed: { 113 computed: {
114 // ...mapGetters(["isRefresh"]), 114 // ...mapGetters(["isRefresh"]),
...@@ -130,9 +130,7 @@ export default { ...@@ -130,9 +130,7 @@ export default {
130 leftMenu(formdata).then((res) => { 130 leftMenu(formdata).then((res) => {
131 if (res.code === 200 && res.result) { 131 if (res.code === 200 && res.result) {
132 this.currentSelectProps = res.result[0]; 132 this.currentSelectProps = res.result[0];
133 if(this.supplementarylist.length>0){ 133 console.log("读取申请单元信息");
134 this.unitClick(0)
135 }
136 this.$emit("getCurrentSelectProps", this.currentSelectProps); 134 this.$emit("getCurrentSelectProps", this.currentSelectProps);
137 if(add){ 135 if(add){
138 this.$parent.getQllxByBdcdyid() 136 this.$parent.getQllxByBdcdyid()
...@@ -145,21 +143,18 @@ export default { ...@@ -145,21 +143,18 @@ export default {
145 getleftMenubl(row) { 143 getleftMenubl(row) {
146 leftMenubl(this.bsmSlsq).then((res) => { 144 leftMenubl(this.bsmSlsq).then((res) => {
147 this.supplementarylist = res.result; 145 this.supplementarylist = res.result;
148 console.log("this.supplementarylist",this.supplementarylist); 146 console.log("获取右侧菜单");
149 if(this.supplementarylist.length>0){
150 this.unitClick(0) 147 this.unitClick(0)
151 }
152 if(row){ 148 if(row){
153 this.supplementarylist.forEach((item,index) => { 149 this.supplementarylist.forEach((item,index) => {
154 if(item.bsmRepair==row.bsmRepair){ 150 if(item.bsmRepair==row.bsmRepair){
155 this.activeIndex=index.toString() 151 this.activeIndex=index.toString()
152 // 补录成功后定位到该条记录
156 this.unitClick(index) 153 this.unitClick(index)
157 } 154 }
158 }) 155 })
159 } 156 }
160 }); 157 });
161
162
163 }, 158 },
164 handleNodeClick(data, node, elem) { 159 handleNodeClick(data, node, elem) {
165 this.$parent.loadComponent(this.currentSelectProps, data); 160 this.$parent.loadComponent(this.currentSelectProps, data);
...@@ -167,20 +162,14 @@ export default { ...@@ -167,20 +162,14 @@ export default {
167 }, 162 },
168 //申请单元点击事件 163 //申请单元点击事件
169 unitClick(index) { 164 unitClick(index) {
165 console.log("申请单元点击事件");
170 this.currentSelectProps = this.supplementarylist[index]; 166 this.currentSelectProps = this.supplementarylist[index];
171 this.$emit("getCurrentSelectProps", this.currentSelectProps); 167 this.$emit("getCurrentSelectProps", this.currentSelectProps);
172 }, 168 },
173 //登记簿点击事件 169 //登记簿点击事件
174 djbClick() { 170 djbClick() {
175 this.loadBdcdylist(); 171 this.loadBdcdylist();
176
177 // this.$parent.getdjblist()
178 }, 172 },
179 // 定位到该条补录记录
180 // orientation(){
181 // // this.activeIndex="2"
182 // this.unitClick(0)
183 // },
184 // 删除补录记录 173 // 删除补录记录
185 handleDel(row) { 174 handleDel(row) {
186 this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { 175 this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", {
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,6 +254,22 @@ ...@@ -244,6 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
258 <el-form-item label="是否分别持证:">
259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
260 <el-radio :label=1></el-radio>
261 <el-radio :label=0></el-radio>
262 </el-radio-group>
263 </el-form-item>
264 </el-col>
265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
266 <el-form-item label="持证人:">
267 <el-select v-model="ruleForm.czr" placeholder="持证人">
268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
269 </el-option>
270 </el-select>
271 </el-form-item>
272 </el-col>
247 </el-row> 273 </el-row>
248 <qlrCommonTable 274 <qlrCommonTable
249 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -280,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -280,8 +306,9 @@ import { mapGetters } from "vuex";
280 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
281 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
282 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
283 export default { 310 export default {
284 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
285 computed: { 312 computed: {
286 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
287 }, 314 },
...@@ -305,8 +332,10 @@ export default { ...@@ -305,8 +332,10 @@ export default {
305 mounted() {}, 332 mounted() {},
306 methods: { 333 methods: {
307 loadData() { 334 loadData() {
335 console.log("抵押权");
308 init(this.propsParam.bsmRepair).then((res) => { 336 init(this.propsParam.bsmRepair).then((res) => {
309 if (res.code == 200) { 337 if (res.code == 200) {
338
310 this.ruleForm = res.result; 339 this.ruleForm = res.result;
311 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); 340 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
312 this.isShow = true; 341 this.isShow = true;
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,22 +254,22 @@ ...@@ -244,22 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:"> 258 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio> 260 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio> 261 <el-radio :label=0></el-radio>
252 </el-radio-group> 262 </el-radio-group>
253 </el-form-item> 263 </el-form-item>
254 </el-col> --> 264 </el-col>
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:"> 266 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人"> 267 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option> 269 </el-option>
260 </el-select> 270 </el-select>
261 </el-form-item> 271 </el-form-item>
262 </el-col> --> 272 </el-col>
263 </el-row> 273 </el-row>
264 <qlrCommonTable 274 <qlrCommonTable
265 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
299 export default { 310 export default {
300 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
301 computed: { 312 computed: {
302 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
303 }, 314 },
...@@ -323,7 +334,9 @@ export default { ...@@ -323,7 +334,9 @@ export default {
323 loadData() { 334 loadData() {
324 init(this.propsParam.bsmRepair).then((res) => { 335 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) { 336 if (res.code == 200) {
337
326 this.ruleForm = res.result; 338 this.ruleForm = res.result;
339 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
327 this.isShow = true; 340 this.isShow = true;
328 // this.tableData = res.result; 341 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) { 342 // if (this.tableData.length < datas.columns().emptycolNum) {
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,22 +254,22 @@ ...@@ -244,22 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:"> 258 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio> 260 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio> 261 <el-radio :label=0></el-radio>
252 </el-radio-group> 262 </el-radio-group>
253 </el-form-item> 263 </el-form-item>
254 </el-col> --> 264 </el-col>
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:"> 266 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人"> 267 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option> 269 </el-option>
260 </el-select> 270 </el-select>
261 </el-form-item> 271 </el-form-item>
262 </el-col> --> 272 </el-col>
263 </el-row> 273 </el-row>
264 <qlrCommonTable 274 <qlrCommonTable
265 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
299 export default { 310 export default {
300 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
301 computed: { 312 computed: {
302 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
303 }, 314 },
...@@ -321,9 +332,12 @@ export default { ...@@ -321,9 +332,12 @@ export default {
321 mounted() {}, 332 mounted() {},
322 methods: { 333 methods: {
323 loadData() { 334 loadData() {
335 console.log("房地产权");
324 init(this.propsParam.bsmRepair).then((res) => { 336 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) { 337 if (res.code == 200) {
338
326 this.ruleForm = res.result; 339 this.ruleForm = res.result;
340 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
327 this.isShow = true; 341 this.isShow = true;
328 // this.tableData = res.result; 342 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) { 343 // if (this.tableData.length < datas.columns().emptycolNum) {
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,22 +254,22 @@ ...@@ -244,22 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:"> 258 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio> 260 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio> 261 <el-radio :label=0></el-radio>
252 </el-radio-group> 262 </el-radio-group>
253 </el-form-item> 263 </el-form-item>
254 </el-col> --> 264 </el-col>
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:"> 266 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人"> 267 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option> 269 </el-option>
260 </el-select> 270 </el-select>
261 </el-form-item> 271 </el-form-item>
262 </el-col> --> 272 </el-col>
263 </el-row> 273 </el-row>
264 <qlrCommonTable 274 <qlrCommonTable
265 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
299 export default { 310 export default {
300 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
301 computed: { 312 computed: {
302 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
303 }, 314 },
...@@ -321,9 +332,12 @@ export default { ...@@ -321,9 +332,12 @@ export default {
321 mounted() {}, 332 mounted() {},
322 methods: { 333 methods: {
323 loadData() { 334 loadData() {
335 console.log("建设用地使用权");
324 init(this.propsParam.bsmRepair).then((res) => { 336 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) { 337 if (res.code == 200) {
338
326 this.ruleForm = res.result; 339 this.ruleForm = res.result;
340 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
327 this.isShow = true; 341 this.isShow = true;
328 // this.tableData = res.result; 342 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) { 343 // if (this.tableData.length < datas.columns().emptycolNum) {
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,22 +254,22 @@ ...@@ -244,22 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:"> 258 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio> 260 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio> 261 <el-radio :label=0></el-radio>
252 </el-radio-group> 262 </el-radio-group>
253 </el-form-item> 263 </el-form-item>
254 </el-col> --> 264 </el-col>
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:"> 266 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人"> 267 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option> 269 </el-option>
260 </el-select> 270 </el-select>
261 </el-form-item> 271 </el-form-item>
262 </el-col> --> 272 </el-col>
263 </el-row> 273 </el-row>
264 <qlrCommonTable 274 <qlrCommonTable
265 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
299 export default { 310 export default {
300 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
301 computed: { 312 computed: {
302 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
303 }, 314 },
...@@ -323,7 +334,9 @@ export default { ...@@ -323,7 +334,9 @@ export default {
323 loadData() { 334 loadData() {
324 init(this.propsParam.bsmRepair).then((res) => { 335 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) { 336 if (res.code == 200) {
337
326 this.ruleForm = res.result; 338 this.ruleForm = res.result;
339 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
327 this.isShow = true; 340 this.isShow = true;
328 // this.tableData = res.result; 341 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) { 342 // if (this.tableData.length < datas.columns().emptycolNum) {
......
...@@ -227,6 +227,16 @@ ...@@ -227,6 +227,16 @@
227 </el-col> 227 </el-col>
228 </el-row> 228 </el-row>
229 <div class="slxx_title title-block"> 229 <div class="slxx_title title-block">
230 土地用途
231 <div class="triangle"></div>
232 </div>
233 <tdytTable
234 :tableData="ruleForm.tdxxList"
235 @upDateQlrxxList="upDateQlrxxList"
236 :viewtype="$route.query.viewtype"
237 :gyfs="ruleForm.qlxx.gyfs"
238 />
239 <div class="slxx_title title-block">
230 权利人信息 240 权利人信息
231 <div class="triangle"></div> 241 <div class="triangle"></div>
232 </div> 242 </div>
...@@ -244,22 +254,22 @@ ...@@ -244,22 +254,22 @@
244 </el-radio-group> 254 </el-radio-group>
245 </el-form-item> 255 </el-form-item>
246 </el-col> 256 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> 257 <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:"> 258 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> 259 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio> 260 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio> 261 <el-radio :label=0></el-radio>
252 </el-radio-group> 262 </el-radio-group>
253 </el-form-item> 263 </el-form-item>
254 </el-col> --> 264 </el-col>
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> 265 <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:"> 266 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人"> 267 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 268 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option> 269 </el-option>
260 </el-select> 270 </el-select>
261 </el-form-item> 271 </el-form-item>
262 </el-col> --> 272 </el-col>
263 </el-row> 273 </el-row>
264 <qlrCommonTable 274 <qlrCommonTable
265 :tableData="ruleForm.qlrList" 275 :tableData="ruleForm.qlrList"
...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex"; ...@@ -296,8 +306,9 @@ import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 306 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js"; 307 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 308 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
309 import tdytTable from "@/views/workflow/components/tdytTable";
299 export default { 310 export default {
300 components: { qlrCommonTable }, 311 components: { qlrCommonTable,tdytTable },
301 computed: { 312 computed: {
302 ...mapGetters(["dictData", "flag"]), 313 ...mapGetters(["dictData", "flag"]),
303 }, 314 },
...@@ -323,7 +334,9 @@ export default { ...@@ -323,7 +334,9 @@ export default {
323 loadData() { 334 loadData() {
324 init(this.propsParam.bsmRepair).then((res) => { 335 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) { 336 if (res.code == 200) {
337
326 this.ruleForm = res.result; 338 this.ruleForm = res.result;
339 console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm);
327 this.isShow = true; 340 this.isShow = true;
328 // this.tableData = res.result; 341 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) { 342 // if (this.tableData.length < datas.columns().emptycolNum) {
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:59:02
5 -->
6 <template>
7 <!-- 受理信息 -->
8 <div class="slxx">
9 <el-form
10 :model="ruleForm"
11 :rules="rules"
12 class="loadingtext"
13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''"
15 :inline="flag"
16 label-width="120px"
17 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
19 <div class="slxx_title title-block">
20 补录信息
21 <div class="triangle"></div>
22 </div>
23 <el-row :gutter="10">
24 <el-col :span="8">
25 <el-form-item label="补录编号:">
26 <el-input disabled v-model="ruleForm.repair.ywh"></el-input>
27 </el-form-item>
28 </el-col>
29 <el-col :span="8">
30 <el-form-item label="补录人员:">
31 <el-input disabled v-model="ruleForm.repair.slry"></el-input>
32 </el-form-item>
33 </el-col>
34 <el-col :span="8">
35 <el-form-item label="补录时间:">
36 <el-input disabled v-model="ruleForm.repair.slsj"></el-input>
37 </el-form-item>
38 </el-col>
39 </el-row>
40 <div class="slxx_title title-block">
41 房地产权(独幢、层、套、间房屋)
42 <div class="triangle"></div>
43 </div>
44 <el-row :gutter="10">
45 <el-col :span="8">
46 <el-form-item label="不动产单元号:">
47 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
48 </el-form-item>
49 </el-col>
50 <el-col :span="8">
51 <el-form-item label="业务号:">
52 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
53 </el-form-item>
54 </el-col>
55 <el-col :span="8">
56 <el-form-item label="上手业务号:">
57 <el-input v-model="ruleForm.qlxx.ssywh"></el-input>
58 </el-form-item>
59 </el-col>
60 </el-row>
61 <el-row :gutter="10">
62 <el-col :span="8">
63 <el-form-item label="权利类型:">
64 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
65 </el-form-item>
66 </el-col>
67 <el-col :span="8">
68 <el-form-item label="登记类型:">
69 <el-select v-model="ruleForm.qlxx.djlx">
70 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
71 </el-option>
72 </el-select>
73 </el-form-item>
74 </el-col>
75 <el-col :span="8">
76 <el-form-item label="房地坐落:">
77 <el-input v-model="ruleForm.qlxx.zl"></el-input>
78 </el-form-item>
79 </el-col>
80 <el-col :span="8">
81 <el-form-item label="土地使用权人:">
82 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input>
83 </el-form-item>
84 </el-col>
85 <el-col :span="8">
86 <el-form-item label="独用土地面积:">
87 <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input>
88 </el-form-item>
89 </el-col>
90 <el-col :span="8">
91 <el-form-item label="分摊土地面积:">
92 <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input>
93 </el-form-item>
94 </el-col>
95 <el-col :span="8">
96 <el-form-item label="土地用途:">
97 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
98 </el-form-item>
99 </el-col>
100 <el-col :span="8">
101 <el-form-item label="土地使用起始时间:">
102 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
103 </el-form-item>
104 </el-col>
105 <el-col :span="8">
106 <el-form-item label="土地使用结束时间:">
107 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
108 </el-form-item>
109 </el-col>
110 <el-col :span="8">
111 <el-form-item label="土地使用期限:">
112 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
113 </el-form-item>
114 </el-col>
115 <el-col :span="8">
116 <el-form-item label="房地产交易价格:">
117 <el-input v-model="ruleForm.fdcq2.qjjg"></el-input>
118 <el-select v-model="ruleForm.fdcq2.jedw">
119 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
120 </el-option>
121 </el-select>
122 </el-form-item>
123 </el-col>
124 <el-col :span="8">
125 <el-form-item label="规划用途:">
126 <el-select v-model="ruleForm.fdcq2.ghyt">
127 <el-option v-for="item in dictData['A17']" :key="item.dcode" :label="item.dname" :value="item.dcode">
128 </el-option>
129 </el-select>
130 </el-form-item>
131 </el-col>
132 <el-col :span="8">
133 <el-form-item label="批准用途:">
134 <el-input v-model="ruleForm.fdcq2.pzyt"></el-input>
135 </el-form-item>
136 </el-col>
137 <el-col :span="8">
138 <el-form-item label="实际用途:">
139 <el-input v-model="ruleForm.fdcq2.sjyt"></el-input>
140 </el-form-item>
141 </el-col>
142 <el-col :span="8">
143 <el-form-item label="房屋性质:">
144 <el-select v-model="ruleForm.fdcq2.fwxz">
145 <el-option v-for="item in dictData['A19']" :key="item.dcode" :label="item.dname" :value="item.dcode">
146 </el-option>
147 </el-select>
148 </el-form-item>
149 </el-col>
150 <el-col :span="8">
151 <el-form-item label="房屋结构:">
152 <el-select v-model="ruleForm.fdcq2.fwjg">
153 <el-option v-for="item in dictData['A46']" :key="item.dcode" :label="item.dname" :value="item.dcode">
154 </el-option>
155 </el-select>
156 </el-form-item>
157 </el-col>
158 <el-col :span="8">
159 <el-form-item label="所在层:">
160 <el-input v-model="ruleForm.fdcq2.szc"></el-input>
161 </el-form-item>
162 </el-col>
163 <el-col :span="8">
164 <el-form-item label="总层数:">
165 <el-input v-model="ruleForm.fdcq2.zcs"></el-input>
166 </el-form-item>
167 </el-col>
168 <el-col :span="8">
169 <el-form-item label="建筑面积:">
170 <el-input v-model="ruleForm.fdcq2.jzmj"></el-input>
171 </el-form-item>
172 </el-col>
173 <el-col :span="8">
174 <el-form-item label="专有建筑面积:">
175 <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input>
176 </el-form-item>
177 </el-col>
178 <el-col :span="8">
179 <el-form-item label="分摊建筑面积:">
180 <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input>
181 </el-form-item>
182 </el-col>
183 <el-col :span="8">
184 <el-form-item label="竣工时间:">
185 <el-input v-model="ruleForm.fdcq2.jgsj"></el-input>
186 </el-form-item>
187 </el-col>
188
189 <el-col :span="8">
190 <el-form-item label="不动产权证号:">
191 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
192 </el-form-item>
193 </el-col>
194 <el-col :span="8">
195 <el-form-item label="区县代码:">
196 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
197 </el-form-item>
198 </el-col>
199 <el-col :span="8">
200 <el-form-item label="登记机构:">
201 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
202 </el-form-item>
203 </el-col>
204 <el-col :span="8">
205 <el-form-item label="登簿人:">
206 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
207 </el-form-item>
208 </el-col>
209 <el-col :span="8">
210 <el-form-item label="登记时间:">
211 <el-input v-model="ruleForm.qlxx.djsj"></el-input>
212 </el-form-item>
213 </el-col>
214 </el-row>
215 <el-row>
216 <el-col :span="24">
217 <el-form-item label="登记原因:">
218 <el-input v-model="ruleForm.fdcq2.djyy"></el-input>
219 </el-form-item>
220 </el-col>
221 </el-row>
222 <el-row>
223 <el-col :span="24">
224 <el-form-item label="附记:">
225 <el-input v-model="ruleForm.fdcq2.fj"></el-input>
226 </el-form-item>
227 </el-col>
228 </el-row>
229 <div class="slxx_title title-block">
230 权利人信息
231 <div class="triangle"></div>
232 </div>
233 <el-row :gutter="10">
234 <el-col :span="12">
235 <el-form-item label="共有方式:">
236 <el-radio-group
237 :disabled="$route.query.viewtype == 0"
238 v-model="ruleForm.qlxx.gyqk"
239 >
240 <el-radio label="0">单独所有</el-radio>
241 <el-radio label="1">共同共有</el-radio>
242 <el-radio label="2">按份所有</el-radio>
243 <el-radio label="3">其它共有</el-radio>
244 </el-radio-group>
245 </el-form-item>
246 </el-col>
247 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'">
248 <el-form-item label="是否分别持证:">
249 <el-radio-group v-model="ruleForm.qlxx.sqfbcz">
250 <el-radio :label=1></el-radio>
251 <el-radio :label=0></el-radio>
252 </el-radio-group>
253 </el-form-item>
254 </el-col> -->
255 <!-- <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'">
256 <el-form-item label="持证人:">
257 <el-select v-model="ruleForm.czr" placeholder="持证人">
258 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
259 </el-option>
260 </el-select>
261 </el-form-item>
262 </el-col> -->
263 </el-row>
264 <qlrCommonTable
265 :tableData="ruleForm.qlrList"
266 @upDateQlrxxList="upDateQlrxxList"
267 :key="key"
268 :viewtype="$route.query.viewtype"
269 :gyfs="ruleForm.qlxx.gyfs"
270 />
271
272 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
273 <div class="slxx_title title-block">
274 义务人信息
275 <div class="triangle"></div>
276 </div>
277 <qlrCommonTable
278 v-if="ruleForm.ywrList"
279 :tableData="ruleForm.ywrList"
280 :key="key"
281 @upDateQlrxxList="upDateYwrxxList"
282 :viewtype="$route.query.viewtype"
283 />
284 </div>
285 </div>
286 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
287 <el-form-item>
288 <el-button type="primary" @click="onSubmit">保存</el-button>
289 </el-form-item>
290 </el-row>
291 </el-form>
292 </div>
293 </template>
294 <script>
295 import { mapGetters } from "vuex";
296 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
297 import { init } from "@/api/djbbl.js";
298 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
299 export default {
300 components: { qlrCommonTable },
301 computed: {
302 ...mapGetters(["dictData", "flag"]),
303 },
304 data() {
305 return {
306 //表单是否可操作
307 propsParam: this.$attrs,
308 ableOperation: true,
309 key: 0,
310 isShow: false,
311 disabled: true,
312 czrOptions: [],
313 ruleForm: {},
314 //传递参数\
315 rules: {},
316 };
317 },
318 created() {
319 this.loadData();
320 },
321 mounted() {},
322 methods: {
323 loadData() {
324 init(this.propsParam.bsmRepair).then((res) => {
325 if (res.code == 200) {
326 this.ruleForm = res.result;
327 this.isShow = true;
328 // this.tableData = res.result;
329 // if (this.tableData.length < datas.columns().emptycolNum) {
330 // this.emptycolNum =
331 // datas.columns().emptycolNum - this.tableData.length;
332 // } else {
333 // this.emptycolNum = 0;
334 // }
335 }
336 });
337 },
338 // 更新权利人信息
339 upDateQlrxxList(val) {
340 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
341 this.czrOptions = this.ruleForm.qlrList;
342 this.key++;
343 },
344 // 更新义务人信息
345 upDateYwrxxList(val) {
346 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
347 this.key++;
348 },
349 onSubmit() {
350 if (this.ruleForm.qlrList.length == 0) {
351 this.$message({
352 showClose: true,
353 message: "请确认权利人信息",
354 type: "error",
355 });
356 return false;
357 }
358
359 if (this.ruleForm.qlxx.gyfs == "0") {
360 if (this.ruleForm.qlrList.length > 1) {
361 this.$message({
362 showClose: true,
363 message: "共有方式:单独所有,权利人只能是一个人",
364 type: "error",
365 });
366 return false;
367 }
368 this.ruleForm.qlrList[0].sfczr = "1";
369 }
370 if (this.ruleForm.qlxx.gyfs == "1") {
371 //是否分别持证
372 if (this.ruleForm.qlxx.sqfbcz == "1") {
373 //是
374 this.ruleForm.qlrList.forEach((item, index) => {
375 item.sfczr = "1";
376 });
377 } else {
378 this.ruleForm.qlrList.forEach((item, index) => {
379 if (item.zjh == this.ruleForm.czr) {
380 item.sfczr = "1";
381 } else {
382 item.sfczr = "0";
383 }
384 });
385 }
386 }
387 saveData(this.ruleForm).then((res) => {
388 if (res.code === 200) {
389 this.$message({
390 showClose: true,
391 message: "保存成功!",
392 type: "success",
393 });
394 this.$store.dispatch("user/refreshPage", true);
395 } else {
396 this.$message({
397 showClose: true,
398 message: res.message,
399 type: "error",
400 });
401 }
402 });
403 },
404 },
405 };
406 </script>
407 <style scoped lang="scss">
408 @import "~@/styles/public.scss";
409 @import "~@/styles/slxx/slxx.scss";
410 </style>
...@@ -4,58 +4,10 @@ ...@@ -4,58 +4,10 @@
4 * @LastEditTime: 2023-05-29 14:39:11 4 * @LastEditTime: 2023-05-29 14:39:11
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 export function getForm (tabName, djywbm) { 7 export function getForm(tabName) {
8 let form; 8 let form;
9 switch (tabName) { 9 switch (tabName) {
10 // case "jsydsyqslxx100": 10
11 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
12 // break;
13 // case "jsydsyqslxx300":
14 // form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
15 // break;
16 // case "fwsyqslxx100":
17 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
18 // break;
19 // case "fwsyqslxx300":
20 // form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue");
21 // break;
22 // case "nydsyqslxx100":
23 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
24 // break;
25 // case "nydsyqslxx200":
26 // form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue");
27 // break;
28 // case "tdslxxCfdj":
29 // form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue");
30 // break;
31 // case "plslxxCfdj":
32 // form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue");
33 // break;
34 // case "diyaqSlxx":
35 // form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
36 // break;
37 // case "ygmm100":
38 // form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue");
39 // break;
40 // case "ygmm300":
41 // form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue");
42 // break;
43 // case "ygdy100":
44 // case "ygdy300":
45 // form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue");
46 // break;
47 // case "zjgcdyqSlxx":
48 // form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue");
49 // break;
50 // case "szxx":
51 // form = require("@/views/djbworkflow/components/szxx.vue");
52 // break;
53 // case "fzxx":
54 // form = require("@/views/djbworkflow/components/fzxx.vue");
55 // break;
56 // case "zdt":
57 // form = require("@/views/djbworkflow/components/zdt.vue");
58 // break;
59 case "zdjbxx": 11 case "zdjbxx":
60 form = require("@/views/registerBook/zdjbxx.vue"); 12 form = require("@/views/registerBook/zdjbxx.vue");
61 break; 13 break;
...@@ -89,72 +41,33 @@ export function getForm (tabName, djywbm) { ...@@ -89,72 +41,33 @@ export function getForm (tabName, djywbm) {
89 case "yydj": 41 case "yydj":
90 form = require("@/views/registerBook/yydj.vue"); 42 form = require("@/views/registerBook/yydj.vue");
91 break; 43 break;
92 // // 宗地基本信息 44 case "slxxjsydsyq":
93 // case "zdjbxx": 45 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue");
94 // form = require("@/views/djbworkflow/djbBook/zdjbxx.vue"); 46 break;
95 // break; 47 case "slxxfdcq":
96 // // 查封登记 48 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue");
97 // case "cfdj": 49 break;
98 // form = require("@/views/djbworkflow/djbBook/cfdj.vue"); 50 case "slxxdyaq":
99 // break; 51 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue");
100 // // 国有建设用地使用权 52 break;
101 // case "jsydsyq": 53 case "slxxygdj":
102 // form = require("@/views/djbworkflow/djbBook/jsydsyq.vue"); 54 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/ygdj.vue");
103 // break; 55 break;
104 // // 农用地使用权 56 case "slxxyydj":
105 // case "nydsyq": 57 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue");
106 // form = require("@/views/djbworkflow/djbBook/nydsyq.vue"); 58 break;
107 // break; 59 case "slxxdyiq":
108 // // 房屋产权2 60 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue");
109 // case "fdcq2": 61 break;
110 // form = require("@/views/djbworkflow/djbBook/fdcq2.vue"); 62 case "slxxcfdj":
111 // break; 63 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue");
112 // // 抵押权 64 break;
113 // case "diyaq":
114 // form = require("@/views/djbworkflow/djbBook/diyaq.vue");
115 // break;
116 // // 预告登记
117 // case "ygdj":
118 // form = require("@/views/djbworkflow/djbBook/ygdj.vue");
119 // break;
120 // // 地役权
121 // case "diyiq":
122 // form = require("@/views/djbworkflow/djbBook/diyiq.vue");
123 // break;
124 // // 登记簿封面
125 // case "djbfm":
126 // form = require("@/views/djbworkflow/djbBook/djbfm.vue");
127 // break;
128 // // 异议登记
129 // case "yydj":
130 // form = require("@/views/djbworkflow/djbBook/yydj.vue");
131 // break;
132 // 受理信息
133 case "slxx":
134 form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fwsyq/slxx.vue");
135 break;
136 // case "clxx":
137 // form = require("@/views/djbworkflow/djbBook/components/clxx.vue");
138 // break;
139 // case "spyj":
140 // form = require("@/views/djbworkflow/djbBook/components/spyj.vue");
141 // break;
142 // case "slxx":
143 // form = require("@/views/djbworkflow/djbBook/slxx.vue");
144 // break;
145 case "clxx": 65 case "clxx":
146 form = require("@/views/djbworkflow/djbBook/clxx.vue"); 66 form = require("@/views/djbworkflow/djbBook/clxx.vue");
147 break; 67 break;
148 case "spyj": 68 case "spyj":
149 form = require("@/views/djbworkflow/djbBook/spyj.vue"); 69 form = require("@/views/djbworkflow/djbBook/spyj.vue");
150 break; 70 break;
151
152 // case "clxx":
153 // form = require("@/views/djbworkflow/components/clxxUnify.vue");
154 // break;
155 // case "spyj":
156 // form = require("@/views/djbworkflow/components/spyj.vue");
157 // break;
158 default: 71 default:
159 form = require("@/views/error-page/404.vue"); 72 form = require("@/views/error-page/404.vue");
160 break; 73 break;
......
...@@ -116,10 +116,13 @@ export default { ...@@ -116,10 +116,13 @@ export default {
116 componentTag: "", 116 componentTag: "",
117 //设置表单传递数据 117 //设置表单传递数据
118 currentSelectProps: {}, 118 currentSelectProps: {},
119 // 首次拿到的业务信息
120 oneSelectProps:{},
119 //材料信息选择卡索引 121 //材料信息选择卡索引
120 clxxIndex: "", 122 clxxIndex: "",
121 //材料信息选项卡对象 123 //材料信息选项卡对象
122 clxxTab: {}, 124 clxxTab: {},
125 oneget:true,
123 //页面监听时间 126 //页面监听时间
124 _beforeUnload_time: "", 127 _beforeUnload_time: "",
125 treedata: {}, 128 treedata: {},
...@@ -132,17 +135,18 @@ export default { ...@@ -132,17 +135,18 @@ export default {
132 }, 135 },
133 136
134 methods: { 137 methods: {
135 // 获取表单 138
136 stepForm () { 139 stepForm (qllx) {
137 this.currentSelectProps.batchOperation=false 140 this.oneSelectProps.qllx=qllx
138 getStepFormInfo(this.currentSelectProps).then((res) => { 141 getStepFormInfo(this.oneSelectProps).then((res) => {
139 if (res.code === 200) { 142 this.tabList=res.result
140 console.log("ressssssssssss",res); 143 this.$nextTick(function () {
141 } 144 this.tabName =this.tabList[0].value;
145 console.log("this.tabName",this.tabName);
146 });
142 }) 147 })
143 }, 148 },
144 149
145
146 getQllxByBdcdyid() { 150 getQllxByBdcdyid() {
147 if(this.currentSelectProps.bdcdyid){ 151 if(this.currentSelectProps.bdcdyid){
148 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( 152 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
...@@ -159,14 +163,27 @@ export default { ...@@ -159,14 +163,27 @@ export default {
159 // 获取右侧选项卡 163 // 获取右侧选项卡
160 getCurrentSelectProps(val) { 164 getCurrentSelectProps(val) {
161 console.log("vallllllllllllllllll",val); 165 console.log("vallllllllllllllllll",val);
166 if(val.bdcdyid){
167 this.oneSelectProps = val;
168 }
169 console.log("this.oneSelectProps",this.oneSelectProps);
170
162 this.currentSelectProps = val; 171 this.currentSelectProps = val;
163 if (this.currentSelectProps.bsmRepair) { 172 if (this.currentSelectProps.bsmRepair) {
173 console.log("进入补录");
164 this.tabset(val); 174 this.tabset(val);
165 } else { 175 } else if(!this.oneget){
166 console.log("jin"); 176 console.log("进入登记簿");
167 this.getdjblist(); 177 this.getdjblist();
168 this.stepForm () 178
179 }
180 if(this.oneget){
181 console.log("进入补录");
182 this.oneget=false
183 this.tabset(val);
184
169 } 185 }
186
170 }, 187 },
171 // 获取渲染登记簿列表 188 // 获取渲染登记簿列表
172 getdjblist() { 189 getdjblist() {
...@@ -200,46 +217,65 @@ export default { ...@@ -200,46 +217,65 @@ export default {
200 this.tabList = this.tabdata; 217 this.tabList = this.tabdata;
201 }, 200); 218 }, 200);
202 }, 219 },
203
204 tabset(val) { 220 tabset(val) {
205 this.tabName = ""; 221 console.log("valsweqweqrfwqerqweq",val);
206 this.tabList = [ 222 // console.log("this.currentSelectProps2222222222222",this.currentSelectProps);
207 { 223 this.stepForm (this.currentSelectProps.qllx)
208 name: val.qllxmc + "补录信息", 224
209 value: "slxx", 225 // this.tabList = [
210 sort: 1, 226 // {
211 }, 227 // name: val.qllxmc + "补录信息",
212 { 228 // value: "slxx",
213 name: "审批意见", 229 // sort: 1,
214 value: "spyj", 230 // },
215 sort: 2, 231 // {
216 }, 232 // name: "审批意见",
217 { 233 // value: "spyj",
218 name: "材料信息", 234 // sort: 2,
219 value: "clxx", 235 // },
220 sort: 2, 236 // {
221 }, 237 // name: "材料信息",
222 ]; 238 // value: "clxx",
239 // sort: 2,
240 // },
241 // ];
242
223 243
224 this.$nextTick(function () {
225 this.tabName = "slxx";
226 });
227 }, 244 },
245 // tabset(val) {
246 // this.tabName = "";
247 // this.tabList = [
248 // {
249 // name: val.qllxmc + "补录信息",
250 // value: "slxx",
251 // sort: 1,
252 // },
253 // {
254 // name: "审批意见",
255 // value: "spyj",
256 // sort: 2,
257 // },
258 // {
259 // name: "材料信息",
260 // value: "clxx",
261 // sort: 2,
262 // },
263 // ];
264
265 // this.$nextTick(function () {
266 // this.tabName = "slxx";
267 // });
268 // },
228 269
229 //右侧表单选项卡事件 270 //右侧表单选项卡事件
230 beforeLeave(activeName, oldActiveName) { 271 beforeLeave(activeName, oldActiveName) {
272 console.log("右侧表单选项卡事件",activeName);
231 if (activeName && activeName != 0) this.getFromRouter(activeName); 273 if (activeName && activeName != 0) this.getFromRouter(activeName);
232 }, 274 },
233 //切换选项卡内容组件 275 //切换选项卡内容组件
234 getFromRouter(tabname) { 276 getFromRouter(tabname) {
235 console.log("tabname",tabname); 277 console.log("tabnameaaaaaaaaaaaaaaaaaaaa",tabname);
236 for (let item of this.tabList) { 278 this.componentTag = getForm(tabname);
237 if (item.value === tabname) {
238 this.currentSelectTab = item;
239 break;
240 }
241 }
242 this.componentTag = getForm(tabname, this.$route.query.sqywbm);
243 }, 279 },
244 280
245 // 增加补录记录 281 // 增加补录记录
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 11:12:40 4 * @LastEditTime: 2023-06-21 15:34:44
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
384 this.previewImg.index = 0 384 this.previewImg.index = 0
385 this.treeCheckId = item?.bsmSj 385 this.treeCheckId = item?.bsmSj
386 this.treeCheckIndex = index 386 this.treeCheckIndex = index
387 this.previewImg.imgList = item?.children 387 this.previewImg.imgList = item.children ? item.children : []
388 this.previewImg.bsmSj = item?.bsmSj 388 this.previewImg.bsmSj = item?.bsmSj
389 }, 389 },
390 // 小图片点击 390 // 小图片点击
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-19 13:15:13 4 * @LastEditTime: 2023-06-21 15:30:43
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 this.previewImg.index = 0 173 this.previewImg.index = 0
174 this.treeCheckId = item?.bsmSj 174 this.treeCheckId = item?.bsmSj
175 this.treeCheckIndex = index 175 this.treeCheckIndex = index
176 this.previewImg.imgList = item?.children 176 this.previewImg.imgList = item.children? item.children: []
177 this.previewImg.bsmSj = item?.bsmSj 177 this.previewImg.bsmSj = item?.bsmSj
178 }, 178 },
179 // 小图片点击 179 // 小图片点击
......
...@@ -94,10 +94,12 @@ class data extends filter { ...@@ -94,10 +94,12 @@ class data extends filter {
94 { 94 {
95 prop: "qlrmc", 95 prop: "qlrmc",
96 label: "权利人", 96 label: "权利人",
97 minWidth: '150',
97 }, 98 },
98 { 99 {
99 prop: "ywrmc", 100 prop: "ywrmc",
100 label: "义务人", 101 label: "义务人",
102 minWidth: '150',
101 }, 103 },
102 { 104 {
103 prop: "mjmc", 105 prop: "mjmc",
...@@ -127,6 +129,7 @@ class data extends filter { ...@@ -127,6 +129,7 @@ class data extends filter {
127 { 129 {
128 label: '操作', 130 label: '操作',
129 width: '130', 131 width: '130',
132 fixed: "right",
130 render: (h, scope) => { 133 render: (h, scope) => {
131 return ( 134 return (
132 <div> 135 <div>
......