1
Showing
15 changed files
with
295 additions
and
157 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 15:45:21 | 4 | * @LastEditTime: 2024-02-01 08:52:00 |
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 | } | ... | ... |
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 | ... | ... |
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 }"> | ... | ... |
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 09:00:28 |
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 | //添加页面监听事件 |
... | @@ -299,7 +314,7 @@ | ... | @@ -299,7 +314,7 @@ |
299 | } else { | 314 | } else { |
300 | title = "申请业务:" + data?.djywmc | 315 | title = "申请业务:" + data?.djywmc |
301 | } | 316 | } |
302 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': data }, "90%", true) | 317 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true) |
303 | } | 318 | } |
304 | } | 319 | } |
305 | } | 320 | } | ... | ... |
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 09:54:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -14,24 +14,24 @@ | ... | @@ -14,24 +14,24 @@ |
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,9 +174,9 @@ | ... | @@ -174,9 +174,9 @@ |
174 | }, | 174 | }, |
175 | isJfOperation: false, | 175 | isJfOperation: false, |
176 | tableData: [] | 176 | tableData: [] |
177 | }; | 177 | } |
178 | }, | 178 | }, |
179 | created () { | 179 | mounted () { |
180 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 180 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
181 | this.propsParam = this.$attrs; | 181 | this.propsParam = this.$attrs; |
182 | var formdata = new FormData(); | 182 | var formdata = new FormData(); |
... | @@ -185,6 +185,7 @@ | ... | @@ -185,6 +185,7 @@ |
185 | } | 185 | } |
186 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 186 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
187 | formdata.append("djlx", this.propsParam.djlx); | 187 | formdata.append("djlx", this.propsParam.djlx); |
188 | formdata.append("isEdit", this.ableOperation); | ||
188 | BatchInit(formdata).then((res) => { | 189 | BatchInit(formdata).then((res) => { |
189 | if (res.code === 200 && res.result) { | 190 | if (res.code === 200 && res.result) { |
190 | this.ruleForm = res.result | 191 | this.ruleForm = res.result | ... | ... |
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 09:23:05 |
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,40 +147,65 @@ | ... | @@ -148,40 +147,65 @@ |
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 | startBusinessFlow({ | 156 | if (this.sqywInfo.isworkFrame) { |
157 | bsmSqyw: this.sqywInfo.bsmSqyw, | 157 | store.dispatch('user/reMenuRefresh', false) |
158 | bdcdysz: this.bdcdysz, | 158 | againAddSldy({ |
159 | // djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 159 | bsmSqyw: that.sqywInfo.bsmSqyw, |
160 | // djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 160 | bdcdysz: that.bdcdysz, |
161 | }).then((res) => { | 161 | bsmSlsq: that.sqywInfo.bsmSlsq, |
162 | this.loading = false | 162 | }).then(res => { |
163 | if (res.code == 200) { | 163 | that.loading = false |
164 | this.$message({ | 164 | if (res.code == 200) { |
165 | showClose: true, | 165 | if (this.sqywInfo.sqywdylx != "1") { |
166 | message: "发起申请成功", | 166 | that.bdcdysz = [] |
167 | type: "success", | 167 | } |
168 | }); | 168 | store.dispatch('user/reMenuRefresh', true) |
169 | if (!this.isJump) { | 169 | that.$message({ |
170 | this.jump(res.result, this.sqywInfo.djywbm); | 170 | showClose: true, |
171 | } else { | 171 | message: '添加成功', |
172 | store.dispatch('user/refreshPage', true); | 172 | type: 'success' |
173 | }) | ||
173 | } | 174 | } |
174 | this.$popupCacel() | 175 | }).catch(() => { |
175 | } else { | 176 | that.loading = false |
176 | if (res.result && res.result.length > 0) { | 177 | }) |
177 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 178 | } else { |
179 | startBusinessFlow({ | ||
180 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
181 | bdcdysz: this.bdcdysz, | ||
182 | // djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
183 | // djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
184 | }).then((res) => { | ||
185 | this.loading = false | ||
186 | if (res.code == 200) { | ||
187 | that.$message({ | ||
188 | showClose: true, | ||
189 | message: "发起申请成功", | ||
190 | type: "success", | ||
191 | }); | ||
192 | if (!that.isJump) { | ||
193 | that.jump(res.result, that.sqywInfo.djywbm); | ||
194 | } else { | ||
195 | store.dispatch('user/refreshPage', true); | ||
196 | } | ||
197 | that.$popupCacel() | ||
178 | } else { | 198 | } else { |
179 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 199 | if (res.result && res.result.length > 0) { |
200 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
201 | } else { | ||
202 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
203 | } | ||
180 | } | 204 | } |
181 | } | 205 | }).catch(() => { |
182 | }).catch(() => { | 206 | this.loading = false |
183 | this.loading = false | 207 | }) |
184 | }) | 208 | } |
185 | }, | 209 | }, |
186 | /** | 210 | /** |
187 | * @description: handleSelectionChange | 211 | * @description: handleSelectionChange | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 17:24:47 | 4 | * @LastEditTime: 2024-02-01 09:36:41 |
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,69 +125,93 @@ | ... | @@ -125,69 +125,93 @@ |
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) { |
134 | startBusinessFlow({ | 135 | store.dispatch('user/reMenuRefresh', false) |
135 | bsmSqyw: this.sqywInfo.bsmSqyw, | 136 | againAddSldy({ |
136 | bdcdysz: this.bdcdysz, | 137 | bsmSqyw: that.sqywInfo.bsmSqyw, |
137 | }).then((res) => { | 138 | bdcdysz: that.bdcdysz, |
138 | this.loading = false | 139 | bsmSlsq: that.sqywInfo.bsmSlsq, |
140 | }).then(res => { | ||
141 | that.loading = false | ||
139 | if (res.code == 200) { | 142 | if (res.code == 200) { |
140 | this.$message({ | 143 | if (this.sqywInfo.sqywdylx != "1") { |
141 | showClose: true, | 144 | that.bdcdysz = [] |
142 | message: "发起申请成功", | ||
143 | type: "success", | ||
144 | }); | ||
145 | if (!this.isJump) { | ||
146 | this.jump(res.result, this.sqywInfo.djywbm); | ||
147 | } else { | ||
148 | store.dispatch('user/refreshPage', true); | ||
149 | } | ||
150 | this.$popupCacel() | ||
151 | } else { | ||
152 | if (res.result && res.result.length > 0) { | ||
153 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
154 | } else { | ||
155 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
156 | } | 145 | } |
146 | store.dispatch('user/reMenuRefresh', true) | ||
147 | that.$message({ | ||
148 | showClose: true, | ||
149 | message: '添加成功', | ||
150 | type: 'success' | ||
151 | }) | ||
157 | } | 152 | } |
158 | }).catch(() => { | 153 | }).catch(() => { |
159 | this.loading = false | 154 | that.loading = false |
160 | }) | 155 | }) |
161 | } else { | 156 | } else { |
162 | startTogetherFlow({ | 157 | if (that.sqywInfo.sqfl == '1') { |
163 | bsmSqyw: this.sqywInfo.bsmSqyw, | 158 | startBusinessFlow({ |
164 | bdcdysz: this.bdcdysz, | 159 | bsmSqyw: that.sqywInfo.bsmSqyw, |
165 | }).then((res) => { | 160 | bdcdysz: that.bdcdysz, |
166 | this.loading = false | 161 | }).then((res) => { |
167 | if (res.code == 200) { | 162 | that.loading = false |
168 | this.$message({ | 163 | if (res.code == 200) { |
169 | showClose: true, | 164 | that.$message({ |
170 | message: '发起申请成功', | 165 | showClose: true, |
171 | type: 'success' | 166 | message: "发起申请成功", |
172 | }) | 167 | type: "success", |
173 | if (!this.isJump) { | 168 | }); |
174 | this.jump(res.result, this.sqywInfo.djywbm) | 169 | if (!that.isJump) { |
170 | that.jump(res.result, that.sqywInfo.djywbm); | ||
171 | } else { | ||
172 | store.dispatch('user/refreshPage', true); | ||
173 | } | ||
174 | that.$popupCacel() | ||
175 | } else { | 175 | } else { |
176 | store.dispatch('user/refreshPage', true); | 176 | if (res.result && res.result.length > 0) { |
177 | this.$popupCacel() | 177 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
178 | } else { | ||
179 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
180 | } | ||
178 | } | 181 | } |
179 | } else { | 182 | }).catch(() => { |
180 | if (res.result && res.result.length > 0) { | 183 | this.loading = false |
181 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 184 | }) |
185 | } else { | ||
186 | startTogetherFlow({ | ||
187 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
188 | bdcdysz: that.bdcdysz, | ||
189 | }).then((res) => { | ||
190 | that.loading = false | ||
191 | if (res.code == 200) { | ||
192 | that.$message({ | ||
193 | showClose: true, | ||
194 | message: '发起申请成功', | ||
195 | type: 'success' | ||
196 | }) | ||
197 | if (!that.isJump) { | ||
198 | that.jump(res.result, that.sqywInfo.djywbm) | ||
199 | } else { | ||
200 | store.dispatch('user/refreshPage', true); | ||
201 | that.$popupCacel() | ||
202 | } | ||
182 | } else { | 203 | } else { |
183 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 204 | if (res.result && res.result.length > 0) { |
205 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
206 | } else { | ||
207 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
208 | } | ||
184 | } | 209 | } |
185 | } | 210 | }).catch(() => { |
186 | }).catch(() => { | 211 | that.loading = false |
187 | this.loading = false | 212 | }) |
188 | }) | 213 | } |
189 | } | 214 | } |
190 | |||
191 | }, | 215 | }, |
192 | /** | 216 | /** |
193 | * @description: handleSelectionChange | 217 | * @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 09:22:50 |
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,38 +115,63 @@ | ... | @@ -115,38 +115,63 @@ |
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 |
123 | startBusinessFlow({ | 124 | if (this.sqywInfo.isworkFrame) { |
124 | bsmSqyw: this.sqywInfo.bsmSqyw, | 125 | store.dispatch('user/reMenuRefresh', false) |
125 | bdcdysz: this.bdcdysz, | 126 | againAddSldy({ |
126 | }).then((res) => { | 127 | bsmSqyw: that.sqywInfo.bsmSqyw, |
127 | this.loading = false | 128 | bdcdysz: that.bdcdysz, |
128 | if (res.code == 200) { | 129 | bsmSlsq: that.sqywInfo.bsmSlsq, |
129 | this.$message({ | 130 | }).then(res => { |
130 | showClose: true, | 131 | that.loading = false |
131 | message: '发起申请成功', | 132 | if (res.code == 200) { |
132 | type: 'success' | 133 | if (this.sqywInfo.sqywdylx != "1") { |
133 | }) | 134 | that.bdcdysz = [] |
134 | if (!this.isJump) { | 135 | } |
135 | this.jump(res.result, this.sqywInfo.djywbm) | 136 | store.dispatch('user/reMenuRefresh', true) |
136 | } else { | 137 | that.$message({ |
137 | store.dispatch('user/refreshPage', true); | 138 | showClose: true, |
139 | message: '添加成功', | ||
140 | type: 'success' | ||
141 | }) | ||
138 | } | 142 | } |
139 | this.$popupCacel() | 143 | }).catch(() => { |
140 | } else { | 144 | that.loading = false |
141 | if (res.result && res.result.length > 0) { | 145 | }) |
142 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 146 | } else { |
147 | startBusinessFlow({ | ||
148 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
149 | bdcdysz: that.bdcdysz, | ||
150 | }).then((res) => { | ||
151 | that.loading = false | ||
152 | if (res.code == 200) { | ||
153 | that.$message({ | ||
154 | showClose: true, | ||
155 | message: '发起申请成功', | ||
156 | type: 'success' | ||
157 | }) | ||
158 | if (!that.isJump) { | ||
159 | that.jump(res.result, that.sqywInfo.djywbm) | ||
160 | } else { | ||
161 | store.dispatch('user/refreshPage', true); | ||
162 | } | ||
163 | that.$popupCacel() | ||
143 | } else { | 164 | } else { |
144 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 165 | if (res.result && res.result.length > 0) { |
166 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
167 | } else { | ||
168 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
169 | } | ||
145 | } | 170 | } |
146 | } | 171 | }).catch(() => { |
147 | }).catch(() => { | 172 | this.loading = false |
148 | this.loading = false | 173 | }) |
149 | }) | 174 | } |
150 | }, | 175 | }, |
151 | /** | 176 | /** |
152 | * @description: handleSelectionChange | 177 | * @description: handleSelectionChange | ... | ... |
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 09:01:30 |
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" | ... | ... |
-
Please register or sign in to post a comment