5c3523b9 by renchao@pashanhoo.com

1

1 parent 520c7ea5
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-01 15:10:55
* @LastEditTime: 2024-02-01 09:18:16
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
......@@ -58,6 +58,18 @@ export function sendBackTask (data) {
})
}
/**
* @description: 再次添加受理单元信息
* @param {*} data
* @author: renchao
*/
export function againAddSldy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/againAddSldy',
method: 'post',
data
})
}
/**
* @description: 获取左侧列表
* @param {*} data
* @author: renchao
......
......@@ -4,11 +4,11 @@
<div class="logo">
<img v-if="logo" :src="logo" class="header-logo">
</div>
<div class="backdrop">
<!-- <div class="backdrop">
<theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" />
</div>
</div> -->
<div class="right-menu">
<svg-icon class="function" icon-class='function' />
<!-- <svg-icon class="function" icon-class='function' /> -->
<div class="avatar-wrapper">
<span style="padding-right:10px">{{ name }}</span>
<img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" />
......@@ -25,7 +25,7 @@
import { mapGetters } from 'vuex'
import NoticeBar from '@/components/NoticeBar/index'
import { getHomeNoticeList } from "@/api/home"
import {setToken} from "@/utils/util";
import { setToken } from "@/utils/util";
export default {
components: {
NoticeBar
......@@ -76,7 +76,7 @@
axios.post(window._config.services.management + "/management/logout").then(() => {
setToken(undefined)
sessionStorage.removeItem('token')
localStorage.setItem('dj-location',window.location.href)
localStorage.setItem('dj-location', window.location.href)
window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href);
})
},
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-28 15:49:38
* @LastEditTime: 2024-02-01 08:53:08
*/
const getters = {
sidebar: state => state.app.sidebar,
......@@ -22,6 +22,8 @@ const getters = {
// workflow
isRefresh: state => state.user.isRefresh,
workFresh: state => state.user.workFresh,
// 左侧菜单刷新
menuRefresh: state => state.user.menuRefresh,
yjsqOptions: state => state.workflow.yjsqOptions,
dqhj: state => state.getdqhj.dqhj
}
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-28 15:45:21
* @LastEditTime: 2024-02-01 08:52:00
*/
import { getUserInfo } from '@/api/user'
const state = {
name: '',
userInfo:{},
userInfo: {},
avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
isRefresh: false,
// 业务流程刷新
workFresh: false
workFresh: false,
// 左侧菜单刷新
menuRefresh: false
}
const mutations = {
SET_NAME: (state, data) => {
......@@ -23,7 +25,10 @@ const mutations = {
},
SETWORKFRESH: (state, data) => {
state.workFresh = data
}
},
SETMENUREFRESH: (state, data) => {
state.menuRefresh = data
},
}
const actions = {
......@@ -39,7 +44,10 @@ const actions = {
},
reWorkFresh ({ commit }, data) {
commit('SETWORKFRESH', data)
}
},
reMenuRefresh ({ commit }, data) {
commit('SETMENUREFRESH', data)
},
}
export default {
namespaced: true,
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 17:10:22
* @LastEditTime: 2024-02-01 09:28:19
-->
<template>
<div class="container">
......@@ -295,7 +295,7 @@
} else {
title = "申请业务:" + data?.djywmc
}
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': data }, "90%", true)
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true)
}
}
}
......
......@@ -62,7 +62,7 @@
}
.home-left {
width: 70%;
width: 100%;
padding-right: 3px;
font-size: 14px;
min-height: 625px;
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-28 09:01:29
* @LastEditTime: 2024-02-01 10:04:32
-->
<template>
<div class="home">
......@@ -28,7 +28,7 @@
<h5 class="title">系统通知</h5>
<el-popover placement="right" width="50" trigger="hover">
<ul class="pointer">
<li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li>
<li @click="handleMore('xxtz')">查看更多</li>
</ul>
<i class="el-icon-s-unfold pointer" slot="reference"></i>
</el-popover>
......@@ -49,7 +49,12 @@
<el-card shadow="hover" class="height100">
<div slot="header" class="flexst">
<h5 class="title">待办事项</h5>
<i class="el-icon-s-unfold pointer"></i>
<el-popover placement="right" width="50" trigger="hover">
<ul class="pointer">
<li @click="handleMore('dbsx')">查看更多</li>
</ul>
<i class="el-icon-s-unfold pointer" slot="reference"></i>
</el-popover>
</div>
<ul>
<li v-for="(item, index) in todoList" :key="index" class="flexst">
......@@ -65,7 +70,7 @@
<h5 class="title">政策法规</h5>
<el-popover placement="right" width="50" trigger="hover">
<ul class="pointer">
<li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li>
<li @click="handleMore('flfg')">查看更多</li>
</ul>
<i class="el-icon-s-unfold pointer" slot="reference"></i>
</el-popover>
......@@ -85,7 +90,7 @@
<div id="mountNode"></div>
</el-card> -->
</div>
<div class="home-right">
<!-- <div class="home-right">
<el-card shadow="hover">
<div slot="header" class="flexst">
<h5 class="title">用户登录时间</h5>
......@@ -104,7 +109,7 @@
</li>
</ul>
</el-card>
</div>
</div> -->
<addDialog ref="addProject" v-model="projectDialog" :bindItem="projectList" />
</div>
</template>
......@@ -186,13 +191,21 @@
},
mounted () {
// this.buildChart();//构建图标
this.loginTimeChart()
// this.loginTimeChart()
this.queryTodoList();//获取待办列表
this.queryDoneList();//获取已办列表
this.queryNoticeList();//获取通知、法律法规列表
this.queryProjectList();//获取常办项目列表
},
methods: {
handleMore (val) {
let obj = {
'xxtz': '/system/xttz',
'dbsx': '/ywbl/dbx',
'flfg': '/system/flfg'
}
this.$router.push(obj[val])
},
/**
* @description: handleProject
* @param {*} item
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2024-01-25 14:21:36
* @LastEditTime: 2024-02-01 09:41:06
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-31 16:59:27
* @LastEditTime: 2024-02-01 09:00:28
-->
<template>
<div class="container">
......@@ -39,8 +39,8 @@
<div class="containerFrame">
<!-- 左侧菜单栏 区分业务-->
<segmentMenu v-if="['A0320099', 'A0330099','A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)"
@getCurrentSelectProps="getCurrentSelectProps" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
@getCurrentSelectProps="getCurrentSelectProps" :key="menuKey" />
<ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" :key="menuKey" />
<div class="leftCon">
<!-- 分屏左侧预览 -->
<div v-if="splitScreen" class="splitScreen-con">
......@@ -107,6 +107,7 @@
</style>
<script>
import printJS from 'print-js'
import store from '@/store/index.js'
import WorkFlow from "./mixin/index";
import publicFlow from "./mixin/public.js";
import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js";
......@@ -131,6 +132,7 @@
mixins: [WorkFlow, publicFlow],
data () {
return {
menuKey: 0,
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
......@@ -162,6 +164,19 @@
shows: false
}
},
computed: {
menuRefresh () {
return store.state.user.menuRefresh
}
},
watch: {
menuRefresh: {
handler (newValue, oldValue) {
this.menuKey++
},
immediate: true
}
},
mounted () {
this.$store.dispatch("user/refreshPage", false);
//添加页面监听事件
......@@ -299,7 +314,7 @@
} else {
title = "申请业务:" + data?.djywmc
}
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': data }, "90%", true)
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true)
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-30 15:03:32
* @LastEditTime: 2024-02-01 09:54:12
-->
<template>
<div class="slxx">
......@@ -14,24 +14,24 @@
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slsq.ywh">
<el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
<el-input disabled v-model="ruleForm.flow.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slsq.slry">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
<el-input disabled v-model="ruleForm.slsq.slry"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slsq.slsj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
<el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx">
<el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
<el-select disabled v-model="ruleForm.sldyList[0].qllx" filterable clearable placeholder="请选择权利类型">
<el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -39,7 +39,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
<el-select disabled v-model="ruleForm.sldyList[0].djlx" filterable clearable placeholder="请选择登记类型">
<el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
......@@ -47,7 +47,7 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slsq.djqx">
<el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:">
<el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
</el-form-item>
</el-col>
......@@ -63,49 +63,49 @@
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:">
<el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="!ableOperation|| isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:">
<el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:">
<el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:">
<el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期"
value-format="yyyy-MM-dd" :disabled="!ableOperation|| isJfOperation"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:">
<el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100"
:disabled="!ableOperation|| isJfOperation" type="date" placeholder="选择日期"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:">
<el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
<el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:">
<el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="附记:">
<el-input v-model="ruleForm.cfdjList[0].fj" :disabled="!ableOperation|| isJfOperation">
</el-input>
</el-form-item>
......@@ -126,17 +126,17 @@
</div>
<el-row :gutter="10">
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:">
<el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="!ableOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:">
<el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="!ableOperation"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
<el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:">
<el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="!ableOperation"></el-input>
</el-form-item>
</el-col>
......@@ -174,9 +174,9 @@
},
isJfOperation: false,
tableData: []
};
}
},
created () {
mounted () {
this.ableOperation = this.$parent.currentSelectTab.ableOperation
this.propsParam = this.$attrs;
var formdata = new FormData();
......@@ -185,6 +185,7 @@
}
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("djlx", this.propsParam.djlx);
formdata.append("isEdit", this.ableOperation);
BatchInit(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.ruleForm = res.result
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 13:40:53
* @LastEditTime: 2024-02-01 09:23:05
-->
<template>
<!-- 抵押权利信息查询 -->
......@@ -79,7 +79,7 @@
import { datas, sendThis } from "../javascript/diyaq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { selectDiyaq } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -131,7 +131,6 @@
* @author: renchao
*/
queryClick () {
console.log("sdfsdf");
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -148,40 +147,65 @@
* @author: renchao
*/
submitFormClick () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true;
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
// djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
// djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
// djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
// djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 17:24:47
* @LastEditTime: 2024-02-01 09:36:41
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -79,7 +79,7 @@
import { ywPopupDialog } from "@/utils/popup.js";
import { datas, sendThis } from "../javascript/selecBdcql.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js";
import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
......@@ -125,69 +125,93 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$alert("请至少选择一条数据");
return;
}
this.loading = true;
if (this.sqywInfo.sqfl == '1') {
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
}).catch(() => {
this.loading = false
that.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
if (that.sqywInfo.sqfl == '1') {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: "发起申请成功",
type: "success",
});
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm);
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
store.dispatch('user/refreshPage', true);
this.$popupCacel()
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
this.loading = false
})
} else {
startTogetherFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
that.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
that.loading = false
})
}
}
},
/**
* @description: handleSelectionChange
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 17:27:24
* @LastEditTime: 2024-02-01 09:22:50
-->
<template>
<!-- 主体权利信息查询 -->
......@@ -71,12 +71,12 @@
import ywsqTable from "@/utils/mixin/ywsqTable";
import jump from "./mixin/jump";
import { selectYgdy } from "@/api/ywsq.js";
import { startBusinessFlow } from "@/api/workFlow.js";
import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
export default {
mixins: [ywsqTable, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => { } },
sqywInfo: { type: Object, default: () => { } }
},
data () {
return {
......@@ -115,38 +115,63 @@
* @author: renchao
*/
submitForm () {
let that = this
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
}).then((res) => {
this.loading = false
if (res.code == 200) {
this.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!this.isJump) {
this.jump(res.result, this.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
if (this.sqywInfo.isworkFrame) {
store.dispatch('user/reMenuRefresh', false)
againAddSldy({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
bsmSlsq: that.sqywInfo.bsmSlsq,
}).then(res => {
that.loading = false
if (res.code == 200) {
if (this.sqywInfo.sqywdylx != "1") {
that.bdcdysz = []
}
store.dispatch('user/reMenuRefresh', true)
that.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
}
this.$popupCacel()
} else {
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
}).catch(() => {
that.loading = false
})
} else {
startBusinessFlow({
bsmSqyw: that.sqywInfo.bsmSqyw,
bdcdysz: that.bdcdysz,
}).then((res) => {
that.loading = false
if (res.code == 200) {
that.$message({
showClose: true,
message: '发起申请成功',
type: 'success'
})
if (!that.isJump) {
that.jump(res.result, that.sqywInfo.djywbm)
} else {
store.dispatch('user/refreshPage', true);
}
that.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
if (res.result && res.result.length > 0) {
ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true)
}
}
}
}).catch(() => {
this.loading = false
})
}).catch(() => {
this.loading = false
})
}
},
/**
* @description: handleSelectionChange
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 13:40:07
* @LastEditTime: 2024-02-01 09:13:58
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -75,7 +75,7 @@ class data extends filter {
},
{
label: "抵押权人",
width: '150',
width: '120',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width">
......@@ -90,12 +90,26 @@ class data extends filter {
minWidth: '150'
},
{
prop: "ywrmc",
label: "抵押人",
width: '120',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.ywrmc}</span>
</el-tooltip>
)
}
},
{
prop: "ywrzjhm",
label: "抵押人证件号",
width: '120',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.ywrzjhm} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.ywrzjhm}</span>
</el-tooltip>
)
}
},
{
prop: "dyje",
......
<!--
* @Description: 选择不动产单元号
* @Autor: renchao
* @LastEditTime: 2023-10-18 14:03:27
* @LastEditTime: 2024-02-01 09:01:30
-->
<template>
<component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false"
......