80db871c by “miaofang

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

2 parents dcec0e56 5c65daec
/*
* @Description: 登记业务信息接口
* @Autor: renchao
* @LastEditTime: 2023-09-15 14:16:20
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 根据业务号查询系统参数数据
* @param {*} ywh
* @author: renchao
*/
export function getXtParamsByYwh (ywh) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/djyw/getXtParamsByYwh',
method: 'get',
params: {
ywh: ywh
}
})
}
\ No newline at end of file
......@@ -173,7 +173,8 @@ export default {
break;
case "B8":
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
bsm: '',
onlyShow: true,
}, '90%', true)
break;
case "back": //退回按钮
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-12 16:55:35
* @LastEditTime: 2023-09-15 14:46:47
-->
<template>
<div class="edit">
......@@ -22,6 +22,7 @@
:zrzbsm="formData.bsm"
:scyclx="formData.scyclx"
:onlyShow="formData.onlyShow"
:showSave="formData.showSave"
:unitData="formData.unitData"
:sqywInfo="formData"
:key="time"></lpbContent>
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-02-28 15:47:12
* @LastEditors: yangwei
* @LastEditTime: 2023-09-14 15:04:20
* @LastEditTime: 2023-09-15 14:52:50
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue
* @Description:
*
......@@ -96,6 +96,10 @@ export default {
return [];
},
},
onlyShow:{
type: Boolean,
default: true,
}
},
data() {
return {
......@@ -140,23 +144,25 @@ export default {
* @author: renchao
*/
handleClickC(e, item) {
// 判断点击的层是否选中
if (e.target.className.indexOf("tdSelect") == -1) {
//未选中→选中
item.hs.forEach((h) => {
//加边框
e.target.className += " tdSelect";
h.select = true;
// 使用hbsmList时,需要去重
this.hbsmList.push(h.bsm)
});
} else {
//选中→未选中
item.hs.forEach((h) => {
e.target.className = "floor";
h.select = false;
this.hbsmList = this.hbsmList.filter((i) => i != h.bsm);
});
if (!this.onlyShow) {
// 判断点击的层是否选中
if (e.target.className.indexOf("tdSelect") == -1) {
//未选中→选中
item.hs.forEach((h) => {
//加边框
e.target.className += " tdSelect";
h.select = true;
// 使用hbsmList时,需要去重
this.hbsmList.push(h.bsm)
});
} else {
//选中→未选中
item.hs.forEach((h) => {
e.target.className = "floor";
h.select = false;
this.hbsmList = this.hbsmList.filter((i) => i != h.bsm);
});
}
}
},
//户单击事件
......@@ -168,26 +174,28 @@ export default {
* @author: renchao
*/
handleClickH(e, bsm, hs) {
let self = this;
// 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件
clearTimeout(self.time);
self.time = setTimeout(() => {
// this.closeMenu();
//判断点击的户是否选中
if (!hs.select) {
//未选中→选中
//加边框
hs.select = true;
// 将户bsm放进hbsmList
self.hbsmList.push(bsm);
} else {
//选中→未选中
hs.select = false;
self.hbsmList = self.hbsmList.filter((i) => i != bsm);
}
//更新当前选中户数据
this.$forceUpdate();
}, 200);
if (!this.onlyShow) {
let self = this;
// 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件
clearTimeout(self.time);
self.time = setTimeout(() => {
// this.closeMenu();
//判断点击的户是否选中
if (!hs.select) {
//未选中→选中
//加边框
hs.select = true;
// 将户bsm放进hbsmList
self.hbsmList.push(bsm);
} else {
//选中→未选中
hs.select = false;
self.hbsmList = self.hbsmList.filter((i) => i != bsm);
}
//更新当前选中户数据
this.$forceUpdate();
}, 200);
}
},
// 户单元状态点击事件
/**
......@@ -198,7 +206,9 @@ export default {
* @author: renchao
*/
hDyztClick(e, bsm, hs) {
this.handleClickH(e.target.parentNode, bsm, hs);
if (!this.onlyShow) {
this.handleClickH(e.target.parentNode, bsm, hs);
}
},
//户双击事件
/**
......
......@@ -4,22 +4,22 @@
<!-- 纵向倒序排列 逻辑幢位于独立幢单元和独立层户的上方 -->
<div class="ch-zdy-wrap">
<!-- 幢单元 -->
<zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow"/>
<zdy-cpn v-if="lpbData.zdys.length" :zdys="lpbData.zdys" :onlyShow="onlyShow"/>
<!-- 独立层户 -->
<ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" />
<ch-cpn v-if="lpbData.cs.length" :ch="lpbData.cs" :onlyShow="onlyShow"/>
</div>
<!-- 逻辑幢 -->
<ljzs-cpn v-if="lpbData.ljzs.length" :ljzs="lpbData.ljzs" :onlyShow="onlyShow"/>
</div>
<!-- 自然幢名称 -->
<!-- <p class="lpb-xmmc" :style="{ 'border-bottom': onlyShow ? 0 : '1px solid #e6e6e6'}"> -->
<p class="lpb-xmmc" :style="{ 'border-bottom':'1px solid #e6e6e6'}">
<p class="lpb-xmmc" v-if="onlyShow" style="border-bottom: 1px solid #e6e6e6">{{ lpbData.xmmc }}</p>
<p class="lpb-xmmc" v-else :style="{ 'border-bottom':'1px solid #e6e6e6'}">
<el-checkbox @change="zdySelectAll($event)">{{
lpbData.xmmc
}}</el-checkbox>
</p>
<el-button type="primary" class="save-btn" v-if="!onlyShow" @click="saveLpb">保存</el-button>
<el-button type="primary" class="save-btn" v-else @click="submitForm" :loading="loading">发起申请</el-button>
<el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">保存</el-button>
<el-button type="primary" class="save-btn" v-if="!onlyShow" @click="submitForm" :loading="loading">发起申请</el-button>
<!-- 右键菜单 -->
<ul
v-show="lpbChVisible"
......@@ -70,6 +70,10 @@ export default {
type: Boolean,
default: true,
},
showSave:{
type: Boolean,
default: false,
},
scyclx: {
type: Number,
default: 0,
......@@ -278,8 +282,8 @@ export default {
},
computed:{
lpbContentHeight(){
// return this.onlyShow ? 36 : 76
return 76
return this.onlyShow ? 32 : 76
// return 76
}
},
watch: {
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-02-28 17:25:45
* @LastEditors: yangwei
* @LastEditTime: 2023-09-14 14:35:19
* @LastEditTime: 2023-09-15 14:55:58
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ljzs.vue
* @Description:
*
......@@ -26,7 +26,7 @@
}}</el-checkbox>
</p>
<!-- 独立层户 -->
<ch-cpn v-if="ljz.cs.length" :ref="ljz.bsm" :ch="ljz.cs" />
<ch-cpn v-if="ljz.cs.length" :ref="ljz.bsm" :ch="ljz.cs" :onlyShow="onlyShow"/>
<!-- 幢单元 -->
<zdy-cpn v-if="ljz.zdys.length" :ref="'zdy' + ljz.bsm" :zdys="ljz.zdys" :onlyShow="onlyShow"/>
</div>
......@@ -40,13 +40,14 @@
v-else
>
<!-- 逻辑幢名称 -->
<p class="lpb-xmmc ljz-xmmc">
<p class="lpb-xmmc ljz-xmmc" v-if="onlyShow">{{ ljzarr[0].ljzmc }}</p>
<p class="lpb-xmmc ljz-xmmc" v-else>
<el-checkbox @change="zdySelectAll($event,ljzarr[0].bsm)">{{
ljzarr[0].ljzmc
}}</el-checkbox>
</p>
<!-- 独立层户 -->
<ch-cpn v-if="ljzarr[0].cs.length" :ref="ljzarr[0].bsm" :ch="ljzarr[0].cs" />
<ch-cpn v-if="ljzarr[0].cs.length" :ref="ljzarr[0].bsm" :ch="ljzarr[0].cs" :onlyShow="onlyShow"/>
<!-- 幢单元 -->
<zdy-cpn v-if="ljzarr[0].zdys.length" :ref="'zdy' + ljzarr[0].bsm" :zdys="ljzarr[0].zdys" :onlyShow="onlyShow"/>
</div>
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-02-28 16:29:04
* @LastEditors: yangwei
* @LastEditTime: 2023-09-14 14:36:51
* @LastEditTime: 2023-09-15 14:57:10
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\zdys.vue
* @Description:
*
......@@ -13,12 +13,13 @@
<div v-for="zdy in realZdys" :key="zdy.bsm">
<!-- 幢单元名称 -->
<p class="lpb-xmmc">
<el-checkbox @change="zdySelectAll($event,zdy.bsm)">{{
<el-checkbox @change="zdySelectAll($event,zdy.bsm)" v-if="!onlyShow">{{
zdy.zdymc
}}</el-checkbox>
<span v-else>{{zdy.zdymc}}</span>
</p>
<!-- 每个幢单元下的层户 -->
<ch-cpn :ref="zdy.bsm" :ch="zdy.cs" />
<ch-cpn :ref="zdy.bsm" :ch="zdy.cs" :onlyShow="onlyShow"/>
</div>
</div>
</template>
......
......@@ -22,14 +22,9 @@ class data extends filter {
)
}
},
{
prop: "ywh",
label: "业务号",
// width: '110',
},
{
label: "权属状态",
// width: '80',
label: "推送状态",
render: (h, scope) => {
let obj = {
"0": {
......@@ -52,10 +47,38 @@ class data extends filter {
}
},
{
prop: "ywh",
label: "业务号",
// width: '110',
},
{
prop: "ywh1",
label: "登记业务名称",
// width: '110',
},
{
prop: "ywh2",
label: "登记情形名称",
// width: '110',
},
{
prop: "bdcdyh",
label: "不动产单元号",
// width: '110',
},
{
prop: "createtime",
label: "创建时间",
},
{
prop: "createtime",
label: "推送时间",
},
{
prop: "createtime1",
label: "响应时间",
},
{
label: '操作',
width: '100',
render: (h, scope) => {
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-13 14:21:14
* @LastEditTime: 2023-09-15 17:06:29
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -45,12 +45,14 @@
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',
// 折叠
......@@ -65,9 +67,6 @@
currentSelectProps: {}
}
},
mounted () {
this.loadBdcdylist();
},
computed: {
...mapGetters(['isRefresh'])
},
......@@ -79,7 +78,16 @@
}
},
immediate: true
}
},
paramData: {
handler (newVal, oldVal) {
if (newVal) {
this.loadBdcdylist()
}
},
immediate: true,
deep: true
},
},
methods: {
/**
......@@ -89,13 +97,11 @@
loadBdcdylist () {
let that = this
var formdata = new FormData();
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);
}
// 受理申请标识码
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
// 当前流程所在环节
formdata.append("bestepid", this.paramData.bestepid);
formdata.append("bsmBusiness", this.paramData.bsmBusiness);
if (this.$route.query.type == 'jdcx') {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
......
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-09-12 13:32:29
* @LastEditTime: 2023-09-15 15:02:25
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -61,10 +61,6 @@
export default {
data () {
return {
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
// 变更前单元默认选中
activeIndex: '0',
// 变更后单元默认选中
......@@ -105,13 +101,11 @@
loadBdcdylist () {
let that = this
var formdata = new FormData();
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);
}
// 受理申请标识码
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
// 当前流程所在环节
formdata.append("bestepid", this.paramData.bestepid);
formdata.append("bsmBusiness", this.paramData.bsmBusiness);
if (this.$route.query.type == 'jdcx') {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
......@@ -152,7 +146,6 @@
})
}
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
......@@ -202,9 +195,9 @@
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
message: "已取消删除"
})
})
},
/**
* @description: 批量按钮点击事件
......@@ -214,7 +207,6 @@
this.currentSelectProps.batchOperation = true;
// this.activeIndex = "-1";
this.$parent.stepForm(0);
},
/**
* @description: 申请单元点击事件
......
......@@ -3,14 +3,12 @@
* @Autor: renchao
* @LastEditTime: 2023-09-12 09:41:27
*/
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} tabName
* @param {*} djywbm
* @author: renchao
*/
export function getForm (tabName, djywbm) {
export function getForm (tabName) {
let form;
switch (tabName) {
case "tdsyqslxx":
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-31 09:35:49
* @LastEditTime: 2023-09-18 09:32:09
*/
import { getPrintTemplateByCode } from "@/api/print";
import { uploadUndo } from "@/api/clxx";
import { getLodop } from "@/utils/LodopFuncs"
import { getXtParamsByYwh } from "@/api/djyw.js"
import {
stepExpandInfo,
record,
......@@ -38,11 +39,19 @@ export default {
batchButtonName: '',
// 受理申请信息
slsq: {},
dqhj: ""
dqhj: "",
// 业务流程需要的参数
paramData: {},
}
},
mounted () {
this.flowInitParam();
created () {
// 根据业务号获取系统参数
getXtParamsByYwh(this.$route.query.ywh).then(res => {
this.paramData = res.result
console.log(this.paramData, 'this.paramData');
this.isShowMenu = true
this.flowInitParam();
})
},
methods: {
/**
......@@ -51,8 +60,8 @@ export default {
*/
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bestepid", this.bestepid);
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
formdata.append("bestepid", this.paramData.bestepid);
if (this.type) {
formdata.append("type", "READ_ONLY");
}
......@@ -68,7 +77,6 @@ export default {
}
})
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
......@@ -163,6 +171,7 @@ export default {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: res.result[0],
onlyShow: false,
showSave: true,
unitData: window.unitData
}, '90%', true)
} else {
......@@ -239,8 +248,8 @@ export default {
})
})
break;
case "B10":
break;
case "B10":
break;
case "rm":
this.del()
break;
......@@ -279,7 +288,6 @@ export default {
});
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
......@@ -292,7 +300,6 @@ export default {
tabList: this.tabList
}, '800px', true)
},
//转出最后一个流程
/**
* @description: 转出最后一个流程
* @param {*} obj
......@@ -305,7 +312,6 @@ export default {
tabList: this.tabList
}, '800px', true)
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
......@@ -315,8 +321,7 @@ export default {
width: "50%",
btnShow: false,
bsmSlsq: this.bsmSlsq,
dataList: this.unitData,
dataList: this.unitData
})
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-14 17:19:13
* @LastEditTime: 2023-09-15 17:01:12
-->
<template>
<div class="container">
......@@ -38,10 +38,12 @@
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<segmentMenu
v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)"
@getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
<div v-if="isShowMenu">
<segmentMenu :paramData="paramData"
v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)"
@getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
</div>
<div class="leftCon">
<!-- 分屏左侧预览 -->
<div v-if="splitScreen" class="splitScreen-con">
......@@ -51,7 +53,7 @@
<div class="rightContainer">
<div class="count">
当前流程所在环节:
<span>{{ this.zbhj }}</span>
<span>{{ $route.query.zbhj }}</span>
</div>
<el-tabs
v-model="tabName"
......@@ -132,17 +134,8 @@
mixins: [WorkFlow, publicFlow],
data () {
return {
// printObj: {
// id: "box",
// preview: true,
// },
isDialog: false,
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
//当前流程所在环节
zbhj: this.$route.query.zbhj,
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu: false,
//设置那个表单选中
tabName: "",
//设置那个表单选择
......@@ -166,7 +159,7 @@
bsmZd: "",
Receiptdata: {},
shows: false
};
}
},
mounted () {
this.$store.dispatch("user/refreshPage", false);
......@@ -185,7 +178,7 @@
// 获取打印回执数据
var formdata = new FormData();
formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bsmSlsq", this.paramData.bsmSlsq);
formdata.append("djlx", this.currentSelectProps.djlx);
BatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
......@@ -195,7 +188,7 @@
this.prinsss()
}, 100)
} else {
this.$message.error(res.message);
this.$message.error(res.message)
}
})
},
......@@ -211,7 +204,7 @@
}`,
// 继承原来的所有样式
targetStyles: ["*"]
});
})
},
/**
* @description: getCurrentSelectProps
......@@ -219,7 +212,7 @@
* @author: renchao
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val;
this.currentSelectProps = val
},
/**
* @description: beforeunloadHandler
......@@ -238,7 +231,7 @@
//判断是窗口关闭还是刷新
if (this._gap_time <= 10) {
//取消认领
unClaimTask(this.bsmSlsq, this.bestepid);
unClaimTask(this.paramData.bsmSlsq, this.paramData.bestepid)
}
},
/**
......@@ -249,7 +242,6 @@
stepForm (index) {
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
// this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
......@@ -270,37 +262,14 @@
this.tabList.forEach(function (item, index) {
if (item.value == "clxx") {
that.clxxIndex = index;
that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
that.clxxTab = item;
that.clxxIndex = index
that.clxxForm = getForm(item.value)
that.clxxTab = item
}
});
})
}
}
});
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog () {
this.$store.dispatch("user/refreshPage", false);
let data = JSON.parse(localStorage.getItem("ywbl"));
let title;
if (data?.sqywmc) {
title = "申请业务:" + data?.sqywmc;
} else {
title = "申请业务:" + data?.djywmc;
}
this.$popupDialog(
title,
"ywbl/ywsq/selectBdc",
{ djywbm: this.$route.query.sqywbm, isJump: true, sqywInfo: data },
"80%",
true
);
})
},
/**
* @description: 右侧表单选项卡事件
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:15:46
* @LastEditTime: 2023-09-15 16:32:06
-->
<template>
<div class="container">
......@@ -26,8 +26,10 @@
<!-- 内容框架 -->
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
<div v-if="isShowMenu">
<segmentMenu :paramData="paramData" v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu :paramData="paramData" v-else @getCurrentSelectProps="getCurrentSelectProps" />
</div>
<div class="leftCon">
<!-- 分屏左侧预览 -->
......@@ -69,16 +71,14 @@
},
data () {
return {
// 左侧是否显示,获取完成系统参数之后再显示
isShowMenu: false,
// 流程图
imgSrc: "",
// 折叠
isShowdrawer: true,
// 默认选中
activeIndex: "0",
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
// 判断类型
type: "READ_ONLY",
//设置那个表单选中
......@@ -99,7 +99,7 @@
//材料信息选择卡索引
clxxIndex: "",
//材料信息选项卡对象
clxxTab: {},
clxxTab: {}
};
},
methods: {
......@@ -111,7 +111,6 @@
getCurrentSelectProps (val) {
this.currentSelectProps = val
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
......@@ -121,17 +120,18 @@
this.currentSelectProps.type = "READ_ONLY"
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
this.fresh++;
//获取单元对应的所有表单信息
this.tabList = res.result;
//默认加载第一个表单信息
//默认加载第一个表单信息
let arr = res.result.filter(item => item.defaultForm)
if (arr.length > 0) {
this.tabName = arr[0].value;
} else {
this.tabName = res.result[0].value;
}
if (sessionStorage.getItem('activeName') == this.tabName) {
this.fresh++;
}
this.ableOperation = this.tabList[0].ableOperation
//批量操作无分屏按钮
if (index != null) {
......@@ -139,29 +139,28 @@
let that = this;
this.tabList.forEach(function (item, index) {
if (item.value == "clxx") {
that.clxxIndex = index;
that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
that.clxxTab = item;
that.clxxIndex = index
that.clxxForm = getForm(item.value)
that.clxxTab = item
}
})
}
}
})
},
//选项卡切换事件
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick(a) {
let p = Object.keys(this.tabList[0]).filter(
(item) => item == "ableOperation"
);
if (p) {
this.ableOperation = this.tabList[a.index].ableOperation;
/**
* @description: 右侧表单选项卡事件
* @param {*} handleClick
* @author: renchao
*/
handleClick (a) {
let p = Object.keys(this.tabList[0]).filter(
(item) => item == "ableOperation"
);
if (p) {
this.ableOperation = this.tabList[a.index].ableOperation;
}
}
},
}
}
</script>
......
......@@ -197,7 +197,7 @@
}
})
if (this.formData.isAdd != 1) {
store.dispatch('user/reWorkFresh', false)
store.dispatch("user/refreshPage", false);
update(this.ruleForm).then(res => {
if (res.code == 200) {
this.$message.success('保存成功')
......@@ -206,7 +206,7 @@
this.resetTableFields();
this.closeDialog();
//刷新列表
store.dispatch('user/reWorkFresh', true)
store.dispatch("user/refreshPage", true);
} else {
this.$message.error(res.message);
}
......@@ -214,7 +214,7 @@
} else {
that.$refs['ruleForm'].validate((valid) => {
if (valid) {
store.dispatch('user/reWorkFresh', false)
store.dispatch("user/refreshPage", false);
addQy(this.ruleForm).then(res => {
if (res.code == 200) {
that.$message.success('保存成功')
......@@ -223,7 +223,7 @@
that.resetTableFields();
that.closeDialog();
//刷新列表
store.dispatch('user/reWorkFresh', true)
store.dispatch("user/refreshPage", true);
} else {
that.$message.error(res.message);
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-07 15:04:46
* @LastEditTime: 2023-09-15 15:50:26
-->
<template>
<dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
......@@ -24,6 +24,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="材料编码" prop="clbm">
<el-input v-model="ruleForm.clbm"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</template>
......@@ -40,6 +47,7 @@
ruleForm: {
cllx: "",
clmc: "",
clbm: ""
},
rules: {
cllx: [
......@@ -47,7 +55,10 @@
],
clmc: [
{ required: true, message: '请输入材料名称', trigger: 'blur' }
]
],
clbm: [
{ required: true, message: '请输入材料编码', trigger: 'blur' }
],
}
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-14 11:14:54
* @LastEditTime: 2023-09-15 15:38:53
-->
<template>
<div class="clmlmx-box">
......@@ -37,8 +37,15 @@
label: "材料名称",
render: (h, scope) => {
return (
(scope.row.sfxjcl == '1') ?
<el-input value={scope.row.clmc} onInput={(val) => { scope.row.clmc = val }}></el-input> : <span>{scope.row.clmc}</span>
<el-input value={scope.row.clmc} onInput={(val) => { scope.row.clmc = val }}></el-input>
)
}
},
{
label: "材料编码",
render: (h, scope) => {
return (
<el-input value={scope.row.clbm} onInput={(val) => { scope.row.clbm = val }}></el-input>
)
}
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-14 14:23:19
* @LastEditTime: 2023-09-15 15:54:13
-->
<template>
<div class="clxx">
......@@ -289,7 +289,7 @@
ywPopupDialog("申请材料目录", "xxba/components/clxx/dialog/clxxDetailDialog", {
data: this.tableData,
bsmCompany: this.formData.bsmCompany
}, "60%", true, false)
}, "50%", true, false)
},
//设置tableData
setTableData (tableData) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-14 11:11:10
* @LastEditTime: 2023-09-15 15:41:36
-->
<template>
<div class="from-clues">
......@@ -39,6 +39,7 @@
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./data"
import { queryQyByPage, addQy, remove } from "@/api/xxba.js";
......@@ -65,6 +66,17 @@
},
};
},
computed: {
...mapGetters(['isRefresh'])
},
watch: {
isRefresh: {
handler (newVal, oldVal) {
if (newVal) this.queryClick()
},
immediate: true
}
},
methods: {
/**
* @description: queryClick
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-07 14:30:50
* @LastEditTime: 2023-09-15 15:47:37
-->
<template>
<div class="from-clues">
......@@ -59,7 +59,6 @@
watch: {
workFresh: {
handler (newVal, oldVal) {
console.log(newVal, 'newVal');
if (newVal) this.queryClick()
}
}
......@@ -138,6 +137,9 @@
message: '已取消删除'
})
})
},
handleEdit (row) {
this.$popupDialog("编辑企业", "xxba/components/addDialog", { isAdd: 2, ...row }, "75%")
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-12 13:39:20
* @LastEditTime: 2023-09-15 16:30:47
-->
<template>
<div class="from-clues">
......@@ -264,7 +264,7 @@
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
type: "warning"
})
.then(() => {
deleteFlow(formdata).then((res) => {
......@@ -274,18 +274,18 @@
type: "success",
message: "删除成功!",
});
this.queryClick();
this.queryClick()
} else {
this.$message.error(res.message);
this.$message.error(res.message)
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
message: "已取消删除"
})
})
},
/**
* @description: ywhClick
......@@ -315,18 +315,22 @@
);
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?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}`)
}
localStorage.setItem("ywbl", JSON.stringify(item));
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-09-14 17:17:56
* @LastEditTime: 2023-09-15 16:09:33
-->
<template>
<div class="slxx">
......@@ -69,7 +69,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="坐落:">
<el-input maxlength="100" v-model="ruleForm.sldy.zl"></el-input>
<el-input maxlength="100" disabled v-model="ruleForm.sldy.zl"></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-12 13:39:30
* @LastEditTime: 2023-09-15 15:59:24
-->
<template>
<div class="from-clues">
......@@ -232,13 +232,8 @@
);
window.open(href, `djbworkFrameview${item.bsmSlsq}`);
} else {
const { href } = this.$router.resolve(
"/workFrameView?bsmSlsq=" +
item.bsmSlsq +
"&bestepid=" +
item.bestepid
);
window.open(href, `workFrameView${item.bsmSlsq}`);
const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
window.open(href, `urlname${item.ywh}`)
}
}
}
......
......@@ -306,6 +306,7 @@
ywPopupDialog('楼盘表', 'lpb/index', {
bsm: item.bsm,
bsmSqyw:this.sqywInfo.bsmSqyw,
onlyShow: false,
scyclx:1
}, '85%', true,false)
},
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-05 09:45:31
* @LastEditTime: 2023-09-15 16:55:37
*/
import Router from '@/router'
export default {
......@@ -24,13 +24,15 @@ export default {
* @author: renchao
*/
jump (data, type) {
const { href } = Router.resolve(
"/workFrame?bsmSlsq=" +
data.bsmSlsq +
"&bestepid=" +
data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
);
window.open(href, "_blank");
// const { href } = Router.resolve(
// "/workFrame?bsmSlsq=" +
// data.bsmSlsq +
// "&bestepid=" +
// data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
// );
// window.open(href, "_blank");
const { href } = Router.resolve('/workFrame?ywh=' + data.ywh + '&zbhj=受理')
window.open(href, "_blank")
this.$popupCacel()
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-02 09:56:26
* @LastEditTime: 2023-09-15 17:11:42
-->
<template>
<div class="from-clues">
......@@ -115,7 +115,7 @@
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.djywbm)
this.jump(res.result)
} else {
store.dispatch('user/refreshPage', true);
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-24 11:00:59
* @LastEditTime: 2023-09-15 14:34:40
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -249,9 +249,9 @@
* @param {*} row
* @author: miaofang
*/
handleLpbClick (item) {
console.log("item",item);
console.log("this.sqywInfo",this.sqywInfo);
handleLpbClick (item) {
console.log("item",item);
console.log("this.sqywInfo",this.sqywInfo);
this.$popup('楼盘表', 'lpb/index', {
width: '85%',
formData: {
......@@ -261,6 +261,7 @@
bsmSqyw: this.sqywInfo.bsmSqyw,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
onlyShow: false
}
})
},
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 13:08:08
* @LastEditTime: 2023-09-15 17:25:11
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -34,6 +34,7 @@ class data extends filter {
{
prop: "status",
label: "状态",
width: '130',
render: (h, scope) => {
return (
<div>
......@@ -80,8 +81,15 @@ class data extends filter {
}
},
{
prop: "qlrzjhm",
label: "证件号",
witdth: '100',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qlrzjhm} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.qlrzjhm}</span>
</el-tooltip>
)
}
},
{
prop: "qlxzmc",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 14:47:41
* @LastEditTime: 2023-09-15 14:24:32
-->
<template>
<div class="from-clues">
......@@ -199,7 +199,7 @@
bsm: item.zrzbsm,
zrzbsm: item.zrzbsm,
zdbsm: item.zrzbsm,
onlyShow: true
}
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:34:27
* @LastEditTime: 2023-09-15 15:06:50
-->
<template>
<div class="from-clues">
......@@ -114,7 +114,6 @@
this.queryClick()
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
......@@ -139,7 +138,6 @@
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
......@@ -151,8 +149,8 @@
* @author: renchao
*/
openDialog (item) {
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}`)
const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
window.open(href, `urlname${item.ywh}`)
}
}
}
......
......@@ -78,9 +78,15 @@ class data extends filter {
// width: '140'
// },
{
prop: "ywh",
label: "业务号",
width: '100'
minWidth: '100',
render: (h, scope) => {
return (
<div>
<el-link type="primary" onClick={() => { vm.openWorkDialog(scope.row) }}>{scope.row.ywh}</el-link>
</div>
)
}
},
{
label: "权利类型",
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-01 09:04:48
* @LastEditTime: 2023-09-15 14:52:20
-->
<template>
<div class="from-clues">
......@@ -37,7 +37,6 @@
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
<!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
</el-form-item>
</el-col>
</el-row>
......@@ -75,12 +74,12 @@
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
};
data: []
}
}
},
activated () {
this.queryClick();
this.queryClick()
},
methods: {
/**
......@@ -110,6 +109,15 @@
bsmBdcqz: item.bsmBdcqz
}, '1210px', true)
})
},
/**
* @description: openWorkDialog
* @param {*} item
* @author: renchao
*/
openWorkDialog (item) {
const { href } = this.$router.resolve('/workFrameView?ywh=' + item.ywh + '&type=jdcx')
window.open(href, `urlname${item.ywh}`)
}
}
}
......
......@@ -100,6 +100,7 @@
// onlyShow: true,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
onlyShow: true
}
})
}
......