1eedf904 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents e33e5868 1d82675b
This file is too large to display.
1 { 1 {
2 "TITLE": "不动产登记系统", 2 "TITLE": "不动产登记系统",
3 "SERVERAPI": "/bdcdj", 3 "SERVERAPI": "/bdcdj",
4 "ip": "http://192.168.2.38" 4 "ip": "http://192.168.2.38",
5 "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0"
5 } 6 }
...\ No newline at end of file ...\ No newline at end of file
......
1 {
2 "TITLE": "不动产登记系统",
3 "SERVERAPI": "/bdcdj",
4 "ip": "http://192.168.2.38"
5 }
...\ No newline at end of file ...\ No newline at end of file
1 {
2 "TITLE": "不动产登记系统",
3 "SERVERAPI": "service-bdcdj-th",
4 "ip": "http://192.168.2.38"
5 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -67,6 +67,9 @@ export function uploadSjClmx (data) { ...@@ -67,6 +67,9 @@ export function uploadSjClmx (data) {
67 return request({ 67 return request({
68 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx', 68 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx',
69 method: 'post', 69 method: 'post',
70 headers: {
71 'Content-Type': 'multipart/form-data'
72 },
70 data 73 data
71 }) 74 })
72 } 75 }
......
...@@ -17,56 +17,53 @@ export function addRepairRecord (data) { ...@@ -17,56 +17,53 @@ export function addRepairRecord (data) {
17 data 17 data
18 }) 18 })
19 } 19 }
20
21 /** 20 /**
22 * @description: 删除流程 21 * @description: 删除流程
23 * @param {*} data 22 * @param {*} params
24 * @author: renchao 23 * @author: renchao
25 */ 24 */
26 export function deleteFlow (data) { 25 export function deleteFlow (params) {
27 return request({ 26 return request({
28 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow', 27 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow',
29 method: 'post', 28 method: 'get',
30 data 29 params:params
31 }) 30 })
32 } 31 }
33 32
34 /** 33 /**
35 * @description: 删除补录记录 34 * @description: 删除补录记录
36 * @param {*} data 35 * @param {*} params
37 * @author: renchao 36 * @author: renchao
38 */ 37 */
39 export function deleteRepairRecord (data) { 38 export function deleteRepairRecord (params) {
40 return request({ 39 return request({
41 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteRepairRecord', 40 url: SERVER.SERVERAPI + '/rest/djbRepair/deleteRepairRecord?bsmRepair='+params,
42 method: 'post', 41 method: 'get',
43 data
44 }) 42 })
45 } 43 }
46 44
47 /** 45 /**
48 * @description: 初始化内容 46 * @description: 初始化内容
49 * @param {*} data 47 * @param {*} params
50 * @author: renchao 48 * @author: renchao
51 */ 49 */
52 export function init (data) { 50 export function init (params) {
53 return request({ 51 return request({
54 url: SERVER.SERVERAPI + '/rest/djbRepair/init', 52 url: SERVER.SERVERAPI + '/rest/djbRepair/init?bsmRepair='+params,
55 method: 'post', 53 method: 'get',
56 data
57 }) 54 })
58 } 55 }
59 56
60 /** 57 /**
61 * @description: 左侧菜单集合 58 * @description: 左侧菜单集合
62 * @param {*} data 59 * @param {*} params
63 * @author: renchao 60 * @author: renchao
64 */ 61 */
65 export function leftMenubl (data) { 62 export function leftMenubl (params) {
66 return request({ 63 return request({
67 url: SERVER.SERVERAPI + '/rest/djbRepair/leftMenu', 64 url: SERVER.SERVERAPI + '/rest/djbRepair/leftMenu?bsmSlsq='+params,
68 method: 'post', 65 method: 'get',
69 data 66 params
70 }) 67 })
71 } 68 }
72 69
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
75 }, 75 },
76 heightNum: { 76 heightNum: {
77 type: Number, 77 type: Number,
78 default: 355, 78 default: 0,
79 }, 79 },
80 maxHeight: { 80 maxHeight: {
81 type: Number, 81 type: Number,
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
138 getHeight () { 138 getHeight () {
139 if (!this.heightNumSetting) { 139 if (!this.heightNumSetting) {
140 let _this = this 140 let _this = this
141 if (this.heightNum) { 141 if (this.heightNum == 0) {
142 _this.$nextTick(() => { 142 _this.$nextTick(() => {
143 if (document.querySelector(".tags-view-container")) { 143 if (document.querySelector(".tags-view-container")) {
144 window.addEventListener('resize', () => { 144 window.addEventListener('resize', () => {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 15:05:38
5 */
1 import Vue from 'vue' 6 import Vue from 'vue'
2 import Popup from './index.vue' 7 import Popup from './index.vue'
3 const PopupBox = Vue.extend(Popup) 8 const PopupBox = Vue.extend(Popup)
...@@ -36,9 +41,9 @@ const Popup1 = (title, editItem, data, formData) => { ...@@ -36,9 +41,9 @@ const Popup1 = (title, editItem, data, formData) => {
36 document.body.appendChild(instance.$el) 41 document.body.appendChild(instance.$el)
37 Vue.nextTick(() => { 42 Vue.nextTick(() => {
38 instance.isShow = true 43 instance.isShow = true
44 // 将组件实例赋值给loading
45 popuping = instance
39 }) 46 })
40 // 将组件实例赋值给loading
41 popuping = instance
42 return instance 47 return instance
43 } 48 }
44 export default Popup1 49 export default Popup1
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 09:25:12 4 * @LastEditTime: 2023-06-14 11:10:26
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -127,6 +127,29 @@ ...@@ -127,6 +127,29 @@
127 * @author: renchao 127 * @author: renchao
128 */ 128 */
129 handleViewScan () { 129 handleViewScan () {
130 function dataURLtoBlob (base64String) {
131 const arr = base64String.split(',');
132 if (arr.length !== 2) {
133 throw new Error('Invalid Base64 format');
134 }
135 const mime = arr[0].match(/:(.*?);/)[1];
136 if (!mime) {
137 throw new Error('Cannot retrieve MIME type');
138 }
139 const bstr = atob(arr[1]);
140 const n = bstr.length;
141 const u8arr = new Uint8Array(n);
142 for (let i = 0; i < n; i++) {
143 u8arr[i] = bstr.charCodeAt(i);
144 }
145 return new Blob([u8arr], { type: mime });
146 }
147 function blobToFile (blob) {
148 const options = { type: blob.type };
149 const file = new File([blob], options);
150 return file;
151 }
152
130 let data = { 153 let data = {
131 "filepath": "base64", 154 "filepath": "base64",
132 "rotate": "0", 155 "rotate": "0",
...@@ -136,7 +159,21 @@ ...@@ -136,7 +159,21 @@
136 "quality": "3" 159 "quality": "3"
137 } 160 }
138 axios.post("http://127.0.0.1:38088/video=grabimage", JSON.stringify(data)).then((res) => { 161 axios.post("http://127.0.0.1:38088/video=grabimage", JSON.stringify(data)).then((res) => {
139 console.log(res.data); 162 let blob = dataURLtoBlob('data:image/png;base64,' + res.data.photoBase64);
163 let file = blobToFile(blob);
164 var formData = new FormData();
165 formData.append('file', file.raw)
166 formData.append("bsmSj", this.previewImg.bsmSj);
167 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
168 uploadSjClmx(formData).then((res) => {
169 if (res.code == 200) {
170 this.$emit('updateList', res.result)
171 this.$message({
172 message: '上传成功!',
173 type: 'success'
174 })
175 }
176 })
140 }) 177 })
141 }, 178 },
142 prev () { 179 prev () {
...@@ -189,8 +226,6 @@ ...@@ -189,8 +226,6 @@
189 this.$refs.upload.clearFiles(); 226 this.$refs.upload.clearFiles();
190 setTimeout(() => { 227 setTimeout(() => {
191 if (length !== this.maxLength) return 228 if (length !== this.maxLength) return
192 console.log(files);
193 // let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index])
194 var formData = new FormData(); 229 var formData = new FormData();
195 files.forEach(file => { 230 files.forEach(file => {
196 formData.append('file', file.raw) 231 formData.append('file', file.raw)
...@@ -204,10 +239,9 @@ ...@@ -204,10 +239,9 @@
204 message: '上传成功!', 239 message: '上传成功!',
205 type: 'success' 240 type: 'success'
206 }) 241 })
207
208 } 242 }
209 }) 243 })
210 }) 244 }, 0)
211 }, 245 },
212 handleDelete () { 246 handleDelete () {
213 let that = this 247 let that = this
......
1 <!-- 1 <!--
2 * @Description : 房地产权2 2 * @Description : 房地产权2
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-06-13 14:33:55 4 * @LastEditTime : 2023-06-14 10:52:48
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable"> 7 <div class="djxxTable">
...@@ -106,22 +106,40 @@ export default { ...@@ -106,22 +106,40 @@ export default {
106 return name; 106 return name;
107 }, 107 },
108 editDialog(row){ 108 editDialog(row){
109 this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { 109 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
110 datalist:this.columns, 110 confirmButtonText: '确定',
111 data: row, 111 cancelButtonText: '取消',
112 type: 'warning'
113 }).then(() => {
114 this.$parent.addRepairRecord(row)
115
116 this.$message({
117 type: 'success',
118 message: '补录成功!'
119 });
120 }).catch(() => {
121 this.$message({
122 type: 'info',
123 message: '取消编辑'
124 });
125 });
126
127 // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", {
128 // datalist:this.columns,
129 // data: row,
130
131 // })
112 132
113 })
114 }, 133 },
115 // 删除 134 // 删除
135 // 删除
116 deleteDialog(row){ 136 deleteDialog(row){
117 let that = this 137 this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
118 this.$confirm('此操作将永久删除, 是否继续?', '提示', {
119 confirmButtonText: '确定', 138 confirmButtonText: '确定',
120 cancelButtonText: '取消', 139 cancelButtonText: '取消',
121 type: 'warning' 140 type: 'warning'
122 }).then(async () => { 141 }).then(() => {
123 142 // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
124 // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
125 // deleteClmx(bsmClmx).then(res => { 143 // deleteClmx(bsmClmx).then(res => {
126 // if (res.code == 200) { 144 // if (res.code == 200) {
127 // that.$emit('updateList', res.result) 145 // that.$emit('updateList', res.result)
...@@ -131,18 +149,19 @@ export default { ...@@ -131,18 +149,19 @@ export default {
131 // }) 149 // })
132 // } 150 // }
133 // }) 151 // })
134 that.$message({ 152 this.$message({
135 message: '删除成功!', 153 type: 'success',
136 type: 'success' 154 message: '删除成功!'
137 }) 155 });
138 }).catch(() => { 156 }).catch(() => {
139 this.$message({ 157 this.$message({
140 type: 'info', 158 type: 'info',
141 message: '已取消删除' 159 message: '已取消删除'
142 }) 160 });
143 }) 161 });
144 162
145 } 163 }
164
146 }, 165 },
147 }; 166 };
148 </script> 167 </script>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 </el-row> 44 </el-row>
45 </div> 45 </div>
46 </el-form>--> 46 </el-form>-->
47 <div class="btn"> 47 <div class="btn">
48 <el-button type="primary" @click="slxxsubmitForm">保存</el-button> 48 <el-button type="primary" @click="slxxsubmitForm">保存</el-button>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
52 </template> 52 </template>
53 <script> 53 <script>
54 import { mapGetters } from "vuex"; 54 import { mapGetters } from "vuex";
55 import { init } from "@/api/djbbl.js"; 55 import { init } from "@/api/djbbl.js"
56 export default { 56 export default {
57 props: { 57 props: {
58 currentSelectProps: { 58 currentSelectProps: {
...@@ -60,6 +60,7 @@ export default { ...@@ -60,6 +60,7 @@ export default {
60 default: () => {}, 60 default: () => {},
61 }, 61 },
62 }, 62 },
63
63 data() { 64 data() {
64 return { 65 return {
65 //传递参数 66 //传递参数
...@@ -85,8 +86,7 @@ export default { ...@@ -85,8 +86,7 @@ export default {
85 ...mapGetters(["dictData"]), 86 ...mapGetters(["dictData"]),
86 }, 87 },
87 created() { 88 created() {
88 this.init2(); 89 this.init()
89 //console.log("this.propsParam", this.propsParam);
90 // this.clmlInitList(1) 90 // this.clmlInitList(1)
91 }, 91 },
92 mounted() { 92 mounted() {
...@@ -110,8 +110,20 @@ export default { ...@@ -110,8 +110,20 @@ export default {
110 }, 110 },
111 111
112 methods: { 112 methods: {
113 init2() { 113 init() {
114 console.log("this.currentSelectProps", this.currentSelectProps); 114 init(this.propsParam.bsmRepair).then((res) => {
115 if (res.code === 200) {
116 console.log("/rest/djbRepair/init",res);
117 // this.tableData = res.result;
118 // if (this.tableData.length < datas.columns().emptycolNum) {
119 // this.emptycolNum =
120 // datas.columns().emptycolNum - this.tableData.length;
121 // } else {
122 // this.emptycolNum = 0;
123 // }
124 }
125 });
126
115 }, 127 },
116 // 受理信息保存 128 // 受理信息保存
117 slxxsubmitForm() { 129 slxxsubmitForm() {
......
...@@ -49,7 +49,6 @@ export default { ...@@ -49,7 +49,6 @@ export default {
49 if (res.code === 200) { 49 if (res.code === 200) {
50 this.leftButtonList = res.result.button; 50 this.leftButtonList = res.result.button;
51 this.rightButtonList = res.result.operation; 51 this.rightButtonList = res.result.operation;
52 console.log("this.leftButtonList",this.leftButtonList);
53 // this.rightButtonList.splice(0,2) 52 // this.rightButtonList.splice(0,2)
54 } 53 }
55 }) 54 })
...@@ -57,7 +56,6 @@ export default { ...@@ -57,7 +56,6 @@ export default {
57 }, 56 },
58 //流程环节操作按钮 57 //流程环节操作按钮
59 operation (item) { 58 operation (item) {
60 console.log("流程环节操作按钮信息",item);
61 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 59 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
62 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 60 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
63 let that = this; 61 let that = this;
...@@ -107,7 +105,23 @@ export default { ...@@ -107,7 +105,23 @@ export default {
107 // bsmSlsq: this.bsmSlsq, 105 // bsmSlsq: this.bsmSlsq,
108 // entryType: '1' 106 // entryType: '1'
109 // }, '65%', true) 107 // }, '65%', true)
110 this.addRepairRecord() 108 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
109 confirmButtonText: '确定',
110 cancelButtonText: '取消',
111 type: 'warning'
112 }).then(() => {
113 this.addRepairRecord()
114 this.$message({
115 type: 'success',
116 message: '补录成功!'
117 });
118 }).catch(() => {
119 this.$message({
120 type: 'info',
121 message: '取消编辑'
122 });
123 });
124
111 break; 125 break;
112 case "B6": 126 case "B6":
113 //根据编号获取对应信息 127 //根据编号获取对应信息
......
...@@ -26,7 +26,6 @@ export default { ...@@ -26,7 +26,6 @@ export default {
26 getHomeNoticeList().then(res => { 26 getHomeNoticeList().then(res => {
27 if (res.result) { 27 if (res.result) {
28 this.noticeList = res.result.noticeList 28 this.noticeList = res.result.noticeList
29 console.log("this.noticeList11111111111111111111111111111111111",this.noticeList);
30 } 29 }
31 }) 30 })
32 }, 31 },
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
37 <!-- 内容框架 --> 37 <!-- 内容框架 -->
38 <div class="containerFrame"> 38 <div class="containerFrame">
39 <!-- 左侧菜单栏 区分业务--> 39 <!-- 左侧菜单栏 区分业务-->
40 <ordinaryMenu @getCurrentSelectProps="getCurrentSelectProps" /> 40 <ordinaryMenu ref="Menu" @getCurrentSelectProps="getCurrentSelectProps" />
41 <div class="leftCon"> 41 <div class="leftCon">
42 <!-- 分屏左侧预览 --> 42 <!-- 分屏左侧预览 -->
43 <div v-if="splitScreen" class="splitScreen-con"> 43 <div v-if="splitScreen" class="splitScreen-con">
...@@ -124,15 +124,19 @@ export default { ...@@ -124,15 +124,19 @@ export default {
124 methods: { 124 methods: {
125 getCurrentSelectProps (val) { 125 getCurrentSelectProps (val) {
126 this.currentSelectProps = val 126 this.currentSelectProps = val
127 this.getdjblist() 127 if(this.currentSelectProps.bsmRepair){
128 this.tabset()
129 }else{
130 this.getdjblist()
131 }
132
128 }, 133 },
129 // 获取登记簿列表 134 // 获取渲染登记簿列表
130 getdjblist(){ 135 getdjblist(){
131 getBdcqljqtsx({ 136 getBdcqljqtsx({
132 bdcdyid: this.currentSelectProps.bdcdyid, 137 bdcdyid: this.currentSelectProps.bdcdyid,
133 bdcdyh: this.currentSelectProps.bdcdyh, 138 bdcdyh: this.currentSelectProps.bdcdyh,
134 }).then((res) => { 139 }).then((res) => {
135 console.log("登记簿列表",res);
136 if (res.code === 200) { 140 if (res.code === 200) {
137 this.treedata = loadTreeData(res.result, this.bdcdyh); 141 this.treedata = loadTreeData(res.result, this.bdcdyh);
138 this.$nextTick(function () { 142 this.$nextTick(function () {
...@@ -150,23 +154,28 @@ export default { ...@@ -150,23 +154,28 @@ export default {
150 arr[index].value=item.id 154 arr[index].value=item.id
151 }) 155 })
152 this.tabList=this.tabdata 156 this.tabList=this.tabdata
153 //console.log("登记簿列表",this.tabList);
154 }, 200) 157 }, 200)
155 158
156 }, 159 },
157 addRepairRecord(){ 160
158 addRepairRecord({ 161 // 增加补录记录
159 bdcdyid: this.currentSelectProps.bdcdyid, 162 addRepairRecord(row){
160 bdcdyh: this.currentSelectProps.bdcdyh, 163 let from={
161 }).then((res) => { 164 bsmQlxx:"",
162 console.log("添加补录记录",res); 165 bsmSlsq:this.bsmSlsq,
163 if (res.code === 200) { 166 bsmSldy:this.currentSelectProps.bsmSldy,
164 this.treedata = loadTreeData(res.result, this.bdcdyh); 167 operate:"C",
165 this.$nextTick(function () { 168 qllx:this.currentSelectProps.qllx
166 this.defaultNode = getNode(this.currentSelectProps.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, "");
167 this.tabName =this.defaultNode.id; //data[0].id为默认选中的节点
168 });
169 } 169 }
170 if(row){
171 from.bsmQlxx=row.bsmQlxx
172 from.operate="U"
173 }
174
175 addRepairRecord(from).then((res) => {
176 this.$nextTick(() => {
177 this.$refs.Menu.getleftMenubl(res.result);
178 });
170 }); 179 });
171 }, 180 },
172 tabset(){ 181 tabset(){
...@@ -188,7 +197,7 @@ export default { ...@@ -188,7 +197,7 @@ export default {
188 }, 197 },
189 ]; 198 ];
190 this.tabName = 'slxx'; 199 this.tabName = 'slxx';
191 }, 200 },
192 201
193 // stepForm(index){ 202 // stepForm(index){
194 // console.log(index); 203 // console.log(index);
...@@ -199,7 +208,7 @@ export default { ...@@ -199,7 +208,7 @@ export default {
199 if (activeName && activeName != 0) this.getFromRouter(activeName) 208 if (activeName && activeName != 0) this.getFromRouter(activeName)
200 }, 209 },
201 //切换选项卡内容组件 210 //切换选项卡内容组件
202 getFromRouter (tabname) { 211 getFromRouter (tabname) {
203 this.componentTag = getForm(tabname, this.$route.query.sqywbm); 212 this.componentTag = getForm(tabname, this.$route.query.sqywbm);
204 } 213 }
205 }, 214 },
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 14:48:35
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter { 7 class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
...@@ -16,6 +16,7 @@ class data extends filter { ...@@ -16,6 +16,7 @@ class data extends filter {
16 }, 16 },
17 { 17 {
18 prop: 'bdcqzh', 18 prop: 'bdcqzh',
19 width: '110',
19 label: '不动产权证号', 20 label: '不动产权证号',
20 }, 21 },
21 { 22 {
...@@ -32,6 +33,7 @@ class data extends filter { ...@@ -32,6 +33,7 @@ class data extends filter {
32 }, 33 },
33 { 34 {
34 prop: 'bdcdyh', 35 prop: 'bdcdyh',
36 width: '110',
35 label: '不动产单元号', 37 label: '不动产单元号',
36 }, 38 },
37 { 39 {
...@@ -52,6 +54,7 @@ class data extends filter { ...@@ -52,6 +54,7 @@ class data extends filter {
52 }, 54 },
53 { 55 {
54 prop: 'fwmj', 56 prop: 'fwmj',
57 width: '120',
55 label: '建筑面积(㎡)', 58 label: '建筑面积(㎡)',
56 }, 59 },
57 { 60 {
...@@ -77,284 +80,8 @@ class data extends filter { ...@@ -77,284 +80,8 @@ class data extends filter {
77 } 80 }
78 ] 81 ]
79 } 82 }
80 sqrCol () {
81 return [
82 {
83 width: "60",
84 renderHeader: (h, scope) => {
85 return (
86 <i
87 class="el-icon-plus pointer"
88 onClick={() => {
89 vm.add("sqr");
90 }}
91 style="color:#409EFF"
92 ></i>
93 );
94 },
95 render: (h, scope) => {
96 return (
97 <i
98 class="el-icon-minus pointer"
99 onClick={() => {
100 vm.remove(scope.$index, scope.row, "sqr");
101 }}
102 ></i>
103 );
104 },
105 },
106 {
107 width: "150",
108 label: "身份证读卡器",
109 render: (h, scope) => {
110 return (
111 <div>
112 <el-button
113 type="text"
114 icon="el-icon-edit-outline"
115 onClick={() => {
116 vm.handleRead(scope);
117 }}
118 >
119 读取
120 </el-button>
121 </div>
122 );
123 },
124 },
125 {
126 width: "150",
127 prop: "sqrxm",
128 label: "姓名/名称",
129 render: (h, scope) => {
130 return (
131 <el-input
132 placeholder="姓名/名称"
133 value={scope.row[scope.column.property]}
134 onInput={(val) => {
135 scope.row[scope.column.property] = val;
136 }}
137 ></el-input>
138 );
139 },
140 },
141 {
142 prop: "sqrzjlxbm",
143 label: "证件种类",
144 render: (h, scope) => {
145 return (
146 <el-select
147 class="width100"
148 clearable
149 value={scope.row[scope.column.property]}
150 onChange={(val) => {
151 scope.row[scope.column.property] = val;
152 }}
153 >
154 {this.getDictData('A30').map((option) => {
155 return (
156 <el-option
157 label={option.dname}
158 value={option.dcode}
159 ></el-option>
160 );
161 })}
162 </el-select>
163 );
164 },
165 },
166 {
167 prop: "sqrzjhm",
168 label: "证件号",
169 render: (h, scope) => {
170 return (
171 <el-input
172 placeholder="证件号"
173 value={scope.row[scope.column.property]}
174 onInput={(val) => {
175 scope.row[scope.column.property] = val;
176 }}
177 maxlength="21"
178 ></el-input>
179 );
180 },
181 },
182 {
183 prop: "lxdh",
184 label: "联系电话",
185 render: (h, scope) => {
186 return (
187 <div class="typePhone">
188 <el-input
189 placeholder="联系电话"
190 value={scope.row[scope.column.property]}
191 onInput={(val) => {
192 scope.row[scope.column.property] = val;
193 }}
194 onBlur={(val) => {
195 vm.teltest(scope.row);
196 }}
197 type="tel"
198 maxlength="11"
199 ></el-input>
200 <span
201 v-show={scope.row.inputErr}
202 style={{
203 fontSize: "12px",
204 color: "red",
205 position: "absolute",
206 bottom: "-2px",
207 left: "0",
208 }}
209 >
210 请输入正确手机号
211 </span>
212 </div>
213 );
214 },
215 },
216 ]
217 }
218 qlrCol () {
219 return [
220 {
221 width: "60",
222 renderHeader: (h, scope) => {
223 return (
224 <i
225 class="el-icon-plus pointer"
226 onClick={() => {
227 vm.add("qlr");
228 }}
229 style="color:#409EFF"
230 ></i>
231 );
232 },
233 render: (h, scope) => {
234 return (
235 <i
236 class="el-icon-minus pointer"
237 onClick={() => {
238 vm.remove(scope.$index, scope.row, "qlr");
239 }}
240 ></i>
241 );
242 },
243 },
244 {
245 width: "150",
246 label: "身份证读卡器",
247 render: (h, scope) => {
248 return (
249 <div>
250 <el-button
251 type="text"
252 icon="el-icon-edit-outline"
253 onClick={() => {
254 vm.handleRead(scope);
255 }}
256 >
257 读取
258 </el-button>
259 </div>
260 );
261 },
262 },
263 {
264 width: "150",
265 prop: "sqrxm",
266 label: "姓名/名称",
267 render: (h, scope) => {
268 return (
269 <el-input
270 placeholder="姓名/名称"
271 value={scope.row[scope.column.property]}
272 onInput={(val) => {
273 scope.row[scope.column.property] = val;
274 }}
275 ></el-input>
276 );
277 },
278 },
279 {
280 prop: "sqrzjlxbm",
281 label: "证件种类",
282 render: (h, scope) => {
283 return (
284 <el-select
285 class="width100"
286 value={scope.row[scope.column.property]}
287 onChange={(val) => {
288 scope.row[scope.column.property] = val;
289 }}
290 >
291 {this.getDictData('A30').map((option) => {
292 return (
293 <el-option
294 label={option.dname}
295 value={option.dcode}
296 ></el-option>
297 );
298 })}
299 </el-select>
300 );
301 },
302 },
303 {
304 prop: "sqrzjhm",
305 label: "证件号",
306 render: (h, scope) => {
307 return (
308 <el-input
309 placeholder="证件号"
310 value={scope.row[scope.column.property]}
311 onInput={(val) => {
312 scope.row[scope.column.property] = val;
313 }}
314 maxlength="21"
315 ></el-input>
316 );
317 },
318 },
319 {
320 prop: "lxdh",
321 label: "联系电话",
322 render: (h, scope) => {
323 return (
324 <div class="typePhone">
325 <el-input
326 placeholder="联系电话"
327 value={scope.row[scope.column.property]}
328 onInput={(val) => {
329 scope.row[scope.column.property] = val;
330 }}
331 onBlur={(val) => {
332 vm.teltest(scope.row);
333 }}
334 type="tel"
335 maxlength="11"
336 ></el-input>
337 <span
338 v-show={scope.row.inputErr}
339 style={{
340 fontSize: "12px",
341 color: "red",
342 position: "absolute",
343 bottom: "-2px",
344 left: "0",
345 }}
346 >
347 请输入正确手机号
348 </span>
349 </div>
350 );
351 },
352 },
353 ]
354 }
355 } 83 }
356 let datas = new data() 84 let datas = new data()
357 export { 85 export {
358 datas, 86 datas
359 sendThis
360 } 87 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 09:01:30 4 * @LastEditTime: 2023-06-14 13:14:26
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -195,14 +195,15 @@ ...@@ -195,14 +195,15 @@
195 195
196 // 身份证读取 196 // 身份证读取
197 readClick (row) { 197 readClick (row) {
198 var httpurl = "http://127.0.0.1:33088/"; 198 axios.post(this.BASE_API.IDCARDURL).then(res => {
199 var url = httpurl + "function=get_idcard&readnew=0"
200 axios.post(url).then(res => {
201 if (res.data.code == 0) { 199 if (res.data.code == 0) {
202 let data = res.data.IDCardInfo 200 let data = res.data.IDCardInfo
203 row.sqrmc = data.name 201 row.sqrmc = data.name
204 row.zjzl = 1 202 row.zjzl = '1'
205 row.zjh = data.cardID 203 row.zjh = data.cardID
204 row.xb = data.sexCode
205 row.txdz = data.address
206 row.fzjg = data.issueOrgan
206 this.$message({ 207 this.$message({
207 message: '读取成功!', 208 message: '读取成功!',
208 type: 'success' 209 type: 'success'
......
...@@ -320,6 +320,7 @@ export default { ...@@ -320,6 +320,7 @@ export default {
320 var formdata = new FormData(); 320 var formdata = new FormData();
321 formdata.append("bsmSldy", this.propsParam.bsmSldy); 321 formdata.append("bsmSldy", this.propsParam.bsmSldy);
322 formdata.append("djlx", this.propsParam.djlx); 322 formdata.append("djlx", this.propsParam.djlx);
323 formdata.append("isEdit", this.ableOperation);
323 Init(formdata).then((res) => { 324 Init(formdata).then((res) => {
324 if (res.code === 200 && res.result) { 325 if (res.code === 200 && res.result) {
325 this.ruleForm = res.result; 326 this.ruleForm = res.result;
......
...@@ -265,6 +265,7 @@ ...@@ -265,6 +265,7 @@
265 formdata.append("bsmSldy", this.propsParam.bsmSldy); 265 formdata.append("bsmSldy", this.propsParam.bsmSldy);
266 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 266 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
267 formdata.append("djlx", this.propsParam.djlx); 267 formdata.append("djlx", this.propsParam.djlx);
268 formdata.append("isEdit", this.ableOperation);
268 Init(formdata).then((res) => { 269 Init(formdata).then((res) => {
269 if (res.code === 200 && res.result) { 270 if (res.code === 200 && res.result) {
270 this.ruleForm = res.result; 271 this.ruleForm = res.result;
......
...@@ -216,6 +216,7 @@ ...@@ -216,6 +216,7 @@
216 var formdata = new FormData(); 216 var formdata = new FormData();
217 formdata.append("bsmSldy", this.propsParam.bsmSldy); 217 formdata.append("bsmSldy", this.propsParam.bsmSldy);
218 formdata.append("djlx", this.propsParam.djlx); 218 formdata.append("djlx", this.propsParam.djlx);
219 formdata.append("isEdit", this.ableOperation);
219 Init(formdata).then((res) => { 220 Init(formdata).then((res) => {
220 if (res.code === 200 && res.result) { 221 if (res.code === 200 && res.result) {
221 this.ruleForm = { 222 this.ruleForm = {
......
...@@ -200,6 +200,7 @@ ...@@ -200,6 +200,7 @@
200 var formdata = new FormData(); 200 var formdata = new FormData();
201 formdata.append("bsmSldy", this.propsParam.bsmSldy); 201 formdata.append("bsmSldy", this.propsParam.bsmSldy);
202 formdata.append("djlx", this.propsParam.djlx); 202 formdata.append("djlx", this.propsParam.djlx);
203 formdata.append("isEdit", this.ableOperation);
203 Init(formdata).then((res) => { 204 Init(formdata).then((res) => {
204 if (res.code === 200 && res.result) { 205 if (res.code === 200 && res.result) {
205 this.ruleForm = { 206 this.ruleForm = {
......
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
81 var formdata = new FormData(); 81 var formdata = new FormData();
82 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); 82 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
83 formdata.append("qllx", this.propsParam.formData.qllx); 83 formdata.append("qllx", this.propsParam.formData.qllx);
84 formdata.append("isEdit", this.ableOperation);
84 getFdcqLSInfo(formdata).then((res) => { 85 getFdcqLSInfo(formdata).then((res) => {
85 if (res.code === 200) { 86 if (res.code === 200) {
86 this.tableData = res.result; 87 this.tableData = res.result;
......
...@@ -165,6 +165,7 @@ export default { ...@@ -165,6 +165,7 @@ export default {
165 formdata.append("bsmSldy", this.propsParam.bsmSldy); 165 formdata.append("bsmSldy", this.propsParam.bsmSldy);
166 formdata.append("djlx", this.propsParam.djlx); 166 formdata.append("djlx", this.propsParam.djlx);
167 formdata.append("bsmSlsq", this.bsmSlsq); 167 formdata.append("bsmSlsq", this.bsmSlsq);
168 formdata.append("isEdit", this.ableOperation);
168 BatchInit(formdata).then((res) => { 169 BatchInit(formdata).then((res) => {
169 if (res.code === 200 && res.result) { 170 if (res.code === 200 && res.result) {
170 this.ruleForm = res.result; 171 this.ruleForm = res.result;
......
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
250 list (bsmSldy) { 250 list (bsmSldy) {
251 var formdata = new FormData(); 251 var formdata = new FormData();
252 formdata.append("bsmSldy", bsmSldy); 252 formdata.append("bsmSldy", bsmSldy);
253 formdata.append("isEdit", this.ableOperation);
253 Init(formdata).then((res) => { 254 Init(formdata).then((res) => {
254 if (res.code === 200 && res.result) { 255 if (res.code === 200 && res.result) {
255 this.ruleForm = { 256 this.ruleForm = {
......
...@@ -204,6 +204,7 @@ ...@@ -204,6 +204,7 @@
204 this.$startLoading(); 204 this.$startLoading();
205 formdata.append("bsmSldy", this.propsParam.bsmSldy); 205 formdata.append("bsmSldy", this.propsParam.bsmSldy);
206 formdata.append("djlx", this.propsParam.djlx); 206 formdata.append("djlx", this.propsParam.djlx);
207 formdata.append("isEdit", this.ableOperation);
207 Init(formdata).then((res) => { 208 Init(formdata).then((res) => {
208 this.$nextTick(() => { 209 this.$nextTick(() => {
209 that.ruleForm = res.result; 210 that.ruleForm = res.result;
......
...@@ -198,6 +198,7 @@ ...@@ -198,6 +198,7 @@
198 this.$startLoading(); 198 this.$startLoading();
199 formdata.append("bsmSldy", this.propsParam.bsmSldy); 199 formdata.append("bsmSldy", this.propsParam.bsmSldy);
200 formdata.append("djlx", this.propsParam.djlx); 200 formdata.append("djlx", this.propsParam.djlx);
201 formdata.append("isEdit", this.ableOperation);
201 Init(formdata).then((res) => { 202 Init(formdata).then((res) => {
202 if (res.code === 200 && res.result) { 203 if (res.code === 200 && res.result) {
203 this.ruleForm = res.result; 204 this.ruleForm = res.result;
......
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
244 var formdata = new FormData(); 244 var formdata = new FormData();
245 formdata.append("bsmSldy", this.propsParam.bsmSldy); 245 formdata.append("bsmSldy", this.propsParam.bsmSldy);
246 formdata.append("djlx", this.propsParam.djlx); 246 formdata.append("djlx", this.propsParam.djlx);
247 formdata.append("isEdit", this.ableOperation);
247 Init(formdata).then((res) => { 248 Init(formdata).then((res) => {
248 this.ruleForm = res.result; 249 this.ruleForm = res.result;
249 this.$endLoading(); 250 this.$endLoading();
......
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
250 this.$startLoading(); 250 this.$startLoading();
251 formdata.append("bsmSldy", this.propsParam.bsmSldy); 251 formdata.append("bsmSldy", this.propsParam.bsmSldy);
252 formdata.append("djlx", this.propsParam.djlx); 252 formdata.append("djlx", this.propsParam.djlx);
253 formdata.append("isEdit", this.ableOperation);
253 Init(formdata).then((res) => { 254 Init(formdata).then((res) => {
254 this.ruleForm = res.result; 255 this.ruleForm = res.result;
255 this.$endLoading(); 256 this.$endLoading();
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
161 var formdata = new FormData(); 161 var formdata = new FormData();
162 formdata.append("bsmSldy", this.propsParam.bsmSldy); 162 formdata.append("bsmSldy", this.propsParam.bsmSldy);
163 formdata.append("djlx", this.propsParam.djlx); 163 formdata.append("djlx", this.propsParam.djlx);
164 164 formdata.append("isEdit", this.ableOperation);
165 Init(formdata).then(res => { 165 Init(formdata).then(res => {
166 if (res.code === 200 && res.result) { 166 if (res.code === 200 && res.result) {
167 this.$endLoading(); 167 this.$endLoading();
......
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
165 this.$startLoading(); 165 this.$startLoading();
166 formdata.append("bsmSldy", this.propsParam.bsmSldy); 166 formdata.append("bsmSldy", this.propsParam.bsmSldy);
167 formdata.append("djlx", this.propsParam.djlx); 167 formdata.append("djlx", this.propsParam.djlx);
168 formdata.append("isEdit", this.ableOperation);
168 Init(formdata).then((res) => { 169 Init(formdata).then((res) => {
169 if (res.code === 200 && res.result) { 170 if (res.code === 200 && res.result) {
170 this.$endLoading(); 171 this.$endLoading();
......
...@@ -214,6 +214,7 @@ ...@@ -214,6 +214,7 @@
214 formdata.append("bsmSldy", this.propsParam.bsmSldy); 214 formdata.append("bsmSldy", this.propsParam.bsmSldy);
215 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 215 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
216 formdata.append("djlx", this.propsParam.djlx); 216 formdata.append("djlx", this.propsParam.djlx);
217 formdata.append("isEdit", this.ableOperation);
217 Init(formdata).then((res) => { 218 Init(formdata).then((res) => {
218 if (res.code === 200 && res.result) { 219 if (res.code === 200 && res.result) {
219 that.ruleForm = res.result; 220 that.ruleForm = res.result;
......
...@@ -256,6 +256,7 @@ ...@@ -256,6 +256,7 @@
256 formdata.append("bsmSldy", this.propsParam.bsmSldy); 256 formdata.append("bsmSldy", this.propsParam.bsmSldy);
257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
258 formdata.append("djlx", this.propsParam.djlx); 258 formdata.append("djlx", this.propsParam.djlx);
259 formdata.append("isEdit", this.ableOperation);
259 Init(formdata).then((res) => { 260 Init(formdata).then((res) => {
260 if (res.code === 200 && res.result) { 261 if (res.code === 200 && res.result) {
261 this.ruleForm = res.result; 262 this.ruleForm = res.result;
......
...@@ -68,6 +68,10 @@ class data extends filter { ...@@ -68,6 +68,10 @@ class data extends filter {
68 minWidth: '150' 68 minWidth: '150'
69 }, 69 },
70 { 70 {
71 prop: "gyqk",
72 label: "共有方式",
73 },
74 {
71 prop: "qlrmc", 75 prop: "qlrmc",
72 label: "使用权人", 76 label: "使用权人",
73 }, 77 },
...@@ -81,13 +85,18 @@ class data extends filter { ...@@ -81,13 +85,18 @@ class data extends filter {
81 label: "权利性质", 85 label: "权利性质",
82 }, 86 },
83 { 87 {
84 prop: "mj", 88 prop: "mjmc",
85 width: '100', 89 width: '100',
86 label: "使用权面积", 90 label: "使用权面积",
87 }, 91 },
88 { 92 {
89 prop: "ytmc", 93 prop: "ytmc",
90 label: "土地用途", 94 label: "土地用途",
95 },
96 {
97 prop: "qdjgmc",
98 width: '100',
99 label: "取得价格",
91 }, 100 },
92 { 101 {
93 prop: "zl", 102 prop: "zl",
......
...@@ -86,9 +86,14 @@ class data extends filter { ...@@ -86,9 +86,14 @@ class data extends filter {
86 label: "义务人", 86 label: "义务人",
87 }, 87 },
88 { 88 {
89 prop: "mj", 89 prop: "mjmc",
90 label: "面积", 90 label: "面积",
91 width: '80' 91 width: '130'
92 },
93 {
94 prop: "qlxzmc",
95 label: "权利性质",
96 minWidth: '130'
92 }, 97 },
93 { 98 {
94 prop: "ytmc", 99 prop: "ytmc",
...@@ -96,6 +101,11 @@ class data extends filter { ...@@ -96,6 +101,11 @@ class data extends filter {
96 minWidth: '130' 101 minWidth: '130'
97 }, 102 },
98 { 103 {
104 prop: "qdjgmc",
105 label: "取得价格",
106 minWidth: '80'
107 },
108 {
99 prop: "zl", 109 prop: "zl",
100 label: "坐落", 110 label: "坐落",
101 minWidth: '150' 111 minWidth: '150'
......