bf61913f by yangwei

业务流程中楼盘表

1 parent bc239e19
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-11 09:51:07
* @LastEditTime: 2023-07-12 13:26:37
*/
import request from "@/utils/request";
let SERVER = window.config
......@@ -71,3 +71,16 @@ export function getLpbTj(zrzbsm) {
method: "get",
});
}
/**
* @description:楼盘查询- 根据bsmSlsq查询自然幢标识码
* @param {*} data
* @author: renchao
*/
export function getZrzbsm(bsm) {
return request({
url: SERVER.SERVERAPI + "/rest/zhcx/search/getZrzbsmList?bsmSlsq=" + bsm,
method: "post",
data: bsm,
});
}
\ No newline at end of file
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-26 17:03:07
* @LastEditTime: 2023-07-12 13:58:19
*/
import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
import { getPrintTemplateByCode } from "@/api/system";
......@@ -17,6 +17,7 @@ import {
} from "@/api/fqsq.js";
import { mapGetters } from 'vuex'
import { log } from "bpmn-js-token-simulation";
import { getZrzbsm } from "@/api/lpb";
export default {
data () {
return {
......@@ -139,9 +140,18 @@ export default {
)
break;
case "B8":
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
}, '90%', true)
getZrzbsm(this.bsmSlsq).then((res) => {
if (res.code === 200) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: res.result[0]
}, '90%', true)
}else{
this.$message.error(res.message)
}
})
.catch((err) => {
this.$message.error(err)
});
break;
case "back": //退回按钮
this.$popupDialog("退回", "workflow/components/th", {
......