Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
30 changed files
with
452 additions
and
51 deletions
src/api/workflow/sllmFlow.js
0 → 100644
1 | /* | ||
2 | * @Description: 房地产权多幢接口 | ||
3 | * @Autor: ssq | ||
4 | * @LastEditTime: 2023-08-17 15:48:53 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /** | ||
10 | * @description: 初始化内容 | ||
11 | * @param {*} data | ||
12 | * @author: 单帅旗 | ||
13 | */ | ||
14 | export function Init (data) { | ||
15 | let apiUrl = ""; | ||
16 | switch (data.get("djlx")) { | ||
17 | case "100": | ||
18 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/fristInit"; | ||
19 | break; | ||
20 | case "200": | ||
21 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/transferInit"; | ||
22 | break; | ||
23 | case "300": | ||
24 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/changeInit"; | ||
25 | break; | ||
26 | case "400": | ||
27 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/logoutInit"; | ||
28 | break; | ||
29 | case "500": | ||
30 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/riviseInit"; | ||
31 | break; | ||
32 | case "901": | ||
33 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/renewalInit"; | ||
34 | break; | ||
35 | case "902": | ||
36 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/replaceInit"; | ||
37 | break; | ||
38 | } | ||
39 | return request({ | ||
40 | url: apiUrl, | ||
41 | method: 'post', | ||
42 | data | ||
43 | }) | ||
44 | } | ||
45 | /** | ||
46 | * @description: 首次登记提交 | ||
47 | * @param {*} data | ||
48 | * @author: ssq | ||
49 | */ | ||
50 | export function saveBatchData (data) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + "/rest/ywbl/sllm/saveBatchData", | ||
53 | method: 'post', | ||
54 | data | ||
55 | }) | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 保存 | ||
60 | * @param {*} data | ||
61 | * @author: ssq | ||
62 | */ | ||
63 | export function saveData (data) { | ||
64 | return request({ | ||
65 | url: SERVER.SERVERAPI + "/rest/ywbl/sllm/saveData", | ||
66 | method: 'post', | ||
67 | data | ||
68 | }) | ||
69 | } | ||
70 |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-12 09:55:38 | 4 | * @LastEditTime: 2023-08-17 15:20:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class='ywdialog'> | 7 | <div class='ywdialog'> |
8 | <el-table | 8 | <el-table |
9 | v-if="formData.result" | 9 | v-if="formData.result && formData.result.length>0" |
10 | :data="formData.result" | 10 | :data="formData.result" |
11 | height="200"> | 11 | height="200"> |
12 | <el-table-column | 12 | <el-table-column |
... | @@ -18,6 +18,7 @@ | ... | @@ -18,6 +18,7 @@ |
18 | label="状态"> | 18 | label="状态"> |
19 | </el-table-column> | 19 | </el-table-column> |
20 | </el-table> | 20 | </el-table> |
21 | <el-link type="primary" :underline="false" v-else>{{formData.message}}</el-link> | ||
21 | </div> | 22 | </div> |
22 | </template> | 23 | </template> |
23 | <script> | 24 | <script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 09:47:54 | 4 | * @LastEditTime: 2023-08-17 15:26:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -36,9 +36,9 @@ | ... | @@ -36,9 +36,9 @@ |
36 | <el-row> | 36 | <el-row> |
37 | <el-col :span="8"> | 37 | <el-col :span="8"> |
38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> | 38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> |
39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> | 39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> |
40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
41 | </el-option> | 41 | </el-option> |
42 | </el-select> | 42 | </el-select> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
134 | </div> | 134 | </div> |
135 | <div slot="footer" class="dialog_footer text-center"> | 135 | <div slot="footer" class="dialog_footer text-center"> |
136 | <el-button @click="$popupCacel()">取 消</el-button> | 136 | <el-button @click="$popupCacel()">取 消</el-button> |
137 | <el-button type="primary" @click="submit" plain>提 交</el-button> | 137 | <el-button type="primary" @click="submit" :loading="loading">提 交</el-button> |
138 | </div> | 138 | </div> |
139 | </div> | 139 | </div> |
140 | </template> | 140 | </template> |
... | @@ -152,19 +152,19 @@ | ... | @@ -152,19 +152,19 @@ |
152 | default: () => { } | 152 | default: () => { } |
153 | } | 153 | } |
154 | }, | 154 | }, |
155 | |||
156 | data () { | 155 | data () { |
157 | return { | 156 | return { |
157 | loading: false, | ||
158 | key: 0, | 158 | key: 0, |
159 | tn: 0, | 159 | tn: 0, |
160 | n: 0, | 160 | n: 0, |
161 | djlxList: [], | 161 | djlxList: [], |
162 | sqywdylx:store.getters.dictData['sqywdylx'], | 162 | sqywdylx: store.getters.dictData['sqywdylx'], |
163 | options: [ | 163 | options: [ |
164 | {label:"正常申请",value:"1"}, | 164 | { label: "正常申请", value: "1" }, |
165 | {label:"一并申请",value:"2"}, | 165 | { label: "一并申请", value: "2" }, |
166 | {label:"补录申请",value:"3"} | 166 | { label: "补录申请", value: "3" } |
167 | ], | 167 | ], |
168 | imgUploadUrl: uploadUrl(), | 168 | imgUploadUrl: uploadUrl(), |
169 | title: "", | 169 | title: "", |
170 | activeName: "1", | 170 | activeName: "1", |
... | @@ -255,7 +255,7 @@ | ... | @@ -255,7 +255,7 @@ |
255 | let _this = this | 255 | let _this = this |
256 | getSqdjywDetail(bsmSqyw).then((res) => { | 256 | getSqdjywDetail(bsmSqyw).then((res) => { |
257 | if (res.code === 200) { | 257 | if (res.code === 200) { |
258 | _this.form=res.result; | 258 | _this.form = res.result; |
259 | // _this.form.bsmSqyw = res.result.bsmSqyw; | 259 | // _this.form.bsmSqyw = res.result.bsmSqyw; |
260 | // _this.form.ywDetail = res.result.ywDetail; | 260 | // _this.form.ywDetail = res.result.ywDetail; |
261 | // _this.$set(_this.form, 'djqx', res.result.djqx); | 261 | // _this.$set(_this.form, 'djqx', res.result.djqx); |
... | @@ -270,14 +270,15 @@ | ... | @@ -270,14 +270,15 @@ |
270 | } | 270 | } |
271 | }) | 271 | }) |
272 | }, | 272 | }, |
273 | //提交保存数据 | ||
274 | /** | 273 | /** |
275 | * @description: 提交保存数据 | 274 | * @description: 提交保存数据 |
276 | * @author: renchao | 275 | * @author: renchao |
277 | */ | 276 | */ |
278 | submit () { | 277 | submit () { |
279 | let that = this; | 278 | let that = this; |
279 | this.loading = true | ||
280 | saveSqdjyw(this.form).then((res) => { | 280 | saveSqdjyw(this.form).then((res) => { |
281 | this.loading = false | ||
281 | if (res.code == 200) { | 282 | if (res.code == 200) { |
282 | that.$message({ | 283 | that.$message({ |
283 | message: "修改成功", | 284 | message: "修改成功", |
... | @@ -287,7 +288,6 @@ | ... | @@ -287,7 +288,6 @@ |
287 | } | 288 | } |
288 | }) | 289 | }) |
289 | }, | 290 | }, |
290 | // 上移下移 | ||
291 | /** | 291 | /** |
292 | * @description: 上移下移 | 292 | * @description: 上移下移 |
293 | * @param {*} index | 293 | * @param {*} index | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 17:16:44 | 4 | * @LastEditTime: 2023-08-17 15:34:33 |
5 | */ | 5 | */ |
6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
7 | /** | 7 | /** |
... | @@ -34,10 +34,14 @@ export function getForm(tabName, djywbm) { | ... | @@ -34,10 +34,14 @@ export function getForm(tabName, djywbm) { |
34 | case "fwsyqslxx300": | 34 | case "fwsyqslxx300": |
35 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); | 35 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); |
36 | break; | 36 | break; |
37 | //林地使用权 | 37 | //林地使用权 |
38 | case "lqslxx": | 38 | case "lqslxx": |
39 | form = require("@/views/ywbl/slsqxx/lqslxx"); | 39 | form = require("@/views/ywbl/slsqxx/lqslxx"); |
40 | break; | 40 | break; |
41 | //森林林木使用权 | ||
42 | case "sllmslxx": | ||
43 | form = require("@/views/ywbl/slsqxx/sllmslxx"); | ||
44 | break; | ||
41 | case "plfdcq2": | 45 | case "plfdcq2": |
42 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); | 46 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); |
43 | break; | 47 | break; |
... | @@ -101,7 +105,7 @@ export function getForm(tabName, djywbm) { | ... | @@ -101,7 +105,7 @@ export function getForm(tabName, djywbm) { |
101 | break; | 105 | break; |
102 | case "lqQlxx": | 106 | case "lqQlxx": |
103 | form = require("@/views/registerBook/ldsyq.vue"); | 107 | form = require("@/views/registerBook/ldsyq.vue"); |
104 | break; | 108 | break; |
105 | case "diyaqQlxx": | 109 | case "diyaqQlxx": |
106 | form = require("@/views/registerBook/diyaq.vue"); | 110 | form = require("@/views/registerBook/diyaq.vue"); |
107 | break; | 111 | break; |
... | @@ -116,7 +120,7 @@ export function getForm(tabName, djywbm) { | ... | @@ -116,7 +120,7 @@ export function getForm(tabName, djywbm) { |
116 | break; | 120 | break; |
117 | case "zdjbxxImg": | 121 | case "zdjbxxImg": |
118 | form = require("@/views/workflow/components/zdt.vue"); | 122 | form = require("@/views/workflow/components/zdt.vue"); |
119 | break; | 123 | break; |
120 | default: | 124 | default: |
121 | form = require("@/views/error-page/404.vue"); | 125 | form = require("@/views/error-page/404.vue"); |
122 | break; | 126 | break; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-17 13:47:17 | 4 | * @LastEditTime: 2023-08-17 15:56:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -252,7 +252,7 @@ | ... | @@ -252,7 +252,7 @@ |
252 | export default { | 252 | export default { |
253 | mixins: [ywmix], | 253 | mixins: [ywmix], |
254 | mounted () { | 254 | mounted () { |
255 | this.viewEdit = this.$parent.currentSelectTab.viewEdit; | 255 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
256 | this.propsParam = this.$attrs; | 256 | this.propsParam = this.$attrs; |
257 | var formdata = new FormData(); | 257 | var formdata = new FormData(); |
258 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 258 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ... | ... |
src/views/ywbl/slsqxx/sllmslxx/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
... | @@ -145,7 +145,11 @@ | ... | @@ -145,7 +145,11 @@ |
145 | this.$popupCacel() | 145 | this.$popupCacel() |
146 | 146 | ||
147 | } else { | 147 | } else { |
148 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 148 | if (res.result.length > 0) { |
149 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
150 | } else { | ||
151 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
152 | } | ||
149 | } | 153 | } |
150 | }).catch(() => { | 154 | }).catch(() => { |
151 | this.loading = false | 155 | this.loading = false | ... | ... |
... | @@ -138,7 +138,11 @@ | ... | @@ -138,7 +138,11 @@ |
138 | } | 138 | } |
139 | this.$popupCacel() | 139 | this.$popupCacel() |
140 | } else { | 140 | } else { |
141 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 141 | if (res.result && res.result.length > 0) { |
142 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
143 | } else { | ||
144 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
145 | } | ||
142 | } | 146 | } |
143 | }).catch(() => { | 147 | }).catch(() => { |
144 | this.loading = false | 148 | this.loading = false | ... | ... |
... | @@ -258,7 +258,11 @@ | ... | @@ -258,7 +258,11 @@ |
258 | } | 258 | } |
259 | this.$popupCacel() | 259 | this.$popupCacel() |
260 | } else { | 260 | } else { |
261 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 261 | if (res.result.length > 0) { |
262 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
263 | } else { | ||
264 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
265 | } | ||
262 | } | 266 | } |
263 | }).catch(() => { | 267 | }).catch(() => { |
264 | this.loading = false | 268 | this.loading = false |
... | @@ -279,7 +283,11 @@ | ... | @@ -279,7 +283,11 @@ |
279 | store.dispatch('user/refreshPage', true); | 283 | store.dispatch('user/refreshPage', true); |
280 | this.$popupCacel() | 284 | this.$popupCacel() |
281 | } else { | 285 | } else { |
282 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 286 | if (res.result.length > 0) { |
287 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
288 | } else { | ||
289 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
290 | } | ||
283 | } | 291 | } |
284 | }).catch(() => { | 292 | }).catch(() => { |
285 | this.loading = false | 293 | this.loading = false | ... | ... |
... | @@ -120,7 +120,11 @@ | ... | @@ -120,7 +120,11 @@ |
120 | } | 120 | } |
121 | this.$popupCacel() | 121 | this.$popupCacel() |
122 | } else { | 122 | } else { |
123 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 123 | if (res.result && res.result.length > 0) { |
124 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
125 | } else { | ||
126 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
127 | } | ||
124 | } | 128 | } |
125 | }).catch(() => { | 129 | }).catch(() => { |
126 | this.loading = false | 130 | this.loading = false | ... | ... |
... | @@ -121,7 +121,11 @@ | ... | @@ -121,7 +121,11 @@ |
121 | } | 121 | } |
122 | this.$popupCacel() | 122 | this.$popupCacel() |
123 | } else { | 123 | } else { |
124 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 124 | if (res.result && res.result.length > 0) { |
125 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
126 | } else { | ||
127 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
128 | } | ||
125 | } | 129 | } |
126 | }).catch(() => { | 130 | }).catch(() => { |
127 | this.loading = false | 131 | this.loading = false | ... | ... |
... | @@ -145,7 +145,11 @@ | ... | @@ -145,7 +145,11 @@ |
145 | } | 145 | } |
146 | this.$popupCacel() | 146 | this.$popupCacel() |
147 | } else { | 147 | } else { |
148 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 148 | if (res.result && res.result.length > 0) { |
149 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
150 | } else { | ||
151 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
152 | } | ||
149 | } | 153 | } |
150 | }).catch(() => { | 154 | }).catch(() => { |
151 | this.loading = false | 155 | this.loading = false | ... | ... |
... | @@ -182,7 +182,11 @@ | ... | @@ -182,7 +182,11 @@ |
182 | } | 182 | } |
183 | this.$popupCacel() | 183 | this.$popupCacel() |
184 | } else { | 184 | } else { |
185 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 185 | if (res.result && res.result.length > 0) { |
186 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
187 | } else { | ||
188 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
189 | } | ||
186 | } | 190 | } |
187 | }).catch(() => { | 191 | }).catch(() => { |
188 | this.loading = false | 192 | this.loading = false | ... | ... |
... | @@ -126,7 +126,11 @@ | ... | @@ -126,7 +126,11 @@ |
126 | } | 126 | } |
127 | this.$popupCacel() | 127 | this.$popupCacel() |
128 | } else { | 128 | } else { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 129 | if (res.result && res.result.length > 0) { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
131 | } else { | ||
132 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
133 | } | ||
130 | } | 134 | } |
131 | }).catch(() => { | 135 | }).catch(() => { |
132 | this.loading = false | 136 | this.loading = false | ... | ... |
... | @@ -125,7 +125,11 @@ | ... | @@ -125,7 +125,11 @@ |
125 | } | 125 | } |
126 | this.$popupCacel() | 126 | this.$popupCacel() |
127 | } else { | 127 | } else { |
128 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 128 | if (res.result && res.result.length > 0) { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
130 | } else { | ||
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
132 | } | ||
129 | } | 133 | } |
130 | }).catch(() => { | 134 | }).catch(() => { |
131 | this.loading = false | 135 | this.loading = false | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 09:56:33 | 4 | * @LastEditTime: 2023-08-17 15:20:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -134,7 +134,11 @@ | ... | @@ -134,7 +134,11 @@ |
134 | } | 134 | } |
135 | this.$popupCacel() | 135 | this.$popupCacel() |
136 | } else { | 136 | } else { |
137 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 137 | if (res.result && res.result.length > 0) { |
138 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
139 | } else { | ||
140 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
141 | } | ||
138 | } | 142 | } |
139 | }).catch(() => { | 143 | }).catch(() => { |
140 | this.loading = false | 144 | this.loading = false | ... | ... |
... | @@ -254,7 +254,11 @@ | ... | @@ -254,7 +254,11 @@ |
254 | } | 254 | } |
255 | this.$popupCacel() | 255 | this.$popupCacel() |
256 | } else { | 256 | } else { |
257 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 257 | if (res.result && res.result.length > 0) { |
258 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
259 | } else { | ||
260 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
261 | } | ||
258 | } | 262 | } |
259 | }).catch(() => { | 263 | }).catch(() => { |
260 | this.loading = false | 264 | this.loading = false | ... | ... |
... | @@ -127,7 +127,11 @@ | ... | @@ -127,7 +127,11 @@ |
127 | } | 127 | } |
128 | this.$popupCacel() | 128 | this.$popupCacel() |
129 | } else { | 129 | } else { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 130 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
131 | } | 135 | } |
132 | }).catch(() => { | 136 | }).catch(() => { |
133 | this.loading = false | 137 | this.loading = false | ... | ... |
... | @@ -127,7 +127,11 @@ | ... | @@ -127,7 +127,11 @@ |
127 | } | 127 | } |
128 | this.$popupCacel() | 128 | this.$popupCacel() |
129 | } else { | 129 | } else { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 130 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
131 | } | 135 | } |
132 | }).catch(() => { | 136 | }).catch(() => { |
133 | this.loading = false | 137 | this.loading = false | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 09:59:18 | 4 | * @LastEditTime: 2023-08-17 15:09:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -127,7 +127,11 @@ | ... | @@ -127,7 +127,11 @@ |
127 | } | 127 | } |
128 | this.$popupCacel() | 128 | this.$popupCacel() |
129 | } else { | 129 | } else { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 130 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
131 | } | 135 | } |
132 | }).catch(() => { | 136 | }).catch(() => { |
133 | this.loading = false | 137 | this.loading = false | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-15 14:36:06 | 4 | * @LastEditTime: 2023-08-17 16:09:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | import store from '@/store/index.js' | 56 | import store from '@/store/index.js' |
57 | import table from "@/utils/mixin/table"; | 57 | import table from "@/utils/mixin/table"; |
58 | import { ywPopupDialog } from "@/utils/popup.js"; | 58 | import { ywPopupDialog } from "@/utils/popup.js"; |
59 | import { selectZdjbxx } from "@/api/ywsq.js"; | 59 | import { selectLq } from "@/api/ywsq.js"; |
60 | import { startBusinessFlow } from "@/api/workFlow.js"; | 60 | import { startBusinessFlow } from "@/api/workFlow.js"; |
61 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | 61 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; |
62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
... | @@ -89,7 +89,7 @@ | ... | @@ -89,7 +89,7 @@ |
89 | queryClick () { | 89 | queryClick () { |
90 | this.$startLoading(); | 90 | this.$startLoading(); |
91 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 91 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
92 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 92 | selectLq({ ...this.queryForm, ...this.pageData }).then((res) => { |
93 | this.$endLoading(); | 93 | this.$endLoading(); |
94 | if (res.code === 200) { | 94 | if (res.code === 200) { |
95 | let { total, records } = res.result; | 95 | let { total, records } = res.result; |
... | @@ -127,7 +127,11 @@ | ... | @@ -127,7 +127,11 @@ |
127 | } | 127 | } |
128 | this.$popupCacel() | 128 | this.$popupCacel() |
129 | } else { | 129 | } else { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 130 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
131 | } | 135 | } |
132 | }).catch(() => { | 136 | }).catch(() => { |
133 | this.loading = false | 137 | this.loading = false | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-17 15:14:01 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 森林林木 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <el-form :model="queryForm" ref="queryForm"> | ||
11 | <el-row :gutter="20"> | ||
12 | <el-col :span="6"> | ||
13 | <el-form-item label="宗地代码"> | ||
14 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> | ||
15 | </el-input> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="不动产单元号"> | ||
20 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="坐落"> | ||
26 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6" class="btnColRight"> | ||
31 | <el-form-item> | ||
32 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
33 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | </el-row> | ||
37 | </el-form> | ||
38 | </div> | ||
39 | <!-- 表格 --> | ||
40 | <div class="from-clues-content loadingtext"> | ||
41 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | ||
42 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | ||
43 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
44 | :data="tableData.data"> | ||
45 | </lb-table> | ||
46 | </div> | ||
47 | <div class="submit_button"> | ||
48 | <el-button @click="$popupCacel">取消</el-button> | ||
49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
50 | </div> | ||
51 | </div> | ||
52 | </template> | ||
53 | <script> | ||
54 | //首次登记 | ||
55 | import jump from "./mixin/jump"; | ||
56 | import store from '@/store/index.js' | ||
57 | import table from "@/utils/mixin/table"; | ||
58 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
59 | import { selectLqQjdc } from "@/api/ywsq.js"; | ||
60 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
61 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | ||
62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
63 | export default { | ||
64 | mixins: [table, jump], | ||
65 | props: { | ||
66 | isJump: { type: Boolean, default: false }, | ||
67 | sqywInfo: { type: Object, default: () => { } }, | ||
68 | }, | ||
69 | data () { | ||
70 | return { | ||
71 | loading: false, | ||
72 | queryForm: defaultParameters.defaultParameters(), | ||
73 | tableData: { | ||
74 | total: 0, | ||
75 | columns: datas.columns(), | ||
76 | data: [], | ||
77 | }, | ||
78 | bdcdysz: [], | ||
79 | }; | ||
80 | }, | ||
81 | mounted () { | ||
82 | sendThis(this); | ||
83 | }, | ||
84 | methods: { | ||
85 | /** | ||
86 | * @description: queryClick | ||
87 | * @author: renchao | ||
88 | */ | ||
89 | queryClick () { | ||
90 | this.$startLoading(); | ||
91 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
92 | selectLqQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
93 | this.$endLoading(); | ||
94 | if (res.code === 200) { | ||
95 | let { total, records } = res.result; | ||
96 | this.tableData.total = total; | ||
97 | this.tableData.data = records; | ||
98 | } | ||
99 | }); | ||
100 | }, | ||
101 | |||
102 | /** | ||
103 | * @description: submitForm | ||
104 | * @author: renchao | ||
105 | */ | ||
106 | submitForm () { | ||
107 | if (this.bdcdysz.length == 0) { | ||
108 | this.$alert("请至少选择一条数据"); | ||
109 | return; | ||
110 | } | ||
111 | this.loading = true | ||
112 | startBusinessFlow({ | ||
113 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
114 | bdcdysz: this.bdcdysz, | ||
115 | }).then((res) => { | ||
116 | this.loading = false | ||
117 | if (res.code == 200) { | ||
118 | this.$message({ | ||
119 | showClose: true, | ||
120 | message: "发起申请成功", | ||
121 | type: "success", | ||
122 | }); | ||
123 | if (!this.isJump) { | ||
124 | this.jump(res.result, this.djywbm); | ||
125 | } else { | ||
126 | store.dispatch('user/refreshPage', true); | ||
127 | } | ||
128 | this.$popupCacel() | ||
129 | } else { | ||
130 | if (res.result && res.result.length > 0) { | ||
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
135 | } | ||
136 | }).catch(() => { | ||
137 | this.loading = false | ||
138 | }) | ||
139 | }, | ||
140 | /** | ||
141 | * @description: handleSelectionChange | ||
142 | * @param {*} val | ||
143 | * @author: renchao | ||
144 | */ | ||
145 | handleSelectionChange (val) { | ||
146 | val.forEach((item, index) => { | ||
147 | item.bsm = item.zdbsm; | ||
148 | }); | ||
149 | if (this.sqywInfo.sqywdylx == "1") { | ||
150 | if (val.length > 1) { | ||
151 | this.bdcdysz = [...val[val.length - 1]]; | ||
152 | } else { | ||
153 | this.bdcdysz = val; | ||
154 | } | ||
155 | } else { | ||
156 | this.bdcdysz = val; | ||
157 | } | ||
158 | }, | ||
159 | /** | ||
160 | * @description: select | ||
161 | * @param {*} selection | ||
162 | * @param {*} row | ||
163 | * @author: renchao | ||
164 | */ | ||
165 | select (selection, row) { | ||
166 | if (this.sqywInfo.sqywdylx == "1") { | ||
167 | // 清除 所有勾选项 | ||
168 | this.$refs.table.clearSelection() | ||
169 | // 当表格数据都没有被勾选的时候 就返回 | ||
170 | // 主要用于将当前勾选的表格状态清除 | ||
171 | if (selection.length == 0) return | ||
172 | this.$refs.table.toggleRowSelection(row, true); | ||
173 | } | ||
174 | }, | ||
175 | |||
176 | /** | ||
177 | * @description: handleRowClick | ||
178 | * @param {*} row | ||
179 | * @author: renchao | ||
180 | */ | ||
181 | handleRowClick (row) { | ||
182 | // 如果状态是1,那就是单选 | ||
183 | if (this.sqywInfo.sqywdylx == "1") { | ||
184 | const bdcdysz = this.bdcdysz | ||
185 | this.$refs.table.clearSelection() | ||
186 | if (bdcdysz.length == 1) { | ||
187 | bdcdysz.forEach(item => { | ||
188 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
189 | if (item == row) { | ||
190 | this.$refs.table.toggleRowSelection(row, false); | ||
191 | } | ||
192 | // 不然就让当前的一行勾选 | ||
193 | else { | ||
194 | this.$refs.table.toggleRowSelection(row, true); | ||
195 | } | ||
196 | }) | ||
197 | } | ||
198 | else { | ||
199 | this.$refs.table.toggleRowSelection(row, true); | ||
200 | } | ||
201 | } else { | ||
202 | this.$refs.table.toggleRowSelection(row); | ||
203 | } | ||
204 | }, | ||
205 | /** | ||
206 | * @description: openBook | ||
207 | * @param {*} row | ||
208 | * @author: renchao | ||
209 | */ | ||
210 | openBook (row) { | ||
211 | var param = { | ||
212 | bdcdyid: row.bdcdyid, | ||
213 | qllx: row.qllx, | ||
214 | bdcdyh: row.bdcdyh, | ||
215 | bsmQlxx: row.bsmQlxx, | ||
216 | }; | ||
217 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
218 | formData: param | ||
219 | }) | ||
220 | }, | ||
221 | |||
222 | }, | ||
223 | }; | ||
224 | </script> | ||
225 | <style scoped lang="scss"> | ||
226 | @import "~@/styles/mixin.scss"; | ||
227 | @import "~@/styles/public.scss"; | ||
228 | </style> | ||
229 |
... | @@ -134,7 +134,11 @@ | ... | @@ -134,7 +134,11 @@ |
134 | } | 134 | } |
135 | this.$popupCacel() | 135 | this.$popupCacel() |
136 | } else { | 136 | } else { |
137 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 137 | if (res.result && res.result.length > 0) { |
138 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
139 | } else { | ||
140 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
141 | } | ||
138 | } | 142 | } |
139 | }).catch(() => { | 143 | }).catch(() => { |
140 | this.loading = false | 144 | this.loading = false | ... | ... |
... | @@ -125,7 +125,11 @@ | ... | @@ -125,7 +125,11 @@ |
125 | this.$popupCacel() | 125 | this.$popupCacel() |
126 | } | 126 | } |
127 | } else { | 127 | } else { |
128 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 128 | if (res.result && res.result.length > 0) { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
130 | } else { | ||
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
132 | } | ||
129 | } | 133 | } |
130 | }).catch(() => { | 134 | }).catch(() => { |
131 | this.loading = false | 135 | this.loading = false | ... | ... |
... | @@ -123,7 +123,11 @@ | ... | @@ -123,7 +123,11 @@ |
123 | } | 123 | } |
124 | this.$popupCacel() | 124 | this.$popupCacel() |
125 | } else { | 125 | } else { |
126 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 126 | if (res.result && res.result.length > 0) { |
127 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
128 | } else { | ||
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
130 | } | ||
127 | } | 131 | } |
128 | }).catch(() => { | 132 | }).catch(() => { |
129 | this.loading = false | 133 | this.loading = false | ... | ... |
... | @@ -125,7 +125,11 @@ | ... | @@ -125,7 +125,11 @@ |
125 | } | 125 | } |
126 | this.$popupCacel() | 126 | this.$popupCacel() |
127 | } else { | 127 | } else { |
128 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 128 | if (res.result && res.result.length > 0) { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
130 | } else { | ||
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
132 | } | ||
129 | } | 133 | } |
130 | }).catch(() => { | 134 | }).catch(() => { |
131 | this.loading = false | 135 | this.loading = false | ... | ... |
... | @@ -125,7 +125,11 @@ | ... | @@ -125,7 +125,11 @@ |
125 | this.$popupCacel() | 125 | this.$popupCacel() |
126 | } | 126 | } |
127 | } else { | 127 | } else { |
128 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 128 | if (res.result && res.result.length > 0) { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
130 | } else { | ||
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
132 | } | ||
129 | } | 133 | } |
130 | }).catch(() => { | 134 | }).catch(() => { |
131 | this.loading = false | 135 | this.loading = false | ... | ... |
... | @@ -126,7 +126,11 @@ | ... | @@ -126,7 +126,11 @@ |
126 | } | 126 | } |
127 | this.$popupCacel() | 127 | this.$popupCacel() |
128 | } else { | 128 | } else { |
129 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 129 | if (res.result && res.result.length > 0) { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
131 | } else { | ||
132 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
133 | } | ||
130 | } | 134 | } |
131 | }).catch(() => { | 135 | }).catch(() => { |
132 | this.loading = false | 136 | this.loading = false | ... | ... |
... | @@ -127,7 +127,11 @@ | ... | @@ -127,7 +127,11 @@ |
127 | } | 127 | } |
128 | this.$popupCacel() | 128 | this.$popupCacel() |
129 | } else { | 129 | } else { |
130 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | 130 | if (res.result && res.result.length > 0) { |
131 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
132 | } else { | ||
133 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
134 | } | ||
131 | } | 135 | } |
132 | }).catch(() => { | 136 | }).catch(() => { |
133 | this.loading = false | 137 | this.loading = false | ... | ... |
... | @@ -109,8 +109,13 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -109,8 +109,13 @@ export function queueDjywmc (djywbm, djqxbm) { |
109 | vm = "selectLqqt"; | 109 | vm = "selectLqqt"; |
110 | break; | 110 | break; |
111 | case "A12100"://森林林木首次 | 111 | case "A12100"://森林林木首次 |
112 | vm = "selectSllm"; | 112 | vm = "selectSllmsc"; |
113 | break; | 113 | break; |
114 | case "A12200"://森林林木转移 | ||
115 | case "A12300"://森林林木登记 | ||
116 | case "A12400"://森林林木变更 | ||
117 | vm = "selectSllmqt"; | ||
118 | break; | ||
114 | default: | 119 | default: |
115 | vm = "selecBdcql"; | 120 | vm = "selecBdcql"; |
116 | break; | 121 | break; | ... | ... |
-
Please register or sign in to post a comment