b1d09c72 by renchao@pashanhoo.com

1

1 parent 2c771f97
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-15 17:06:29
* @LastEditTime: 2023-09-18 11:00:38
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -45,14 +45,12 @@
import { mapGetters } from 'vuex'
import { leftMenu, deleteSlbdcdy, jdcxLeftMenu } from "@/api/workFlow.js"
export default {
props: {
paramData: {
type: Object,
default: () => { }
}
},
data () {
return {
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
// 默认选中
activeIndex: '0',
// 折叠
......@@ -67,6 +65,9 @@
currentSelectProps: {}
}
},
mounted () {
this.loadBdcdylist();
},
computed: {
...mapGetters(['isRefresh'])
},
......@@ -78,16 +79,7 @@
}
},
immediate: true
},
paramData: {
handler (newVal, oldVal) {
if (newVal) {
this.loadBdcdylist()
}
},
immediate: true,
deep: true
},
}
},
methods: {
/**
......@@ -97,11 +89,13 @@
loadBdcdylist () {
let that = this
var formdata = new FormData();
// 受理申请标识码
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
// 当前流程所在环节
formdata.append("bestepid", this.paramData.bestepid);
formdata.append("bsmBusiness", this.paramData.bsmBusiness);
formdata.append("bsmSlsq", this.bsmSlsq);
if (this.$route.query.bestepid) {
formdata.append("bestepid", this.bestepid);
}
if (this.$route.query.bsmBusiness) {
formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
}
if (this.$route.query.type == 'jdcx') {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-18 09:32:09
* @LastEditTime: 2023-09-18 10:46:56
*/
import { getPrintTemplateByCode } from "@/api/print";
import { uploadUndo } from "@/api/clxx";
import { getLodop } from "@/utils/LodopFuncs"
import { getXtParamsByYwh } from "@/api/djyw.js"
import {
stepExpandInfo,
record,
......@@ -39,19 +38,11 @@ export default {
batchButtonName: '',
// 受理申请信息
slsq: {},
dqhj: "",
// 业务流程需要的参数
paramData: {},
dqhj: ""
}
},
created () {
// 根据业务号获取系统参数
getXtParamsByYwh(this.$route.query.ywh).then(res => {
this.paramData = res.result
console.log(this.paramData, 'this.paramData');
this.isShowMenu = true
this.flowInitParam();
})
mounted () {
this.flowInitParam();
},
methods: {
/**
......@@ -60,8 +51,8 @@ export default {
*/
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
formdata.append("bestepid", this.paramData.bestepid);
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bestepid", this.bestepid);
if (this.type) {
formdata.append("type", "READ_ONLY");
}
......@@ -171,7 +162,6 @@ export default {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: res.result[0],
onlyShow: false,
showSave: true,
unitData: window.unitData
}, '90%', true)
} else {
......@@ -321,7 +311,8 @@ export default {
width: "50%",
btnShow: false,
bsmSlsq: this.bsmSlsq,
dataList: this.unitData
dataList: this.unitData,
})
},
/**
......@@ -342,7 +333,6 @@ export default {
}
})
},
// 上传
/**
* @description: 上传
* @param {*} file
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-15 16:32:06
* @LastEditTime: 2023-09-18 10:49:50
-->
<template>
<div class="container">
......@@ -26,10 +26,8 @@
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<div v-if="isShowMenu">
<segmentMenu :paramData="paramData" v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
</div>
<segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
<div class="leftCon">
<!-- 分屏左侧预览 -->
......@@ -71,8 +69,6 @@
},
data () {
return {
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu: false,
// 流程图
imgSrc: "",
// 折叠
......
......@@ -315,24 +315,19 @@
);
window.open(href, `djbworkFrame${item.bsmSlsq}`);
} else {
// const { href } = this.$router.resolve(
// "/workFrame?bsmSlsq=" +
// item.bsmSlsq +
// "&bestepid=" +
// item.bestepid +
// "&bsmBusiness=" +
// "&sqywbm=" +
// item.djywbm +
// "&zbhj=" +
// item.zbhj
// );
// window.open(href, `workFrame${item.bsmSlsq}`);
const { href } = this.$router.resolve('/workFrame?ywh=' + item.ywh + '&zbhj=' + item.zbhj)
window.open(href, `workFrame${item.ywh}`)
const { href } = this.$router.resolve(
"/workFrame?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&bsmBusiness=" +
"&sqywbm=" +
item.djywbm +
"&zbhj=" +
item.zbhj
);
window.open(href, `workFrame${item.bsmSlsq}`);
}
localStorage.setItem("ywbl", JSON.stringify(item));
//从待办箱进入的调取任务领取接口
......
......@@ -13,7 +13,7 @@
@submit.native.prevent
label-width="80px">
<el-row>
<el-col :span="5">
<el-col :span="5">
<el-form-item label="业务来源">
<el-select
v-model="queryForm.ywly"
......@@ -91,7 +91,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-row>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input
......@@ -274,8 +274,15 @@
);
window.open(href, `djbworkFrameview${item.bsmSlsq}`);
} else {
const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
window.open(href, `urlname${item.ywh}`)
const { href } = this.$router.resolve(
"/workFrameView?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid +
"&sqywbm=" +
item.djywbm + '&type=jdcx'
);
window.open(href, `urlname${item.bsmSlsq}`);
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-15 15:06:50
* @LastEditTime: 2023-07-25 16:34:27
-->
<template>
<div class="from-clues">
......@@ -114,6 +114,7 @@
this.queryClick()
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
......@@ -138,6 +139,7 @@
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
......@@ -149,8 +151,8 @@
* @author: renchao
*/
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
window.open(href, `urlname${item.ywh}`)
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx')
window.open(href, `urlname${item.bsmSlsq}`)
}
}
}
......