c6d6de60 by tianhaohao@pashanhoo.com

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

2 parents c95c4703 9da623a6
1 /* 1 /*
2 * @Description: 企业银行接口 2 * @Description: 企业银行接口
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-01 08:41:46 4 * @LastEditTime: 2024-03-29 14:11:30
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -129,14 +129,15 @@ export function editCompanyMaterialList (data, bsmCompany) { ...@@ -129,14 +129,15 @@ export function editCompanyMaterialList (data, bsmCompany) {
129 * @description: 是否覆盖才材料信息 129 * @description: 是否覆盖才材料信息
130 * @author: renchao 130 * @author: renchao
131 */ 131 */
132 export function replace (bsmCompany, bsmSlsq, bsmSldy) { 132 export function replace (bsmCompany, bsmSlsq, bsmSldy, qlrlx) {
133 return request({ 133 return request({
134 url: SERVER.SERVERAPI + '/rest/sys/company/replace', 134 url: SERVER.SERVERAPI + '/rest/sys/company/replace',
135 method: 'get', 135 method: 'get',
136 params: { 136 params: {
137 bsmCompany: bsmCompany, 137 bsmCompany: bsmCompany,
138 bsmSlsq: bsmSlsq,
138 bsmSldy: bsmSldy, 139 bsmSldy: bsmSldy,
139 bsmSlsq: bsmSlsq 140 qlrlx: qlrlx
140 } 141 }
141 }) 142 })
142 } 143 }
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2024-03-29 13:26:04
5 -->
1 <template> 6 <template>
2 <div class="jtfccx-edit-con"> 7 <div class="jtfccx-edit-con">
3 <b class="title"></b> 8 <b class="title"></b>
...@@ -41,20 +46,15 @@ ...@@ -41,20 +46,15 @@
41 46
42 <script> 47 <script>
43 import { datas, sendThis } from "./infodata"; 48 import { datas, sendThis } from "./infodata";
44 import { getFwmxInfo } from "@/api/jtfc.js";
45 export default { 49 export default {
46 props: { 50 props: {
47 formData: { 51 resultData: {
48 type: Object, 52 type: Object,
49 default: () => { }, 53 default: () => { },
50 }, 54 },
51 }, 55 },
52 data () { 56 data () {
53 return { 57 return {
54 ruleForm: {
55 cxsj: "",
56 bdcdyh: "",
57 },
58 //房屋列表字段 58 //房屋列表字段
59 fwColumns: datas.fwCol(), 59 fwColumns: datas.fwCol(),
60 //土地列表字段 60 //土地列表字段
...@@ -69,37 +69,9 @@ ...@@ -69,37 +69,9 @@
69 cfdjColumns: datas.cfdjCol(), 69 cfdjColumns: datas.cfdjCol(),
70 //异议登记列表字段 70 //异议登记列表字段
71 yydjColumns: datas.yydjCol(), 71 yydjColumns: datas.yydjCol(),
72 form: {},
73 resultData: {},
74 }; 72 };
75 }, 73 },
76 mounted () {
77 if (this.formData) {
78 this.getDetailInfo()
79 }
80 },
81 methods: { 74 methods: {
82 /**
83 * @description: setResult
84 * @param {*} data
85 * @author: renchao
86 */
87 setResult (data) {
88 this.resultData = data
89 },
90 /**
91 * @description: getDetailInfo
92 * @author: renchao
93 */
94 getDetailInfo () {
95 this.$startLoading();
96 getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => {
97 this.$endLoading();
98 if (res.code == 200) {
99 this.resultData = res.result
100 }
101 })
102 }
103 } 75 }
104 }; 76 };
105 </script> 77 </script>
......
1 import filter from '@/utils/filter.js' 1 import filter from '@/utils/filter.js'
2 let vm = null 2 let vm = null
3 import store from '@/store/index.js'
3 4
4 const sendThis = (_this) => { 5 const sendThis = (_this) => {
5 vm = _this 6 vm = _this
...@@ -64,294 +65,19 @@ class data extends filter { ...@@ -64,294 +65,19 @@ class data extends filter {
64 align: 'center', 65 align: 'center',
65 fixed: 'right', 66 fixed: 'right',
66 render: (h, scope) => { 67 render: (h, scope) => {
67 if(scope.row.dyzt != '0' && scope.row.cfzt != '0'){ 68 if (scope.row.dyzt != '0' && scope.row.cfzt != '0') {
68 return <div>抵押、查封</div> 69 return <div>抵押、查封</div>
69 } 70 }
70 if(scope.row.dyzt != '0'){ 71 if (scope.row.dyzt != '0') {
71 return <div>抵押</div> 72 return <div>抵押</div>
72 } 73 }
73 if(scope.row.cfzt != '0'){ 74 if (scope.row.cfzt != '0') {
74 return <div>查封</div> 75 return <div>查封</div>
75 } 76 }
76 } 77 }
77 } 78 }
78 ] 79 ]
79 } 80 }
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 {vm.dictData["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 {vm.dictData["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 } 81 }
356 let datas = new data() 82 let datas = new data()
357 export { 83 export {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-19 13:17:22 4 * @LastEditTime: 2024-03-29 14:12:16
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -571,7 +571,7 @@ ...@@ -571,7 +571,7 @@
571 cancelButtonText: '取消', 571 cancelButtonText: '取消',
572 distinguishCancelAndClose: true,//区分取消与关闭 572 distinguishCancelAndClose: true,//区分取消与关闭
573 }).then(() => { 573 }).then(() => {
574 replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { 574 replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy, this.details.qlrlx).then(res => {
575 that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) })); 575 that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) }));
576 that.$emit("input", false); 576 that.$emit("input", false);
577 if (res.code == 200) { 577 if (res.code == 200) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 14:55:20 4 * @LastEditTime: 2024-03-29 14:03:52
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25' 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="{qlrlx: 1,...details}" :showButton="disabled" @updateDetail="handleupdateDetail" />
12 </div> 12 </div>
13 </template> 13 </template>
14 <script> 14 <script>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 15:03:10 4 * @LastEditTime: 2024-03-29 14:04:33
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25' 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="{qlrlx: 2,...details}" :showButton="disabled" @updateDetail="handleupdateDetail" />
12 </div> 12 </div>
13 </template> 13 </template>
14 <script> 14 <script>
......