2dee3911 by weimo934

feat(zd,dz,zrz,h):登记调用

1 parent 59a60999
...@@ -198,3 +198,13 @@ export function getListMenu(data) { ...@@ -198,3 +198,13 @@ export function getListMenu(data) {
198 data:data 198 data:data
199 }) 199 })
200 } 200 }
201 /**
202 * 登记调用
203 */
204 export function registerCall(data) {
205 return request({
206 url:'/system/basiccommon/registerCall',
207 method:'post',
208 data:data
209 })
210 }
......
...@@ -199,6 +199,7 @@ ...@@ -199,6 +199,7 @@
199 <div style="min-height: 40px;text-align: center;margin-top: 10px"> 199 <div style="min-height: 40px;text-align: center;margin-top: 10px">
200 <el-button type="success" @click="onSave">保存</el-button> 200 <el-button type="success" @click="onSave">保存</el-button>
201 <el-button type="primary" @click="onSubmit">提交</el-button> 201 <el-button type="primary" @click="onSubmit">提交</el-button>
202 <el-button type="primary" @click="registerCall">登记调用</el-button>
202 </div> 203 </div>
203 </div> 204 </div>
204 205
...@@ -209,7 +210,7 @@ ...@@ -209,7 +210,7 @@
209 import Qlxz from "../../../components/formMenu/qlxz_simple"; 210 import Qlxz from "../../../components/formMenu/qlxz_simple";
210 import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz"; 211 import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz";
211 import {getQjZdjbxxDetailById} from "../../../api/zd" 212 import {getQjZdjbxxDetailById} from "../../../api/zd"
212 import {submit} from "../../../api/common" 213 import {submit,registerCall} from "../../../api/common"
213 export default { 214 export default {
214 name:'zrz', 215 name:'zrz',
215 components:{ 216 components:{
...@@ -289,6 +290,17 @@ ...@@ -289,6 +290,17 @@
289 } 290 }
290 }, 291 },
291 methods: { 292 methods: {
293 registerCall(){
294 let data={
295 type:'dz',
296 bsm:this.$route.query.bsm
297 }
298 registerCall(data).then(res=>{
299 if (res.success) {
300 this.$message.success("登记成功")
301 }
302 })
303 },
292 addYtInfo(){ 304 addYtInfo(){
293 this.form.fwytList.push({ 305 this.form.fwytList.push({
294 glbsm:'', 306 glbsm:'',
......
...@@ -341,6 +341,7 @@ ...@@ -341,6 +341,7 @@
341 <div style="min-height: 40px;text-align: center;margin-top: 10px"> 341 <div style="min-height: 40px;text-align: center;margin-top: 10px">
342 <el-button type="success" @click="updateZDxx">保存</el-button> 342 <el-button type="success" @click="updateZDxx">保存</el-button>
343 <el-button type="primary" @click="submitZDxx">提交</el-button> 343 <el-button type="primary" @click="submitZDxx">提交</el-button>
344 <el-button type="primary" @click="registerCall">登记调用</el-button>
344 </div> 345 </div>
345 </div> 346 </div>
346 </div> 347 </div>
...@@ -357,6 +358,7 @@ import { ...@@ -357,6 +358,7 @@ import {
357 getListByPbsm, 358 getListByPbsm,
358 submit, 359 submit,
359 getTree, 360 getTree,
361 registerCall
360 } from "../../../api/common"; 362 } from "../../../api/common";
361 import { 363 import {
362 getBdcdyh, 364 getBdcdyh,
...@@ -466,6 +468,17 @@ export default { ...@@ -466,6 +468,17 @@ export default {
466 this.getZdjbxxData(this.$store.state.zdbsm); 468 this.getZdjbxxData(this.$store.state.zdbsm);
467 }, 469 },
468 methods: { 470 methods: {
471 registerCall(){
472 let data={
473 type:'zd',
474 bsm:this.$store.state.zdbsm
475 }
476 registerCall(data).then(res=>{
477 if (res.success) {
478 this.$message.success("登记成功")
479 }
480 })
481 },
469 //根据zdbsm查询基本信息 482 //根据zdbsm查询基本信息
470 getZdjbxxData(bsm) { 483 getZdjbxxData(bsm) {
471 getQjZdjbxxDetailById(bsm) 484 getQjZdjbxxDetailById(bsm)
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
66 class="radioBtn" 66 class="radioBtn"
67 label="7" 67 label="7"
68 border 68 border
69 @click="hcxlzVisible = true" 69 @click="hcxlz"
70 ><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button 70 ><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button
71 > 71 >
72 <el-button 72 <el-button
...@@ -262,6 +262,7 @@ ...@@ -262,6 +262,7 @@
262 <el-button type="primary" @click="hbjSubmitInfo">提交</el-button> 262 <el-button type="primary" @click="hbjSubmitInfo">提交</el-button>
263 <el-button type="primary" @click="hbjResetInfo">重置</el-button> 263 <el-button type="primary" @click="hbjResetInfo">重置</el-button>
264 <el-button type="primary" @click="hbjVisible = false">取消</el-button> 264 <el-button type="primary" @click="hbjVisible = false">取消</el-button>
265 <el-button type="primary" @click="registerCall">登记调用</el-button>
265 </div> 266 </div>
266 </el-dialog> 267 </el-dialog>
267 </div> 268 </div>
...@@ -280,6 +281,7 @@ import addZdy from "./zdy/index"; ...@@ -280,6 +281,7 @@ import addZdy from "./zdy/index";
280 import addCh from "./ch/index"; 281 import addCh from "./ch/index";
281 import hbj from "./hbj/index"; 282 import hbj from "./hbj/index";
282 import lpbContent from "./lpbContent/index"; 283 import lpbContent from "./lpbContent/index";
284 import {registerCall} from "../../../../api/common";
283 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "../../../../api/lpb"; 285 import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "../../../../api/lpb";
284 286
285 export default { 287 export default {
...@@ -403,6 +405,17 @@ export default { ...@@ -403,6 +405,17 @@ export default {
403 }, 100); 405 }, 100);
404 }, 406 },
405 methods: { 407 methods: {
408 registerCall(){
409 let data={
410 type:'h',
411 bsm:this.hbsm
412 }
413 registerCall(data).then(res=>{
414 if (res.success) {
415 this.$message.success("登记成功")
416 }
417 })
418 },
406 batchCommit(){ 419 batchCommit(){
407 if (this.bsms.length <= 0) { 420 if (this.bsms.length <= 0) {
408 Message.warning("请选择操作户") 421 Message.warning("请选择操作户")
......
...@@ -265,6 +265,7 @@ ...@@ -265,6 +265,7 @@
265 <div style="min-height: 40px;text-align: center;margin-top: 10px"> 265 <div style="min-height: 40px;text-align: center;margin-top: 10px">
266 <el-button type="success" @click="onSave">保存</el-button> 266 <el-button type="success" @click="onSave">保存</el-button>
267 <el-button type="primary" @click="onSubmit">提交</el-button> 267 <el-button type="primary" @click="onSubmit">提交</el-button>
268 <el-button type="primary" @click="registerCall">登记调用</el-button>
268 </div> 269 </div>
269 </div> 270 </div>
270 </div> 271 </div>
...@@ -275,7 +276,7 @@ ...@@ -275,7 +276,7 @@
275 import Qlxz from "../../../components/formMenu/qlxz_simple"; 276 import Qlxz from "../../../components/formMenu/qlxz_simple";
276 import {getBdcdyh,saveZrzInfo,getZrzDetailByBsm} from "../../../api/zrz" 277 import {getBdcdyh,saveZrzInfo,getZrzDetailByBsm} from "../../../api/zrz"
277 import {getQjZdjbxxDetailById} from "../../../api/zd" 278 import {getQjZdjbxxDetailById} from "../../../api/zd"
278 import {submit} from "../../../api/common" 279 import {submit,registerCall} from "../../../api/common"
279 export default { 280 export default {
280 name:'zrz', 281 name:'zrz',
281 components:{ 282 components:{
...@@ -395,6 +396,17 @@ ...@@ -395,6 +396,17 @@
395 } 396 }
396 }, 397 },
397 methods: { 398 methods: {
399 registerCall(){
400 let data={
401 type:'zrz',
402 bsm:this.$route.query.bsm
403 }
404 registerCall(data).then(res=>{
405 if (res.success) {
406 this.$message.success("登记成功")
407 }
408 })
409 },
398 addYtInfo(){ 410 addYtInfo(){
399 this.form.fwytList.push({ 411 this.form.fwytList.push({
400 glbsm:'', 412 glbsm:'',
......