Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
4 changed files
with
90 additions
and
6 deletions
src/api/SysDjbFieldDO.js
0 → 100644
1 | /* | ||
2 | * @Description: 字典接口 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 16:06:51 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /** | ||
10 | * @description: 获取登记簿全部字段 | ||
11 | * @author: renchao | ||
12 | */ | ||
13 | export function getFieldList (params) { | ||
14 | return request({ | ||
15 | url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getFieldList', | ||
16 | method: 'get', | ||
17 | params | ||
18 | }) | ||
19 | } | ||
20 | /** | ||
21 | * @description: 获取登记簿打印字段 | ||
22 | * @author: renchao | ||
23 | */ | ||
24 | export function getFieldListByQlxx (params) { | ||
25 | return request({ | ||
26 | url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getFieldListByQlxx', | ||
27 | method: 'get', | ||
28 | params | ||
29 | }) | ||
30 | } | ||
31 | /** | ||
32 | * @description: 保存登记簿打印字段 | ||
33 | * @param {*} data | ||
34 | * @author: renchao | ||
35 | */ | ||
36 | export function save (bsmMb,data) { | ||
37 | return request({ | ||
38 | url: SERVER.SERVERAPI + `/rest/sys/SysDjbFieldDO/save/${bsmMb}`, | ||
39 | method: 'post', | ||
40 | data | ||
41 | }) | ||
42 | } | ||
43 | |||
44 | /** | ||
45 | * @description: 获取登记簿打印字段 | ||
46 | * @author: renchao | ||
47 | */ | ||
48 | // export function getQllxList () { | ||
49 | // return request({ | ||
50 | // url: SERVER.SERVERAPI + '/rest/sys/SysDjbFieldDO/getQllxList', | ||
51 | // method: 'get' | ||
52 | // }) | ||
53 | // } |
This diff is collapsed.
Click to expand it.
... | @@ -67,7 +67,7 @@ | ... | @@ -67,7 +67,7 @@ |
67 | import { datas, sendThis } from "../javascript/selecBdcql.js"; | 67 | import { datas, sendThis } from "../javascript/selecBdcql.js"; |
68 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 68 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
69 | import { selectQlxx } from "@/api/ywsq.js"; | 69 | import { selectQlxx } from "@/api/ywsq.js"; |
70 | import { startBusinessFlow } from "@/api/workFlow.js"; | 70 | import { startBusinessFlow,startTogetherFlow } from "@/api/workFlow.js"; |
71 | import { getQllxByBsmSqyw } from "@/api/sysSqdjyw.js"; | 71 | import { getQllxByBsmSqyw } from "@/api/sysSqdjyw.js"; |
72 | export default { | 72 | export default { |
73 | mixins: [table, jump], | 73 | mixins: [table, jump], |
... | @@ -126,7 +126,8 @@ | ... | @@ -126,7 +126,8 @@ |
126 | this.$alert("请至少选择一条数据"); | 126 | this.$alert("请至少选择一条数据"); |
127 | return; | 127 | return; |
128 | } | 128 | } |
129 | this.loading = true | 129 | this.loading = true; |
130 | if(this.sqywInfo.sqfl=='1'){ | ||
130 | startBusinessFlow({ | 131 | startBusinessFlow({ |
131 | bsmSqyw: this.sqywInfo.bsmSqyw, | 132 | bsmSqyw: this.sqywInfo.bsmSqyw, |
132 | bdcdysz: this.bdcdysz, | 133 | bdcdysz: this.bdcdysz, |
... | @@ -154,6 +155,36 @@ | ... | @@ -154,6 +155,36 @@ |
154 | }).catch(() => { | 155 | }).catch(() => { |
155 | this.loading = false | 156 | this.loading = false |
156 | }) | 157 | }) |
158 | }else{ | ||
159 | startTogetherFlow({ | ||
160 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
161 | bdcdysz: this.bdcdysz, | ||
162 | }).then((res) => { | ||
163 | this.loading = false | ||
164 | if (res.code == 200) { | ||
165 | this.$message({ | ||
166 | showClose: true, | ||
167 | message: '发起申请成功', | ||
168 | type: 'success' | ||
169 | }) | ||
170 | if (!this.isJump) { | ||
171 | this.jump(res.result, this.sqywInfo.djywbm) | ||
172 | } else { | ||
173 | store.dispatch('user/refreshPage', true); | ||
174 | this.$popupCacel() | ||
175 | } | ||
176 | } else { | ||
177 | if (res.result && res.result.length > 0) { | ||
178 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
179 | } else { | ||
180 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
181 | } | ||
182 | } | ||
183 | }).catch(() => { | ||
184 | this.loading = false | ||
185 | }) | ||
186 | } | ||
187 | |||
157 | }, | 188 | }, |
158 | /** | 189 | /** |
159 | * @description: handleSelectionChange | 190 | * @description: handleSelectionChange | ... | ... |
... | @@ -92,10 +92,10 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -92,10 +92,10 @@ export function queueDjywmc (djywbm, djqxbm) { |
92 | case "C40100": //一并申请首次 | 92 | case "C40100": //一并申请首次 |
93 | vm = "selectYbsc"; | 93 | vm = "selectYbsc"; |
94 | break; | 94 | break; |
95 | case "C40300": //一并申请变更 | 95 | // case "C40300": //一并申请变更 |
96 | case "C40400": //一并申请注销 | 96 | // case "C40400": //一并申请注销 |
97 | vm = "selectYbbg"; | 97 | // vm = "selectYbbg"; |
98 | break; | 98 | // break; |
99 | case "C04372": //一并国有房屋变更 | 99 | case "C04372": //一并国有房屋变更 |
100 | case "C04371": //一并国有房屋转移 | 100 | case "C04371": //一并国有房屋转移 |
101 | vm = "selectYbgybg"; | 101 | vm = "selectYbgybg"; | ... | ... |
-
Please register or sign in to post a comment