972837e8 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 1ae926cc 1a0d79a8
Showing 43 changed files with 1089 additions and 366 deletions
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 15:10:55 4 * @LastEditTime: 2024-02-01 09:18:16
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -58,6 +58,18 @@ export function sendBackTask (data) { ...@@ -58,6 +58,18 @@ export function sendBackTask (data) {
58 }) 58 })
59 } 59 }
60 /** 60 /**
61 * @description: 再次添加受理单元信息
62 * @param {*} data
63 * @author: renchao
64 */
65 export function againAddSldy (data) {
66 return request({
67 url: SERVER.SERVERAPI + '/rest/business/workFlow/againAddSldy',
68 method: 'post',
69 data
70 })
71 }
72 /**
61 * @description: 获取左侧列表 73 * @description: 获取左侧列表
62 * @param {*} data 74 * @param {*} data
63 * @author: renchao 75 * @author: renchao
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
4 <div class="logo"> 4 <div class="logo">
5 <img v-if="logo" :src="logo" class="header-logo"> 5 <img v-if="logo" :src="logo" class="header-logo">
6 </div> 6 </div>
7 <div class="backdrop"> 7 <!-- <div class="backdrop">
8 <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> 8 <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" />
9 </div> 9 </div> -->
10 <div class="right-menu"> 10 <div class="right-menu">
11 <svg-icon class="function" icon-class='function' /> 11 <!-- <svg-icon class="function" icon-class='function' /> -->
12 <div class="avatar-wrapper"> 12 <div class="avatar-wrapper">
13 <span style="padding-right:10px">{{ name }}</span> 13 <span style="padding-right:10px">{{ name }}</span>
14 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> 14 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" />
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 import { mapGetters } from 'vuex' 25 import { mapGetters } from 'vuex'
26 import NoticeBar from '@/components/NoticeBar/index' 26 import NoticeBar from '@/components/NoticeBar/index'
27 import { getHomeNoticeList } from "@/api/home" 27 import { getHomeNoticeList } from "@/api/home"
28 import {setToken} from "@/utils/util"; 28 import { setToken } from "@/utils/util";
29 export default { 29 export default {
30 components: { 30 components: {
31 NoticeBar 31 NoticeBar
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
76 axios.post(window._config.services.management + "/management/logout").then(() => { 76 axios.post(window._config.services.management + "/management/logout").then(() => {
77 setToken(undefined) 77 setToken(undefined)
78 sessionStorage.removeItem('token') 78 sessionStorage.removeItem('token')
79 localStorage.setItem('dj-location',window.location.href) 79 localStorage.setItem('dj-location', window.location.href)
80 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); 80 window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href);
81 }) 81 })
82 }, 82 },
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-28 15:49:38 4 * @LastEditTime: 2024-02-01 08:53:08
5 */ 5 */
6 const getters = { 6 const getters = {
7 sidebar: state => state.app.sidebar, 7 sidebar: state => state.app.sidebar,
...@@ -22,6 +22,8 @@ const getters = { ...@@ -22,6 +22,8 @@ const getters = {
22 // workflow 22 // workflow
23 isRefresh: state => state.user.isRefresh, 23 isRefresh: state => state.user.isRefresh,
24 workFresh: state => state.user.workFresh, 24 workFresh: state => state.user.workFresh,
25 // 左侧菜单刷新
26 menuRefresh: state => state.user.menuRefresh,
25 yjsqOptions: state => state.workflow.yjsqOptions, 27 yjsqOptions: state => state.workflow.yjsqOptions,
26 dqhj: state => state.getdqhj.dqhj 28 dqhj: state => state.getdqhj.dqhj
27 } 29 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-28 16:33:19 4 * @LastEditTime: 2024-02-01 16:27:16
5 */ 5 */
6 import { getUserInfo } from '@/api/user' 6 import { getUserInfo } from '@/api/user'
7 const state = { 7 const state = {
8 name: '', 8 name: '',
9 userInfo:{}, 9 userInfo: {},
10 avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', 10 avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
11 isRefresh: false, 11 isRefresh: false,
12 // 业务流程刷新 12 // 业务流程刷新
13 workFresh: false 13 workFresh: false,
14 // 左侧菜单刷新
15 menuRefresh: false
14 } 16 }
15 const mutations = { 17 const mutations = {
16 SET_NAME: (state, data) => { 18 SET_NAME: (state, data) => {
...@@ -23,7 +25,10 @@ const mutations = { ...@@ -23,7 +25,10 @@ const mutations = {
23 }, 25 },
24 SETWORKFRESH: (state, data) => { 26 SETWORKFRESH: (state, data) => {
25 state.workFresh = data 27 state.workFresh = data
26 } 28 },
29 SETMENUREFRESH: (state, data) => {
30 state.menuRefresh = data
31 },
27 } 32 }
28 33
29 const actions = { 34 const actions = {
...@@ -39,7 +44,10 @@ const actions = { ...@@ -39,7 +44,10 @@ const actions = {
39 }, 44 },
40 reWorkFresh ({ commit }, data) { 45 reWorkFresh ({ commit }, data) {
41 commit('SETWORKFRESH', data) 46 commit('SETWORKFRESH', data)
42 } 47 },
48 reMenuRefresh ({ commit }, data) {
49 commit('SETMENUREFRESH', data)
50 },
43 } 51 }
44 export default { 52 export default {
45 namespaced: true, 53 namespaced: true,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 17:10:22 4 * @LastEditTime: 2024-02-01 09:28:19
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
295 } else { 295 } else {
296 title = "申请业务:" + data?.djywmc 296 title = "申请业务:" + data?.djywmc
297 } 297 }
298 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': data }, "90%", true) 298 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true)
299 } 299 }
300 } 300 }
301 } 301 }
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
62 } 62 }
63 63
64 .home-left { 64 .home-left {
65 width: 70%; 65 width: 100%;
66 padding-right: 3px; 66 padding-right: 3px;
67 font-size: 14px; 67 font-size: 14px;
68 min-height: 625px; 68 min-height: 625px;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-12-28 09:01:29 4 * @LastEditTime: 2024-02-01 10:04:32
5 --> 5 -->
6 <template> 6 <template>
7 <div class="home"> 7 <div class="home">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
28 <h5 class="title">系统通知</h5> 28 <h5 class="title">系统通知</h5>
29 <el-popover placement="right" width="50" trigger="hover"> 29 <el-popover placement="right" width="50" trigger="hover">
30 <ul class="pointer"> 30 <ul class="pointer">
31 <li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li> 31 <li @click="handleMore('xxtz')">查看更多</li>
32 </ul> 32 </ul>
33 <i class="el-icon-s-unfold pointer" slot="reference"></i> 33 <i class="el-icon-s-unfold pointer" slot="reference"></i>
34 </el-popover> 34 </el-popover>
...@@ -49,7 +49,12 @@ ...@@ -49,7 +49,12 @@
49 <el-card shadow="hover" class="height100"> 49 <el-card shadow="hover" class="height100">
50 <div slot="header" class="flexst"> 50 <div slot="header" class="flexst">
51 <h5 class="title">待办事项</h5> 51 <h5 class="title">待办事项</h5>
52 <i class="el-icon-s-unfold pointer"></i> 52 <el-popover placement="right" width="50" trigger="hover">
53 <ul class="pointer">
54 <li @click="handleMore('dbsx')">查看更多</li>
55 </ul>
56 <i class="el-icon-s-unfold pointer" slot="reference"></i>
57 </el-popover>
53 </div> 58 </div>
54 <ul> 59 <ul>
55 <li v-for="(item, index) in todoList" :key="index" class="flexst"> 60 <li v-for="(item, index) in todoList" :key="index" class="flexst">
...@@ -65,7 +70,7 @@ ...@@ -65,7 +70,7 @@
65 <h5 class="title">政策法规</h5> 70 <h5 class="title">政策法规</h5>
66 <el-popover placement="right" width="50" trigger="hover"> 71 <el-popover placement="right" width="50" trigger="hover">
67 <ul class="pointer"> 72 <ul class="pointer">
68 <li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li> 73 <li @click="handleMore('flfg')">查看更多</li>
69 </ul> 74 </ul>
70 <i class="el-icon-s-unfold pointer" slot="reference"></i> 75 <i class="el-icon-s-unfold pointer" slot="reference"></i>
71 </el-popover> 76 </el-popover>
...@@ -85,7 +90,7 @@ ...@@ -85,7 +90,7 @@
85 <div id="mountNode"></div> 90 <div id="mountNode"></div>
86 </el-card> --> 91 </el-card> -->
87 </div> 92 </div>
88 <div class="home-right"> 93 <!-- <div class="home-right">
89 <el-card shadow="hover"> 94 <el-card shadow="hover">
90 <div slot="header" class="flexst"> 95 <div slot="header" class="flexst">
91 <h5 class="title">用户登录时间</h5> 96 <h5 class="title">用户登录时间</h5>
...@@ -104,7 +109,7 @@ ...@@ -104,7 +109,7 @@
104 </li> 109 </li>
105 </ul> 110 </ul>
106 </el-card> 111 </el-card>
107 </div> 112 </div> -->
108 <addDialog ref="addProject" v-model="projectDialog" :bindItem="projectList" /> 113 <addDialog ref="addProject" v-model="projectDialog" :bindItem="projectList" />
109 </div> 114 </div>
110 </template> 115 </template>
...@@ -186,13 +191,21 @@ ...@@ -186,13 +191,21 @@
186 }, 191 },
187 mounted () { 192 mounted () {
188 // this.buildChart();//构建图标 193 // this.buildChart();//构建图标
189 this.loginTimeChart() 194 // this.loginTimeChart()
190 this.queryTodoList();//获取待办列表 195 this.queryTodoList();//获取待办列表
191 this.queryDoneList();//获取已办列表 196 this.queryDoneList();//获取已办列表
192 this.queryNoticeList();//获取通知、法律法规列表 197 this.queryNoticeList();//获取通知、法律法规列表
193 this.queryProjectList();//获取常办项目列表 198 this.queryProjectList();//获取常办项目列表
194 }, 199 },
195 methods: { 200 methods: {
201 handleMore (val) {
202 let obj = {
203 'xxtz': '/system/xttz',
204 'dbsx': '/ywbl/dbx',
205 'flfg': '/system/flfg'
206 }
207 this.$router.push(obj[val])
208 },
196 /** 209 /**
197 * @description: handleProject 210 * @description: handleProject
198 * @param {*} item 211 * @param {*} item
......
...@@ -710,10 +710,6 @@ class data extends filter { ...@@ -710,10 +710,6 @@ class data extends filter {
710 label: "在建建筑物坐落", 710 label: "在建建筑物坐落",
711 }, 711 },
712 { 712 {
713 prop: "dyfsmc",
714 label: "抵押方式",
715 },
716 {
717 prop: "qlrmc", 713 prop: "qlrmc",
718 label: "抵押权人", 714 label: "抵押权人",
719 }, 715 },
...@@ -755,6 +751,10 @@ class data extends filter { ...@@ -755,6 +751,10 @@ class data extends filter {
755 label: "抵押面积", 751 label: "抵押面积",
756 }, 752 },
757 { 753 {
754 prop: "dyfsmc",
755 label: "抵押方式",
756 },
757 {
758 prop: "bdbzzqse", 758 prop: "bdbzzqse",
759 label: "被担保主债权数额", 759 label: "被担保主债权数额",
760 }, 760 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 15:49:28 4 * @LastEditTime: 2024-02-01 10:14:28
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -233,7 +233,6 @@ ...@@ -233,7 +233,6 @@
233 } 233 }
234 }) 234 })
235 } 235 }
236 console.log(this.clxxList);
237 }, 236 },
238 /** 237 /**
239 * @description: orderNoChange 238 * @description: orderNoChange
...@@ -369,7 +368,6 @@ ...@@ -369,7 +368,6 @@
369 */ 368 */
370 addDjqx () { 369 addDjqx () {
371 this.form.djqx.push({ 370 this.form.djqx.push({
372 bsmSqyw: getUuid(32),
373 nodecode: "", 371 nodecode: "",
374 nodename: "", 372 nodename: "",
375 enabled: "1", 373 enabled: "1",
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-普通 2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:21:36 4 * @LastEditTime: 2024-02-01 09:41:06
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
81 let that = this; 81 let that = this;
82 switch (item.value) { 82 switch (item.value) {
83 case "B0": 83 case "B0":
84 this.openDialog() 84 this.openDialog(item)
85 break; 85 break;
86 case "B1": 86 case "B1":
87 getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { 87 getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 16:59:27 4 * @LastEditTime: 2024-02-01 14:02:37
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
39 <div class="containerFrame"> 39 <div class="containerFrame">
40 <!-- 左侧菜单栏 区分业务--> 40 <!-- 左侧菜单栏 区分业务-->
41 <segmentMenu v-if="['A0320099', 'A0330099','A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)" 41 <segmentMenu v-if="['A0320099', 'A0330099','A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)"
42 @getCurrentSelectProps="getCurrentSelectProps" /> 42 @getCurrentSelectProps="getCurrentSelectProps" :key="menuKey" />
43 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> 43 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" :key="menuKey" />
44 <div class="leftCon"> 44 <div class="leftCon">
45 <!-- 分屏左侧预览 --> 45 <!-- 分屏左侧预览 -->
46 <div v-if="splitScreen" class="splitScreen-con"> 46 <div v-if="splitScreen" class="splitScreen-con">
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
107 </style> 107 </style>
108 <script> 108 <script>
109 import printJS from 'print-js' 109 import printJS from 'print-js'
110 import store from '@/store/index.js'
110 import WorkFlow from "./mixin/index"; 111 import WorkFlow from "./mixin/index";
111 import publicFlow from "./mixin/public.js"; 112 import publicFlow from "./mixin/public.js";
112 import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js"; 113 import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js";
...@@ -131,6 +132,7 @@ ...@@ -131,6 +132,7 @@
131 mixins: [WorkFlow, publicFlow], 132 mixins: [WorkFlow, publicFlow],
132 data () { 133 data () {
133 return { 134 return {
135 menuKey: 0,
134 //受理申请标识码 136 //受理申请标识码
135 bsmSlsq: this.$route.query.bsmSlsq, 137 bsmSlsq: this.$route.query.bsmSlsq,
136 //当前流程所在环节 138 //当前流程所在环节
...@@ -162,6 +164,19 @@ ...@@ -162,6 +164,19 @@
162 shows: false 164 shows: false
163 } 165 }
164 }, 166 },
167 computed: {
168 menuRefresh () {
169 return store.state.user.menuRefresh
170 }
171 },
172 watch: {
173 menuRefresh: {
174 handler (newValue, oldValue) {
175 this.menuKey++
176 },
177 immediate: true
178 }
179 },
165 mounted () { 180 mounted () {
166 this.$store.dispatch("user/refreshPage", false); 181 this.$store.dispatch("user/refreshPage", false);
167 //添加页面监听事件 182 //添加页面监听事件
...@@ -291,15 +306,8 @@ ...@@ -291,15 +306,8 @@
291 this.ableOperation = this.tabList[a.index].ableOperation; 306 this.ableOperation = this.tabList[a.index].ableOperation;
292 } 307 }
293 }, 308 },
294 openDialog () { 309 openDialog (item) {
295 let data = JSON.parse(localStorage.getItem('ywbl')) 310 this.$popupDialog('添加不动产单元', "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...item, isworkFrame: true } }, "90%", true)
296 let title = ''
297 if (data?.sqywmc) {
298 title = "申请业务:" + data?.sqywmc
299 } else {
300 title = "申请业务:" + data?.djywmc
301 }
302 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': data }, "90%", true)
303 } 311 }
304 } 312 }
305 } 313 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-30 09:01:33 4 * @LastEditTime: 2024-02-01 13:34:04
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -315,8 +315,6 @@ ...@@ -315,8 +315,6 @@
315 ) 315 )
316 window.open(href, `workFrame${item.bsmSlsq}`) 316 window.open(href, `workFrame${item.bsmSlsq}`)
317 } 317 }
318 localStorage.setItem("ywbl", JSON.stringify(item))
319
320 //从待办箱进入的调取任务领取接口 318 //从待办箱进入的调取任务领取接口
321 claimTask(item.bsmSlsq, item.bestepid); 319 claimTask(item.bsmSlsq, item.bestepid);
322 } else { 320 } else {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-30 15:03:32 4 * @LastEditTime: 2024-02-01 16:27:35
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
13 <div class="triangle"></div> 13 <div class="triangle"></div>
14 </div> 14 </div>
15 <el-row :gutter="10"> 15 <el-row :gutter="10">
16 <!-- <el-col :span="8"> 16 <el-col :span="8">
17 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slsq.ywh"> 17 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
18 <el-input disabled v-model="ruleForm.flow.ywh"></el-input> 18 <el-input disabled v-model="ruleForm.flow.ywh"></el-input>
19 </el-form-item> 19 </el-form-item>
20 </el-col> --> 20 </el-col>
21 <el-col :span="8"> 21 <el-col :span="8">
22 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slsq.slry"> 22 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
23 <el-input disabled v-model="ruleForm.slsq.slry"></el-input> 23 <el-input disabled v-model="ruleForm.slsq.slry"></el-input>
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
26 <el-col :span="8"> 26 <el-col :span="8">
27 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slsq.slsj"> 27 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
28 <el-input disabled v-model="ruleForm.slsq.slsj"></el-input> 28 <el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
29 </el-form-item> 29 </el-form-item>
30 </el-col> 30 </el-col>
31 </el-row> 31 </el-row>
32 <el-row :gutter="10"> 32 <el-row :gutter="10">
33 <el-col :span="8"> 33 <el-col :span="8">
34 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx"> 34 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
35 <el-select disabled v-model="ruleForm.sldyList[0].qllx" filterable clearable placeholder="请选择权利类型"> 35 <el-select disabled v-model="ruleForm.sldyList[0].qllx" filterable clearable placeholder="请选择权利类型">
36 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 36 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
37 </el-option> 37 </el-option>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 </el-form-item> 39 </el-form-item>
40 </el-col> 40 </el-col>
41 <el-col :span="8"> 41 <el-col :span="8">
42 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx"> 42 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
43 <el-select disabled v-model="ruleForm.sldyList[0].djlx" filterable clearable placeholder="请选择登记类型"> 43 <el-select disabled v-model="ruleForm.sldyList[0].djlx" filterable clearable placeholder="请选择登记类型">
44 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 44 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
45 </el-option> 45 </el-option>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 </el-form-item> 47 </el-form-item>
48 </el-col> 48 </el-col>
49 <el-col :span="8"> 49 <el-col :span="8">
50 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slsq.djqx"> 50 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:">
51 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input> 51 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
52 </el-form-item> 52 </el-form-item>
53 </el-col> 53 </el-col>
...@@ -63,49 +63,49 @@ ...@@ -63,49 +63,49 @@
63 </div> 63 </div>
64 <el-row :gutter="10"> 64 <el-row :gutter="10">
65 <el-col :span="8"> 65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:">
67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="!ableOperation|| isJfOperation"></el-input> 67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="!ableOperation|| isJfOperation"></el-input>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 <el-col :span="8"> 70 <el-col :span="8">
71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:">
72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input> 72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 <el-col :span="8"> 75 <el-col :span="8">
76 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 76 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:">
77 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input> 77 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input>
78 </el-form-item> 78 </el-form-item>
79 </el-col> 79 </el-col>
80 </el-row> 80 </el-row>
81 <el-row :gutter="10"> 81 <el-row :gutter="10">
82 <el-col :span="8"> 82 <el-col :span="8">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 83 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:">
84 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期" 84 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期"
85 value-format="yyyy-MM-dd" :disabled="!ableOperation|| isJfOperation"></el-date-picker> 85 value-format="yyyy-MM-dd" :disabled="!ableOperation|| isJfOperation"></el-date-picker>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
88 <el-col :span="8"> 88 <el-col :span="8">
89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:">
90 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100" 90 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100"
91 :disabled="!ableOperation|| isJfOperation" type="date" placeholder="选择日期" 91 :disabled="!ableOperation|| isJfOperation" type="date" placeholder="选择日期"
92 value-format="yyyy-MM-dd"></el-date-picker> 92 value-format="yyyy-MM-dd"></el-date-picker>
93 </el-form-item> 93 </el-form-item>
94 </el-col> 94 </el-col>
95 <el-col :span="8"> 95 <el-col :span="8">
96 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 96 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:">
97 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input> 97 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input>
98 </el-form-item> 98 </el-form-item>
99 </el-col> 99 </el-col>
100 </el-row> 100 </el-row>
101 <el-row :gutter="10"> 101 <el-row :gutter="10">
102 <el-col :span="8"> 102 <el-col :span="8">
103 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 103 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:">
104 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input> 104 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input>
105 </el-form-item> 105 </el-form-item>
106 </el-col> 106 </el-col>
107 <el-col :span="16"> 107 <el-col :span="16">
108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 108 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:">
109 <el-input v-model="ruleForm.cfdjList[0].fj" :disabled="!ableOperation|| isJfOperation"> 109 <el-input v-model="ruleForm.cfdjList[0].fj" :disabled="!ableOperation|| isJfOperation">
110 </el-input> 110 </el-input>
111 </el-form-item> 111 </el-form-item>
...@@ -126,17 +126,17 @@ ...@@ -126,17 +126,17 @@
126 </div> 126 </div>
127 <el-row :gutter="10"> 127 <el-row :gutter="10">
128 <el-col :span="8"> 128 <el-col :span="8">
129 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 129 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:">
130 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="!ableOperation"></el-input> 130 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="!ableOperation"></el-input>
131 </el-form-item> 131 </el-form-item>
132 </el-col> 132 </el-col>
133 <el-col :span="8"> 133 <el-col :span="8">
134 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 134 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:">
135 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="!ableOperation"></el-input> 135 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="!ableOperation"></el-input>
136 </el-form-item> 136 </el-form-item>
137 </el-col> 137 </el-col>
138 <el-col :span="8"> 138 <el-col :span="8">
139 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 139 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:">
140 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="!ableOperation"></el-input> 140 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="!ableOperation"></el-input>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
...@@ -174,10 +174,9 @@ ...@@ -174,10 +174,9 @@
174 }, 174 },
175 isJfOperation: false, 175 isJfOperation: false,
176 tableData: [] 176 tableData: []
177 }; 177 }
178 }, 178 },
179 created () { 179 mounted () {
180 console.log("批量查封登记材料信息");
181 this.ableOperation = this.$parent.currentSelectTab.ableOperation 180 this.ableOperation = this.$parent.currentSelectTab.ableOperation
182 this.propsParam = this.$attrs; 181 this.propsParam = this.$attrs;
183 var formdata = new FormData(); 182 var formdata = new FormData();
...@@ -186,6 +185,7 @@ ...@@ -186,6 +185,7 @@
186 } 185 }
187 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 186 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
188 formdata.append("djlx", this.propsParam.djlx); 187 formdata.append("djlx", this.propsParam.djlx);
188 formdata.append("isEdit", this.ableOperation);
189 BatchInit(formdata).then((res) => { 189 BatchInit(formdata).then((res) => {
190 if (res.code === 200 && res.result) { 190 if (res.code === 200 && res.result) {
191 this.ruleForm = res.result 191 this.ruleForm = res.result
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
89 import { datas, sendThis } from "../javascript/cfdj.js"; 89 import { datas, sendThis } from "../javascript/cfdj.js";
90 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 90 import { defaultParameters } from "../javascript/publicDefaultPar.js";
91 import { selectCfdj } from "@/api/ywsq.js"; 91 import { selectCfdj } from "@/api/ywsq.js";
92 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 92 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
93 export default { 93 export default {
94 props: { 94 props: {
95 isJump: { type: Boolean, default: false }, 95 isJump: { type: Boolean, default: false },
...@@ -155,29 +155,54 @@ ...@@ -155,29 +155,54 @@
155 * @author: renchao 155 * @author: renchao
156 */ 156 */
157 submitForm () { 157 submitForm () {
158 let that = this
158 if (this.bdcdysz.length == 0) { 159 if (this.bdcdysz.length == 0) {
159 this.$message.error("请至少选择一条数据"); 160 this.$message.error("请至少选择一条数据");
160 return; 161 return;
161 } 162 }
162 if (!this.isJump) {
163 this.loading = true 163 this.loading = true
164 if (this.sqywInfo.isworkFrame) {
165 store.dispatch('user/reMenuRefresh', false)
166 againAddSldy({
167 bsmSqyw: that.sqywInfo.bsmSqyw,
168 bdcdysz: that.bdcdysz,
169 bsmSlsq: that.sqywInfo.bsmSlsq,
170 }).then(res => {
171 that.loading = false
172 if (res.code == 200) {
173 if (this.sqywInfo.sqywdylx != "1") {
174 that.bdcdysz = []
175 that.$refs.table.clearSelection()
176 }
177 store.dispatch('user/reMenuRefresh', true)
178 that.$message({
179 showClose: true,
180 message: '添加成功',
181 type: 'success'
182 })
183 }
184 }).catch(() => {
185 that.loading = false
186 })
187 } else {
188 if (!that.isJump) {
164 startBusinessFlow({ 189 startBusinessFlow({
165 bsmSqyw: this.sqywInfo.bsmSqyw, 190 bsmSqyw: that.sqywInfo.bsmSqyw,
166 bdcdysz: this.bdcdysz, 191 bdcdysz: that.bdcdysz,
167 }).then((res) => { 192 }).then((res) => {
168 this.loading = false 193 that.loading = false
169 if (res.code == 200) { 194 if (res.code == 200) {
170 this.$message({ 195 that.$message({
171 showClose: true, 196 showClose: true,
172 message: "发起申请成功", 197 message: "发起申请成功",
173 type: "success", 198 type: "success",
174 }); 199 });
175 if (!this.isJump) { 200 if (!that.isJump) {
176 this.jump(res.result, this.sqywInfo.djywbm); 201 that.jump(res.result, that.sqywInfo.djywbm);
177 } else { 202 } else {
178 store.dispatch('user/refreshPage', true); 203 store.dispatch('user/refreshPage', true);
179 } 204 }
180 this.$popupCacel() 205 that.$popupCacel()
181 206
182 } else { 207 } else {
183 if (res.result && res.result.length > 0) { 208 if (res.result && res.result.length > 0) {
...@@ -187,30 +212,30 @@ ...@@ -187,30 +212,30 @@
187 } 212 }
188 } 213 }
189 }).catch(() => { 214 }).catch(() => {
190 this.loading = false 215 that.loading = false
191 }) 216 })
192 } else { 217 } else {
193 this.loading = true
194 choiceBdcdy({ 218 choiceBdcdy({
195 bsmSlsq: this.$route.query.bsmSlsq, 219 bsmSlsq: that.$route.query.bsmSlsq,
196 bdcdysz: this.bdcdysz, 220 bdcdysz: that.bdcdysz,
197 }).then((res) => { 221 }).then((res) => {
198 this.loading = false 222 that.loading = false
199 if (res.code == 200) { 223 if (res.code == 200) {
200 this.$message({ 224 that.$message({
201 showClose: true, 225 showClose: true,
202 message: "发起申请成功", 226 message: "发起申请成功",
203 type: "success", 227 type: "success",
204 }); 228 });
205 store.dispatch("user/refreshPage", true); 229 store.dispatch("user/refreshPage", true);
206 } else { 230 } else {
207 this.$message.error(res.message); 231 that.$message.error(res.message);
208 } 232 }
209 this.$popupCacel(); 233 that.$popupCacel();
210 }).catch(() => { 234 }).catch(() => {
211 this.loading = false 235 that.loading = false
212 }) 236 })
213 } 237 }
238 }
214 }, 239 },
215 /** 240 /**
216 * @description: handleSelectionChange 241 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-19 13:40:53 4 * @LastEditTime: 2024-02-01 14:05:06
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 抵押权利信息查询 --> 7 <!-- 抵押权利信息查询 -->
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
79 import { datas, sendThis } from "../javascript/diyaq.js"; 79 import { datas, sendThis } from "../javascript/diyaq.js";
80 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 80 import { defaultParameters } from "../javascript/publicDefaultPar.js";
81 import { selectDiyaq } from "@/api/ywsq.js"; 81 import { selectDiyaq } from "@/api/ywsq.js";
82 import { startBusinessFlow } from "@/api/workFlow.js"; 82 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
83 export default { 83 export default {
84 mixins: [ywsqTable, jump], 84 mixins: [ywsqTable, jump],
85 props: { 85 props: {
...@@ -131,7 +131,6 @@ ...@@ -131,7 +131,6 @@
131 * @author: renchao 131 * @author: renchao
132 */ 132 */
133 queryClick () { 133 queryClick () {
134 console.log("sdfsdf");
135 this.$startLoading(); 134 this.$startLoading();
136 this.queryForm.sqywbm = this.sqywInfo.djywbm; 135 this.queryForm.sqywbm = this.sqywInfo.djywbm;
137 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { 136 selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -148,11 +147,36 @@ ...@@ -148,11 +147,36 @@
148 * @author: renchao 147 * @author: renchao
149 */ 148 */
150 submitFormClick () { 149 submitFormClick () {
150 let that = this
151 if (this.bdcdysz.length == 0) { 151 if (this.bdcdysz.length == 0) {
152 this.$message.error("请至少选择一条数据"); 152 this.$message.error("请至少选择一条数据");
153 return; 153 return;
154 } 154 }
155 this.loading = true; 155 this.loading = true;
156 if (this.sqywInfo.isworkFrame) {
157 store.dispatch('user/reMenuRefresh', false)
158 againAddSldy({
159 bsmSqyw: that.sqywInfo.bsmSqyw,
160 bdcdysz: that.bdcdysz,
161 bsmSlsq: that.sqywInfo.bsmSlsq,
162 }).then(res => {
163 that.loading = false
164 if (res.code == 200) {
165 if (this.sqywInfo.sqywdylx != "1") {
166 that.bdcdysz = []
167 that.$refs.table.clearSelection()
168 }
169 store.dispatch('user/reMenuRefresh', true)
170 that.$message({
171 showClose: true,
172 message: '添加成功',
173 type: 'success'
174 })
175 }
176 }).catch(() => {
177 that.loading = false
178 })
179 } else {
156 startBusinessFlow({ 180 startBusinessFlow({
157 bsmSqyw: this.sqywInfo.bsmSqyw, 181 bsmSqyw: this.sqywInfo.bsmSqyw,
158 bdcdysz: this.bdcdysz, 182 bdcdysz: this.bdcdysz,
...@@ -161,17 +185,17 @@ ...@@ -161,17 +185,17 @@
161 }).then((res) => { 185 }).then((res) => {
162 this.loading = false 186 this.loading = false
163 if (res.code == 200) { 187 if (res.code == 200) {
164 this.$message({ 188 that.$message({
165 showClose: true, 189 showClose: true,
166 message: "发起申请成功", 190 message: "发起申请成功",
167 type: "success", 191 type: "success",
168 }); 192 });
169 if (!this.isJump) { 193 if (!that.isJump) {
170 this.jump(res.result, this.sqywInfo.djywbm); 194 that.jump(res.result, that.sqywInfo.djywbm);
171 } else { 195 } else {
172 store.dispatch('user/refreshPage', true); 196 store.dispatch('user/refreshPage', true);
173 } 197 }
174 this.$popupCacel() 198 that.$popupCacel()
175 } else { 199 } else {
176 if (res.result && res.result.length > 0) { 200 if (res.result && res.result.length > 0) {
177 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 201 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -182,6 +206,7 @@ ...@@ -182,6 +206,7 @@
182 }).catch(() => { 206 }).catch(() => {
183 this.loading = false 207 this.loading = false
184 }) 208 })
209 }
185 }, 210 },
186 /** 211 /**
187 * @description: handleSelectionChange 212 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:59:59 4 * @LastEditTime: 2024-02-01 14:53:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 import { datas, sendThis } from "../javascript/fwsyq.js"; 145 import { datas, sendThis } from "../javascript/fwsyq.js";
146 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 146 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
147 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 147 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
148 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 148 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
149 export default { 149 export default {
150 mixins: [ywsqTable, jump], 150 mixins: [ywsqTable, jump],
151 props: { 151 props: {
...@@ -294,31 +294,56 @@ ...@@ -294,31 +294,56 @@
294 * @author: renchao 294 * @author: renchao
295 */ 295 */
296 submitForm () { 296 submitForm () {
297 let that = this
297 if (this.bdcdysz.length == 0) { 298 if (this.bdcdysz.length == 0) {
298 this.$message.error("请至少选择一条数据"); 299 this.$message.error("请至少选择一条数据");
299 return; 300 return;
300 } 301 }
301 if (!this.isJump) {
302 this.loading = true 302 this.loading = true
303 if (this.sqywInfo.isworkFrame) {
304 store.dispatch('user/reMenuRefresh', false)
305 againAddSldy({
306 bsmSqyw: that.sqywInfo.bsmSqyw,
307 bdcdysz: that.bdcdysz,
308 bsmSlsq: that.sqywInfo.bsmSlsq,
309 }).then(res => {
310 that.loading = false
311 if (res.code == 200) {
312 if (this.sqywInfo.sqywdylx != "1") {
313 that.bdcdysz = []
314 that.$refs.table.clearSelection()
315 }
316 store.dispatch('user/reMenuRefresh', true)
317 that.$message({
318 showClose: true,
319 message: '添加成功',
320 type: 'success'
321 })
322 }
323 }).catch(() => {
324 that.loading = false
325 })
326 } else {
327 if (!that.isJump) {
303 startBusinessFlow({ 328 startBusinessFlow({
304 bsmSqyw: this.sqywInfo.bsmSqyw, 329 bsmSqyw: that.sqywInfo.bsmSqyw,
305 //sjlx: 'zrz', 330 //sjlx: 'zrz',
306 sjlx: this.activeName, 331 sjlx: that.activeName,
307 bdcdysz: this.bdcdysz, 332 bdcdysz: that.bdcdysz,
308 }).then((res) => { 333 }).then((res) => {
309 this.loading = false 334 that.loading = false
310 if (res.code == 200) { 335 if (res.code == 200) {
311 this.$message({ 336 that.$message({
312 showClose: true, 337 showClose: true,
313 message: '发起申请成功', 338 message: '发起申请成功',
314 type: 'success' 339 type: 'success'
315 }) 340 })
316 if (!this.isJump) { 341 if (!that.isJump) {
317 this.jump(res.result, this.sqywInfo.djywbm); 342 that.jump(res.result, that.sqywInfo.djywbm);
318 } else { 343 } else {
319 store.dispatch('user/refreshPage', true); 344 store.dispatch('user/refreshPage', true);
320 } 345 }
321 this.$popupCacel() 346 that.$popupCacel()
322 } else { 347 } else {
323 if (res.result && res.result.length > 0) { 348 if (res.result && res.result.length > 0) {
324 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 349 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -327,23 +352,22 @@ ...@@ -327,23 +352,22 @@
327 } 352 }
328 } 353 }
329 }).catch(() => { 354 }).catch(() => {
330 this.loading = false 355 that.loading = false
331 }) 356 })
332 } else { 357 } else {
333 this.loading = true
334 choiceBdcdy({ 358 choiceBdcdy({
335 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 359 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
336 bdcdysz: this.bdcdysz 360 bdcdysz: that.bdcdysz
337 }).then(res => { 361 }).then(res => {
338 this.loading = false 362 that.loading = false
339 if (res.code == 200) { 363 if (res.code == 200) {
340 this.$message({ 364 that.$message({
341 showClose: true, 365 showClose: true,
342 message: '发起申请成功', 366 message: '发起申请成功',
343 type: 'success' 367 type: 'success'
344 }) 368 })
345 store.dispatch('user/refreshPage', true); 369 store.dispatch('user/refreshPage', true);
346 this.$popupCacel() 370 that.$popupCacel()
347 } else { 371 } else {
348 if (res.result && res.result.length > 0) { 372 if (res.result && res.result.length > 0) {
349 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 373 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -352,9 +376,10 @@ ...@@ -352,9 +376,10 @@
352 } 376 }
353 } 377 }
354 }).catch(() => { 378 }).catch(() => {
355 this.loading = false 379 that.loading = false
356 }) 380 })
357 } 381 }
382 }
358 }, 383 },
359 /** 384 /**
360 * @description: handleSelectionChange 385 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:59:36 4 * @LastEditTime: 2024-02-01 14:56:54
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 import { datas, sendThis } from "../javascript/fwsyq.js"; 133 import { datas, sendThis } from "../javascript/fwsyq.js";
134 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 134 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
136 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 136 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
137 export default { 137 export default {
138 mixins: [ywsqTable, jump], 138 mixins: [ywsqTable, jump],
139 props: { 139 props: {
...@@ -264,31 +264,56 @@ ...@@ -264,31 +264,56 @@
264 * @author: renchao 264 * @author: renchao
265 */ 265 */
266 submitForm () { 266 submitForm () {
267 let that = this
267 if (this.bdcdysz.length == 0) { 268 if (this.bdcdysz.length == 0) {
268 this.$message.error("请至少选择一条数据"); 269 this.$message.error("请至少选择一条数据");
269 return; 270 return;
270 } 271 }
271 if (!this.isJump) {
272 this.loading = true 272 this.loading = true
273 if (this.sqywInfo.isworkFrame) {
274 store.dispatch('user/reMenuRefresh', false)
275 againAddSldy({
276 bsmSqyw: that.sqywInfo.bsmSqyw,
277 bdcdysz: that.bdcdysz,
278 bsmSlsq: that.sqywInfo.bsmSlsq,
279 }).then(res => {
280 that.loading = false
281 if (res.code == 200) {
282 if (this.sqywInfo.sqywdylx != "1") {
283 that.bdcdysz = []
284 that.$refs.table.clearSelection()
285 }
286 store.dispatch('user/reMenuRefresh', true)
287 that.$message({
288 showClose: true,
289 message: '添加成功',
290 type: 'success'
291 })
292 }
293 }).catch(() => {
294 that.loading = false
295 })
296 } else {
297 if (!that.isJump) {
273 startBusinessFlow({ 298 startBusinessFlow({
274 bsmSqyw: this.sqywInfo.bsmSqyw, 299 bsmSqyw: that.sqywInfo.bsmSqyw,
275 //sjlx: 'zrz', 300 //sjlx: 'zrz',
276 sjlx: this.activeName, 301 sjlx: that.activeName,
277 bdcdysz: this.bdcdysz, 302 bdcdysz: that.bdcdysz,
278 }).then((res) => { 303 }).then((res) => {
279 this.loading = false 304 that.loading = false
280 if (res.code == 200) { 305 if (res.code == 200) {
281 this.$message({ 306 that.$message({
282 showClose: true, 307 showClose: true,
283 message: '发起申请成功', 308 message: '发起申请成功',
284 type: 'success' 309 type: 'success'
285 }) 310 })
286 if (!this.isJump) { 311 if (!that.isJump) {
287 this.jump(res.result, this.sqywInfo.djywbm); 312 that.jump(res.result, that.sqywInfo.djywbm);
288 } else { 313 } else {
289 store.dispatch('user/refreshPage', true); 314 store.dispatch('user/refreshPage', true);
290 } 315 }
291 this.$popupCacel() 316 that.$popupCacel()
292 } else { 317 } else {
293 if (res.result && res.result.length > 0) { 318 if (res.result && res.result.length > 0) {
294 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -297,23 +322,22 @@ ...@@ -297,23 +322,22 @@
297 } 322 }
298 } 323 }
299 }).catch(() => { 324 }).catch(() => {
300 this.loading = false 325 that.loading = false
301 }) 326 })
302 } else { 327 } else {
303 this.loading = true
304 choiceBdcdy({ 328 choiceBdcdy({
305 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 329 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
306 bdcdysz: this.bdcdysz 330 bdcdysz: that.bdcdysz
307 }).then(res => { 331 }).then(res => {
308 this.loading = false 332 that.loading = false
309 if (res.code == 200) { 333 if (res.code == 200) {
310 this.$message({ 334 that.$message({
311 showClose: true, 335 showClose: true,
312 message: '发起申请成功', 336 message: '发起申请成功',
313 type: 'success' 337 type: 'success'
314 }) 338 })
315 store.dispatch('user/refreshPage', true); 339 store.dispatch('user/refreshPage', true);
316 this.$popupCacel() 340 that.$popupCacel()
317 } else { 341 } else {
318 if (res.result && res.result.length > 0) { 342 if (res.result && res.result.length > 0) {
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 343 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -322,9 +346,10 @@ ...@@ -322,9 +346,10 @@
322 } 346 }
323 } 347 }
324 }).catch(() => { 348 }).catch(() => {
325 this.loading = false 349 that.loading = false
326 }) 350 })
327 } 351 }
352 }
328 }, 353 },
329 /** 354 /**
330 * @description: handleSelectionChange 355 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-22 16:30:18 4 * @LastEditTime: 2024-02-01 14:58:30
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/nydsyq100.js"; 65 import { datas, sendThis } from "../javascript/nydsyq100.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectZdjbxx } from "@/api/ywsq.js"; 67 import { selectZdjbxx } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -132,28 +132,53 @@ ...@@ -132,28 +132,53 @@
132 * @author: renchao 132 * @author: renchao
133 */ 133 */
134 submitForm () { 134 submitForm () {
135 let that = this
135 if (this.bdcdysz.length == 0) { 136 if (this.bdcdysz.length == 0) {
136 this.$message.error("请至少选择一条数据"); 137 this.$message.error("请至少选择一条数据");
137 return; 138 return;
138 } 139 }
139 this.loading = true 140 this.loading = true
141 if (this.sqywInfo.isworkFrame) {
142 store.dispatch('user/reMenuRefresh', false)
143 againAddSldy({
144 bsmSqyw: that.sqywInfo.bsmSqyw,
145 bdcdysz: that.bdcdysz,
146 bsmSlsq: that.sqywInfo.bsmSlsq,
147 }).then(res => {
148 that.loading = false
149 if (res.code == 200) {
150 if (this.sqywInfo.sqywdylx != "1") {
151 that.bdcdysz = []
152 that.$refs.table.clearSelection()
153 }
154 store.dispatch('user/reMenuRefresh', true)
155 that.$message({
156 showClose: true,
157 message: '添加成功',
158 type: 'success'
159 })
160 }
161 }).catch(() => {
162 that.loading = false
163 })
164 } else {
140 startBusinessFlow({ 165 startBusinessFlow({
141 bsmSqyw: this.sqywInfo.bsmSqyw, 166 bsmSqyw: that.sqywInfo.bsmSqyw,
142 bdcdysz: this.bdcdysz, 167 bdcdysz: that.bdcdysz,
143 }).then((res) => { 168 }).then((res) => {
144 this.loading = false 169 that.loading = false
145 if (res.code == 200) { 170 if (res.code == 200) {
146 this.$message({ 171 that.$message({
147 showClose: true, 172 showClose: true,
148 message: '发起申请成功', 173 message: '发起申请成功',
149 type: 'success' 174 type: 'success'
150 }) 175 })
151 if (!this.isJump) { 176 if (!that.isJump) {
152 this.jump(res.result, this.djywbm) 177 that.jump(res.result, that.djywbm)
153 } else { 178 } else {
154 store.dispatch('user/refreshPage', true); 179 store.dispatch('user/refreshPage', true);
155 } 180 }
156 this.$popupCacel() 181 that.$popupCacel()
157 } else { 182 } else {
158 if (res.result && res.result.length > 0) { 183 if (res.result && res.result.length > 0) {
159 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 184 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -162,8 +187,9 @@ ...@@ -162,8 +187,9 @@
162 } 187 }
163 } 188 }
164 }).catch(() => { 189 }).catch(() => {
165 this.loading = false 190 that.loading = false
166 }) 191 })
192 }
167 }, 193 },
168 /** 194 /**
169 * @description: handleSelectionChange 195 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 15:15:58 4 * @LastEditTime: 2024-02-01 15:01:22
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 53 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
54 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 54 import { defaultParameters } from "../javascript/publicDefaultPar.js";
55 import { selectNydsyqQlxx } from "@/api/ywsq.js"; 55 import { selectNydsyqQlxx } from "@/api/ywsq.js";
56 import { startBusinessFlow } from "@/api/workFlow.js"; 56 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
57 export default { 57 export default {
58 mixins: [ywsqTable, jump], 58 mixins: [ywsqTable, jump],
59 props: { 59 props: {
...@@ -121,28 +121,53 @@ ...@@ -121,28 +121,53 @@
121 * @author: renchao 121 * @author: renchao
122 */ 122 */
123 submitForm () { 123 submitForm () {
124 let that = this
124 if (this.bdcdysz.length == 0) { 125 if (this.bdcdysz.length == 0) {
125 this.$message.error("请至少选择一条数据"); 126 this.$message.error("请至少选择一条数据");
126 return; 127 return;
127 } 128 }
128 this.loading = true 129 this.loading = true
130 if (this.sqywInfo.isworkFrame) {
131 store.dispatch('user/reMenuRefresh', false)
132 againAddSldy({
133 bsmSqyw: that.sqywInfo.bsmSqyw,
134 bdcdysz: that.bdcdysz,
135 bsmSlsq: that.sqywInfo.bsmSlsq,
136 }).then(res => {
137 that.loading = false
138 if (res.code == 200) {
139 if (this.sqywInfo.sqywdylx != "1") {
140 that.bdcdysz = []
141 that.$refs.table.clearSelection()
142 }
143 store.dispatch('user/reMenuRefresh', true)
144 that.$message({
145 showClose: true,
146 message: '添加成功',
147 type: 'success'
148 })
149 }
150 }).catch(() => {
151 that.loading = false
152 })
153 } else {
129 startBusinessFlow({ 154 startBusinessFlow({
130 bsmSqyw: this.sqywInfo.bsmSqyw, 155 bsmSqyw: that.sqywInfo.bsmSqyw,
131 bdcdysz: this.bdcdysz, 156 bdcdysz: that.bdcdysz,
132 }).then((res) => { 157 }).then((res) => {
133 this.loading = false 158 that.loading = false
134 if (res.code == 200) { 159 if (res.code == 200) {
135 this.$message({ 160 that.$message({
136 showClose: true, 161 showClose: true,
137 message: '发起申请成功', 162 message: '发起申请成功',
138 type: 'success' 163 type: 'success'
139 }) 164 })
140 if (!this.isJump) { 165 if (!that.isJump) {
141 this.jump(res.result) 166 that.jump(res.result)
142 } else { 167 } else {
143 store.dispatch('user/refreshPage', true); 168 store.dispatch('user/refreshPage', true);
144 } 169 }
145 this.$popupCacel() 170 that.$popupCacel()
146 } else { 171 } else {
147 if (res.result && res.result.length > 0) { 172 if (res.result && res.result.length > 0) {
148 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 173 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -153,6 +178,7 @@ ...@@ -153,6 +178,7 @@
153 }).catch(() => { 178 }).catch(() => {
154 this.loading = false 179 this.loading = false
155 }) 180 })
181 }
156 }, 182 },
157 /** 183 /**
158 * @description: handleSelectionChange 184 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-18 08:21:51 4 * @LastEditTime: 2024-02-01 14:49:27
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
79 import { ywPopupDialog } from "@/utils/popup.js"; 79 import { ywPopupDialog } from "@/utils/popup.js";
80 import { datas, sendThis } from "../javascript/selecBdcql.js"; 80 import { datas, sendThis } from "../javascript/selecBdcql.js";
81 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 81 import { defaultParameters } from "../javascript/publicDefaultPar.js";
82 import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js"; 82 import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
83 export default { 83 export default {
84 mixins: [ywsqTable, jump], 84 mixins: [ywsqTable, jump],
85 props: { 85 props: {
...@@ -125,29 +125,54 @@ ...@@ -125,29 +125,54 @@
125 * @author: renchao 125 * @author: renchao
126 */ 126 */
127 submitForm () { 127 submitForm () {
128 let that = this
128 if (this.bdcdysz.length == 0) { 129 if (this.bdcdysz.length == 0) {
129 this.$alert("请至少选择一条数据"); 130 this.$alert("请至少选择一条数据");
130 return; 131 return;
131 } 132 }
132 this.loading = true; 133 this.loading = true;
133 if (this.sqywInfo.sqfl == '1') { 134 if (this.sqywInfo.isworkFrame) {
135 store.dispatch('user/reMenuRefresh', false)
136 againAddSldy({
137 bsmSqyw: that.sqywInfo.bsmSqyw,
138 bdcdysz: that.bdcdysz,
139 bsmSlsq: that.sqywInfo.bsmSlsq,
140 }).then(res => {
141 that.loading = false
142 if (res.code == 200) {
143 if (this.sqywInfo.sqywdylx != "1") {
144 that.bdcdysz = []
145 that.$refs.table.clearSelection()
146 }
147 store.dispatch('user/reMenuRefresh', true)
148 that.$message({
149 showClose: true,
150 message: '添加成功',
151 type: 'success'
152 })
153 }
154 }).catch(() => {
155 that.loading = false
156 })
157 } else {
158 if (that.sqywInfo.sqfl == '1') {
134 startBusinessFlow({ 159 startBusinessFlow({
135 bsmSqyw: this.sqywInfo.bsmSqyw, 160 bsmSqyw: that.sqywInfo.bsmSqyw,
136 bdcdysz: this.bdcdysz, 161 bdcdysz: that.bdcdysz,
137 }).then((res) => { 162 }).then((res) => {
138 this.loading = false 163 that.loading = false
139 if (res.code == 200) { 164 if (res.code == 200) {
140 this.$message({ 165 that.$message({
141 showClose: true, 166 showClose: true,
142 message: "发起申请成功", 167 message: "发起申请成功",
143 type: "success", 168 type: "success",
144 }); 169 });
145 if (!this.isJump) { 170 if (!that.isJump) {
146 this.jump(res.result, this.sqywInfo.djywbm); 171 that.jump(res.result, that.sqywInfo.djywbm);
147 } else { 172 } else {
148 store.dispatch('user/refreshPage', true); 173 store.dispatch('user/refreshPage', true);
149 } 174 }
150 this.$popupCacel() 175 that.$popupCacel()
151 } else { 176 } else {
152 if (res.result && res.result.length > 0) { 177 if (res.result && res.result.length > 0) {
153 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 178 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -160,21 +185,21 @@ ...@@ -160,21 +185,21 @@
160 }) 185 })
161 } else { 186 } else {
162 startTogetherFlow({ 187 startTogetherFlow({
163 bsmSqyw: this.sqywInfo.bsmSqyw, 188 bsmSqyw: that.sqywInfo.bsmSqyw,
164 bdcdysz: this.bdcdysz, 189 bdcdysz: that.bdcdysz,
165 }).then((res) => { 190 }).then((res) => {
166 this.loading = false 191 that.loading = false
167 if (res.code == 200) { 192 if (res.code == 200) {
168 this.$message({ 193 that.$message({
169 showClose: true, 194 showClose: true,
170 message: '发起申请成功', 195 message: '发起申请成功',
171 type: 'success' 196 type: 'success'
172 }) 197 })
173 if (!this.isJump) { 198 if (!that.isJump) {
174 this.jump(res.result, this.sqywInfo.djywbm) 199 that.jump(res.result, that.sqywInfo.djywbm)
175 } else { 200 } else {
176 store.dispatch('user/refreshPage', true); 201 store.dispatch('user/refreshPage', true);
177 this.$popupCacel() 202 that.$popupCacel()
178 } 203 }
179 } else { 204 } else {
180 if (res.result && res.result.length > 0) { 205 if (res.result && res.result.length > 0) {
...@@ -184,10 +209,10 @@ ...@@ -184,10 +209,10 @@
184 } 209 }
185 } 210 }
186 }).catch(() => { 211 }).catch(() => {
187 this.loading = false 212 that.loading = false
188 }) 213 })
189 } 214 }
190 215 }
191 }, 216 },
192 /** 217 /**
193 * @description: handleSelectionChange 218 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 14:09:32 4 * @LastEditTime: 2024-02-01 15:53:22
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 import store from '@/store/index.js' 60 import store from '@/store/index.js'
61 import ywsqTable from "@/utils/mixin/ywsqTable"; 61 import ywsqTable from "@/utils/mixin/ywsqTable";
62 import { ywPopupDialog } from "@/utils/popup.js"; 62 import { ywPopupDialog } from "@/utils/popup.js";
63 import { startRepairFlow } from "@/api/workFlow.js"; 63 import { startRepairFlow, againAddSldy } from "@/api/workFlow.js";
64 import { datas, sendThis } from "../javascript/selectDjbbl.js"; 64 import { datas, sendThis } from "../javascript/selectDjbbl.js";
65 import { selectRepairQlxx } from "@/api/ywsq.js"; 65 import { selectRepairQlxx } from "@/api/ywsq.js";
66 import jump from "../components/mixin/djbbljump"; 66 import jump from "../components/mixin/djbbljump";
...@@ -146,11 +146,36 @@ ...@@ -146,11 +146,36 @@
146 * @author: renchao 146 * @author: renchao
147 */ 147 */
148 submitForm () { 148 submitForm () {
149 let that = this
149 if (this.bdcdysz.length == 0) { 150 if (this.bdcdysz.length == 0) {
150 this.$message.error("请至少选择一条数据"); 151 this.$message.error("请至少选择一条数据");
151 return; 152 return;
152 } 153 }
153 this.loading = true 154 this.loading = true
155 if (this.sqywInfo.isworkFrame) {
156 store.dispatch('user/reMenuRefresh', false)
157 againAddSldy({
158 bsmSqyw: that.sqywInfo.bsmSqyw,
159 bdcdysz: that.bdcdysz,
160 bsmSlsq: that.sqywInfo.bsmSlsq,
161 }).then(res => {
162 that.loading = false
163 if (res.code == 200) {
164 if (this.sqywInfo.sqywdylx != "1") {
165 that.bdcdysz = []
166 that.$refs.table.clearSelection()
167 }
168 store.dispatch('user/reMenuRefresh', true)
169 that.$message({
170 showClose: true,
171 message: '添加成功',
172 type: 'success'
173 })
174 }
175 }).catch(() => {
176 that.loading = false
177 })
178 } else {
154 let from = { 179 let from = {
155 bsmSqyw: this.bsmSqyw, 180 bsmSqyw: this.bsmSqyw,
156 bdcdysz: this.bdcdysz, 181 bdcdysz: this.bdcdysz,
...@@ -158,19 +183,19 @@ ...@@ -158,19 +183,19 @@
158 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", 183 djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "",
159 } 184 }
160 startRepairFlow(from).then((res) => { 185 startRepairFlow(from).then((res) => {
161 this.loading = false 186 that.loading = false
162 if (res.code == 200) { 187 if (res.code == 200) {
163 this.$message({ 188 that.$message({
164 showClose: true, 189 showClose: true,
165 message: '发起申请成功', 190 message: '发起申请成功',
166 type: 'success' 191 type: 'success'
167 }) 192 })
168 if (!this.isJump) { 193 if (!that.isJump) {
169 this.jump(res.result) 194 that.jump(res.result)
170 } else { 195 } else {
171 store.dispatch('user/refreshPage', true); 196 store.dispatch('user/refreshPage', true);
172 } 197 }
173 this.$popupCacel() 198 that.$popupCacel()
174 } else { 199 } else {
175 if (res.result && res.result.length > 0) { 200 if (res.result && res.result.length > 0) {
176 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 201 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -179,8 +204,10 @@ ...@@ -179,8 +204,10 @@
179 } 204 }
180 } 205 }
181 }).catch(() => { 206 }).catch(() => {
182 this.loading = false 207 that.loading = false
183 }) 208 })
209 }
210
184 }, 211 },
185 /** 212 /**
186 * @description: handleSelectionChange 213 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 15:37:02 4 * @LastEditTime: 2024-02-01 15:57:34
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { datas, sendThis } from "../javascript/selectFwsyq.js"; 71 import { datas, sendThis } from "../javascript/selectFwsyq.js";
72 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 72 import { defaultParameters } from "../javascript/publicDefaultPar.js";
73 import { selectFwsyq } from "@/api/ywsq.js"; 73 import { selectFwsyq } from "@/api/ywsq.js";
74 import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,29 +138,54 @@ ...@@ -138,29 +138,54 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true; 146 this.loading = true;
147 if (this.sqywInfo.isworkFrame) {
148 store.dispatch('user/reMenuRefresh', false)
149 againAddSldy({
150 bsmSqyw: that.sqywInfo.bsmSqyw,
151 bdcdysz: that.bdcdysz,
152 bsmSlsq: that.sqywInfo.bsmSlsq,
153 }).then(res => {
154 that.loading = false
155 if (res.code == 200) {
156 if (this.sqywInfo.sqywdylx != "1") {
157 that.bdcdysz = []
158 that.$refs.table.clearSelection()
159 }
160 store.dispatch('user/reMenuRefresh', true)
161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
166 }
167 }).catch(() => {
168 that.loading = false
169 })
170 } else {
146 if (this.sqywInfo.sqfl == '1') { 171 if (this.sqywInfo.sqfl == '1') {
147 startBusinessFlow({ 172 startBusinessFlow({
148 bsmSqyw: this.sqywInfo.bsmSqyw, 173 bsmSqyw: that.sqywInfo.bsmSqyw,
149 bdcdysz: this.bdcdysz, 174 bdcdysz: that.bdcdysz,
150 }).then((res) => { 175 }).then((res) => {
151 this.loading = false 176 that.loading = false
152 if (res.code == 200) { 177 if (res.code == 200) {
153 this.$message({ 178 that.$message({
154 showClose: true, 179 showClose: true,
155 message: "发起申请成功", 180 message: "发起申请成功",
156 type: "success", 181 type: "success",
157 }); 182 });
158 if (!this.isJump) { 183 if (!that.isJump) {
159 this.jump(res.result, this.sqywInfo.djywbm); 184 that.jump(res.result, that.sqywInfo.djywbm);
160 } else { 185 } else {
161 store.dispatch('user/refreshPage', true); 186 store.dispatch('user/refreshPage', true);
162 } 187 }
163 this.$popupCacel() 188 that.$popupCacel()
164 } else { 189 } else {
165 if (res.result && res.result.length > 0) { 190 if (res.result && res.result.length > 0) {
166 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 191 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -169,25 +194,25 @@ ...@@ -169,25 +194,25 @@
169 } 194 }
170 } 195 }
171 }).catch(() => { 196 }).catch(() => {
172 this.loading = false 197 that.loading = false
173 }) 198 })
174 } else { 199 } else {
175 startTogetherFlow({ 200 startTogetherFlow({
176 bsmSqyw: this.sqywInfo.bsmSqyw, 201 bsmSqyw: that.sqywInfo.bsmSqyw,
177 bdcdysz: this.bdcdysz, 202 bdcdysz: that.bdcdysz,
178 }).then((res) => { 203 }).then((res) => {
179 this.loading = false 204 that.loading = false
180 if (res.code == 200) { 205 if (res.code == 200) {
181 this.$message({ 206 that.$message({
182 showClose: true, 207 showClose: true,
183 message: '发起申请成功', 208 message: '发起申请成功',
184 type: 'success' 209 type: 'success'
185 }) 210 })
186 if (!this.isJump) { 211 if (!that.isJump) {
187 this.jump(res.result, this.sqywInfo.djywbm) 212 that.jump(res.result, that.sqywInfo.djywbm)
188 } else { 213 } else {
189 store.dispatch('user/refreshPage', true); 214 store.dispatch('user/refreshPage', true);
190 this.$popupCacel() 215 that.$popupCacel()
191 } 216 }
192 } else { 217 } else {
193 if (res.result && res.result.length > 0) { 218 if (res.result && res.result.length > 0) {
...@@ -197,10 +222,10 @@ ...@@ -197,10 +222,10 @@
197 } 222 }
198 } 223 }
199 }).catch(() => { 224 }).catch(() => {
200 this.loading = false 225 that.loading = false
201 }) 226 })
202 } 227 }
203 228 }
204 }, 229 },
205 /** 230 /**
206 * @description: handleSelectionChange 231 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 16:16:15 4 * @LastEditTime: 2024-02-01 16:00:47
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { datas, sendThis } from "../javascript/selectH.js"; 71 import { datas, sendThis } from "../javascript/selectH.js";
72 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 72 import { defaultParameters } from "../javascript/publicDefaultPar.js";
73 import { selectHQjdc } from "@/api/ywsq.js"; 73 import { selectHQjdc } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,28 +138,53 @@ ...@@ -138,28 +138,53 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
147 if (this.sqywInfo.isworkFrame) {
148 store.dispatch('user/reMenuRefresh', false)
149 againAddSldy({
150 bsmSqyw: that.sqywInfo.bsmSqyw,
151 bdcdysz: that.bdcdysz,
152 bsmSlsq: that.sqywInfo.bsmSlsq,
153 }).then(res => {
154 that.loading = false
155 if (res.code == 200) {
156 if (this.sqywInfo.sqywdylx != "1") {
157 that.bdcdysz = []
158 that.$refs.table.clearSelection()
159 }
160 store.dispatch('user/reMenuRefresh', true)
161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
166 }
167 }).catch(() => {
168 that.loading = false
169 })
170 } else {
146 startBusinessFlow({ 171 startBusinessFlow({
147 bsmSqyw: this.sqywInfo.bsmSqyw, 172 bsmSqyw: that.sqywInfo.bsmSqyw,
148 bdcdysz: this.bdcdysz, 173 bdcdysz: that.bdcdysz,
149 }).then((res) => { 174 }).then((res) => {
150 this.loading = false 175 that.loading = false
151 if (res.code == 200) { 176 if (res.code == 200) {
152 this.$message({ 177 that.$message({
153 showClose: true, 178 showClose: true,
154 message: '发起申请成功', 179 message: '发起申请成功',
155 type: 'success' 180 type: 'success'
156 }) 181 })
157 if (!this.isJump) { 182 if (!that.isJump) {
158 this.jump(res.result, this.sqywInfo.djywbm) 183 that.jump(res.result, that.sqywInfo.djywbm)
159 } else { 184 } else {
160 store.dispatch('user/refreshPage', true); 185 store.dispatch('user/refreshPage', true);
161 } 186 }
162 this.$popupCacel() 187 that.$popupCacel()
163 } else { 188 } else {
164 if (res.result && res.result.length > 0) { 189 if (res.result && res.result.length > 0) {
165 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 190 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -168,8 +193,9 @@ ...@@ -168,8 +193,9 @@
168 } 193 }
169 } 194 }
170 }).catch(() => { 195 }).catch(() => {
171 this.loading = false 196 that.loading = false
172 }) 197 })
198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:47:01 4 * @LastEditTime: 2024-02-01 16:02:00
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
73 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 73 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 import { selectJsydQlxx } from "@/api/ywsq.js"; 75 import { selectJsydQlxx } from "@/api/ywsq.js";
76 import { startBusinessFlow } from "@/api/workFlow.js"; 76 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
77 export default { 77 export default {
78 mixins: [ywsqTable, jump], 78 mixins: [ywsqTable, jump],
79 props: { 79 props: {
...@@ -140,28 +140,53 @@ ...@@ -140,28 +140,53 @@
140 * @author: renchao 140 * @author: renchao
141 */ 141 */
142 submitForm () { 142 submitForm () {
143 let that = this
143 if (this.bdcdysz.length == 0) { 144 if (this.bdcdysz.length == 0) {
144 this.$message.error("请至少选择一条数据"); 145 this.$message.error("请至少选择一条数据");
145 return; 146 return;
146 } 147 }
147 this.loading = true 148 this.loading = true
149 if (this.sqywInfo.isworkFrame) {
150 store.dispatch('user/reMenuRefresh', false)
151 againAddSldy({
152 bsmSqyw: that.sqywInfo.bsmSqyw,
153 bdcdysz: that.bdcdysz,
154 bsmSlsq: that.sqywInfo.bsmSlsq,
155 }).then(res => {
156 that.loading = false
157 if (res.code == 200) {
158 if (this.sqywInfo.sqywdylx != "1") {
159 that.bdcdysz = []
160 that.$refs.table.clearSelection()
161 }
162 store.dispatch('user/reMenuRefresh', true)
163 that.$message({
164 showClose: true,
165 message: '添加成功',
166 type: 'success'
167 })
168 }
169 }).catch(() => {
170 that.loading = false
171 })
172 } else {
148 startBusinessFlow({ 173 startBusinessFlow({
149 bsmSqyw: this.sqywInfo.bsmSqyw, 174 bsmSqyw: that.sqywInfo.bsmSqyw,
150 bdcdysz: this.bdcdysz, 175 bdcdysz: that.bdcdysz,
151 }).then((res) => { 176 }).then((res) => {
152 this.loading = false 177 that.loading = false
153 if (res.code == 200) { 178 if (res.code == 200) {
154 this.$message({ 179 that.$message({
155 showClose: true, 180 showClose: true,
156 message: "发起申请成功", 181 message: "发起申请成功",
157 type: "success", 182 type: "success",
158 }); 183 });
159 if (!this.isJump) { 184 if (!that.isJump) {
160 this.jump(res.result, this.sqywInfo.djywbm); 185 that.jump(res.result, that.sqywInfo.djywbm);
161 } else { 186 } else {
162 store.dispatch('user/refreshPage', true); 187 store.dispatch('user/refreshPage', true);
163 } 188 }
164 this.$popupCacel() 189 that.$popupCacel()
165 } else { 190 } else {
166 if (res.result && res.result.length > 0) { 191 if (res.result && res.result.length > 0) {
167 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 192 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -172,6 +197,7 @@ ...@@ -172,6 +197,7 @@
172 }).catch(() => { 197 }).catch(() => {
173 this.loading = false 198 this.loading = false
174 }) 199 })
200 }
175 }, 201 },
176 /** 202 /**
177 * @description: handleSelectionChange 203 * @description: handleSelectionChange
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 import ywsqTable from "@/utils/mixin/ywsqTable"; 57 import ywsqTable from "@/utils/mixin/ywsqTable";
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectQjlqxxQt.js"; 61 import { datas, sendThis } from "../javascript/selectQjlqxxQt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
...@@ -104,28 +104,53 @@ ...@@ -104,28 +104,53 @@
104 * @author: renchao 104 * @author: renchao
105 */ 105 */
106 submitForm () { 106 submitForm () {
107 let that = this
107 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
108 this.$alert("请至少选择一条数据"); 109 this.$alert("请至少选择一条数据");
109 return; 110 return;
110 } 111 }
111 this.loading = true 112 this.loading = true
113 if (this.sqywInfo.isworkFrame) {
114 store.dispatch('user/reMenuRefresh', false)
115 againAddSldy({
116 bsmSqyw: that.sqywInfo.bsmSqyw,
117 bdcdysz: that.bdcdysz,
118 bsmSlsq: that.sqywInfo.bsmSlsq,
119 }).then(res => {
120 that.loading = false
121 if (res.code == 200) {
122 if (this.sqywInfo.sqywdylx != "1") {
123 that.bdcdysz = []
124 that.$refs.table.clearSelection()
125 }
126 store.dispatch('user/reMenuRefresh', true)
127 that.$message({
128 showClose: true,
129 message: '添加成功',
130 type: 'success'
131 })
132 }
133 }).catch(() => {
134 that.loading = false
135 })
136 } else {
112 startBusinessFlow({ 137 startBusinessFlow({
113 bsmSqyw: this.sqywInfo.bsmSqyw, 138 bsmSqyw: that.sqywInfo.bsmSqyw,
114 bdcdysz: this.bdcdysz, 139 bdcdysz: that.bdcdysz,
115 }).then((res) => { 140 }).then((res) => {
116 this.loading = false 141 that.loading = false
117 if (res.code == 200) { 142 if (res.code == 200) {
118 this.$message({ 143 that.$message({
119 showClose: true, 144 showClose: true,
120 message: "发起申请成功", 145 message: "发起申请成功",
121 type: "success", 146 type: "success",
122 }); 147 });
123 if (!this.isJump) { 148 if (!that.isJump) {
124 this.jump(res.result, this.djywbm); 149 that.jump(res.result, that.djywbm);
125 } else { 150 } else {
126 store.dispatch('user/refreshPage', true); 151 store.dispatch('user/refreshPage', true);
127 } 152 }
128 this.$popupCacel() 153 that.$popupCacel()
129 } else { 154 } else {
130 if (res.result && res.result.length > 0) { 155 if (res.result && res.result.length > 0) {
131 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 156 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -134,8 +159,9 @@ ...@@ -134,8 +159,9 @@
134 } 159 }
135 } 160 }
136 }).catch(() => { 161 }).catch(() => {
137 this.loading = false 162 that.loading = false
138 }) 163 })
164 }
139 }, 165 },
140 /** 166 /**
141 * @description: handleSelectionChange 167 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 15:15:55 4 * @LastEditTime: 2024-02-01 16:28:03
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 import ywsqTable from "@/utils/mixin/ywsqTable"; 69 import ywsqTable from "@/utils/mixin/ywsqTable";
70 import { ywPopupDialog } from "@/utils/popup.js"; 70 import { ywPopupDialog } from "@/utils/popup.js";
71 import { selectZdjbxx } from "@/api/ywsq.js"; 71 import { selectZdjbxx } from "@/api/ywsq.js";
72 import { startBusinessFlow } from "@/api/workFlow.js"; 72 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 export default { 75 export default {
...@@ -139,28 +139,53 @@ ...@@ -139,28 +139,53 @@
139 * @author: renchao 139 * @author: renchao
140 */ 140 */
141 submitForm () { 141 submitForm () {
142 let that = this
142 if (this.bdcdysz.length == 0) { 143 if (this.bdcdysz.length == 0) {
143 this.$alert("请至少选择一条数据"); 144 this.$alert("请至少选择一条数据");
144 return; 145 return;
145 } 146 }
146 this.loading = true 147 this.loading = true
148 if (this.sqywInfo.isworkFrame) {
149 store.dispatch('user/reMenuRefresh', false)
150 againAddSldy({
151 bsmSqyw: that.sqywInfo.bsmSqyw,
152 bdcdysz: that.bdcdysz,
153 bsmSlsq: that.sqywInfo.bsmSlsq,
154 }).then(res => {
155 that.loading = false
156 if (res.code == 200) {
157 if (this.sqywInfo.sqywdylx != "1") {
158 that.bdcdysz = []
159 that.$refs.table.clearSelection()
160 }
161 store.dispatch('user/reMenuRefresh', true)
162 that.$message({
163 showClose: true,
164 message: '添加成功',
165 type: 'success'
166 })
167 }
168 }).catch(() => {
169 that.loading = false
170 })
171 } else {
147 startBusinessFlow({ 172 startBusinessFlow({
148 bsmSqyw: this.sqywInfo.bsmSqyw, 173 bsmSqyw: that.sqywInfo.bsmSqyw,
149 bdcdysz: this.bdcdysz, 174 bdcdysz: that.bdcdysz,
150 }).then((res) => { 175 }).then((res) => {
151 this.loading = false 176 that.loading = false
152 if (res.code == 200) { 177 if (res.code == 200) {
153 this.$message({ 178 that.$message({
154 showClose: true, 179 showClose: true,
155 message: "发起申请成功", 180 message: "发起申请成功",
156 type: "success", 181 type: "success",
157 }); 182 });
158 if (!this.isJump) { 183 if (!that.isJump) {
159 this.jump(res.result, this.djywbm); 184 that.jump(res.result, that.djywbm);
160 } else { 185 } else {
161 store.dispatch('user/refreshPage', true); 186 store.dispatch('user/refreshPage', true);
162 } 187 }
163 this.$popupCacel() 188 that.$popupCacel()
164 } else { 189 } else {
165 if (res.result && res.result.length > 0) { 190 if (res.result && res.result.length > 0) {
166 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 191 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -171,6 +196,7 @@ ...@@ -171,6 +196,7 @@
171 }).catch(() => { 196 }).catch(() => {
172 this.loading = false 197 this.loading = false
173 }) 198 })
199 }
174 }, 200 },
175 /** 201 /**
176 * @description: handleSelectionChange 202 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:45:25 4 * @LastEditTime: 2024-02-01 16:05:52
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import ywsqTable from "@/utils/mixin/ywsqTable"; 71 import ywsqTable from "@/utils/mixin/ywsqTable";
72 import { ywPopupDialog } from "@/utils/popup.js"; 72 import { ywPopupDialog } from "@/utils/popup.js";
73 import { selectZdjbxx } from "@/api/ywsq.js"; 73 import { selectZdjbxx } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 75 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
76 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 76 import { defaultParameters } from "../javascript/publicDefaultPar.js";
77 export default { 77 export default {
...@@ -141,28 +141,53 @@ ...@@ -141,28 +141,53 @@
141 * @author: renchao 141 * @author: renchao
142 */ 142 */
143 submitForm () { 143 submitForm () {
144 let that = this
144 if (this.bdcdysz.length == 0) { 145 if (this.bdcdysz.length == 0) {
145 this.$alert("请至少选择一条数据"); 146 this.$alert("请至少选择一条数据");
146 return; 147 return;
147 } 148 }
148 this.loading = true 149 this.loading = true
150 if (this.sqywInfo.isworkFrame) {
151 store.dispatch('user/reMenuRefresh', false)
152 againAddSldy({
153 bsmSqyw: that.sqywInfo.bsmSqyw,
154 bdcdysz: that.bdcdysz,
155 bsmSlsq: that.sqywInfo.bsmSlsq,
156 }).then(res => {
157 that.loading = false
158 if (res.code == 200) {
159 if (this.sqywInfo.sqywdylx != "1") {
160 that.bdcdysz = []
161 that.$refs.table.clearSelection()
162 }
163 store.dispatch('user/reMenuRefresh', true)
164 that.$message({
165 showClose: true,
166 message: '添加成功',
167 type: 'success'
168 })
169 }
170 }).catch(() => {
171 that.loading = false
172 })
173 } else {
149 startBusinessFlow({ 174 startBusinessFlow({
150 bsmSqyw: this.sqywInfo.bsmSqyw, 175 bsmSqyw: that.sqywInfo.bsmSqyw,
151 bdcdysz: this.bdcdysz, 176 bdcdysz: that.bdcdysz,
152 }).then((res) => { 177 }).then((res) => {
153 this.loading = false 178 that.loading = false
154 if (res.code == 200) { 179 if (res.code == 200) {
155 this.$message({ 180 that.$message({
156 showClose: true, 181 showClose: true,
157 message: "发起申请成功", 182 message: "发起申请成功",
158 type: "success", 183 type: "success",
159 }); 184 });
160 if (!this.isJump) { 185 if (!that.isJump) {
161 this.jump(res.result, this.djywbm); 186 that.jump(res.result, that.djywbm);
162 } else { 187 } else {
163 store.dispatch('user/refreshPage', true); 188 store.dispatch('user/refreshPage', true);
164 } 189 }
165 this.$popupCacel() 190 that.$popupCacel()
166 } else { 191 } else {
167 if (res.result && res.result.length > 0) { 192 if (res.result && res.result.length > 0) {
168 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 193 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -173,6 +198,7 @@ ...@@ -173,6 +198,7 @@
173 }).catch(() => { 198 }).catch(() => {
174 this.loading = false 199 this.loading = false
175 }) 200 })
201 }
176 }, 202 },
177 /** 203 /**
178 * @description: handleSelectionChange 204 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 13:10:53 4 * @LastEditTime: 2024-02-01 16:08:02
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 import ywsqTable from "@/utils/mixin/ywsqTable"; 57 import ywsqTable from "@/utils/mixin/ywsqTable";
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectSllmqt.js"; 61 import { datas, sendThis } from "../javascript/selectSllmqt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
...@@ -104,28 +104,53 @@ ...@@ -104,28 +104,53 @@
104 * @author: renchao 104 * @author: renchao
105 */ 105 */
106 submitForm () { 106 submitForm () {
107 let that = this
107 if (this.bdcdysz.length == 0) { 108 if (this.bdcdysz.length == 0) {
108 this.$alert("请至少选择一条数据"); 109 this.$alert("请至少选择一条数据");
109 return; 110 return;
110 } 111 }
111 this.loading = true 112 this.loading = true
113 if (this.sqywInfo.isworkFrame) {
114 store.dispatch('user/reMenuRefresh', false)
115 againAddSldy({
116 bsmSqyw: that.sqywInfo.bsmSqyw,
117 bdcdysz: that.bdcdysz,
118 bsmSlsq: that.sqywInfo.bsmSlsq,
119 }).then(res => {
120 that.loading = false
121 if (res.code == 200) {
122 if (this.sqywInfo.sqywdylx != "1") {
123 that.bdcdysz = []
124 that.$refs.table.clearSelection()
125 }
126 store.dispatch('user/reMenuRefresh', true)
127 that.$message({
128 showClose: true,
129 message: '添加成功',
130 type: 'success'
131 })
132 }
133 }).catch(() => {
134 that.loading = false
135 })
136 } else {
112 startBusinessFlow({ 137 startBusinessFlow({
113 bsmSqyw: this.sqywInfo.bsmSqyw, 138 bsmSqyw: that.sqywInfo.bsmSqyw,
114 bdcdysz: this.bdcdysz, 139 bdcdysz: that.bdcdysz,
115 }).then((res) => { 140 }).then((res) => {
116 this.loading = false 141 that.loading = false
117 if (res.code == 200) { 142 if (res.code == 200) {
118 this.$message({ 143 that.$message({
119 showClose: true, 144 showClose: true,
120 message: "发起申请成功", 145 message: "发起申请成功",
121 type: "success", 146 type: "success",
122 }); 147 });
123 if (!this.isJump) { 148 if (!that.isJump) {
124 this.jump(res.result, this.djywbm); 149 that.jump(res.result, that.djywbm);
125 } else { 150 } else {
126 store.dispatch('user/refreshPage', true); 151 store.dispatch('user/refreshPage', true);
127 } 152 }
128 this.$popupCacel() 153 that.$popupCacel()
129 } else { 154 } else {
130 if (res.result && res.result.length > 0) { 155 if (res.result && res.result.length > 0) {
131 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 156 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -136,6 +161,7 @@ ...@@ -136,6 +161,7 @@
136 }).catch(() => { 161 }).catch(() => {
137 this.loading = false 162 this.loading = false
138 }) 163 })
164 }
139 }, 165 },
140 /** 166 /**
141 * @description: handleSelectionChange 167 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:45:28 4 * @LastEditTime: 2024-02-01 16:10:05
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 import ywsqTable from "@/utils/mixin/ywsqTable"; 69 import ywsqTable from "@/utils/mixin/ywsqTable";
70 import { ywPopupDialog } from "@/utils/popup.js"; 70 import { ywPopupDialog } from "@/utils/popup.js";
71 import { selectLqQjdc } from "@/api/ywsq.js"; 71 import { selectLqQjdc } from "@/api/ywsq.js";
72 import { startBusinessFlow } from "@/api/workFlow.js"; 72 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 73 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js";
74 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 74 import { defaultParameters } from "../javascript/publicDefaultPar.js";
75 export default { 75 export default {
...@@ -138,28 +138,53 @@ ...@@ -138,28 +138,53 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$alert("请至少选择一条数据"); 143 this.$alert("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
147 if (this.sqywInfo.isworkFrame) {
148 store.dispatch('user/reMenuRefresh', false)
149 againAddSldy({
150 bsmSqyw: that.sqywInfo.bsmSqyw,
151 bdcdysz: that.bdcdysz,
152 bsmSlsq: that.sqywInfo.bsmSlsq,
153 }).then(res => {
154 that.loading = false
155 if (res.code == 200) {
156 if (this.sqywInfo.sqywdylx != "1") {
157 that.bdcdysz = []
158 that.$refs.table.clearSelection()
159 }
160 store.dispatch('user/reMenuRefresh', true)
161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
166 }
167 }).catch(() => {
168 that.loading = false
169 })
170 } else {
146 startBusinessFlow({ 171 startBusinessFlow({
147 bsmSqyw: this.sqywInfo.bsmSqyw, 172 bsmSqyw: that.sqywInfo.bsmSqyw,
148 bdcdysz: this.bdcdysz, 173 bdcdysz: that.bdcdysz,
149 }).then((res) => { 174 }).then((res) => {
150 this.loading = false 175 that.loading = false
151 if (res.code == 200) { 176 if (res.code == 200) {
152 this.$message({ 177 that.$message({
153 showClose: true, 178 showClose: true,
154 message: "发起申请成功", 179 message: "发起申请成功",
155 type: "success", 180 type: "success",
156 }); 181 });
157 if (!this.isJump) { 182 if (!that.isJump) {
158 this.jump(res.result, this.djywbm); 183 that.jump(res.result, that.djywbm);
159 } else { 184 } else {
160 store.dispatch('user/refreshPage', true); 185 store.dispatch('user/refreshPage', true);
161 } 186 }
162 this.$popupCacel() 187 that.$popupCacel()
163 } else { 188 } else {
164 if (res.result && res.result.length > 0) { 189 if (res.result && res.result.length > 0) {
165 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 190 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -170,6 +195,7 @@ ...@@ -170,6 +195,7 @@
170 }).catch(() => { 195 }).catch(() => {
171 this.loading = false 196 this.loading = false
172 }) 197 })
198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 14:17:21 4 * @LastEditTime: 2024-02-01 16:11:09
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 import { datas, sendThis } from "../javascript/selectTdsyq.js"; 74 import { datas, sendThis } from "../javascript/selectTdsyq.js";
75 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 75 import { defaultParameters } from "../javascript/publicDefaultPar.js";
76 import { selectTdsyqQlxx } from "@/api/ywsq.js"; 76 import { selectTdsyqQlxx } from "@/api/ywsq.js";
77 import { startBusinessFlow } from "@/api/workFlow.js"; 77 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
78 export default { 78 export default {
79 mixins: [ywsqTable, jump], 79 mixins: [ywsqTable, jump],
80 props: { 80 props: {
...@@ -118,28 +118,53 @@ ...@@ -118,28 +118,53 @@
118 * @author: renchao 118 * @author: renchao
119 */ 119 */
120 submitForm () { 120 submitForm () {
121 let that = this
121 if (this.bdcdysz.length == 0) { 122 if (this.bdcdysz.length == 0) {
122 this.$message.error("请至少选择一条数据"); 123 this.$message.error("请至少选择一条数据");
123 return; 124 return;
124 } 125 }
125 this.loading = true 126 this.loading = true
127 if (this.sqywInfo.isworkFrame) {
128 store.dispatch('user/reMenuRefresh', false)
129 againAddSldy({
130 bsmSqyw: that.sqywInfo.bsmSqyw,
131 bdcdysz: that.bdcdysz,
132 bsmSlsq: that.sqywInfo.bsmSlsq,
133 }).then(res => {
134 that.loading = false
135 if (res.code == 200) {
136 if (this.sqywInfo.sqywdylx != "1") {
137 that.bdcdysz = []
138 that.$refs.table.clearSelection()
139 }
140 store.dispatch('user/reMenuRefresh', true)
141 that.$message({
142 showClose: true,
143 message: '添加成功',
144 type: 'success'
145 })
146 }
147 }).catch(() => {
148 that.loading = false
149 })
150 } else {
126 startBusinessFlow({ 151 startBusinessFlow({
127 bsmSqyw: this.sqywInfo.bsmSqyw, 152 bsmSqyw: that.sqywInfo.bsmSqyw,
128 bdcdysz: this.bdcdysz, 153 bdcdysz: that.bdcdysz,
129 }).then((res) => { 154 }).then((res) => {
130 this.loading = false 155 that.loading = false
131 if (res.code == 200) { 156 if (res.code == 200) {
132 this.$message({ 157 that.$message({
133 showClose: true, 158 showClose: true,
134 message: "发起申请成功", 159 message: "发起申请成功",
135 type: "success", 160 type: "success",
136 }); 161 });
137 if (!this.isJump) { 162 if (!that.isJump) {
138 this.jump(res.result, this.sqywInfo.djywbm); 163 that.jump(res.result, that.sqywInfo.djywbm);
139 } else { 164 } else {
140 store.dispatch('user/refreshPage', true); 165 store.dispatch('user/refreshPage', true);
141 } 166 }
142 this.$popupCacel() 167 that.$popupCacel()
143 } else { 168 } else {
144 if (res.result && res.result.length > 0) { 169 if (res.result && res.result.length > 0) {
145 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 170 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -150,6 +175,7 @@ ...@@ -150,6 +175,7 @@
150 }).catch(() => { 175 }).catch(() => {
151 this.loading = false 176 this.loading = false
152 }) 177 })
178 }
153 }, 179 },
154 /** 180 /**
155 * @description: handleSelectionChange 181 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-31 09:37:23 4 * @LastEditTime: 2024-02-01 16:13:02
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import ywsqTable from "@/utils/mixin/ywsqTable"; 58 import ywsqTable from "@/utils/mixin/ywsqTable";
59 import jump from "./mixin/jump"; 59 import jump from "./mixin/jump";
60 import { selectYgdj200 } from "@/api/ywsq.js"; 60 import { selectYgdj200 } from "@/api/ywsq.js";
61 import { startTogetherFlow } from "@/api/workFlow.js"; 61 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -102,27 +102,52 @@ ...@@ -102,27 +102,52 @@
102 * @author: renchao 102 * @author: renchao
103 */ 103 */
104 submitForm () { 104 submitForm () {
105 let that = this
105 if (this.bdcdysz.length == 0) { 106 if (this.bdcdysz.length == 0) {
106 this.$message.error("请至少选择一条数据"); 107 this.$message.error("请至少选择一条数据");
107 return; 108 return;
108 } 109 }
109 this.loading = true 110 this.loading = true
111 if (this.sqywInfo.isworkFrame) {
112 store.dispatch('user/reMenuRefresh', false)
113 againAddSldy({
114 bsmSqyw: that.sqywInfo.bsmSqyw,
115 bdcdysz: that.bdcdysz,
116 bsmSlsq: that.sqywInfo.bsmSlsq,
117 }).then(res => {
118 that.loading = false
119 if (res.code == 200) {
120 if (this.sqywInfo.sqywdylx != "1") {
121 that.bdcdysz = []
122 that.$refs.table.clearSelection()
123 }
124 store.dispatch('user/reMenuRefresh', true)
125 that.$message({
126 showClose: true,
127 message: '添加成功',
128 type: 'success'
129 })
130 }
131 }).catch(() => {
132 that.loading = false
133 })
134 } else {
110 startTogetherFlow({ 135 startTogetherFlow({
111 bsmSqyw: this.sqywInfo.bsmSqyw, 136 bsmSqyw: that.sqywInfo.bsmSqyw,
112 bdcdysz: this.bdcdysz, 137 bdcdysz: that.bdcdysz,
113 }).then((res) => { 138 }).then((res) => {
114 this.loading = false 139 that.loading = false
115 if (res.code == 200) { 140 if (res.code == 200) {
116 this.$message({ 141 that.$message({
117 showClose: true, 142 showClose: true,
118 message: '发起申请成功', 143 message: '发起申请成功',
119 type: 'success' 144 type: 'success'
120 }) 145 })
121 if (!this.isJump) { 146 if (!that.isJump) {
122 this.jump(res.result, this.sqywInfo.djywbm) 147 that.jump(res.result, that.sqywInfo.djywbm)
123 } else { 148 } else {
124 store.dispatch('user/refreshPage', true); 149 store.dispatch('user/refreshPage', true);
125 this.$popupCacel() 150 that.$popupCacel()
126 } 151 }
127 } else { 152 } else {
128 if (res.result && res.result.length > 0) { 153 if (res.result && res.result.length > 0) {
...@@ -134,6 +159,7 @@ ...@@ -134,6 +159,7 @@
134 }).catch(() => { 159 }).catch(() => {
135 this.loading = false 160 this.loading = false
136 }) 161 })
162 }
137 }, 163 },
138 /** 164 /**
139 * @description: handleSelectionChange 165 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-11-16 14:14:29 4 * @LastEditTime: 2024-02-01 16:13:24
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 import { datas, sendThis } from "../javascript/selectFwsyq.js"; 59 import { datas, sendThis } from "../javascript/selectFwsyq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import { selectFwsyq } from "@/api/ywsq.js"; 61 import { selectFwsyq } from "@/api/ywsq.js";
62 import { startTogetherFlow } from "@/api/workFlow.js"; 62 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
63 export default { 63 export default {
64 mixins: [ywsqTable, jump], 64 mixins: [ywsqTable, jump],
65 props: { 65 props: {
...@@ -103,28 +103,53 @@ ...@@ -103,28 +103,53 @@
103 * @author: renchao 103 * @author: renchao
104 */ 104 */
105 submitForm () { 105 submitForm () {
106 let that = this
106 if (this.bdcdysz.length == 0) { 107 if (this.bdcdysz.length == 0) {
107 this.$message.error("请至少选择一条数据"); 108 this.$message.error("请至少选择一条数据");
108 return; 109 return;
109 } 110 }
110 this.loading = true 111 this.loading = true
112 if (this.sqywInfo.isworkFrame) {
113 store.dispatch('user/reMenuRefresh', false)
114 againAddSldy({
115 bsmSqyw: that.sqywInfo.bsmSqyw,
116 bdcdysz: that.bdcdysz,
117 bsmSlsq: that.sqywInfo.bsmSlsq,
118 }).then(res => {
119 that.loading = false
120 if (res.code == 200) {
121 if (this.sqywInfo.sqywdylx != "1") {
122 that.bdcdysz = []
123 that.$refs.table.clearSelection()
124 }
125 store.dispatch('user/reMenuRefresh', true)
126 that.$message({
127 showClose: true,
128 message: '添加成功',
129 type: 'success'
130 })
131 }
132 }).catch(() => {
133 that.loading = false
134 })
135 } else {
111 startTogetherFlow({ 136 startTogetherFlow({
112 bsmSqyw: this.sqywInfo.bsmSqyw, 137 bsmSqyw: that.sqywInfo.bsmSqyw,
113 bdcdysz: this.bdcdysz, 138 bdcdysz: that.bdcdysz,
114 }).then((res) => { 139 }).then((res) => {
115 this.loading = false 140 that.loading = false
116 if (res.code == 200) { 141 if (res.code == 200) {
117 this.$message({ 142 that.$message({
118 showClose: true, 143 showClose: true,
119 message: "发起申请成功", 144 message: "发起申请成功",
120 type: "success", 145 type: "success",
121 }); 146 });
122 if (!this.isJump) { 147 if (!that.isJump) {
123 this.jump(res.result, this.sqywInfo.djywbm); 148 that.jump(res.result, that.sqywInfo.djywbm);
124 } else { 149 } else {
125 store.dispatch('user/refreshPage', true); 150 store.dispatch('user/refreshPage', true);
126 } 151 }
127 this.$popupCacel() 152 that.$popupCacel()
128 } else { 153 } else {
129 if (res.result && res.result.length > 0) { 154 if (res.result && res.result.length > 0) {
130 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 155 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -135,6 +160,7 @@ ...@@ -135,6 +160,7 @@
135 }).catch(() => { 160 }).catch(() => {
136 this.loading = false 161 this.loading = false
137 }) 162 })
163 }
138 }, 164 },
139 /** 165 /**
140 * @description: handleSelectionChange 166 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 15:11:12 4 * @LastEditTime: 2024-02-01 16:14:33
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import { datas, sendThis } from "../javascript/selectH.js"; 58 import { datas, sendThis } from "../javascript/selectH.js";
59 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 59 import { defaultParameters } from "../javascript/publicDefaultPar.js";
60 import { selectHQjdc } from "@/api/ywsq.js"; 60 import { selectHQjdc } from "@/api/ywsq.js";
61 import { startTogetherFlow } from "@/api/workFlow.js"; 61 import { startTogetherFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -102,28 +102,53 @@ ...@@ -102,28 +102,53 @@
102 * @author: renchao 102 * @author: renchao
103 */ 103 */
104 submitForm () { 104 submitForm () {
105 let that = this
105 if (this.bdcdysz.length == 0) { 106 if (this.bdcdysz.length == 0) {
106 this.$message.error("请至少选择一条数据"); 107 this.$message.error("请至少选择一条数据");
107 return; 108 return;
108 } 109 }
109 this.loading = true 110 this.loading = true
111 if (this.sqywInfo.isworkFrame) {
112 store.dispatch('user/reMenuRefresh', false)
113 againAddSldy({
114 bsmSqyw: that.sqywInfo.bsmSqyw,
115 bdcdysz: that.bdcdysz,
116 bsmSlsq: that.sqywInfo.bsmSlsq,
117 }).then(res => {
118 that.loading = false
119 if (res.code == 200) {
120 if (this.sqywInfo.sqywdylx != "1") {
121 that.bdcdysz = []
122 that.$refs.table.clearSelection()
123 }
124 store.dispatch('user/reMenuRefresh', true)
125 that.$message({
126 showClose: true,
127 message: '添加成功',
128 type: 'success'
129 })
130 }
131 }).catch(() => {
132 that.loading = false
133 })
134 } else {
110 startTogetherFlow({ 135 startTogetherFlow({
111 bsmSqyw: this.sqywInfo.bsmSqyw, 136 bsmSqyw: that.sqywInfo.bsmSqyw,
112 bdcdysz: this.bdcdysz 137 bdcdysz: that.bdcdysz
113 }).then((res) => { 138 }).then((res) => {
114 this.loading = false 139 that.loading = false
115 if (res.code == 200) { 140 if (res.code == 200) {
116 this.$message({ 141 that.$message({
117 showClose: true, 142 showClose: true,
118 message: '发起申请成功', 143 message: '发起申请成功',
119 type: 'success' 144 type: 'success'
120 }) 145 })
121 if (!this.isJump) { 146 if (!that.isJump) {
122 this.jump(res.result, this.sqywInfo.djywbm) 147 that.jump(res.result, that.sqywInfo.djywbm)
123 } else { 148 } else {
124 store.dispatch('user/refreshPage', true); 149 store.dispatch('user/refreshPage', true);
125 } 150 }
126 this.$popupCacel() 151 that.$popupCacel()
127 } else { 152 } else {
128 if (res.result && res.result.length > 0) { 153 if (res.result && res.result.length > 0) {
129 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 154 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -134,6 +159,7 @@ ...@@ -134,6 +159,7 @@
134 }).catch(() => { 159 }).catch(() => {
135 this.loading = false 160 this.loading = false
136 }) 161 })
162 }
137 }, 163 },
138 /** 164 /**
139 * @description: handleSelectionChange 165 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:37:38 4 * @LastEditTime: 2024-02-01 16:15:38
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import ywsqTable from "@/utils/mixin/ywsqTable"; 71 import ywsqTable from "@/utils/mixin/ywsqTable";
72 import jump from "./mixin/jump"; 72 import jump from "./mixin/jump";
73 import { selectYgdj200 } from "@/api/ywsq.js"; 73 import { selectYgdj200 } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
...@@ -138,27 +138,52 @@ ...@@ -138,27 +138,52 @@
138 * @author: renchao 138 * @author: renchao
139 */ 139 */
140 submitForm () { 140 submitForm () {
141 let that = this
141 if (this.bdcdysz.length == 0) { 142 if (this.bdcdysz.length == 0) {
142 this.$message.error("请至少选择一条数据"); 143 this.$message.error("请至少选择一条数据");
143 return; 144 return;
144 } 145 }
145 this.loading = true 146 this.loading = true
147 if (this.sqywInfo.isworkFrame) {
148 store.dispatch('user/reMenuRefresh', false)
149 againAddSldy({
150 bsmSqyw: that.sqywInfo.bsmSqyw,
151 bdcdysz: that.bdcdysz,
152 bsmSlsq: that.sqywInfo.bsmSlsq,
153 }).then(res => {
154 that.loading = false
155 if (res.code == 200) {
156 if (this.sqywInfo.sqywdylx != "1") {
157 that.bdcdysz = []
158 that.$refs.table.clearSelection()
159 }
160 store.dispatch('user/reMenuRefresh', true)
161 that.$message({
162 showClose: true,
163 message: '添加成功',
164 type: 'success'
165 })
166 }
167 }).catch(() => {
168 that.loading = false
169 })
170 } else {
146 startBusinessFlow({ 171 startBusinessFlow({
147 bsmSqyw: this.sqywInfo.bsmSqyw, 172 bsmSqyw: that.sqywInfo.bsmSqyw,
148 bdcdysz: this.bdcdysz, 173 bdcdysz: that.bdcdysz,
149 }).then((res) => { 174 }).then((res) => {
150 this.loading = false 175 that.loading = false
151 if (res.code == 200) { 176 if (res.code == 200) {
152 this.$message({ 177 that.$message({
153 showClose: true, 178 showClose: true,
154 message: '发起申请成功', 179 message: '发起申请成功',
155 type: 'success' 180 type: 'success'
156 }) 181 })
157 if (!this.isJump) { 182 if (!that.isJump) {
158 this.jump(res.result, this.sqywInfo.djywbm) 183 that.jump(res.result, that.sqywInfo.djywbm)
159 } else { 184 } else {
160 store.dispatch('user/refreshPage', true); 185 store.dispatch('user/refreshPage', true);
161 this.$popupCacel() 186 that.$popupCacel()
162 } 187 }
163 } else { 188 } else {
164 if (res.result && res.result.length > 0) { 189 if (res.result && res.result.length > 0) {
...@@ -170,6 +195,7 @@ ...@@ -170,6 +195,7 @@
170 }).catch(() => { 195 }).catch(() => {
171 this.loading = false 196 this.loading = false
172 }) 197 })
198 }
173 }, 199 },
174 /** 200 /**
175 * @description: handleSelectionChange 201 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-17 17:27:24 4 * @LastEditTime: 2024-02-01 14:05:14
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -71,12 +71,12 @@ ...@@ -71,12 +71,12 @@
71 import ywsqTable from "@/utils/mixin/ywsqTable"; 71 import ywsqTable from "@/utils/mixin/ywsqTable";
72 import jump from "./mixin/jump"; 72 import jump from "./mixin/jump";
73 import { selectYgdy } from "@/api/ywsq.js"; 73 import { selectYgdy } from "@/api/ywsq.js";
74 import { startBusinessFlow } from "@/api/workFlow.js"; 74 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
75 export default { 75 export default {
76 mixins: [ywsqTable, jump], 76 mixins: [ywsqTable, jump],
77 props: { 77 props: {
78 isJump: { type: Boolean, default: false }, 78 isJump: { type: Boolean, default: false },
79 sqywInfo: { type: Object, default: () => { } }, 79 sqywInfo: { type: Object, default: () => { } }
80 }, 80 },
81 data () { 81 data () {
82 return { 82 return {
...@@ -115,28 +115,53 @@ ...@@ -115,28 +115,53 @@
115 * @author: renchao 115 * @author: renchao
116 */ 116 */
117 submitForm () { 117 submitForm () {
118 let that = this
118 if (this.bdcdysz.length == 0) { 119 if (this.bdcdysz.length == 0) {
119 this.$message.error("请至少选择一条数据"); 120 this.$message.error("请至少选择一条数据");
120 return; 121 return;
121 } 122 }
122 this.loading = true 123 this.loading = true
124 if (this.sqywInfo.isworkFrame) {
125 store.dispatch('user/reMenuRefresh', false)
126 againAddSldy({
127 bsmSqyw: that.sqywInfo.bsmSqyw,
128 bdcdysz: that.bdcdysz,
129 bsmSlsq: that.sqywInfo.bsmSlsq,
130 }).then(res => {
131 that.loading = false
132 if (res.code == 200) {
133 if (this.sqywInfo.sqywdylx != "1") {
134 that.bdcdysz = []
135 that.$refs.table.clearSelection()
136 }
137 store.dispatch('user/reMenuRefresh', true)
138 that.$message({
139 showClose: true,
140 message: '添加成功',
141 type: 'success'
142 })
143 }
144 }).catch(() => {
145 that.loading = false
146 })
147 } else {
123 startBusinessFlow({ 148 startBusinessFlow({
124 bsmSqyw: this.sqywInfo.bsmSqyw, 149 bsmSqyw: that.sqywInfo.bsmSqyw,
125 bdcdysz: this.bdcdysz, 150 bdcdysz: that.bdcdysz,
126 }).then((res) => { 151 }).then((res) => {
127 this.loading = false 152 that.loading = false
128 if (res.code == 200) { 153 if (res.code == 200) {
129 this.$message({ 154 that.$message({
130 showClose: true, 155 showClose: true,
131 message: '发起申请成功', 156 message: '发起申请成功',
132 type: 'success' 157 type: 'success'
133 }) 158 })
134 if (!this.isJump) { 159 if (!that.isJump) {
135 this.jump(res.result, this.sqywInfo.djywbm) 160 that.jump(res.result, that.sqywInfo.djywbm)
136 } else { 161 } else {
137 store.dispatch('user/refreshPage', true); 162 store.dispatch('user/refreshPage', true);
138 } 163 }
139 this.$popupCacel() 164 that.$popupCacel()
140 } else { 165 } else {
141 if (res.result && res.result.length > 0) { 166 if (res.result && res.result.length > 0) {
142 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 167 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -147,6 +172,7 @@ ...@@ -147,6 +172,7 @@
147 }).catch(() => { 172 }).catch(() => {
148 this.loading = false 173 this.loading = false
149 }) 174 })
175 }
150 }, 176 },
151 /** 177 /**
152 * @description: handleSelectionChange 178 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 14:50:43 4 * @LastEditTime: 2024-02-01 16:20:18
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 主体权利信息查询 --> 7 <!-- 主体权利信息查询 -->
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import ywsqTable from "@/utils/mixin/ywsqTable"; 58 import ywsqTable from "@/utils/mixin/ywsqTable";
59 import jump from "./mixin/jump"; 59 import jump from "./mixin/jump";
60 import { selectHListQjdc } from "@/api/ywsq.js"; 60 import { selectHListQjdc } from "@/api/ywsq.js";
61 import { startBusinessFlow } from "@/api/workFlow.js"; 61 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
62 export default { 62 export default {
63 mixins: [ywsqTable, jump], 63 mixins: [ywsqTable, jump],
64 props: { 64 props: {
...@@ -107,38 +107,64 @@ ...@@ -107,38 +107,64 @@
107 * @author: renchao 107 * @author: renchao
108 */ 108 */
109 submitForm () { 109 submitForm () {
110 let that = this
110 if (this.bdcdysz.length == 0) { 111 if (this.bdcdysz.length == 0) {
111 this.$message.error("请至少选择一条数据"); 112 this.$message.error("请至少选择一条数据");
112 return; 113 return;
113 } 114 }
114 this.loading = true 115 this.loading = true
116 if (this.sqywInfo.isworkFrame) {
117 store.dispatch('user/reMenuRefresh', false)
118 againAddSldy({
119 bsmSqyw: that.sqywInfo.bsmSqyw,
120 bdcdysz: that.bdcdysz,
121 bsmSlsq: that.sqywInfo.bsmSlsq,
122 }).then(res => {
123 that.loading = false
124 if (res.code == 200) {
125 if (this.sqywInfo.sqywdylx != "1") {
126 that.bdcdysz = []
127 that.$refs.table.clearSelection()
128 }
129 store.dispatch('user/reMenuRefresh', true)
130 that.$message({
131 showClose: true,
132 message: '添加成功',
133 type: 'success'
134 })
135 }
136 }).catch(() => {
137 that.loading = false
138 })
139 } else {
115 startBusinessFlow({ 140 startBusinessFlow({
116 bsmSqyw: this.sqywInfo.bsmSqyw, 141 bsmSqyw: that.sqywInfo.bsmSqyw,
117 bdcdysz: this.bdcdysz, 142 bdcdysz: that.bdcdysz,
118 }).then((res) => { 143 }).then((res) => {
119 this.loading = false 144 that.loading = false
120 if (res.code == 200) { 145 if (res.code == 200) {
121 this.$message({ 146 that.$message({
122 showClose: true, 147 showClose: true,
123 message: '发起申请成功', 148 message: '发起申请成功',
124 type: 'success' 149 type: 'success'
125 }) 150 })
126 if (!this.isJump) { 151 if (!that.isJump) {
127 this.jump(res.result, this.sqywInfo.djywbm) 152 that.jump(res.result, that.sqywInfo.djywbm)
128 } else { 153 } else {
129 store.dispatch('user/refreshPage', true); 154 store.dispatch('user/refreshPage', true);
130 } 155 }
131 this.close() 156 that.$popupCacel()
132 } else { 157 } else {
133 if (res.result && res.result.length > 0) { 158 if (res.result && res.result.length > 0) {
134 this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) 159 that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } })
135 } else { 160 } else {
136 this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) 161 that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } })
137 } 162 }
138 } 163 }
139 }).catch(() => { 164 }).catch(() => {
140 this.loading = false 165 this.loading = false
141 }) 166 })
167 }
142 }, 168 },
143 /** 169 /**
144 * @description: close 170 * @description: close
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:40:23 4 * @LastEditTime: 2024-02-01 16:20:35
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/tdjyq100.js"; 65 import { datas, sendThis } from "../javascript/tdjyq100.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectZdjbxx } from "@/api/ywsq.js"; 67 import { selectZdjbxx } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -132,24 +132,49 @@ ...@@ -132,24 +132,49 @@
132 * @author: renchao 132 * @author: renchao
133 */ 133 */
134 submitForm () { 134 submitForm () {
135 let that = this
135 if (this.bdcdysz.length == 0) { 136 if (this.bdcdysz.length == 0) {
136 this.$message.error("请至少选择一条数据"); 137 this.$message.error("请至少选择一条数据");
137 return; 138 return;
138 } 139 }
139 this.loading = true 140 this.loading = true
141 if (this.sqywInfo.isworkFrame) {
142 store.dispatch('user/reMenuRefresh', false)
143 againAddSldy({
144 bsmSqyw: that.sqywInfo.bsmSqyw,
145 bdcdysz: that.bdcdysz,
146 bsmSlsq: that.sqywInfo.bsmSlsq,
147 }).then(res => {
148 that.loading = false
149 if (res.code == 200) {
150 if (this.sqywInfo.sqywdylx != "1") {
151 that.bdcdysz = []
152 that.$refs.table.clearSelection()
153 }
154 store.dispatch('user/reMenuRefresh', true)
155 that.$message({
156 showClose: true,
157 message: '添加成功',
158 type: 'success'
159 })
160 }
161 }).catch(() => {
162 that.loading = false
163 })
164 } else {
140 startBusinessFlow({ 165 startBusinessFlow({
141 bsmSqyw: this.sqywInfo.bsmSqyw, 166 bsmSqyw: that.sqywInfo.bsmSqyw,
142 bdcdysz: this.bdcdysz, 167 bdcdysz: that.bdcdysz,
143 }).then((res) => { 168 }).then((res) => {
144 this.loading = false 169 that.loading = false
145 if (res.code == 200) { 170 if (res.code == 200) {
146 this.$message({ 171 that.$message({
147 showClose: true, 172 showClose: true,
148 message: '发起申请成功', 173 message: '发起申请成功',
149 type: 'success' 174 type: 'success'
150 }) 175 })
151 if (!this.isJump) { 176 if (!that.isJump) {
152 this.jump(res.result, this.djywbm) 177 that.jump(res.result, that.djywbm)
153 } else { 178 } else {
154 store.dispatch('user/refreshPage', true); 179 store.dispatch('user/refreshPage', true);
155 } 180 }
...@@ -164,6 +189,7 @@ ...@@ -164,6 +189,7 @@
164 }).catch(() => { 189 }).catch(() => {
165 this.loading = false 190 this.loading = false
166 }) 191 })
192 }
167 }, 193 },
168 /** 194 /**
169 * @description: handleSelectionChange 195 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-23 13:44:44 4 * @LastEditTime: 2024-02-01 16:21:39
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 import { datas, sendThis } from "../javascript/selectJsydsyq.js"; 65 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
66 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 66 import { defaultParameters } from "../javascript/publicDefaultPar.js";
67 import { selectTdcbjyq } from "@/api/ywsq.js"; 67 import { selectTdcbjyq } from "@/api/ywsq.js";
68 import { startBusinessFlow } from "@/api/workFlow.js"; 68 import { startBusinessFlow, againAddSldy } from "@/api/workFlow.js";
69 export default { 69 export default {
70 mixins: [ywsqTable, jump], 70 mixins: [ywsqTable, jump],
71 props: { 71 props: {
...@@ -133,28 +133,53 @@ ...@@ -133,28 +133,53 @@
133 * @author: renchao 133 * @author: renchao
134 */ 134 */
135 submitForm () { 135 submitForm () {
136 let that = this
136 if (this.bdcdysz.length == 0) { 137 if (this.bdcdysz.length == 0) {
137 this.$message.error("请至少选择一条数据"); 138 this.$message.error("请至少选择一条数据");
138 return; 139 return;
139 } 140 }
140 this.loading = true 141 this.loading = true
142 if (this.sqywInfo.isworkFrame) {
143 store.dispatch('user/reMenuRefresh', false)
144 againAddSldy({
145 bsmSqyw: that.sqywInfo.bsmSqyw,
146 bdcdysz: that.bdcdysz,
147 bsmSlsq: that.sqywInfo.bsmSlsq,
148 }).then(res => {
149 that.loading = false
150 if (res.code == 200) {
151 if (this.sqywInfo.sqywdylx != "1") {
152 that.bdcdysz = []
153 that.$refs.table.clearSelection()
154 }
155 store.dispatch('user/reMenuRefresh', true)
156 that.$message({
157 showClose: true,
158 message: '添加成功',
159 type: 'success'
160 })
161 }
162 }).catch(() => {
163 that.loading = false
164 })
165 } else {
141 startBusinessFlow({ 166 startBusinessFlow({
142 bsmSqyw: this.sqywInfo.bsmSqyw, 167 bsmSqyw: that.sqywInfo.bsmSqyw,
143 bdcdysz: this.bdcdysz, 168 bdcdysz: that.bdcdysz,
144 }).then((res) => { 169 }).then((res) => {
145 this.loading = false 170 that.loading = false
146 if (res.code == 200) { 171 if (res.code == 200) {
147 this.$message({ 172 that.$message({
148 showClose: true, 173 showClose: true,
149 message: '发起申请成功', 174 message: '发起申请成功',
150 type: 'success' 175 type: 'success'
151 }) 176 })
152 if (!this.isJump) { 177 if (!that.isJump) {
153 this.jump(res.result) 178 that.jump(res.result)
154 } else { 179 } else {
155 store.dispatch('user/refreshPage', true); 180 store.dispatch('user/refreshPage', true);
156 } 181 }
157 this.$popupCacel() 182 that.$popupCacel()
158 } else { 183 } else {
159 if (res.result && res.result.length > 0) { 184 if (res.result && res.result.length > 0) {
160 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 185 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -165,6 +190,7 @@ ...@@ -165,6 +190,7 @@
165 }).catch(() => { 190 }).catch(() => {
166 this.loading = false 191 this.loading = false
167 }) 192 })
193 }
168 }, 194 },
169 /** 195 /**
170 * @description: handleSelectionChange 196 * @description: handleSelectionChange
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-25 14:57:59 4 * @LastEditTime: 2024-02-01 16:26:28
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 import { datas, sendThis } from "../javascript/fwsyq.js"; 133 import { datas, sendThis } from "../javascript/fwsyq.js";
134 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 134 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js"; 135 import { selectOtherH, selectZrz, selectDz } from "@/api/ywsq.js";
136 import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; 136 import { startBusinessFlow, choiceBdcdy, againAddSldy } from "@/api/workFlow.js";
137 export default { 137 export default {
138 mixins: [ywsqTable, jump], 138 mixins: [ywsqTable, jump],
139 props: { 139 props: {
...@@ -264,31 +264,56 @@ ...@@ -264,31 +264,56 @@
264 * @author: renchao 264 * @author: renchao
265 */ 265 */
266 submitForm () { 266 submitForm () {
267 let that = this
267 if (this.bdcdysz.length == 0) { 268 if (this.bdcdysz.length == 0) {
268 this.$message.error("请至少选择一条数据"); 269 this.$message.error("请至少选择一条数据");
269 return; 270 return;
270 } 271 }
271 if (!this.isJump) { 272 if (this.sqywInfo.isworkFrame) {
272 this.loading = true 273 store.dispatch('user/reMenuRefresh', false)
274 againAddSldy({
275 bsmSqyw: that.sqywInfo.bsmSqyw,
276 bdcdysz: that.bdcdysz,
277 bsmSlsq: that.sqywInfo.bsmSlsq,
278 }).then(res => {
279 that.loading = false
280 if (res.code == 200) {
281 if (this.sqywInfo.sqywdylx != "1") {
282 that.bdcdysz = []
283 that.$refs.table.clearSelection()
284 }
285 store.dispatch('user/reMenuRefresh', true)
286 that.$message({
287 showClose: true,
288 message: '添加成功',
289 type: 'success'
290 })
291 }
292 }).catch(() => {
293 that.loading = false
294 })
295 } else {
296 if (!that.isJump) {
297 that.loading = true
273 startBusinessFlow({ 298 startBusinessFlow({
274 bsmSqyw: this.sqywInfo.bsmSqyw, 299 bsmSqyw: that.sqywInfo.bsmSqyw,
275 //sjlx: 'zrz', 300 //sjlx: 'zrz',
276 sjlx: this.activeName, 301 sjlx: that.activeName,
277 bdcdysz: this.bdcdysz, 302 bdcdysz: that.bdcdysz,
278 }).then((res) => { 303 }).then((res) => {
279 this.loading = false 304 that.loading = false
280 if (res.code == 200) { 305 if (res.code == 200) {
281 this.$message({ 306 that.$message({
282 showClose: true, 307 showClose: true,
283 message: '发起申请成功', 308 message: '发起申请成功',
284 type: 'success' 309 type: 'success'
285 }) 310 })
286 if (!this.isJump) { 311 if (!that.isJump) {
287 this.jump(res.result, this.sqywInfo.djywbm); 312 that.jump(res.result, that.sqywInfo.djywbm);
288 } else { 313 } else {
289 store.dispatch('user/refreshPage', true); 314 store.dispatch('user/refreshPage', true);
290 } 315 }
291 this.$popupCacel() 316 that.$popupCacel()
292 } else { 317 } else {
293 if (res.result && res.result.length > 0) { 318 if (res.result && res.result.length > 0) {
294 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -297,23 +322,23 @@ ...@@ -297,23 +322,23 @@
297 } 322 }
298 } 323 }
299 }).catch(() => { 324 }).catch(() => {
300 this.loading = false 325 that.loading = false
301 }) 326 })
302 } else { 327 } else {
303 this.loading = true 328 that.loading = true
304 choiceBdcdy({ 329 choiceBdcdy({
305 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, 330 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
306 bdcdysz: this.bdcdysz 331 bdcdysz: that.bdcdysz
307 }).then(res => { 332 }).then(res => {
308 this.loading = false 333 that.loading = false
309 if (res.code == 200) { 334 if (res.code == 200) {
310 this.$message({ 335 that.$message({
311 showClose: true, 336 showClose: true,
312 message: '发起申请成功', 337 message: '发起申请成功',
313 type: 'success' 338 type: 'success'
314 }) 339 })
315 store.dispatch('user/refreshPage', true); 340 store.dispatch('user/refreshPage', true);
316 this.$popupCacel() 341 that.$popupCacel()
317 } else { 342 } else {
318 if (res.result && res.result.length > 0) { 343 if (res.result && res.result.length > 0) {
319 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) 344 ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true)
...@@ -325,6 +350,7 @@ ...@@ -325,6 +350,7 @@
325 this.loading = false 350 this.loading = false
326 }) 351 })
327 } 352 }
353 }
328 }, 354 },
329 /** 355 /**
330 * @description: handleSelectionChange 356 * @description: handleSelectionChange
......
...@@ -243,7 +243,6 @@ ...@@ -243,7 +243,6 @@
243 * @author: renchao 243 * @author: renchao
244 */ 244 */
245 dblclick (data, index, item) { 245 dblclick (data, index, item) {
246 localStorage.setItem('ywbl', JSON.stringify(item));
247 this.selectSqywClick(data, index); 246 this.selectSqywClick(data, index);
248 this.dialogClick(); 247 this.dialogClick();
249 }, 248 },
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-19 13:40:07 4 * @LastEditTime: 2024-02-01 09:13:58
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -75,7 +75,7 @@ class data extends filter { ...@@ -75,7 +75,7 @@ class data extends filter {
75 }, 75 },
76 { 76 {
77 label: "抵押权人", 77 label: "抵押权人",
78 width: '150', 78 width: '120',
79 render: (h, scope) => { 79 render: (h, scope) => {
80 return ( 80 return (
81 <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width"> 81 <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width">
...@@ -90,12 +90,26 @@ class data extends filter { ...@@ -90,12 +90,26 @@ class data extends filter {
90 minWidth: '150' 90 minWidth: '150'
91 }, 91 },
92 { 92 {
93 prop: "ywrmc",
94 label: "抵押人", 93 label: "抵押人",
94 width: '120',
95 render: (h, scope) => {
96 return (
97 <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width">
98 <span class="ellipsis-table"> {scope.row.ywrmc}</span>
99 </el-tooltip>
100 )
101 }
95 }, 102 },
96 { 103 {
97 prop: "ywrzjhm",
98 label: "抵押人证件号", 104 label: "抵押人证件号",
105 width: '120',
106 render: (h, scope) => {
107 return (
108 <el-tooltip effect="dark" content={scope.row.ywrzjhm} placement="top" popper-class="tooltip-width">
109 <span class="ellipsis-table"> {scope.row.ywrzjhm}</span>
110 </el-tooltip>
111 )
112 }
99 }, 113 },
100 { 114 {
101 prop: "dyje", 115 prop: "dyje",
......
1 <!-- 1 <!--
2 * @Description: 选择不动产单元号 2 * @Description: 选择不动产单元号
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-18 14:03:27 4 * @LastEditTime: 2024-02-01 14:48:14
5 --> 5 -->
6 <template> 6 <template>
7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false" 7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false"
......