Merge branch 'dev'
Showing
43 changed files
with
1613 additions
and
890 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 | } | ... | ... |
| 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 | ... | ... |
| ... | @@ -708,11 +708,7 @@ class data extends filter { | ... | @@ -708,11 +708,7 @@ class data extends filter { |
| 708 | { | 708 | { |
| 709 | prop: "zl", | 709 | prop: "zl", |
| 710 | label: "在建建筑物坐落", | 710 | label: "在建建筑物坐落", |
| 711 | }, | 711 | }, |
| 712 | { | ||
| 713 | prop: "dyfsmc", | ||
| 714 | label: "抵押方式", | ||
| 715 | }, | ||
| 716 | { | 712 | { |
| 717 | prop: "qlrmc", | 713 | prop: "qlrmc", |
| 718 | label: "抵押权人", | 714 | label: "抵押权人", |
| ... | @@ -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,61 +155,86 @@ | ... | @@ -155,61 +155,86 @@ |
| 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) { |
| 164 | startBusinessFlow({ | 165 | store.dispatch('user/reMenuRefresh', false) |
| 165 | bsmSqyw: this.sqywInfo.bsmSqyw, | 166 | againAddSldy({ |
| 166 | bdcdysz: this.bdcdysz, | 167 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 167 | }).then((res) => { | 168 | bdcdysz: that.bdcdysz, |
| 168 | this.loading = false | 169 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 170 | }).then(res => { | ||
| 171 | that.loading = false | ||
| 169 | if (res.code == 200) { | 172 | if (res.code == 200) { |
| 170 | this.$message({ | 173 | if (this.sqywInfo.sqywdylx != "1") { |
| 171 | showClose: true, | 174 | that.bdcdysz = [] |
| 172 | message: "发起申请成功", | 175 | that.$refs.table.clearSelection() |
| 173 | type: "success", | ||
| 174 | }); | ||
| 175 | if (!this.isJump) { | ||
| 176 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 177 | } else { | ||
| 178 | store.dispatch('user/refreshPage', true); | ||
| 179 | } | ||
| 180 | this.$popupCacel() | ||
| 181 | |||
| 182 | } else { | ||
| 183 | if (res.result && res.result.length > 0) { | ||
| 184 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 185 | } else { | ||
| 186 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 187 | } | 176 | } |
| 188 | } | 177 | store.dispatch('user/reMenuRefresh', true) |
| 189 | }).catch(() => { | 178 | that.$message({ |
| 190 | this.loading = false | ||
| 191 | }) | ||
| 192 | } else { | ||
| 193 | this.loading = true | ||
| 194 | choiceBdcdy({ | ||
| 195 | bsmSlsq: this.$route.query.bsmSlsq, | ||
| 196 | bdcdysz: this.bdcdysz, | ||
| 197 | }).then((res) => { | ||
| 198 | this.loading = false | ||
| 199 | if (res.code == 200) { | ||
| 200 | this.$message({ | ||
| 201 | showClose: true, | 179 | showClose: true, |
| 202 | message: "发起申请成功", | 180 | message: '添加成功', |
| 203 | type: "success", | 181 | type: 'success' |
| 204 | }); | 182 | }) |
| 205 | store.dispatch("user/refreshPage", true); | ||
| 206 | } else { | ||
| 207 | this.$message.error(res.message); | ||
| 208 | } | 183 | } |
| 209 | this.$popupCacel(); | ||
| 210 | }).catch(() => { | 184 | }).catch(() => { |
| 211 | this.loading = false | 185 | that.loading = false |
| 212 | }) | 186 | }) |
| 187 | } else { | ||
| 188 | if (!that.isJump) { | ||
| 189 | startBusinessFlow({ | ||
| 190 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 191 | bdcdysz: that.bdcdysz, | ||
| 192 | }).then((res) => { | ||
| 193 | that.loading = false | ||
| 194 | if (res.code == 200) { | ||
| 195 | that.$message({ | ||
| 196 | showClose: true, | ||
| 197 | message: "发起申请成功", | ||
| 198 | type: "success", | ||
| 199 | }); | ||
| 200 | if (!that.isJump) { | ||
| 201 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 202 | } else { | ||
| 203 | store.dispatch('user/refreshPage', true); | ||
| 204 | } | ||
| 205 | that.$popupCacel() | ||
| 206 | |||
| 207 | } else { | ||
| 208 | if (res.result && res.result.length > 0) { | ||
| 209 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 210 | } else { | ||
| 211 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 212 | } | ||
| 213 | } | ||
| 214 | }).catch(() => { | ||
| 215 | that.loading = false | ||
| 216 | }) | ||
| 217 | } else { | ||
| 218 | choiceBdcdy({ | ||
| 219 | bsmSlsq: that.$route.query.bsmSlsq, | ||
| 220 | bdcdysz: that.bdcdysz, | ||
| 221 | }).then((res) => { | ||
| 222 | that.loading = false | ||
| 223 | if (res.code == 200) { | ||
| 224 | that.$message({ | ||
| 225 | showClose: true, | ||
| 226 | message: "发起申请成功", | ||
| 227 | type: "success", | ||
| 228 | }); | ||
| 229 | store.dispatch("user/refreshPage", true); | ||
| 230 | } else { | ||
| 231 | that.$message.error(res.message); | ||
| 232 | } | ||
| 233 | that.$popupCacel(); | ||
| 234 | }).catch(() => { | ||
| 235 | that.loading = false | ||
| 236 | }) | ||
| 237 | } | ||
| 213 | } | 238 | } |
| 214 | }, | 239 | }, |
| 215 | /** | 240 | /** | ... | ... |
| 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,40 +147,66 @@ | ... | @@ -148,40 +147,66 @@ |
| 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 | that.$refs.table.clearSelection() |
| 168 | }); | 168 | } |
| 169 | if (!this.isJump) { | 169 | store.dispatch('user/reMenuRefresh', true) |
| 170 | this.jump(res.result, this.sqywInfo.djywbm); | 170 | that.$message({ |
| 171 | } else { | 171 | showClose: true, |
| 172 | store.dispatch('user/refreshPage', true); | 172 | message: '添加成功', |
| 173 | type: 'success' | ||
| 174 | }) | ||
| 173 | } | 175 | } |
| 174 | this.$popupCacel() | 176 | }).catch(() => { |
| 175 | } else { | 177 | that.loading = false |
| 176 | if (res.result && res.result.length > 0) { | 178 | }) |
| 177 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 179 | } else { |
| 180 | startBusinessFlow({ | ||
| 181 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
| 182 | bdcdysz: this.bdcdysz, | ||
| 183 | // djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
| 184 | // djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
| 185 | }).then((res) => { | ||
| 186 | this.loading = false | ||
| 187 | if (res.code == 200) { | ||
| 188 | that.$message({ | ||
| 189 | showClose: true, | ||
| 190 | message: "发起申请成功", | ||
| 191 | type: "success", | ||
| 192 | }); | ||
| 193 | if (!that.isJump) { | ||
| 194 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 195 | } else { | ||
| 196 | store.dispatch('user/refreshPage', true); | ||
| 197 | } | ||
| 198 | that.$popupCacel() | ||
| 178 | } else { | 199 | } else { |
| 179 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 200 | if (res.result && res.result.length > 0) { |
| 201 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 202 | } else { | ||
| 203 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 204 | } | ||
| 180 | } | 205 | } |
| 181 | } | 206 | }).catch(() => { |
| 182 | }).catch(() => { | 207 | this.loading = false |
| 183 | this.loading = false | 208 | }) |
| 184 | }) | 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,66 +294,91 @@ | ... | @@ -294,66 +294,91 @@ |
| 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) { |
| 303 | startBusinessFlow({ | 304 | store.dispatch('user/reMenuRefresh', false) |
| 304 | bsmSqyw: this.sqywInfo.bsmSqyw, | 305 | againAddSldy({ |
| 305 | //sjlx: 'zrz', | 306 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 306 | sjlx: this.activeName, | 307 | bdcdysz: that.bdcdysz, |
| 307 | bdcdysz: this.bdcdysz, | 308 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 308 | }).then((res) => { | 309 | }).then(res => { |
| 309 | this.loading = false | 310 | that.loading = false |
| 310 | if (res.code == 200) { | 311 | if (res.code == 200) { |
| 311 | this.$message({ | 312 | if (this.sqywInfo.sqywdylx != "1") { |
| 313 | that.bdcdysz = [] | ||
| 314 | that.$refs.table.clearSelection() | ||
| 315 | } | ||
| 316 | store.dispatch('user/reMenuRefresh', true) | ||
| 317 | that.$message({ | ||
| 312 | showClose: true, | 318 | showClose: true, |
| 313 | message: '发起申请成功', | 319 | message: '添加成功', |
| 314 | type: 'success' | 320 | type: 'success' |
| 315 | }) | 321 | }) |
| 316 | if (!this.isJump) { | ||
| 317 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 318 | } else { | ||
| 319 | store.dispatch('user/refreshPage', true); | ||
| 320 | } | ||
| 321 | this.$popupCacel() | ||
| 322 | } else { | ||
| 323 | if (res.result && res.result.length > 0) { | ||
| 324 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 325 | } else { | ||
| 326 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 327 | } | ||
| 328 | } | 322 | } |
| 329 | }).catch(() => { | 323 | }).catch(() => { |
| 330 | this.loading = false | 324 | that.loading = false |
| 331 | }) | 325 | }) |
| 332 | } else { | 326 | } else { |
| 333 | this.loading = true | 327 | if (!that.isJump) { |
| 334 | choiceBdcdy({ | 328 | startBusinessFlow({ |
| 335 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 329 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 336 | bdcdysz: this.bdcdysz | 330 | //sjlx: 'zrz', |
| 337 | }).then(res => { | 331 | sjlx: that.activeName, |
| 338 | this.loading = false | 332 | bdcdysz: that.bdcdysz, |
| 339 | if (res.code == 200) { | 333 | }).then((res) => { |
| 340 | this.$message({ | 334 | that.loading = false |
| 341 | showClose: true, | 335 | if (res.code == 200) { |
| 342 | message: '发起申请成功', | 336 | that.$message({ |
| 343 | type: 'success' | 337 | showClose: true, |
| 344 | }) | 338 | message: '发起申请成功', |
| 345 | store.dispatch('user/refreshPage', true); | 339 | type: 'success' |
| 346 | this.$popupCacel() | 340 | }) |
| 347 | } else { | 341 | if (!that.isJump) { |
| 348 | if (res.result && res.result.length > 0) { | 342 | that.jump(res.result, that.sqywInfo.djywbm); |
| 349 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 343 | } else { |
| 344 | store.dispatch('user/refreshPage', true); | ||
| 345 | } | ||
| 346 | that.$popupCacel() | ||
| 350 | } else { | 347 | } else { |
| 351 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 348 | if (res.result && res.result.length > 0) { |
| 349 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 350 | } else { | ||
| 351 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 352 | } | ||
| 352 | } | 353 | } |
| 353 | } | 354 | }).catch(() => { |
| 354 | }).catch(() => { | 355 | that.loading = false |
| 355 | this.loading = false | 356 | }) |
| 356 | }) | 357 | } else { |
| 358 | choiceBdcdy({ | ||
| 359 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | ||
| 360 | bdcdysz: that.bdcdysz | ||
| 361 | }).then(res => { | ||
| 362 | that.loading = false | ||
| 363 | if (res.code == 200) { | ||
| 364 | that.$message({ | ||
| 365 | showClose: true, | ||
| 366 | message: '发起申请成功', | ||
| 367 | type: 'success' | ||
| 368 | }) | ||
| 369 | store.dispatch('user/refreshPage', true); | ||
| 370 | that.$popupCacel() | ||
| 371 | } else { | ||
| 372 | if (res.result && res.result.length > 0) { | ||
| 373 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 374 | } else { | ||
| 375 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 376 | } | ||
| 377 | } | ||
| 378 | }).catch(() => { | ||
| 379 | that.loading = false | ||
| 380 | }) | ||
| 381 | } | ||
| 357 | } | 382 | } |
| 358 | }, | 383 | }, |
| 359 | /** | 384 | /** | ... | ... |
| 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,66 +264,91 @@ | ... | @@ -264,66 +264,91 @@ |
| 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) { |
| 273 | startBusinessFlow({ | 274 | store.dispatch('user/reMenuRefresh', false) |
| 274 | bsmSqyw: this.sqywInfo.bsmSqyw, | 275 | againAddSldy({ |
| 275 | //sjlx: 'zrz', | 276 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 276 | sjlx: this.activeName, | 277 | bdcdysz: that.bdcdysz, |
| 277 | bdcdysz: this.bdcdysz, | 278 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 278 | }).then((res) => { | 279 | }).then(res => { |
| 279 | this.loading = false | 280 | that.loading = false |
| 280 | if (res.code == 200) { | 281 | if (res.code == 200) { |
| 281 | this.$message({ | 282 | if (this.sqywInfo.sqywdylx != "1") { |
| 283 | that.bdcdysz = [] | ||
| 284 | that.$refs.table.clearSelection() | ||
| 285 | } | ||
| 286 | store.dispatch('user/reMenuRefresh', true) | ||
| 287 | that.$message({ | ||
| 282 | showClose: true, | 288 | showClose: true, |
| 283 | message: '发起申请成功', | 289 | message: '添加成功', |
| 284 | type: 'success' | 290 | type: 'success' |
| 285 | }) | 291 | }) |
| 286 | if (!this.isJump) { | ||
| 287 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 288 | } else { | ||
| 289 | store.dispatch('user/refreshPage', true); | ||
| 290 | } | ||
| 291 | this.$popupCacel() | ||
| 292 | } else { | ||
| 293 | if (res.result && res.result.length > 0) { | ||
| 294 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 295 | } else { | ||
| 296 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 297 | } | ||
| 298 | } | 292 | } |
| 299 | }).catch(() => { | 293 | }).catch(() => { |
| 300 | this.loading = false | 294 | that.loading = false |
| 301 | }) | 295 | }) |
| 302 | } else { | 296 | } else { |
| 303 | this.loading = true | 297 | if (!that.isJump) { |
| 304 | choiceBdcdy({ | 298 | startBusinessFlow({ |
| 305 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 299 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 306 | bdcdysz: this.bdcdysz | 300 | //sjlx: 'zrz', |
| 307 | }).then(res => { | 301 | sjlx: that.activeName, |
| 308 | this.loading = false | 302 | bdcdysz: that.bdcdysz, |
| 309 | if (res.code == 200) { | 303 | }).then((res) => { |
| 310 | this.$message({ | 304 | that.loading = false |
| 311 | showClose: true, | 305 | if (res.code == 200) { |
| 312 | message: '发起申请成功', | 306 | that.$message({ |
| 313 | type: 'success' | 307 | showClose: true, |
| 314 | }) | 308 | message: '发起申请成功', |
| 315 | store.dispatch('user/refreshPage', true); | 309 | type: 'success' |
| 316 | this.$popupCacel() | 310 | }) |
| 317 | } else { | 311 | if (!that.isJump) { |
| 318 | if (res.result && res.result.length > 0) { | 312 | that.jump(res.result, that.sqywInfo.djywbm); |
| 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 313 | } else { |
| 314 | store.dispatch('user/refreshPage', true); | ||
| 315 | } | ||
| 316 | that.$popupCacel() | ||
| 320 | } else { | 317 | } else { |
| 321 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 318 | if (res.result && res.result.length > 0) { |
| 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 320 | } else { | ||
| 321 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 322 | } | ||
| 322 | } | 323 | } |
| 323 | } | 324 | }).catch(() => { |
| 324 | }).catch(() => { | 325 | that.loading = false |
| 325 | this.loading = false | 326 | }) |
| 326 | }) | 327 | } else { |
| 328 | choiceBdcdy({ | ||
| 329 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | ||
| 330 | bdcdysz: that.bdcdysz | ||
| 331 | }).then(res => { | ||
| 332 | that.loading = false | ||
| 333 | if (res.code == 200) { | ||
| 334 | that.$message({ | ||
| 335 | showClose: true, | ||
| 336 | message: '发起申请成功', | ||
| 337 | type: 'success' | ||
| 338 | }) | ||
| 339 | store.dispatch('user/refreshPage', true); | ||
| 340 | that.$popupCacel() | ||
| 341 | } else { | ||
| 342 | if (res.result && res.result.length > 0) { | ||
| 343 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 344 | } else { | ||
| 345 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 346 | } | ||
| 347 | } | ||
| 348 | }).catch(() => { | ||
| 349 | that.loading = false | ||
| 350 | }) | ||
| 351 | } | ||
| 327 | } | 352 | } |
| 328 | }, | 353 | }, |
| 329 | /** | 354 | /** | ... | ... |
| 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,38 +132,64 @@ | ... | @@ -132,38 +132,64 @@ |
| 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 |
| 140 | startBusinessFlow({ | 141 | if (this.sqywInfo.isworkFrame) { |
| 141 | bsmSqyw: this.sqywInfo.bsmSqyw, | 142 | store.dispatch('user/reMenuRefresh', false) |
| 142 | bdcdysz: this.bdcdysz, | 143 | againAddSldy({ |
| 143 | }).then((res) => { | 144 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 144 | this.loading = false | 145 | bdcdysz: that.bdcdysz, |
| 145 | if (res.code == 200) { | 146 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 146 | this.$message({ | 147 | }).then(res => { |
| 147 | showClose: true, | 148 | that.loading = false |
| 148 | message: '发起申请成功', | 149 | if (res.code == 200) { |
| 149 | type: 'success' | 150 | if (this.sqywInfo.sqywdylx != "1") { |
| 150 | }) | 151 | that.bdcdysz = [] |
| 151 | if (!this.isJump) { | 152 | that.$refs.table.clearSelection() |
| 152 | this.jump(res.result, this.djywbm) | 153 | } |
| 153 | } else { | 154 | store.dispatch('user/reMenuRefresh', true) |
| 154 | store.dispatch('user/refreshPage', true); | 155 | that.$message({ |
| 156 | showClose: true, | ||
| 157 | message: '添加成功', | ||
| 158 | type: 'success' | ||
| 159 | }) | ||
| 155 | } | 160 | } |
| 156 | this.$popupCacel() | 161 | }).catch(() => { |
| 157 | } else { | 162 | that.loading = false |
| 158 | if (res.result && res.result.length > 0) { | 163 | }) |
| 159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 164 | } else { |
| 165 | startBusinessFlow({ | ||
| 166 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 167 | bdcdysz: that.bdcdysz, | ||
| 168 | }).then((res) => { | ||
| 169 | that.loading = false | ||
| 170 | if (res.code == 200) { | ||
| 171 | that.$message({ | ||
| 172 | showClose: true, | ||
| 173 | message: '发起申请成功', | ||
| 174 | type: 'success' | ||
| 175 | }) | ||
| 176 | if (!that.isJump) { | ||
| 177 | that.jump(res.result, that.djywbm) | ||
| 178 | } else { | ||
| 179 | store.dispatch('user/refreshPage', true); | ||
| 180 | } | ||
| 181 | that.$popupCacel() | ||
| 160 | } else { | 182 | } else { |
| 161 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 183 | if (res.result && res.result.length > 0) { |
| 184 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 185 | } else { | ||
| 186 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 187 | } | ||
| 162 | } | 188 | } |
| 163 | } | 189 | }).catch(() => { |
| 164 | }).catch(() => { | 190 | that.loading = false |
| 165 | this.loading = false | 191 | }) |
| 166 | }) | 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,38 +121,64 @@ | ... | @@ -121,38 +121,64 @@ |
| 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 |
| 129 | startBusinessFlow({ | 130 | if (this.sqywInfo.isworkFrame) { |
| 130 | bsmSqyw: this.sqywInfo.bsmSqyw, | 131 | store.dispatch('user/reMenuRefresh', false) |
| 131 | bdcdysz: this.bdcdysz, | 132 | againAddSldy({ |
| 132 | }).then((res) => { | 133 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 133 | this.loading = false | 134 | bdcdysz: that.bdcdysz, |
| 134 | if (res.code == 200) { | 135 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 135 | this.$message({ | 136 | }).then(res => { |
| 136 | showClose: true, | 137 | that.loading = false |
| 137 | message: '发起申请成功', | 138 | if (res.code == 200) { |
| 138 | type: 'success' | 139 | if (this.sqywInfo.sqywdylx != "1") { |
| 139 | }) | 140 | that.bdcdysz = [] |
| 140 | if (!this.isJump) { | 141 | that.$refs.table.clearSelection() |
| 141 | this.jump(res.result) | 142 | } |
| 142 | } else { | 143 | store.dispatch('user/reMenuRefresh', true) |
| 143 | store.dispatch('user/refreshPage', true); | 144 | that.$message({ |
| 145 | showClose: true, | ||
| 146 | message: '添加成功', | ||
| 147 | type: 'success' | ||
| 148 | }) | ||
| 144 | } | 149 | } |
| 145 | this.$popupCacel() | 150 | }).catch(() => { |
| 146 | } else { | 151 | that.loading = false |
| 147 | if (res.result && res.result.length > 0) { | 152 | }) |
| 148 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 153 | } else { |
| 154 | startBusinessFlow({ | ||
| 155 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 156 | bdcdysz: that.bdcdysz, | ||
| 157 | }).then((res) => { | ||
| 158 | that.loading = false | ||
| 159 | if (res.code == 200) { | ||
| 160 | that.$message({ | ||
| 161 | showClose: true, | ||
| 162 | message: '发起申请成功', | ||
| 163 | type: 'success' | ||
| 164 | }) | ||
| 165 | if (!that.isJump) { | ||
| 166 | that.jump(res.result) | ||
| 167 | } else { | ||
| 168 | store.dispatch('user/refreshPage', true); | ||
| 169 | } | ||
| 170 | that.$popupCacel() | ||
| 149 | } else { | 171 | } else { |
| 150 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 172 | if (res.result && res.result.length > 0) { |
| 173 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 174 | } else { | ||
| 175 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 176 | } | ||
| 151 | } | 177 | } |
| 152 | } | 178 | }).catch(() => { |
| 153 | }).catch(() => { | 179 | this.loading = false |
| 154 | this.loading = false | 180 | }) |
| 155 | }) | 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,69 +125,94 @@ | ... | @@ -125,69 +125,94 @@ |
| 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: "发起申请成功", | 145 | that.$refs.table.clearSelection() |
| 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 | } | 146 | } |
| 147 | store.dispatch('user/reMenuRefresh', true) | ||
| 148 | that.$message({ | ||
| 149 | showClose: true, | ||
| 150 | message: '添加成功', | ||
| 151 | type: 'success' | ||
| 152 | }) | ||
| 157 | } | 153 | } |
| 158 | }).catch(() => { | 154 | }).catch(() => { |
| 159 | this.loading = false | 155 | that.loading = false |
| 160 | }) | 156 | }) |
| 161 | } else { | 157 | } else { |
| 162 | startTogetherFlow({ | 158 | if (that.sqywInfo.sqfl == '1') { |
| 163 | bsmSqyw: this.sqywInfo.bsmSqyw, | 159 | startBusinessFlow({ |
| 164 | bdcdysz: this.bdcdysz, | 160 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 165 | }).then((res) => { | 161 | bdcdysz: that.bdcdysz, |
| 166 | this.loading = false | 162 | }).then((res) => { |
| 167 | if (res.code == 200) { | 163 | that.loading = false |
| 168 | this.$message({ | 164 | if (res.code == 200) { |
| 169 | showClose: true, | 165 | that.$message({ |
| 170 | message: '发起申请成功', | 166 | showClose: true, |
| 171 | type: 'success' | 167 | message: "发起申请成功", |
| 172 | }) | 168 | type: "success", |
| 173 | if (!this.isJump) { | 169 | }); |
| 174 | this.jump(res.result, this.sqywInfo.djywbm) | 170 | if (!that.isJump) { |
| 171 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 172 | } else { | ||
| 173 | store.dispatch('user/refreshPage', true); | ||
| 174 | } | ||
| 175 | that.$popupCacel() | ||
| 175 | } else { | 176 | } else { |
| 176 | store.dispatch('user/refreshPage', true); | 177 | if (res.result && res.result.length > 0) { |
| 177 | this.$popupCacel() | 178 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
| 179 | } else { | ||
| 180 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 181 | } | ||
| 178 | } | 182 | } |
| 179 | } else { | 183 | }).catch(() => { |
| 180 | if (res.result && res.result.length > 0) { | 184 | this.loading = false |
| 181 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 185 | }) |
| 186 | } else { | ||
| 187 | startTogetherFlow({ | ||
| 188 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 189 | bdcdysz: that.bdcdysz, | ||
| 190 | }).then((res) => { | ||
| 191 | that.loading = false | ||
| 192 | if (res.code == 200) { | ||
| 193 | that.$message({ | ||
| 194 | showClose: true, | ||
| 195 | message: '发起申请成功', | ||
| 196 | type: 'success' | ||
| 197 | }) | ||
| 198 | if (!that.isJump) { | ||
| 199 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 200 | } else { | ||
| 201 | store.dispatch('user/refreshPage', true); | ||
| 202 | that.$popupCacel() | ||
| 203 | } | ||
| 182 | } else { | 204 | } else { |
| 183 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 205 | if (res.result && res.result.length > 0) { |
| 206 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 207 | } else { | ||
| 208 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 209 | } | ||
| 184 | } | 210 | } |
| 185 | } | 211 | }).catch(() => { |
| 186 | }).catch(() => { | 212 | that.loading = false |
| 187 | this.loading = false | 213 | }) |
| 188 | }) | 214 | } |
| 189 | } | 215 | } |
| 190 | |||
| 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,41 +146,68 @@ | ... | @@ -146,41 +146,68 @@ |
| 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 |
| 154 | let from = { | 155 | if (this.sqywInfo.isworkFrame) { |
| 155 | bsmSqyw: this.bsmSqyw, | 156 | store.dispatch('user/reMenuRefresh', false) |
| 156 | bdcdysz: this.bdcdysz, | 157 | againAddSldy({ |
| 157 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | 158 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 158 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 159 | bdcdysz: that.bdcdysz, |
| 159 | } | 160 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 160 | startRepairFlow(from).then((res) => { | 161 | }).then(res => { |
| 161 | this.loading = false | 162 | that.loading = false |
| 162 | if (res.code == 200) { | 163 | if (res.code == 200) { |
| 163 | this.$message({ | 164 | if (this.sqywInfo.sqywdylx != "1") { |
| 164 | showClose: true, | 165 | that.bdcdysz = [] |
| 165 | message: '发起申请成功', | 166 | that.$refs.table.clearSelection() |
| 166 | type: 'success' | 167 | } |
| 167 | }) | 168 | store.dispatch('user/reMenuRefresh', true) |
| 168 | if (!this.isJump) { | 169 | that.$message({ |
| 169 | this.jump(res.result) | 170 | showClose: true, |
| 170 | } else { | 171 | message: '添加成功', |
| 171 | store.dispatch('user/refreshPage', true); | 172 | type: 'success' |
| 173 | }) | ||
| 172 | } | 174 | } |
| 173 | this.$popupCacel() | 175 | }).catch(() => { |
| 174 | } else { | 176 | that.loading = false |
| 175 | if (res.result && res.result.length > 0) { | 177 | }) |
| 176 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 178 | } else { |
| 179 | let from = { | ||
| 180 | bsmSqyw: this.bsmSqyw, | ||
| 181 | bdcdysz: this.bdcdysz, | ||
| 182 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | ||
| 183 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | ||
| 184 | } | ||
| 185 | startRepairFlow(from).then((res) => { | ||
| 186 | that.loading = false | ||
| 187 | if (res.code == 200) { | ||
| 188 | that.$message({ | ||
| 189 | showClose: true, | ||
| 190 | message: '发起申请成功', | ||
| 191 | type: 'success' | ||
| 192 | }) | ||
| 193 | if (!that.isJump) { | ||
| 194 | that.jump(res.result) | ||
| 195 | } else { | ||
| 196 | store.dispatch('user/refreshPage', true); | ||
| 197 | } | ||
| 198 | that.$popupCacel() | ||
| 177 | } else { | 199 | } else { |
| 178 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 200 | if (res.result && res.result.length > 0) { |
| 201 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 202 | } else { | ||
| 203 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 204 | } | ||
| 179 | } | 205 | } |
| 180 | } | 206 | }).catch(() => { |
| 181 | }).catch(() => { | 207 | that.loading = false |
| 182 | this.loading = false | 208 | }) |
| 183 | }) | 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,69 +138,94 @@ | ... | @@ -138,69 +138,94 @@ |
| 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; |
| 146 | if (this.sqywInfo.sqfl == '1') { | 147 | if (this.sqywInfo.isworkFrame) { |
| 147 | startBusinessFlow({ | 148 | store.dispatch('user/reMenuRefresh', false) |
| 148 | bsmSqyw: this.sqywInfo.bsmSqyw, | 149 | againAddSldy({ |
| 149 | bdcdysz: this.bdcdysz, | 150 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 150 | }).then((res) => { | 151 | bdcdysz: that.bdcdysz, |
| 151 | this.loading = false | 152 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 153 | }).then(res => { | ||
| 154 | that.loading = false | ||
| 152 | if (res.code == 200) { | 155 | if (res.code == 200) { |
| 153 | this.$message({ | 156 | if (this.sqywInfo.sqywdylx != "1") { |
| 154 | showClose: true, | 157 | that.bdcdysz = [] |
| 155 | message: "发起申请成功", | 158 | that.$refs.table.clearSelection() |
| 156 | type: "success", | ||
| 157 | }); | ||
| 158 | if (!this.isJump) { | ||
| 159 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 160 | } else { | ||
| 161 | store.dispatch('user/refreshPage', true); | ||
| 162 | } | ||
| 163 | this.$popupCacel() | ||
| 164 | } else { | ||
| 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 | } | 159 | } |
| 160 | store.dispatch('user/reMenuRefresh', true) | ||
| 161 | that.$message({ | ||
| 162 | showClose: true, | ||
| 163 | message: '添加成功', | ||
| 164 | type: 'success' | ||
| 165 | }) | ||
| 170 | } | 166 | } |
| 171 | }).catch(() => { | 167 | }).catch(() => { |
| 172 | this.loading = false | 168 | that.loading = false |
| 173 | }) | 169 | }) |
| 174 | } else { | 170 | } else { |
| 175 | startTogetherFlow({ | 171 | if (this.sqywInfo.sqfl == '1') { |
| 176 | bsmSqyw: this.sqywInfo.bsmSqyw, | 172 | startBusinessFlow({ |
| 177 | bdcdysz: this.bdcdysz, | 173 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 178 | }).then((res) => { | 174 | bdcdysz: that.bdcdysz, |
| 179 | this.loading = false | 175 | }).then((res) => { |
| 180 | if (res.code == 200) { | 176 | that.loading = false |
| 181 | this.$message({ | 177 | if (res.code == 200) { |
| 182 | showClose: true, | 178 | that.$message({ |
| 183 | message: '发起申请成功', | 179 | showClose: true, |
| 184 | type: 'success' | 180 | message: "发起申请成功", |
| 185 | }) | 181 | type: "success", |
| 186 | if (!this.isJump) { | 182 | }); |
| 187 | this.jump(res.result, this.sqywInfo.djywbm) | 183 | if (!that.isJump) { |
| 184 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 185 | } else { | ||
| 186 | store.dispatch('user/refreshPage', true); | ||
| 187 | } | ||
| 188 | that.$popupCacel() | ||
| 188 | } else { | 189 | } else { |
| 189 | store.dispatch('user/refreshPage', true); | 190 | if (res.result && res.result.length > 0) { |
| 190 | this.$popupCacel() | 191 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
| 192 | } else { | ||
| 193 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 194 | } | ||
| 191 | } | 195 | } |
| 192 | } else { | 196 | }).catch(() => { |
| 193 | if (res.result && res.result.length > 0) { | 197 | that.loading = false |
| 194 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 198 | }) |
| 199 | } else { | ||
| 200 | startTogetherFlow({ | ||
| 201 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 202 | bdcdysz: that.bdcdysz, | ||
| 203 | }).then((res) => { | ||
| 204 | that.loading = false | ||
| 205 | if (res.code == 200) { | ||
| 206 | that.$message({ | ||
| 207 | showClose: true, | ||
| 208 | message: '发起申请成功', | ||
| 209 | type: 'success' | ||
| 210 | }) | ||
| 211 | if (!that.isJump) { | ||
| 212 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 213 | } else { | ||
| 214 | store.dispatch('user/refreshPage', true); | ||
| 215 | that.$popupCacel() | ||
| 216 | } | ||
| 195 | } else { | 217 | } else { |
| 196 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 218 | if (res.result && res.result.length > 0) { |
| 219 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 220 | } else { | ||
| 221 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 222 | } | ||
| 197 | } | 223 | } |
| 198 | } | 224 | }).catch(() => { |
| 199 | }).catch(() => { | 225 | that.loading = false |
| 200 | this.loading = false | 226 | }) |
| 201 | }) | 227 | } |
| 202 | } | 228 | } |
| 203 | |||
| 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,38 +138,64 @@ | ... | @@ -138,38 +138,64 @@ |
| 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 |
| 146 | startBusinessFlow({ | 147 | if (this.sqywInfo.isworkFrame) { |
| 147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 148 | store.dispatch('user/reMenuRefresh', false) |
| 148 | bdcdysz: this.bdcdysz, | 149 | againAddSldy({ |
| 149 | }).then((res) => { | 150 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 150 | this.loading = false | 151 | bdcdysz: that.bdcdysz, |
| 151 | if (res.code == 200) { | 152 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 152 | this.$message({ | 153 | }).then(res => { |
| 153 | showClose: true, | 154 | that.loading = false |
| 154 | message: '发起申请成功', | 155 | if (res.code == 200) { |
| 155 | type: 'success' | 156 | if (this.sqywInfo.sqywdylx != "1") { |
| 156 | }) | 157 | that.bdcdysz = [] |
| 157 | if (!this.isJump) { | 158 | that.$refs.table.clearSelection() |
| 158 | this.jump(res.result, this.sqywInfo.djywbm) | 159 | } |
| 159 | } else { | 160 | store.dispatch('user/reMenuRefresh', true) |
| 160 | store.dispatch('user/refreshPage', true); | 161 | that.$message({ |
| 162 | showClose: true, | ||
| 163 | message: '添加成功', | ||
| 164 | type: 'success' | ||
| 165 | }) | ||
| 161 | } | 166 | } |
| 162 | this.$popupCacel() | 167 | }).catch(() => { |
| 163 | } else { | 168 | that.loading = false |
| 164 | if (res.result && res.result.length > 0) { | 169 | }) |
| 165 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 170 | } else { |
| 171 | startBusinessFlow({ | ||
| 172 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 173 | bdcdysz: that.bdcdysz, | ||
| 174 | }).then((res) => { | ||
| 175 | that.loading = false | ||
| 176 | if (res.code == 200) { | ||
| 177 | that.$message({ | ||
| 178 | showClose: true, | ||
| 179 | message: '发起申请成功', | ||
| 180 | type: 'success' | ||
| 181 | }) | ||
| 182 | if (!that.isJump) { | ||
| 183 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 184 | } else { | ||
| 185 | store.dispatch('user/refreshPage', true); | ||
| 186 | } | ||
| 187 | that.$popupCacel() | ||
| 166 | } else { | 188 | } else { |
| 167 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 189 | if (res.result && res.result.length > 0) { |
| 190 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 191 | } else { | ||
| 192 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 193 | } | ||
| 168 | } | 194 | } |
| 169 | } | 195 | }).catch(() => { |
| 170 | }).catch(() => { | 196 | that.loading = false |
| 171 | this.loading = false | 197 | }) |
| 172 | }) | 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,38 +140,64 @@ | ... | @@ -140,38 +140,64 @@ |
| 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 |
| 148 | startBusinessFlow({ | 149 | if (this.sqywInfo.isworkFrame) { |
| 149 | bsmSqyw: this.sqywInfo.bsmSqyw, | 150 | store.dispatch('user/reMenuRefresh', false) |
| 150 | bdcdysz: this.bdcdysz, | 151 | againAddSldy({ |
| 151 | }).then((res) => { | 152 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 152 | this.loading = false | 153 | bdcdysz: that.bdcdysz, |
| 153 | if (res.code == 200) { | 154 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 154 | this.$message({ | 155 | }).then(res => { |
| 155 | showClose: true, | 156 | that.loading = false |
| 156 | message: "发起申请成功", | 157 | if (res.code == 200) { |
| 157 | type: "success", | 158 | if (this.sqywInfo.sqywdylx != "1") { |
| 158 | }); | 159 | that.bdcdysz = [] |
| 159 | if (!this.isJump) { | 160 | that.$refs.table.clearSelection() |
| 160 | this.jump(res.result, this.sqywInfo.djywbm); | 161 | } |
| 161 | } else { | 162 | store.dispatch('user/reMenuRefresh', true) |
| 162 | store.dispatch('user/refreshPage', true); | 163 | that.$message({ |
| 164 | showClose: true, | ||
| 165 | message: '添加成功', | ||
| 166 | type: 'success' | ||
| 167 | }) | ||
| 163 | } | 168 | } |
| 164 | this.$popupCacel() | 169 | }).catch(() => { |
| 165 | } else { | 170 | that.loading = false |
| 166 | if (res.result && res.result.length > 0) { | 171 | }) |
| 167 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 172 | } else { |
| 173 | startBusinessFlow({ | ||
| 174 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 175 | bdcdysz: that.bdcdysz, | ||
| 176 | }).then((res) => { | ||
| 177 | that.loading = false | ||
| 178 | if (res.code == 200) { | ||
| 179 | that.$message({ | ||
| 180 | showClose: true, | ||
| 181 | message: "发起申请成功", | ||
| 182 | type: "success", | ||
| 183 | }); | ||
| 184 | if (!that.isJump) { | ||
| 185 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 186 | } else { | ||
| 187 | store.dispatch('user/refreshPage', true); | ||
| 188 | } | ||
| 189 | that.$popupCacel() | ||
| 168 | } else { | 190 | } else { |
| 169 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 191 | if (res.result && res.result.length > 0) { |
| 192 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 193 | } else { | ||
| 194 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 195 | } | ||
| 170 | } | 196 | } |
| 171 | } | 197 | }).catch(() => { |
| 172 | }).catch(() => { | 198 | this.loading = false |
| 173 | this.loading = false | 199 | }) |
| 174 | }) | 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,38 +104,64 @@ | ... | @@ -104,38 +104,64 @@ |
| 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 |
| 112 | startBusinessFlow({ | 113 | if (this.sqywInfo.isworkFrame) { |
| 113 | bsmSqyw: this.sqywInfo.bsmSqyw, | 114 | store.dispatch('user/reMenuRefresh', false) |
| 114 | bdcdysz: this.bdcdysz, | 115 | againAddSldy({ |
| 115 | }).then((res) => { | 116 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 116 | this.loading = false | 117 | bdcdysz: that.bdcdysz, |
| 117 | if (res.code == 200) { | 118 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 118 | this.$message({ | 119 | }).then(res => { |
| 119 | showClose: true, | 120 | that.loading = false |
| 120 | message: "发起申请成功", | 121 | if (res.code == 200) { |
| 121 | type: "success", | 122 | if (this.sqywInfo.sqywdylx != "1") { |
| 122 | }); | 123 | that.bdcdysz = [] |
| 123 | if (!this.isJump) { | 124 | that.$refs.table.clearSelection() |
| 124 | this.jump(res.result, this.djywbm); | 125 | } |
| 125 | } else { | 126 | store.dispatch('user/reMenuRefresh', true) |
| 126 | store.dispatch('user/refreshPage', true); | 127 | that.$message({ |
| 128 | showClose: true, | ||
| 129 | message: '添加成功', | ||
| 130 | type: 'success' | ||
| 131 | }) | ||
| 127 | } | 132 | } |
| 128 | this.$popupCacel() | 133 | }).catch(() => { |
| 129 | } else { | 134 | that.loading = false |
| 130 | if (res.result && res.result.length > 0) { | 135 | }) |
| 131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 136 | } else { |
| 137 | startBusinessFlow({ | ||
| 138 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 139 | bdcdysz: that.bdcdysz, | ||
| 140 | }).then((res) => { | ||
| 141 | that.loading = false | ||
| 142 | if (res.code == 200) { | ||
| 143 | that.$message({ | ||
| 144 | showClose: true, | ||
| 145 | message: "发起申请成功", | ||
| 146 | type: "success", | ||
| 147 | }); | ||
| 148 | if (!that.isJump) { | ||
| 149 | that.jump(res.result, that.djywbm); | ||
| 150 | } else { | ||
| 151 | store.dispatch('user/refreshPage', true); | ||
| 152 | } | ||
| 153 | that.$popupCacel() | ||
| 132 | } else { | 154 | } else { |
| 133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 155 | if (res.result && res.result.length > 0) { |
| 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 157 | } else { | ||
| 158 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 159 | } | ||
| 134 | } | 160 | } |
| 135 | } | 161 | }).catch(() => { |
| 136 | }).catch(() => { | 162 | that.loading = false |
| 137 | this.loading = false | 163 | }) |
| 138 | }) | 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,38 +139,64 @@ | ... | @@ -139,38 +139,64 @@ |
| 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 |
| 147 | startBusinessFlow({ | 148 | if (this.sqywInfo.isworkFrame) { |
| 148 | bsmSqyw: this.sqywInfo.bsmSqyw, | 149 | store.dispatch('user/reMenuRefresh', false) |
| 149 | bdcdysz: this.bdcdysz, | 150 | againAddSldy({ |
| 150 | }).then((res) => { | 151 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 151 | this.loading = false | 152 | bdcdysz: that.bdcdysz, |
| 152 | if (res.code == 200) { | 153 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 153 | this.$message({ | 154 | }).then(res => { |
| 154 | showClose: true, | 155 | that.loading = false |
| 155 | message: "发起申请成功", | 156 | if (res.code == 200) { |
| 156 | type: "success", | 157 | if (this.sqywInfo.sqywdylx != "1") { |
| 157 | }); | 158 | that.bdcdysz = [] |
| 158 | if (!this.isJump) { | 159 | that.$refs.table.clearSelection() |
| 159 | this.jump(res.result, this.djywbm); | 160 | } |
| 160 | } else { | 161 | store.dispatch('user/reMenuRefresh', true) |
| 161 | store.dispatch('user/refreshPage', true); | 162 | that.$message({ |
| 163 | showClose: true, | ||
| 164 | message: '添加成功', | ||
| 165 | type: 'success' | ||
| 166 | }) | ||
| 162 | } | 167 | } |
| 163 | this.$popupCacel() | 168 | }).catch(() => { |
| 164 | } else { | 169 | that.loading = false |
| 165 | if (res.result && res.result.length > 0) { | 170 | }) |
| 166 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 171 | } else { |
| 172 | startBusinessFlow({ | ||
| 173 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 174 | bdcdysz: that.bdcdysz, | ||
| 175 | }).then((res) => { | ||
| 176 | that.loading = false | ||
| 177 | if (res.code == 200) { | ||
| 178 | that.$message({ | ||
| 179 | showClose: true, | ||
| 180 | message: "发起申请成功", | ||
| 181 | type: "success", | ||
| 182 | }); | ||
| 183 | if (!that.isJump) { | ||
| 184 | that.jump(res.result, that.djywbm); | ||
| 185 | } else { | ||
| 186 | store.dispatch('user/refreshPage', true); | ||
| 187 | } | ||
| 188 | that.$popupCacel() | ||
| 167 | } else { | 189 | } else { |
| 168 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 190 | if (res.result && res.result.length > 0) { |
| 191 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 192 | } else { | ||
| 193 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 194 | } | ||
| 169 | } | 195 | } |
| 170 | } | 196 | }).catch(() => { |
| 171 | }).catch(() => { | 197 | this.loading = false |
| 172 | this.loading = false | 198 | }) |
| 173 | }) | 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,38 +141,64 @@ | ... | @@ -141,38 +141,64 @@ |
| 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 |
| 149 | startBusinessFlow({ | 150 | if (this.sqywInfo.isworkFrame) { |
| 150 | bsmSqyw: this.sqywInfo.bsmSqyw, | 151 | store.dispatch('user/reMenuRefresh', false) |
| 151 | bdcdysz: this.bdcdysz, | 152 | againAddSldy({ |
| 152 | }).then((res) => { | 153 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 153 | this.loading = false | 154 | bdcdysz: that.bdcdysz, |
| 154 | if (res.code == 200) { | 155 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 155 | this.$message({ | 156 | }).then(res => { |
| 156 | showClose: true, | 157 | that.loading = false |
| 157 | message: "发起申请成功", | 158 | if (res.code == 200) { |
| 158 | type: "success", | 159 | if (this.sqywInfo.sqywdylx != "1") { |
| 159 | }); | 160 | that.bdcdysz = [] |
| 160 | if (!this.isJump) { | 161 | that.$refs.table.clearSelection() |
| 161 | this.jump(res.result, this.djywbm); | 162 | } |
| 162 | } else { | 163 | store.dispatch('user/reMenuRefresh', true) |
| 163 | store.dispatch('user/refreshPage', true); | 164 | that.$message({ |
| 165 | showClose: true, | ||
| 166 | message: '添加成功', | ||
| 167 | type: 'success' | ||
| 168 | }) | ||
| 164 | } | 169 | } |
| 165 | this.$popupCacel() | 170 | }).catch(() => { |
| 166 | } else { | 171 | that.loading = false |
| 167 | if (res.result && res.result.length > 0) { | 172 | }) |
| 168 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 173 | } else { |
| 174 | startBusinessFlow({ | ||
| 175 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 176 | bdcdysz: that.bdcdysz, | ||
| 177 | }).then((res) => { | ||
| 178 | that.loading = false | ||
| 179 | if (res.code == 200) { | ||
| 180 | that.$message({ | ||
| 181 | showClose: true, | ||
| 182 | message: "发起申请成功", | ||
| 183 | type: "success", | ||
| 184 | }); | ||
| 185 | if (!that.isJump) { | ||
| 186 | that.jump(res.result, that.djywbm); | ||
| 187 | } else { | ||
| 188 | store.dispatch('user/refreshPage', true); | ||
| 189 | } | ||
| 190 | that.$popupCacel() | ||
| 169 | } else { | 191 | } else { |
| 170 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 192 | if (res.result && res.result.length > 0) { |
| 193 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 194 | } else { | ||
| 195 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 196 | } | ||
| 171 | } | 197 | } |
| 172 | } | 198 | }).catch(() => { |
| 173 | }).catch(() => { | 199 | this.loading = false |
| 174 | this.loading = false | 200 | }) |
| 175 | }) | 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,38 +104,64 @@ | ... | @@ -104,38 +104,64 @@ |
| 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 |
| 112 | startBusinessFlow({ | 113 | if (this.sqywInfo.isworkFrame) { |
| 113 | bsmSqyw: this.sqywInfo.bsmSqyw, | 114 | store.dispatch('user/reMenuRefresh', false) |
| 114 | bdcdysz: this.bdcdysz, | 115 | againAddSldy({ |
| 115 | }).then((res) => { | 116 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 116 | this.loading = false | 117 | bdcdysz: that.bdcdysz, |
| 117 | if (res.code == 200) { | 118 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 118 | this.$message({ | 119 | }).then(res => { |
| 119 | showClose: true, | 120 | that.loading = false |
| 120 | message: "发起申请成功", | 121 | if (res.code == 200) { |
| 121 | type: "success", | 122 | if (this.sqywInfo.sqywdylx != "1") { |
| 122 | }); | 123 | that.bdcdysz = [] |
| 123 | if (!this.isJump) { | 124 | that.$refs.table.clearSelection() |
| 124 | this.jump(res.result, this.djywbm); | 125 | } |
| 125 | } else { | 126 | store.dispatch('user/reMenuRefresh', true) |
| 126 | store.dispatch('user/refreshPage', true); | 127 | that.$message({ |
| 128 | showClose: true, | ||
| 129 | message: '添加成功', | ||
| 130 | type: 'success' | ||
| 131 | }) | ||
| 127 | } | 132 | } |
| 128 | this.$popupCacel() | 133 | }).catch(() => { |
| 129 | } else { | 134 | that.loading = false |
| 130 | if (res.result && res.result.length > 0) { | 135 | }) |
| 131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 136 | } else { |
| 137 | startBusinessFlow({ | ||
| 138 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 139 | bdcdysz: that.bdcdysz, | ||
| 140 | }).then((res) => { | ||
| 141 | that.loading = false | ||
| 142 | if (res.code == 200) { | ||
| 143 | that.$message({ | ||
| 144 | showClose: true, | ||
| 145 | message: "发起申请成功", | ||
| 146 | type: "success", | ||
| 147 | }); | ||
| 148 | if (!that.isJump) { | ||
| 149 | that.jump(res.result, that.djywbm); | ||
| 150 | } else { | ||
| 151 | store.dispatch('user/refreshPage', true); | ||
| 152 | } | ||
| 153 | that.$popupCacel() | ||
| 132 | } else { | 154 | } else { |
| 133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 155 | if (res.result && res.result.length > 0) { |
| 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 157 | } else { | ||
| 158 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 159 | } | ||
| 134 | } | 160 | } |
| 135 | } | 161 | }).catch(() => { |
| 136 | }).catch(() => { | 162 | this.loading = false |
| 137 | this.loading = false | 163 | }) |
| 138 | }) | 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,38 +138,64 @@ | ... | @@ -138,38 +138,64 @@ |
| 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 |
| 146 | startBusinessFlow({ | 147 | if (this.sqywInfo.isworkFrame) { |
| 147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 148 | store.dispatch('user/reMenuRefresh', false) |
| 148 | bdcdysz: this.bdcdysz, | 149 | againAddSldy({ |
| 149 | }).then((res) => { | 150 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 150 | this.loading = false | 151 | bdcdysz: that.bdcdysz, |
| 151 | if (res.code == 200) { | 152 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 152 | this.$message({ | 153 | }).then(res => { |
| 153 | showClose: true, | 154 | that.loading = false |
| 154 | message: "发起申请成功", | 155 | if (res.code == 200) { |
| 155 | type: "success", | 156 | if (this.sqywInfo.sqywdylx != "1") { |
| 156 | }); | 157 | that.bdcdysz = [] |
| 157 | if (!this.isJump) { | 158 | that.$refs.table.clearSelection() |
| 158 | this.jump(res.result, this.djywbm); | 159 | } |
| 159 | } else { | 160 | store.dispatch('user/reMenuRefresh', true) |
| 160 | store.dispatch('user/refreshPage', true); | 161 | that.$message({ |
| 162 | showClose: true, | ||
| 163 | message: '添加成功', | ||
| 164 | type: 'success' | ||
| 165 | }) | ||
| 161 | } | 166 | } |
| 162 | this.$popupCacel() | 167 | }).catch(() => { |
| 163 | } else { | 168 | that.loading = false |
| 164 | if (res.result && res.result.length > 0) { | 169 | }) |
| 165 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 170 | } else { |
| 171 | startBusinessFlow({ | ||
| 172 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 173 | bdcdysz: that.bdcdysz, | ||
| 174 | }).then((res) => { | ||
| 175 | that.loading = false | ||
| 176 | if (res.code == 200) { | ||
| 177 | that.$message({ | ||
| 178 | showClose: true, | ||
| 179 | message: "发起申请成功", | ||
| 180 | type: "success", | ||
| 181 | }); | ||
| 182 | if (!that.isJump) { | ||
| 183 | that.jump(res.result, that.djywbm); | ||
| 184 | } else { | ||
| 185 | store.dispatch('user/refreshPage', true); | ||
| 186 | } | ||
| 187 | that.$popupCacel() | ||
| 166 | } else { | 188 | } else { |
| 167 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 189 | if (res.result && res.result.length > 0) { |
| 190 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 191 | } else { | ||
| 192 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 193 | } | ||
| 168 | } | 194 | } |
| 169 | } | 195 | }).catch(() => { |
| 170 | }).catch(() => { | 196 | this.loading = false |
| 171 | this.loading = false | 197 | }) |
| 172 | }) | 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,38 +118,64 @@ | ... | @@ -118,38 +118,64 @@ |
| 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 |
| 126 | startBusinessFlow({ | 127 | if (this.sqywInfo.isworkFrame) { |
| 127 | bsmSqyw: this.sqywInfo.bsmSqyw, | 128 | store.dispatch('user/reMenuRefresh', false) |
| 128 | bdcdysz: this.bdcdysz, | 129 | againAddSldy({ |
| 129 | }).then((res) => { | 130 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 130 | this.loading = false | 131 | bdcdysz: that.bdcdysz, |
| 131 | if (res.code == 200) { | 132 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 132 | this.$message({ | 133 | }).then(res => { |
| 133 | showClose: true, | 134 | that.loading = false |
| 134 | message: "发起申请成功", | 135 | if (res.code == 200) { |
| 135 | type: "success", | 136 | if (this.sqywInfo.sqywdylx != "1") { |
| 136 | }); | 137 | that.bdcdysz = [] |
| 137 | if (!this.isJump) { | 138 | that.$refs.table.clearSelection() |
| 138 | this.jump(res.result, this.sqywInfo.djywbm); | 139 | } |
| 139 | } else { | 140 | store.dispatch('user/reMenuRefresh', true) |
| 140 | store.dispatch('user/refreshPage', true); | 141 | that.$message({ |
| 142 | showClose: true, | ||
| 143 | message: '添加成功', | ||
| 144 | type: 'success' | ||
| 145 | }) | ||
| 141 | } | 146 | } |
| 142 | this.$popupCacel() | 147 | }).catch(() => { |
| 143 | } else { | 148 | that.loading = false |
| 144 | if (res.result && res.result.length > 0) { | 149 | }) |
| 145 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 150 | } else { |
| 151 | startBusinessFlow({ | ||
| 152 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 153 | bdcdysz: that.bdcdysz, | ||
| 154 | }).then((res) => { | ||
| 155 | that.loading = false | ||
| 156 | if (res.code == 200) { | ||
| 157 | that.$message({ | ||
| 158 | showClose: true, | ||
| 159 | message: "发起申请成功", | ||
| 160 | type: "success", | ||
| 161 | }); | ||
| 162 | if (!that.isJump) { | ||
| 163 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 164 | } else { | ||
| 165 | store.dispatch('user/refreshPage', true); | ||
| 166 | } | ||
| 167 | that.$popupCacel() | ||
| 146 | } else { | 168 | } else { |
| 147 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 169 | if (res.result && res.result.length > 0) { |
| 170 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 171 | } else { | ||
| 172 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 173 | } | ||
| 148 | } | 174 | } |
| 149 | } | 175 | }).catch(() => { |
| 150 | }).catch(() => { | 176 | this.loading = false |
| 151 | this.loading = false | 177 | }) |
| 152 | }) | 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,38 +102,64 @@ | ... | @@ -102,38 +102,64 @@ |
| 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 |
| 110 | startTogetherFlow({ | 111 | if (this.sqywInfo.isworkFrame) { |
| 111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | store.dispatch('user/reMenuRefresh', false) |
| 112 | bdcdysz: this.bdcdysz, | 113 | againAddSldy({ |
| 113 | }).then((res) => { | 114 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 114 | this.loading = false | 115 | bdcdysz: that.bdcdysz, |
| 115 | if (res.code == 200) { | 116 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 116 | this.$message({ | 117 | }).then(res => { |
| 117 | showClose: true, | 118 | that.loading = false |
| 118 | message: '发起申请成功', | 119 | if (res.code == 200) { |
| 119 | type: 'success' | 120 | if (this.sqywInfo.sqywdylx != "1") { |
| 120 | }) | 121 | that.bdcdysz = [] |
| 121 | if (!this.isJump) { | 122 | that.$refs.table.clearSelection() |
| 122 | this.jump(res.result, this.sqywInfo.djywbm) | 123 | } |
| 123 | } else { | 124 | store.dispatch('user/reMenuRefresh', true) |
| 124 | store.dispatch('user/refreshPage', true); | 125 | that.$message({ |
| 125 | this.$popupCacel() | 126 | showClose: true, |
| 127 | message: '添加成功', | ||
| 128 | type: 'success' | ||
| 129 | }) | ||
| 126 | } | 130 | } |
| 127 | } else { | 131 | }).catch(() => { |
| 128 | if (res.result && res.result.length > 0) { | 132 | that.loading = false |
| 129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 133 | }) |
| 134 | } else { | ||
| 135 | startTogetherFlow({ | ||
| 136 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 137 | bdcdysz: that.bdcdysz, | ||
| 138 | }).then((res) => { | ||
| 139 | that.loading = false | ||
| 140 | if (res.code == 200) { | ||
| 141 | that.$message({ | ||
| 142 | showClose: true, | ||
| 143 | message: '发起申请成功', | ||
| 144 | type: 'success' | ||
| 145 | }) | ||
| 146 | if (!that.isJump) { | ||
| 147 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 148 | } else { | ||
| 149 | store.dispatch('user/refreshPage', true); | ||
| 150 | that.$popupCacel() | ||
| 151 | } | ||
| 130 | } else { | 152 | } else { |
| 131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 153 | if (res.result && res.result.length > 0) { |
| 154 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 155 | } else { | ||
| 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 157 | } | ||
| 132 | } | 158 | } |
| 133 | } | 159 | }).catch(() => { |
| 134 | }).catch(() => { | 160 | this.loading = false |
| 135 | this.loading = false | 161 | }) |
| 136 | }) | 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,38 +103,64 @@ | ... | @@ -103,38 +103,64 @@ |
| 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 |
| 111 | startTogetherFlow({ | 112 | if (this.sqywInfo.isworkFrame) { |
| 112 | bsmSqyw: this.sqywInfo.bsmSqyw, | 113 | store.dispatch('user/reMenuRefresh', false) |
| 113 | bdcdysz: this.bdcdysz, | 114 | againAddSldy({ |
| 114 | }).then((res) => { | 115 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 115 | this.loading = false | 116 | bdcdysz: that.bdcdysz, |
| 116 | if (res.code == 200) { | 117 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 117 | this.$message({ | 118 | }).then(res => { |
| 118 | showClose: true, | 119 | that.loading = false |
| 119 | message: "发起申请成功", | 120 | if (res.code == 200) { |
| 120 | type: "success", | 121 | if (this.sqywInfo.sqywdylx != "1") { |
| 121 | }); | 122 | that.bdcdysz = [] |
| 122 | if (!this.isJump) { | 123 | that.$refs.table.clearSelection() |
| 123 | this.jump(res.result, this.sqywInfo.djywbm); | 124 | } |
| 124 | } else { | 125 | store.dispatch('user/reMenuRefresh', true) |
| 125 | store.dispatch('user/refreshPage', true); | 126 | that.$message({ |
| 127 | showClose: true, | ||
| 128 | message: '添加成功', | ||
| 129 | type: 'success' | ||
| 130 | }) | ||
| 126 | } | 131 | } |
| 127 | this.$popupCacel() | 132 | }).catch(() => { |
| 128 | } else { | 133 | that.loading = false |
| 129 | if (res.result && res.result.length > 0) { | 134 | }) |
| 130 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 135 | } else { |
| 136 | startTogetherFlow({ | ||
| 137 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 138 | bdcdysz: that.bdcdysz, | ||
| 139 | }).then((res) => { | ||
| 140 | that.loading = false | ||
| 141 | if (res.code == 200) { | ||
| 142 | that.$message({ | ||
| 143 | showClose: true, | ||
| 144 | message: "发起申请成功", | ||
| 145 | type: "success", | ||
| 146 | }); | ||
| 147 | if (!that.isJump) { | ||
| 148 | that.jump(res.result, that.sqywInfo.djywbm); | ||
| 149 | } else { | ||
| 150 | store.dispatch('user/refreshPage', true); | ||
| 151 | } | ||
| 152 | that.$popupCacel() | ||
| 131 | } else { | 153 | } else { |
| 132 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 154 | if (res.result && res.result.length > 0) { |
| 155 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 156 | } else { | ||
| 157 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 158 | } | ||
| 133 | } | 159 | } |
| 134 | } | 160 | }).catch(() => { |
| 135 | }).catch(() => { | 161 | this.loading = false |
| 136 | this.loading = false | 162 | }) |
| 137 | }) | 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,38 +102,64 @@ | ... | @@ -102,38 +102,64 @@ |
| 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 |
| 110 | startTogetherFlow({ | 111 | if (this.sqywInfo.isworkFrame) { |
| 111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | store.dispatch('user/reMenuRefresh', false) |
| 112 | bdcdysz: this.bdcdysz | 113 | againAddSldy({ |
| 113 | }).then((res) => { | 114 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 114 | this.loading = false | 115 | bdcdysz: that.bdcdysz, |
| 115 | if (res.code == 200) { | 116 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 116 | this.$message({ | 117 | }).then(res => { |
| 117 | showClose: true, | 118 | that.loading = false |
| 118 | message: '发起申请成功', | 119 | if (res.code == 200) { |
| 119 | type: 'success' | 120 | if (this.sqywInfo.sqywdylx != "1") { |
| 120 | }) | 121 | that.bdcdysz = [] |
| 121 | if (!this.isJump) { | 122 | that.$refs.table.clearSelection() |
| 122 | this.jump(res.result, this.sqywInfo.djywbm) | 123 | } |
| 123 | } else { | 124 | store.dispatch('user/reMenuRefresh', true) |
| 124 | store.dispatch('user/refreshPage', true); | 125 | that.$message({ |
| 126 | showClose: true, | ||
| 127 | message: '添加成功', | ||
| 128 | type: 'success' | ||
| 129 | }) | ||
| 125 | } | 130 | } |
| 126 | this.$popupCacel() | 131 | }).catch(() => { |
| 127 | } else { | 132 | that.loading = false |
| 128 | if (res.result && res.result.length > 0) { | 133 | }) |
| 129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 134 | } else { |
| 135 | startTogetherFlow({ | ||
| 136 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 137 | bdcdysz: that.bdcdysz | ||
| 138 | }).then((res) => { | ||
| 139 | that.loading = false | ||
| 140 | if (res.code == 200) { | ||
| 141 | that.$message({ | ||
| 142 | showClose: true, | ||
| 143 | message: '发起申请成功', | ||
| 144 | type: 'success' | ||
| 145 | }) | ||
| 146 | if (!that.isJump) { | ||
| 147 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 148 | } else { | ||
| 149 | store.dispatch('user/refreshPage', true); | ||
| 150 | } | ||
| 151 | that.$popupCacel() | ||
| 130 | } else { | 152 | } else { |
| 131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 153 | if (res.result && res.result.length > 0) { |
| 154 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 155 | } else { | ||
| 156 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 157 | } | ||
| 132 | } | 158 | } |
| 133 | } | 159 | }).catch(() => { |
| 134 | }).catch(() => { | 160 | this.loading = false |
| 135 | this.loading = false | 161 | }) |
| 136 | }) | 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,38 +138,64 @@ | ... | @@ -138,38 +138,64 @@ |
| 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 |
| 146 | startBusinessFlow({ | 147 | if (this.sqywInfo.isworkFrame) { |
| 147 | bsmSqyw: this.sqywInfo.bsmSqyw, | 148 | store.dispatch('user/reMenuRefresh', false) |
| 148 | bdcdysz: this.bdcdysz, | 149 | againAddSldy({ |
| 149 | }).then((res) => { | 150 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 150 | this.loading = false | 151 | bdcdysz: that.bdcdysz, |
| 151 | if (res.code == 200) { | 152 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 152 | this.$message({ | 153 | }).then(res => { |
| 153 | showClose: true, | 154 | that.loading = false |
| 154 | message: '发起申请成功', | 155 | if (res.code == 200) { |
| 155 | type: 'success' | 156 | if (this.sqywInfo.sqywdylx != "1") { |
| 156 | }) | 157 | that.bdcdysz = [] |
| 157 | if (!this.isJump) { | 158 | that.$refs.table.clearSelection() |
| 158 | this.jump(res.result, this.sqywInfo.djywbm) | 159 | } |
| 159 | } else { | 160 | store.dispatch('user/reMenuRefresh', true) |
| 160 | store.dispatch('user/refreshPage', true); | 161 | that.$message({ |
| 161 | this.$popupCacel() | 162 | showClose: true, |
| 163 | message: '添加成功', | ||
| 164 | type: 'success' | ||
| 165 | }) | ||
| 162 | } | 166 | } |
| 163 | } else { | 167 | }).catch(() => { |
| 164 | if (res.result && res.result.length > 0) { | 168 | that.loading = false |
| 165 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 169 | }) |
| 170 | } else { | ||
| 171 | startBusinessFlow({ | ||
| 172 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 173 | bdcdysz: that.bdcdysz, | ||
| 174 | }).then((res) => { | ||
| 175 | that.loading = false | ||
| 176 | if (res.code == 200) { | ||
| 177 | that.$message({ | ||
| 178 | showClose: true, | ||
| 179 | message: '发起申请成功', | ||
| 180 | type: 'success' | ||
| 181 | }) | ||
| 182 | if (!that.isJump) { | ||
| 183 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 184 | } else { | ||
| 185 | store.dispatch('user/refreshPage', true); | ||
| 186 | that.$popupCacel() | ||
| 187 | } | ||
| 166 | } else { | 188 | } else { |
| 167 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 189 | if (res.result && res.result.length > 0) { |
| 190 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 191 | } else { | ||
| 192 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 193 | } | ||
| 168 | } | 194 | } |
| 169 | } | 195 | }).catch(() => { |
| 170 | }).catch(() => { | 196 | this.loading = false |
| 171 | this.loading = false | 197 | }) |
| 172 | }) | 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,38 +115,64 @@ | ... | @@ -115,38 +115,64 @@ |
| 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 | that.$refs.table.clearSelection() |
| 135 | this.jump(res.result, this.sqywInfo.djywbm) | 136 | } |
| 136 | } else { | 137 | store.dispatch('user/reMenuRefresh', true) |
| 137 | store.dispatch('user/refreshPage', true); | 138 | that.$message({ |
| 139 | showClose: true, | ||
| 140 | message: '添加成功', | ||
| 141 | type: 'success' | ||
| 142 | }) | ||
| 138 | } | 143 | } |
| 139 | this.$popupCacel() | 144 | }).catch(() => { |
| 140 | } else { | 145 | that.loading = false |
| 141 | if (res.result && res.result.length > 0) { | 146 | }) |
| 142 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 147 | } else { |
| 148 | startBusinessFlow({ | ||
| 149 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 150 | bdcdysz: that.bdcdysz, | ||
| 151 | }).then((res) => { | ||
| 152 | that.loading = false | ||
| 153 | if (res.code == 200) { | ||
| 154 | that.$message({ | ||
| 155 | showClose: true, | ||
| 156 | message: '发起申请成功', | ||
| 157 | type: 'success' | ||
| 158 | }) | ||
| 159 | if (!that.isJump) { | ||
| 160 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 161 | } else { | ||
| 162 | store.dispatch('user/refreshPage', true); | ||
| 163 | } | ||
| 164 | that.$popupCacel() | ||
| 143 | } else { | 165 | } else { |
| 144 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 166 | if (res.result && res.result.length > 0) { |
| 167 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 168 | } else { | ||
| 169 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 170 | } | ||
| 145 | } | 171 | } |
| 146 | } | 172 | }).catch(() => { |
| 147 | }).catch(() => { | 173 | this.loading = false |
| 148 | this.loading = false | 174 | }) |
| 149 | }) | 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 |
| 115 | startBusinessFlow({ | 116 | if (this.sqywInfo.isworkFrame) { |
| 116 | bsmSqyw: this.sqywInfo.bsmSqyw, | 117 | store.dispatch('user/reMenuRefresh', false) |
| 117 | bdcdysz: this.bdcdysz, | 118 | againAddSldy({ |
| 118 | }).then((res) => { | 119 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 119 | this.loading = false | 120 | bdcdysz: that.bdcdysz, |
| 120 | if (res.code == 200) { | 121 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 121 | this.$message({ | 122 | }).then(res => { |
| 122 | showClose: true, | 123 | that.loading = false |
| 123 | message: '发起申请成功', | 124 | if (res.code == 200) { |
| 124 | type: 'success' | 125 | if (this.sqywInfo.sqywdylx != "1") { |
| 125 | }) | 126 | that.bdcdysz = [] |
| 126 | if (!this.isJump) { | 127 | that.$refs.table.clearSelection() |
| 127 | this.jump(res.result, this.sqywInfo.djywbm) | 128 | } |
| 128 | } else { | 129 | store.dispatch('user/reMenuRefresh', true) |
| 129 | store.dispatch('user/refreshPage', true); | 130 | that.$message({ |
| 131 | showClose: true, | ||
| 132 | message: '添加成功', | ||
| 133 | type: 'success' | ||
| 134 | }) | ||
| 130 | } | 135 | } |
| 131 | this.close() | 136 | }).catch(() => { |
| 132 | } else { | 137 | that.loading = false |
| 133 | if (res.result && res.result.length > 0) { | 138 | }) |
| 134 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) | 139 | } else { |
| 140 | startBusinessFlow({ | ||
| 141 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 142 | bdcdysz: that.bdcdysz, | ||
| 143 | }).then((res) => { | ||
| 144 | that.loading = false | ||
| 145 | if (res.code == 200) { | ||
| 146 | that.$message({ | ||
| 147 | showClose: true, | ||
| 148 | message: '发起申请成功', | ||
| 149 | type: 'success' | ||
| 150 | }) | ||
| 151 | if (!that.isJump) { | ||
| 152 | that.jump(res.result, that.sqywInfo.djywbm) | ||
| 153 | } else { | ||
| 154 | store.dispatch('user/refreshPage', true); | ||
| 155 | } | ||
| 156 | that.$popupCacel() | ||
| 135 | } else { | 157 | } else { |
| 136 | this.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) | 158 | if (res.result && res.result.length > 0) { |
| 159 | that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { result: res.result } }) | ||
| 160 | } else { | ||
| 161 | that.$popup("申请错误明细", "components/ywdialog", { width: '36%', formData: { message: res.message } }) | ||
| 162 | } | ||
| 137 | } | 163 | } |
| 138 | } | 164 | }).catch(() => { |
| 139 | }).catch(() => { | 165 | this.loading = false |
| 140 | this.loading = false | 166 | }) |
| 141 | }) | 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,38 +132,64 @@ | ... | @@ -132,38 +132,64 @@ |
| 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 |
| 140 | startBusinessFlow({ | 141 | if (this.sqywInfo.isworkFrame) { |
| 141 | bsmSqyw: this.sqywInfo.bsmSqyw, | 142 | store.dispatch('user/reMenuRefresh', false) |
| 142 | bdcdysz: this.bdcdysz, | 143 | againAddSldy({ |
| 143 | }).then((res) => { | 144 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 144 | this.loading = false | 145 | bdcdysz: that.bdcdysz, |
| 145 | if (res.code == 200) { | 146 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 146 | this.$message({ | 147 | }).then(res => { |
| 147 | showClose: true, | 148 | that.loading = false |
| 148 | message: '发起申请成功', | 149 | if (res.code == 200) { |
| 149 | type: 'success' | 150 | if (this.sqywInfo.sqywdylx != "1") { |
| 150 | }) | 151 | that.bdcdysz = [] |
| 151 | if (!this.isJump) { | 152 | that.$refs.table.clearSelection() |
| 152 | this.jump(res.result, this.djywbm) | 153 | } |
| 153 | } else { | 154 | store.dispatch('user/reMenuRefresh', true) |
| 154 | store.dispatch('user/refreshPage', true); | 155 | that.$message({ |
| 156 | showClose: true, | ||
| 157 | message: '添加成功', | ||
| 158 | type: 'success' | ||
| 159 | }) | ||
| 155 | } | 160 | } |
| 156 | this.$popupCacel() | 161 | }).catch(() => { |
| 157 | } else { | 162 | that.loading = false |
| 158 | if (res.result && res.result.length > 0) { | 163 | }) |
| 159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 164 | } else { |
| 165 | startBusinessFlow({ | ||
| 166 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 167 | bdcdysz: that.bdcdysz, | ||
| 168 | }).then((res) => { | ||
| 169 | that.loading = false | ||
| 170 | if (res.code == 200) { | ||
| 171 | that.$message({ | ||
| 172 | showClose: true, | ||
| 173 | message: '发起申请成功', | ||
| 174 | type: 'success' | ||
| 175 | }) | ||
| 176 | if (!that.isJump) { | ||
| 177 | that.jump(res.result, that.djywbm) | ||
| 178 | } else { | ||
| 179 | store.dispatch('user/refreshPage', true); | ||
| 180 | } | ||
| 181 | this.$popupCacel() | ||
| 160 | } else { | 182 | } else { |
| 161 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 183 | if (res.result && res.result.length > 0) { |
| 184 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 185 | } else { | ||
| 186 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 187 | } | ||
| 162 | } | 188 | } |
| 163 | } | 189 | }).catch(() => { |
| 164 | }).catch(() => { | 190 | this.loading = false |
| 165 | this.loading = false | 191 | }) |
| 166 | }) | 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,38 +133,64 @@ | ... | @@ -133,38 +133,64 @@ |
| 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 |
| 141 | startBusinessFlow({ | 142 | if (this.sqywInfo.isworkFrame) { |
| 142 | bsmSqyw: this.sqywInfo.bsmSqyw, | 143 | store.dispatch('user/reMenuRefresh', false) |
| 143 | bdcdysz: this.bdcdysz, | 144 | againAddSldy({ |
| 144 | }).then((res) => { | 145 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 145 | this.loading = false | 146 | bdcdysz: that.bdcdysz, |
| 146 | if (res.code == 200) { | 147 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 147 | this.$message({ | 148 | }).then(res => { |
| 148 | showClose: true, | 149 | that.loading = false |
| 149 | message: '发起申请成功', | 150 | if (res.code == 200) { |
| 150 | type: 'success' | 151 | if (this.sqywInfo.sqywdylx != "1") { |
| 151 | }) | 152 | that.bdcdysz = [] |
| 152 | if (!this.isJump) { | 153 | that.$refs.table.clearSelection() |
| 153 | this.jump(res.result) | 154 | } |
| 154 | } else { | 155 | store.dispatch('user/reMenuRefresh', true) |
| 155 | store.dispatch('user/refreshPage', true); | 156 | that.$message({ |
| 157 | showClose: true, | ||
| 158 | message: '添加成功', | ||
| 159 | type: 'success' | ||
| 160 | }) | ||
| 156 | } | 161 | } |
| 157 | this.$popupCacel() | 162 | }).catch(() => { |
| 158 | } else { | 163 | that.loading = false |
| 159 | if (res.result && res.result.length > 0) { | 164 | }) |
| 160 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 165 | } else { |
| 166 | startBusinessFlow({ | ||
| 167 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
| 168 | bdcdysz: that.bdcdysz, | ||
| 169 | }).then((res) => { | ||
| 170 | that.loading = false | ||
| 171 | if (res.code == 200) { | ||
| 172 | that.$message({ | ||
| 173 | showClose: true, | ||
| 174 | message: '发起申请成功', | ||
| 175 | type: 'success' | ||
| 176 | }) | ||
| 177 | if (!that.isJump) { | ||
| 178 | that.jump(res.result) | ||
| 179 | } else { | ||
| 180 | store.dispatch('user/refreshPage', true); | ||
| 181 | } | ||
| 182 | that.$popupCacel() | ||
| 161 | } else { | 183 | } else { |
| 162 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 184 | if (res.result && res.result.length > 0) { |
| 185 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 186 | } else { | ||
| 187 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 188 | } | ||
| 163 | } | 189 | } |
| 164 | } | 190 | }).catch(() => { |
| 165 | }).catch(() => { | 191 | this.loading = false |
| 166 | this.loading = false | 192 | }) |
| 167 | }) | 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,66 +264,92 @@ | ... | @@ -264,66 +264,92 @@ |
| 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) |
| 273 | startBusinessFlow({ | 274 | againAddSldy({ |
| 274 | bsmSqyw: this.sqywInfo.bsmSqyw, | 275 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 275 | //sjlx: 'zrz', | 276 | bdcdysz: that.bdcdysz, |
| 276 | sjlx: this.activeName, | 277 | bsmSlsq: that.sqywInfo.bsmSlsq, |
| 277 | bdcdysz: this.bdcdysz, | 278 | }).then(res => { |
| 278 | }).then((res) => { | 279 | that.loading = false |
| 279 | this.loading = false | ||
| 280 | if (res.code == 200) { | 280 | if (res.code == 200) { |
| 281 | this.$message({ | 281 | if (this.sqywInfo.sqywdylx != "1") { |
| 282 | that.bdcdysz = [] | ||
| 283 | that.$refs.table.clearSelection() | ||
| 284 | } | ||
| 285 | store.dispatch('user/reMenuRefresh', true) | ||
| 286 | that.$message({ | ||
| 282 | showClose: true, | 287 | showClose: true, |
| 283 | message: '发起申请成功', | 288 | message: '添加成功', |
| 284 | type: 'success' | 289 | type: 'success' |
| 285 | }) | 290 | }) |
| 286 | if (!this.isJump) { | ||
| 287 | this.jump(res.result, this.sqywInfo.djywbm); | ||
| 288 | } else { | ||
| 289 | store.dispatch('user/refreshPage', true); | ||
| 290 | } | ||
| 291 | this.$popupCacel() | ||
| 292 | } else { | ||
| 293 | if (res.result && res.result.length > 0) { | ||
| 294 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 295 | } else { | ||
| 296 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 297 | } | ||
| 298 | } | 291 | } |
| 299 | }).catch(() => { | 292 | }).catch(() => { |
| 300 | this.loading = false | 293 | that.loading = false |
| 301 | }) | 294 | }) |
| 302 | } else { | 295 | } else { |
| 303 | this.loading = true | 296 | if (!that.isJump) { |
| 304 | choiceBdcdy({ | 297 | that.loading = true |
| 305 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 298 | startBusinessFlow({ |
| 306 | bdcdysz: this.bdcdysz | 299 | bsmSqyw: that.sqywInfo.bsmSqyw, |
| 307 | }).then(res => { | 300 | //sjlx: 'zrz', |
| 308 | this.loading = false | 301 | sjlx: that.activeName, |
| 309 | if (res.code == 200) { | 302 | bdcdysz: that.bdcdysz, |
| 310 | this.$message({ | 303 | }).then((res) => { |
| 311 | showClose: true, | 304 | that.loading = false |
| 312 | message: '发起申请成功', | 305 | if (res.code == 200) { |
| 313 | type: 'success' | 306 | that.$message({ |
| 314 | }) | 307 | showClose: true, |
| 315 | store.dispatch('user/refreshPage', true); | 308 | message: '发起申请成功', |
| 316 | this.$popupCacel() | 309 | type: 'success' |
| 317 | } else { | 310 | }) |
| 318 | if (res.result && res.result.length > 0) { | 311 | if (!that.isJump) { |
| 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | 312 | that.jump(res.result, that.sqywInfo.djywbm); |
| 313 | } else { | ||
| 314 | store.dispatch('user/refreshPage', true); | ||
| 315 | } | ||
| 316 | that.$popupCacel() | ||
| 320 | } else { | 317 | } else { |
| 321 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | 318 | if (res.result && res.result.length > 0) { |
| 319 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 320 | } else { | ||
| 321 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 322 | } | ||
| 322 | } | 323 | } |
| 323 | } | 324 | }).catch(() => { |
| 324 | }).catch(() => { | 325 | that.loading = false |
| 325 | this.loading = false | 326 | }) |
| 326 | }) | 327 | } else { |
| 328 | that.loading = true | ||
| 329 | choiceBdcdy({ | ||
| 330 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | ||
| 331 | bdcdysz: that.bdcdysz | ||
| 332 | }).then(res => { | ||
| 333 | that.loading = false | ||
| 334 | if (res.code == 200) { | ||
| 335 | that.$message({ | ||
| 336 | showClose: true, | ||
| 337 | message: '发起申请成功', | ||
| 338 | type: 'success' | ||
| 339 | }) | ||
| 340 | store.dispatch('user/refreshPage', true); | ||
| 341 | that.$popupCacel() | ||
| 342 | } else { | ||
| 343 | if (res.result && res.result.length > 0) { | ||
| 344 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
| 345 | } else { | ||
| 346 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
| 347 | } | ||
| 348 | } | ||
| 349 | }).catch(() => { | ||
| 350 | this.loading = false | ||
| 351 | }) | ||
| 352 | } | ||
| 327 | } | 353 | } |
| 328 | }, | 354 | }, |
| 329 | /** | 355 | /** | ... | ... |
| ... | @@ -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" | ... | ... |
-
Please register or sign in to post a comment