2dee3911 by weimo934

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

1 parent 59a60999
......@@ -198,3 +198,13 @@ export function getListMenu(data) {
data:data
})
}
/**
* 登记调用
*/
export function registerCall(data) {
return request({
url:'/system/basiccommon/registerCall',
method:'post',
data:data
})
}
......
......@@ -199,6 +199,7 @@
<div style="min-height: 40px;text-align: center;margin-top: 10px">
<el-button type="success" @click="onSave">保存</el-button>
<el-button type="primary" @click="onSubmit">提交</el-button>
<el-button type="primary" @click="registerCall">登记调用</el-button>
</div>
</div>
......@@ -209,7 +210,7 @@
import Qlxz from "../../../components/formMenu/qlxz_simple";
import {saveDzInfo,getBdcdyh,getDzDetailByBsm} from "../../../api/dz";
import {getQjZdjbxxDetailById} from "../../../api/zd"
import {submit} from "../../../api/common"
import {submit,registerCall} from "../../../api/common"
export default {
name:'zrz',
components:{
......@@ -289,6 +290,17 @@
}
},
methods: {
registerCall(){
let data={
type:'dz',
bsm:this.$route.query.bsm
}
registerCall(data).then(res=>{
if (res.success) {
this.$message.success("登记成功")
}
})
},
addYtInfo(){
this.form.fwytList.push({
glbsm:'',
......@@ -533,4 +545,4 @@
}
}
}
</style>
\ No newline at end of file
</style>
......
......@@ -341,6 +341,7 @@
<div style="min-height: 40px;text-align: center;margin-top: 10px">
<el-button type="success" @click="updateZDxx">保存</el-button>
<el-button type="primary" @click="submitZDxx">提交</el-button>
<el-button type="primary" @click="registerCall">登记调用</el-button>
</div>
</div>
</div>
......@@ -357,6 +358,7 @@ import {
getListByPbsm,
submit,
getTree,
registerCall
} from "../../../api/common";
import {
getBdcdyh,
......@@ -466,6 +468,17 @@ export default {
this.getZdjbxxData(this.$store.state.zdbsm);
},
methods: {
registerCall(){
let data={
type:'zd',
bsm:this.$store.state.zdbsm
}
registerCall(data).then(res=>{
if (res.success) {
this.$message.success("登记成功")
}
})
},
//根据zdbsm查询基本信息
getZdjbxxData(bsm) {
getQjZdjbxxDetailById(bsm)
......
......@@ -66,7 +66,7 @@
class="radioBtn"
label="7"
border
@click="hcxlzVisible = true"
@click="hcxlz"
><i class="iconfont iconhuzhongxinlazong"></i>户重新落宗</el-button
>
<el-button
......@@ -262,6 +262,7 @@
<el-button type="primary" @click="hbjSubmitInfo">提交</el-button>
<el-button type="primary" @click="hbjResetInfo">重置</el-button>
<el-button type="primary" @click="hbjVisible = false">取消</el-button>
<el-button type="primary" @click="registerCall">登记调用</el-button>
</div>
</el-dialog>
</div>
......@@ -280,6 +281,7 @@ import addZdy from "./zdy/index";
import addCh from "./ch/index";
import hbj from "./hbj/index";
import lpbContent from "./lpbContent/index";
import {registerCall} from "../../../../api/common";
import { getLpbMenuTree, batchScYcChange, getLpbTj,batchGeneratorBdcdyh,getLpbFwytAndQlxz ,batchCommit} from "../../../../api/lpb";
export default {
......@@ -403,6 +405,17 @@ export default {
}, 100);
},
methods: {
registerCall(){
let data={
type:'h',
bsm:this.hbsm
}
registerCall(data).then(res=>{
if (res.success) {
this.$message.success("登记成功")
}
})
},
batchCommit(){
if (this.bsms.length <= 0) {
Message.warning("请选择操作户")
......
......@@ -265,6 +265,7 @@
<div style="min-height: 40px;text-align: center;margin-top: 10px">
<el-button type="success" @click="onSave">保存</el-button>
<el-button type="primary" @click="onSubmit">提交</el-button>
<el-button type="primary" @click="registerCall">登记调用</el-button>
</div>
</div>
</div>
......@@ -275,7 +276,7 @@
import Qlxz from "../../../components/formMenu/qlxz_simple";
import {getBdcdyh,saveZrzInfo,getZrzDetailByBsm} from "../../../api/zrz"
import {getQjZdjbxxDetailById} from "../../../api/zd"
import {submit} from "../../../api/common"
import {submit,registerCall} from "../../../api/common"
export default {
name:'zrz',
components:{
......@@ -395,6 +396,17 @@
}
},
methods: {
registerCall(){
let data={
type:'zrz',
bsm:this.$route.query.bsm
}
registerCall(data).then(res=>{
if (res.success) {
this.$message.success("登记成功")
}
})
},
addYtInfo(){
this.form.fwytList.push({
glbsm:'',
......@@ -475,7 +487,7 @@
console.log("属性保存完成!!");
});
}
},
onSubmit(){
let data={
......