Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
140 changed files
with
2051 additions
and
784 deletions
1 | /* | 1 | /* |
2 | * @Description: 模板管理 | 2 | * @Description: 模板管理 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-16 16:02:32 | 4 | * @LastEditTime: 2024-02-20 16:37:12 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -71,3 +71,18 @@ export function getPrintTemplateByCode (params) { | ... | @@ -71,3 +71,18 @@ export function getPrintTemplateByCode (params) { |
71 | params: params | 71 | params: params |
72 | }) | 72 | }) |
73 | } | 73 | } |
74 | |||
75 | /** | ||
76 | * @description: 获取受理凭证 | ||
77 | * @param {*} params | ||
78 | * @author: renchao | ||
79 | */ | ||
80 | export function getPrintAcceptance (bsmSldy) { | ||
81 | return request({ | ||
82 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintAcceptance', | ||
83 | method: 'get', | ||
84 | params: { | ||
85 | bsmSldy: bsmSldy | ||
86 | } | ||
87 | }) | ||
88 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
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 | ... | ... |
... | @@ -12,28 +12,37 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -12,28 +12,37 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
12 | * @author: renchao | 12 | * @author: renchao |
13 | */ | 13 | */ |
14 | export function Init (data) { | 14 | export function Init (data) { |
15 | let apiUrl = "/rest/ywbl/dyaq/init"; | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + apiUrl, | ||
18 | method: 'post', | ||
19 | data | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | export function batchInit (data) { | ||
15 | let apiUrl = ""; | 24 | let apiUrl = ""; |
16 | switch (data.get("djlx")) { | 25 | switch (data.get("djlx")) { |
17 | case "100": | 26 | case "100": |
18 | apiUrl = "/rest/ywbl/dyaq/fristInit"; | 27 | apiUrl = "/rest/ywbl/dyaq/fristBatchInit"; |
19 | break; | 28 | break; |
20 | case "200": | 29 | case "200": |
21 | apiUrl = "/rest/ywbl/dyaq/transferInit"; | 30 | apiUrl = "/rest/ywbl/dyaq/transferBatchInit"; |
22 | break; | 31 | break; |
23 | case "300": | 32 | case "300": |
24 | apiUrl = "/rest/ywbl/dyaq/changeInit"; | 33 | apiUrl = "/rest/ywbl/dyaq/changeBatchInit"; |
25 | break; | 34 | break; |
26 | case "400": | 35 | case "400": |
27 | apiUrl = "/rest/ywbl/dyaq/logoutInit"; | 36 | apiUrl = "/rest/ywbl/dyaq/logoutBatchInit"; |
28 | break; | 37 | break; |
29 | case "500": | 38 | case "500": |
30 | apiUrl = "/rest/ywbl/dyaq/riviseInit"; | 39 | apiUrl = "/rest/ywbl/dyaq/riviseBatchInit"; |
31 | break; | 40 | break; |
32 | case "901": | 41 | case "901": |
33 | apiUrl = "/rest/ywbl/dyaq/renewalInit"; | 42 | apiUrl = "/rest/ywbl/dyaq/renewalBatchInit"; |
34 | break; | 43 | break; |
35 | case "902": | 44 | case "902": |
36 | apiUrl = "/rest/ywbl/dyaq/replaceInit"; | 45 | apiUrl = "/rest/ywbl/dyaq/replaceBatchInit"; |
37 | break; | 46 | break; |
38 | } | 47 | } |
39 | return request({ | 48 | return request({ |
... | @@ -56,3 +65,20 @@ export function saveData (data, djlx) { | ... | @@ -56,3 +65,20 @@ export function saveData (data, djlx) { |
56 | data | 65 | data |
57 | }) | 66 | }) |
58 | } | 67 | } |
68 | |||
69 | /** | ||
70 | * @description: 批量保存 | ||
71 | * @param {*} data | ||
72 | * @author: renchao | ||
73 | */ | ||
74 | export function saveBatchData (data, djlx) { | ||
75 | let apiUrl = "/rest/ywbl/dyaq/saveBatchData"; | ||
76 | if (djlx == "400") { | ||
77 | apiUrl = "/rest/ywbl/dyaq/saveLogoutBatchData"; | ||
78 | } | ||
79 | return request({ | ||
80 | url: SERVER.SERVERAPI + apiUrl, | ||
81 | method: 'post', | ||
82 | data | ||
83 | }) | ||
84 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 13:17:00 | 4 | * @LastEditTime: 2024-01-31 14:50:36 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -290,9 +290,9 @@ export function selectYgdy (data) { | ... | @@ -290,9 +290,9 @@ export function selectYgdy (data) { |
290 | * @param data | 290 | * @param data |
291 | * @returns {*} | 291 | * @returns {*} |
292 | */ | 292 | */ |
293 | export function selectHQjdc (data) { | 293 | export function selectHListQjdc (data) { |
294 | return request({ | 294 | return request({ |
295 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc', | 295 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHListQjdc', |
296 | method: 'post', | 296 | method: 'post', |
297 | data | 297 | data |
298 | }) | 298 | }) | ... | ... |
src/image/icons/svg/GLGXSJ.svg
0 → 100644
1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1706835381250" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4224" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M320 480m32 0l320 0q32 0 32 32l0 0q0 32-32 32l-320 0q-32 0-32-32l0 0q0-32 32-32Z" p-id="4225" fill="#ffffff"></path><path d="M768 320H576a32 32 0 0 0 0 64h192a128 128 0 0 1 0 256H576a32 32 0 1 0 0 64h192a192 192 0 0 0 0-384zM448 640H256a128 128 0 0 1 0-256h192a32 32 0 0 0 0-64H256a192 192 0 0 0 0 384h192a32 32 0 1 0 0-64z" p-id="4226" fill="#ffffff"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -4,11 +4,11 @@ | ... | @@ -4,11 +4,11 @@ |
4 | <div class="logo"> | 4 | <div class="logo"> |
5 | <img v-if="logo" :src="logo" class="header-logo"> | 5 | <img v-if="logo" :src="logo" class="header-logo"> |
6 | </div> | 6 | </div> |
7 | <div class="backdrop"> | 7 | <!-- <div class="backdrop"> |
8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> | 8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> |
9 | </div> | 9 | </div> --> |
10 | <div class="right-menu"> | 10 | <div class="right-menu"> |
11 | <svg-icon class="function" icon-class='function' /> | 11 | <!-- <svg-icon class="function" icon-class='function' /> --> |
12 | <div class="avatar-wrapper"> | 12 | <div class="avatar-wrapper"> |
13 | <span style="padding-right:10px">{{ name }}</span> | 13 | <span style="padding-right:10px">{{ name }}</span> |
14 | <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> | 14 | <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | import { mapGetters } from 'vuex' | 25 | import { mapGetters } from 'vuex' |
26 | import NoticeBar from '@/components/NoticeBar/index' | 26 | import NoticeBar from '@/components/NoticeBar/index' |
27 | import { getHomeNoticeList } from "@/api/home" | 27 | import { getHomeNoticeList } from "@/api/home" |
28 | import {setToken} from "@/utils/util"; | 28 | import { setToken } from "@/utils/util"; |
29 | export default { | 29 | export default { |
30 | components: { | 30 | components: { |
31 | NoticeBar | 31 | NoticeBar |
... | @@ -76,7 +76,7 @@ | ... | @@ -76,7 +76,7 @@ |
76 | axios.post(window._config.services.management + "/management/logout").then(() => { | 76 | axios.post(window._config.services.management + "/management/logout").then(() => { |
77 | setToken(undefined) | 77 | setToken(undefined) |
78 | sessionStorage.removeItem('token') | 78 | sessionStorage.removeItem('token') |
79 | localStorage.setItem('dj-location',window.location.href) | 79 | localStorage.setItem('dj-location', window.location.href) |
80 | window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); | 80 | window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); |
81 | }) | 81 | }) |
82 | }, | 82 | }, | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 15:49:38 | 4 | * @LastEditTime: 2024-02-01 08:53:08 |
5 | */ | 5 | */ |
6 | const getters = { | 6 | const getters = { |
7 | sidebar: state => state.app.sidebar, | 7 | sidebar: state => state.app.sidebar, |
... | @@ -22,6 +22,8 @@ const getters = { | ... | @@ -22,6 +22,8 @@ const getters = { |
22 | // workflow | 22 | // workflow |
23 | isRefresh: state => state.user.isRefresh, | 23 | isRefresh: state => state.user.isRefresh, |
24 | workFresh: state => state.user.workFresh, | 24 | workFresh: state => state.user.workFresh, |
25 | // 左侧菜单刷新 | ||
26 | menuRefresh: state => state.user.menuRefresh, | ||
25 | yjsqOptions: state => state.workflow.yjsqOptions, | 27 | yjsqOptions: state => state.workflow.yjsqOptions, |
26 | dqhj: state => state.getdqhj.dqhj | 28 | dqhj: state => state.getdqhj.dqhj |
27 | } | 29 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 15:45:21 | 4 | * @LastEditTime: 2024-02-01 08:52:00 |
5 | */ | 5 | */ |
6 | import { getUserInfo } from '@/api/user' | 6 | import { getUserInfo } from '@/api/user' |
7 | const state = { | 7 | const state = { |
8 | name: '', | 8 | name: '', |
9 | userInfo:{}, | 9 | userInfo: {}, |
10 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', | 10 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
11 | isRefresh: false, | 11 | isRefresh: false, |
12 | // 业务流程刷新 | 12 | // 业务流程刷新 |
13 | workFresh: false | 13 | workFresh: false, |
14 | // 左侧菜单刷新 | ||
15 | menuRefresh: false | ||
14 | } | 16 | } |
15 | const mutations = { | 17 | const mutations = { |
16 | SET_NAME: (state, data) => { | 18 | SET_NAME: (state, data) => { |
... | @@ -23,7 +25,10 @@ const mutations = { | ... | @@ -23,7 +25,10 @@ const mutations = { |
23 | }, | 25 | }, |
24 | SETWORKFRESH: (state, data) => { | 26 | SETWORKFRESH: (state, data) => { |
25 | state.workFresh = data | 27 | state.workFresh = data |
26 | } | 28 | }, |
29 | SETMENUREFRESH: (state, data) => { | ||
30 | state.menuRefresh = data | ||
31 | }, | ||
27 | } | 32 | } |
28 | 33 | ||
29 | const actions = { | 34 | const actions = { |
... | @@ -39,7 +44,10 @@ const actions = { | ... | @@ -39,7 +44,10 @@ const actions = { |
39 | }, | 44 | }, |
40 | reWorkFresh ({ commit }, data) { | 45 | reWorkFresh ({ commit }, data) { |
41 | commit('SETWORKFRESH', data) | 46 | commit('SETWORKFRESH', data) |
42 | } | 47 | }, |
48 | reMenuRefresh ({ commit }, data) { | ||
49 | commit('SETMENUREFRESH', data) | ||
50 | }, | ||
43 | } | 51 | } |
44 | export default { | 52 | export default { |
45 | namespaced: true, | 53 | namespaced: true, | ... | ... |
... | @@ -234,7 +234,7 @@ | ... | @@ -234,7 +234,7 @@ |
234 | formData.append("bsmSj", this.previewImg.bsmSj); | 234 | formData.append("bsmSj", this.previewImg.bsmSj); |
235 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 235 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); |
236 | if (this.previewImg.imgList.length > 0) { | 236 | if (this.previewImg.imgList.length > 0) { |
237 | formData.append("ssBsmClmx", this.previewImg.imgList[this.previewImg.index].bsmClmx); | 237 | formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); |
238 | } | 238 | } |
239 | uploadSjClmx(formData).then((res) => { | 239 | uploadSjClmx(formData).then((res) => { |
240 | if (res.code == 200) { | 240 | if (res.code == 200) { | ... | ... |
1 | <!-- | ||
2 | * @Description: 功能:流程图 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:40:57 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class='flowChart'> | ||
8 | <img :src="formData" alt=""> | ||
9 | </div> | ||
10 | </template> | ||
11 | <script> | ||
12 | |||
13 | export default { | ||
14 | props: { | ||
15 | formData: { | ||
16 | type: String, | ||
17 | default: '' | ||
18 | } | ||
19 | } | ||
20 | } | ||
21 | </script> | ||
22 | <style scoped lang="scss"> | ||
23 | @import "~@/styles/mixin.scss"; | ||
24 | |||
25 | .flowChart { | ||
26 | margin: 20px 0; | ||
27 | } | ||
28 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -454,7 +454,6 @@ | ... | @@ -454,7 +454,6 @@ |
454 | }; | 454 | }; |
455 | }, | 455 | }, |
456 | key: 0, | 456 | key: 0, |
457 | tdxz: null, | ||
458 | isShow: false, | 457 | isShow: false, |
459 | disabled: true, | 458 | disabled: true, |
460 | czrOptions: [], | 459 | czrOptions: [], |
... | @@ -675,6 +674,16 @@ | ... | @@ -675,6 +674,16 @@ |
675 | if (this.ruleForm.qlrData.length > 1) { | 674 | if (this.ruleForm.qlrData.length > 1) { |
676 | this.$message({ | 675 | this.$message({ |
677 | showClose: true, | 676 | showClose: true, |
677 | message: "请确认权利人信息", | ||
678 | type: "error", | ||
679 | }); | ||
680 | return false; | ||
681 | } | ||
682 | } | ||
683 | if (this.ruleForm.sldy.gyfs == "0") { | ||
684 | if (this.ruleForm.qlrData.length > 1) { | ||
685 | this.$message({ | ||
686 | showClose: true, | ||
678 | message: "共有方式:单独所有,权利人只能是一个人", | 687 | message: "共有方式:单独所有,权利人只能是一个人", |
679 | type: "error", | 688 | type: "error", |
680 | }); | 689 | }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-03 14:47:55 | 4 | * @LastEditTime: 2023-11-03 14:50:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -84,8 +84,6 @@ | ... | @@ -84,8 +84,6 @@ |
84 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 84 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
85 | </el-form-item> | 85 | </el-form-item> |
86 | </el-col> | 86 | </el-col> |
87 | </el-row> | ||
88 | <el-row :gutter="10"> | ||
89 | <el-col :span="8"> | 87 | <el-col :span="8"> |
90 | <el-form-item label="权利类型:"> | 88 | <el-form-item label="权利类型:"> |
91 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 89 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ... | ... |
... | @@ -591,8 +591,6 @@ | ... | @@ -591,8 +591,6 @@ |
591 | this.loading = false | 591 | this.loading = false |
592 | if (res.code == 200) { | 592 | if (res.code == 200) { |
593 | this.ruleForm = res.result; | 593 | this.ruleForm = res.result; |
594 | this.ruleForm.tdsyq.mjdw = "1" | ||
595 | |||
596 | let djlx = this.ruleForm.qlxx.djlx; | 594 | let djlx = this.ruleForm.qlxx.djlx; |
597 | if (djlx == null || djlx == 100) { | 595 | if (djlx == null || djlx == 100) { |
598 | this.ssqlxxshow = false; | 596 | this.ssqlxxshow = false; | ... | ... |
... | @@ -53,7 +53,7 @@ export function getForm (tabName) { | ... | @@ -53,7 +53,7 @@ export function getForm (tabName) { |
53 | break; | 53 | break; |
54 | //森林林木使用权 | 54 | //森林林木使用权 |
55 | case "sllmslxx": | 55 | case "sllmslxx": |
56 | form = require("@/views/ywbl/slsqxx/sllmslxx"); | 56 | form = require("@/views/workflow/main/slsqxx/sllmslxx"); |
57 | break; | 57 | break; |
58 | case "slxxjsydsyq": | 58 | case "slxxjsydsyq": |
59 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue"); | 59 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue"); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-12-19 10:02:20 | 4 | * @LastEditTime: 2024-01-31 17:09:45 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -73,7 +73,6 @@ export default { | ... | @@ -73,7 +73,6 @@ export default { |
73 | } | 73 | } |
74 | } | 74 | } |
75 | }) | 75 | }) |
76 | |||
77 | }, | 76 | }, |
78 | /** | 77 | /** |
79 | * @description: 流程环节操作按钮 | 78 | * @description: 流程环节操作按钮 |
... | @@ -86,15 +85,12 @@ export default { | ... | @@ -86,15 +85,12 @@ export default { |
86 | let that = this; | 85 | let that = this; |
87 | switch (item.value) { | 86 | switch (item.value) { |
88 | case "B0": | 87 | case "B0": |
89 | // this.openDialog() | 88 | this.openDialog() |
90 | this.$alert('此功能正在开发', '提示', { | ||
91 | confirmButtonText: '确定', | ||
92 | }) | ||
93 | break; | 89 | break; |
94 | case "B1": | 90 | case "B1": |
95 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { | 91 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { |
96 | let { result } = res | 92 | let { result } = res |
97 | this.$popupDialog("流程图", "workflow/components/processViewer", { | 93 | this.$popupDialog("流程图", "workflow/top/processViewer/index", { |
98 | xml: result.xml, | 94 | xml: result.xml, |
99 | finishedInfo: { | 95 | finishedInfo: { |
100 | finishedTaskSet: result.finishedActivityIds, | 96 | finishedTaskSet: result.finishedActivityIds, |
... | @@ -159,7 +155,7 @@ export default { | ... | @@ -159,7 +155,7 @@ export default { |
159 | }, '90%', true) | 155 | }, '90%', true) |
160 | break; | 156 | break; |
161 | case "back": //退回按钮 | 157 | case "back": //退回按钮 |
162 | this.$popupDialog("退回", "workflow/components/th", { | 158 | this.$popupDialog("退回", "workflow/top/back/index", { |
163 | bsmSlsq: this.bsmSlsq, | 159 | bsmSlsq: this.bsmSlsq, |
164 | bestepid: this.bestepid ? this.bestepid : '' | 160 | bestepid: this.bestepid ? this.bestepid : '' |
165 | }, '800px', true) | 161 | }, '800px', true) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-10 09:07:29 | 4 | * @LastEditTime: 2024-02-01 09:28:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -286,6 +286,16 @@ | ... | @@ -286,6 +286,16 @@ |
286 | .catch((res) => { | 286 | .catch((res) => { |
287 | console.log("错", res) | 287 | console.log("错", res) |
288 | }) | 288 | }) |
289 | }, | ||
290 | openDialog () { | ||
291 | let data = JSON.parse(localStorage.getItem('ywbl')) | ||
292 | let title = '' | ||
293 | if (data?.sqywmc) { | ||
294 | title = "申请业务:" + data?.sqywmc | ||
295 | } else { | ||
296 | title = "申请业务:" + data?.djywmc | ||
297 | } | ||
298 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true) | ||
289 | } | 299 | } |
290 | } | 300 | } |
291 | } | 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 | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | lpbData.xmmc | 18 | lpbData.xmmc |
19 | }}</el-checkbox> | 19 | }}</el-checkbox> |
20 | </p> | 20 | </p> |
21 | <el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">保存</el-button> | 21 | <el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">选择确认</el-button> |
22 | <el-button type="primary" class="save-btn" v-if="!onlyShow && !showSave" @click="submitForm" :loading="loading">发起申请</el-button> | 22 | <el-button type="primary" class="save-btn" v-if="!onlyShow && !showSave" @click="submitForm" :loading="loading">发起申请</el-button> |
23 | <!-- 右键菜单 --> | 23 | <!-- 右键菜单 --> |
24 | <ul | 24 | <ul |
... | @@ -36,7 +36,7 @@ import { getLpb } from "@/api/lpcx.js"; | ... | @@ -36,7 +36,7 @@ import { getLpb } from "@/api/lpcx.js"; |
36 | import chCpn from "./ch.vue"; | 36 | import chCpn from "./ch.vue"; |
37 | import zdyCpn from "./zdys.vue"; | 37 | import zdyCpn from "./zdys.vue"; |
38 | import ljzsCpn from "./ljzs.vue"; | 38 | import ljzsCpn from "./ljzs.vue"; |
39 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 39 | import { startBusinessFlow, choiceBdcdy,againAddSldy } from "@/api/workFlow.js"; |
40 | import jump from "../../ywbl/ywsq/components/mixin/jump"; | 40 | import jump from "../../ywbl/ywsq/components/mixin/jump"; |
41 | import store from '@/store/index.js' | 41 | import store from '@/store/index.js' |
42 | import { ywPopupCacel } from "@/utils/popup.js"; | 42 | import { ywPopupCacel } from "@/utils/popup.js"; |
... | @@ -132,10 +132,45 @@ export default { | ... | @@ -132,10 +132,45 @@ export default { |
132 | * @author: renchao | 132 | * @author: renchao |
133 | */ | 133 | */ |
134 | saveLpb(){ | 134 | saveLpb(){ |
135 | if (this.bsmList.length == 0) { | ||
136 | this.$message.error("请至少选择一条数据"); | ||
137 | return; | ||
138 | } | ||
139 | this.loading = true; | ||
140 | againAddSldy({ | ||
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
142 | bsmSlsq: this.sqywInfo.bsmSlsq, | ||
143 | bdcdysz: this.bsmList, | ||
144 | sjlx: "houses" | ||
145 | }).then((res) => { | ||
146 | this.loading = false | ||
147 | if (res.code == 200) { | ||
148 | this.$message({ | ||
149 | showClose: true, | ||
150 | message: '添加成功', | ||
151 | type: 'success' | ||
152 | }) | ||
153 | if (!this.isJump) { | ||
154 | this.jump(res.result, this.sqywInfo.djywbm) | ||
155 | } else { | ||
156 | store.dispatch('user/refreshPage', true); | ||
157 | } | ||
158 | //this.close(); | ||
159 | this.$popupCacel(); | ||
160 | } else { | ||
161 | if (res.result && res.result.length > 0) { | ||
162 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{result: res.result} }) | ||
163 | } else { | ||
164 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{message: res.message} }) | ||
165 | } | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | this.loading = false | ||
169 | }) | ||
135 | // todo 调用保存接口 传入参数待定 | 170 | // todo 调用保存接口 传入参数待定 |
136 | console.log(this.bsmList,'this.bsmList'); | 171 | //console.log(this.bsmList,'this.bsmList'); |
137 | // 保存成功后关闭弹框 | 172 | // 保存成功后关闭弹框 |
138 | this.$popupCacel() | 173 | //this.$popupCacel() |
139 | }, | 174 | }, |
140 | // 改变户选中状态 | 175 | // 改变户选中状态 |
141 | /** | 176 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-19 16:30:06 | 4 | * @LastEditTime: 2024-01-29 14:27:07 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -170,9 +170,9 @@ | ... | @@ -170,9 +170,9 @@ |
170 | }) | 170 | }) |
171 | } else { | 171 | } else { |
172 | var formdata = new FormData(); | 172 | var formdata = new FormData(); |
173 | formdata.append("bsmSlsq", this.formData.bsmSlsq); | 173 | formdata.append("bsmSlsq", this.formData.bsmSlsq ? this.formData.bsmSlsq : ''); |
174 | formdata.append("bsmSldy", this.formData.bsmSldy); | 174 | formdata.append("bsmSldy", this.formData.bsmSldy ? this.formData.bsmSldy : ''); |
175 | 175 | console.log(this.formData); | |
176 | InitClml(formdata).then((res) => { | 176 | InitClml(formdata).then((res) => { |
177 | if (res.code == 200) { | 177 | if (res.code == 200) { |
178 | resolve(res.code); | 178 | resolve(res.code); | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -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 | }, | ... | ... |
This diff is collapsed.
Click to expand it.
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: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-26 16:05:28 | 4 | * @LastEditTime: 2024-02-02 16:52:02 |
5 | --> | 5 | --> |
6 | <!-- 批量删除弹框 --> | 6 | <!-- 批量删除弹框 --> |
7 | <template> | 7 | <template> |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | </div> | 16 | </div> |
17 | </template> | 17 | </template> |
18 | <script> | 18 | <script> |
19 | import { deleteFlow } from "@/api/workFlow.js" | 19 | import { deleteSlbdcdy } from "@/api/workFlow.js" |
20 | import store from '@/store/index.js' | 20 | import store from '@/store/index.js' |
21 | export default { | 21 | export default { |
22 | components: {}, | 22 | components: {}, |
... | @@ -74,7 +74,7 @@ | ... | @@ -74,7 +74,7 @@ |
74 | var formdata = new FormData(); | 74 | var formdata = new FormData(); |
75 | formdata.append("bsmSldyList", this.selectBdcdy); | 75 | formdata.append("bsmSldyList", this.selectBdcdy); |
76 | formdata.append("bsmSlsq", this.formData.bsmSlsq); | 76 | formdata.append("bsmSlsq", this.formData.bsmSlsq); |
77 | deleteFlow(formdata).then(res => { | 77 | deleteSlbdcdy(formdata).then(res => { |
78 | if (res.code == 200) { | 78 | if (res.code == 200) { |
79 | this.$popupCacel(); | 79 | this.$popupCacel(); |
80 | store.dispatch('user/refreshPage', true); | 80 | store.dispatch('user/refreshPage', true); | ... | ... |
1 | <!-- | ||
2 | * @Description: 流程图 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-25 09:26:01 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class='flowChart'> | ||
8 | <img :src="formData" alt=""> | ||
9 | </div> | ||
10 | </template> | ||
11 | <script> | ||
12 | export default { | ||
13 | props: { | ||
14 | formData: { | ||
15 | type: String, | ||
16 | default: '' | ||
17 | } | ||
18 | } | ||
19 | } | ||
20 | </script> | ||
21 | <style scoped lang="scss"> | ||
22 | @import "~@/styles/mixin.scss"; | ||
23 | |||
24 | .flowChart { | ||
25 | margin: 20px 0; | ||
26 | } | ||
27 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
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 16:57:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | <div class="menu-con"> | 21 | <div class="menu-con"> |
22 | <p>{{ item.bdcdyh }}</p> | 22 | <p>{{ item.bdcdyh }}</p> |
23 | <el-tooltip effect="dark" :content="item.zl" placement="top"> | 23 | <el-tooltip effect="dark" :content="item.zl" placement="top"> |
24 | <p v-if="item.sqfl=='1'" class="title-detail">{{ item.zl }}</p> | 24 | <p v-if="item.zl" class="title-detail">{{ item.zl }}</p> |
25 | <p v-else class="title-detail">{{ item.qllxmc }}</p> | 25 | <p v-else class="title-detail">{{ item.qllxmc }}</p> |
26 | </el-tooltip> | 26 | </el-tooltip> |
27 | </div> | 27 | </div> |
... | @@ -77,7 +77,8 @@ | ... | @@ -77,7 +77,8 @@ |
77 | this.loadBdcdylist(); | 77 | this.loadBdcdylist(); |
78 | }, | 78 | }, |
79 | computed: { | 79 | computed: { |
80 | ...mapGetters(['isRefresh']) | 80 | ...mapGetters(['isRefresh', 'menuRefresh']), |
81 | |||
81 | }, | 82 | }, |
82 | watch: { | 83 | watch: { |
83 | isRefresh: { | 84 | isRefresh: { |
... | @@ -87,6 +88,12 @@ | ... | @@ -87,6 +88,12 @@ |
87 | } | 88 | } |
88 | }, | 89 | }, |
89 | immediate: true | 90 | immediate: true |
91 | }, | ||
92 | menuRefresh: { | ||
93 | handler (newValue, oldValue) { | ||
94 | this.loadBdcdylist(true) | ||
95 | }, | ||
96 | immediate: true | ||
90 | } | 97 | } |
91 | }, | 98 | }, |
92 | methods: { | 99 | methods: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-25 14:21:44 | 4 | * @LastEditTime: 2024-02-01 16:58:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | this.loadBdcdylist(); | 91 | this.loadBdcdylist(); |
92 | }, | 92 | }, |
93 | computed: { | 93 | computed: { |
94 | ...mapGetters(['isRefresh']) | 94 | ...mapGetters(['isRefresh', 'menuRefresh']) |
95 | }, | 95 | }, |
96 | watch: { | 96 | watch: { |
97 | isRefresh: { | 97 | isRefresh: { |
... | @@ -99,6 +99,12 @@ | ... | @@ -99,6 +99,12 @@ |
99 | if (newVal) this.loadBdcdylist(true) | 99 | if (newVal) this.loadBdcdylist(true) |
100 | }, | 100 | }, |
101 | immediate: true | 101 | immediate: true |
102 | }, | ||
103 | menuRefresh: { | ||
104 | handler (newValue, oldValue) { | ||
105 | this.loadBdcdylist(true) | ||
106 | }, | ||
107 | immediate: true | ||
102 | } | 108 | } |
103 | }, | 109 | }, |
104 | methods: { | 110 | methods: { | ... | ... |
... | @@ -4,98 +4,115 @@ | ... | @@ -4,98 +4,115 @@ |
4 | * @LastEditTime: 2024-01-23 14:07:58 | 4 | * @LastEditTime: 2024-01-23 14:07:58 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * @description: 流程环节操作按钮 | 7 | * @description: 流程表单操作 |
8 | * @param {*} tabName | 8 | * @param {*} tabName |
9 | * @author: renchao | 9 | * @author: renchao |
10 | */ | 10 | */ |
11 | export function getForm (tabName) { | 11 | export function getForm(tabName) { |
12 | let form; | 12 | let form; |
13 | if (tabName == 0) return | 13 | if (tabName == 0) return |
14 | switch (tabName) { | 14 | switch (tabName) { |
15 | //土地所有权 | ||
15 | case "tdsyqslxx": | 16 | case "tdsyqslxx": |
16 | form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue"); | 17 | form = require("@/views/workflow/main/slsqxx/tdsyq/slxx.vue"); |
17 | break; | 18 | break; |
19 | //建设用地、宅基地 | ||
18 | case "jsydsyqslxx100": | 20 | case "jsydsyqslxx100": |
19 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue"); | ||
20 | break; | ||
21 | case "jsydsyqslxx300": | 21 | case "jsydsyqslxx300": |
22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); | 22 | form = require("@/views/workflow/main/slsqxx/jsydsyq/slxx.vue"); |
23 | break; | 23 | break; |
24 | //土地承包经营权 | 24 | //土地承包经营权 |
25 | case "tdcbjyqslxx100": | 25 | case "tdcbjyqslxx100": |
26 | form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue"); | 26 | form = require("@/views/workflow/main/slsqxx/tdcbjyq/slxx.vue"); |
27 | break; | 27 | break; |
28 | //国有建设用地使用权/房屋所有权 | 28 | //房屋多幢 |
29 | case "fwsyqdzslxx": | 29 | case "fwsyqdzslxx": |
30 | form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); | 30 | form = require("@/views/workflow/main/slsqxx/fdcq1/slxx.vue"); |
31 | break; | 31 | break; |
32 | //房屋独幢 | ||
32 | case "fwsyqslxx100": | 33 | case "fwsyqslxx100": |
33 | case "fwsyqslxx200": | 34 | case "fwsyqslxx200": |
34 | case "fwsyqslxx400": | 35 | case "fwsyqslxx400": |
35 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue"); | ||
36 | break; | ||
37 | case "fwsyqslxx300": | 36 | case "fwsyqslxx300": |
38 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); | 37 | form = require("@/views/workflow/main/slsqxx/fdcq2/slxx.vue"); |
38 | break; | ||
39 | //房屋独幢(批量) | ||
40 | case "plfdcq2": | ||
41 | form = require("@/views/workflow/main/slsqxx/fdcq2/batchSlxx.vue"); | ||
39 | break; | 42 | break; |
40 | //林地使用权 | 43 | //林地使用权 |
41 | case "lqslxx": | 44 | case "lqslxx": |
42 | form = require("@/views/ywbl/slsqxx/lqslxx"); | 45 | form = require("@/views/workflow/main/slsqxx/lqslxx"); |
43 | break; | 46 | break; |
44 | //森林林木使用权 | 47 | //森林林木使用权 |
45 | case "sllmslxx": | 48 | case "sllmslxx": |
46 | form = require("@/views/ywbl/slsqxx/sllmslxx"); | 49 | form = require("@/views/workflow/main/slsqxx/sllmslxx"); |
47 | break; | ||
48 | case "plfdcq2": | ||
49 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); | ||
50 | break; | 50 | break; |
51 | //农用地使用权 | ||
51 | case "nydsyqslxx100": | 52 | case "nydsyqslxx100": |
52 | form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue"); | ||
53 | break; | ||
54 | case "nydsyqslxx200": | 53 | case "nydsyqslxx200": |
55 | form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue"); | 54 | form = require("@/views/workflow/main/slsqxx/nydsyq/slxx.vue"); |
56 | break; | 55 | break; |
56 | //查封登记 | ||
57 | case "tdslxxCfdj": | 57 | case "tdslxxCfdj": |
58 | form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue"); | 58 | form = require("@/views/workflow/main/slsqxx/cfdj/slxx.vue"); |
59 | break; | 59 | break; |
60 | //查封登记(批量) | ||
60 | case "plslxxCfdj": | 61 | case "plslxxCfdj": |
61 | form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue"); | 62 | form = require("@/views/workflow/main/slsqxx/cfdj/batchSlxx.vue"); |
62 | break; | 63 | break; |
64 | //抵押权 | ||
63 | case "diyaqSlxx": | 65 | case "diyaqSlxx": |
64 | form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue"); | 66 | form = require("@/views/workflow/main/slsqxx/diyaq/slxx.vue"); |
65 | break; | 67 | break; |
66 | case "clxx": | 68 | //抵押权(批量) |
67 | form = require("@/views/workflow/components/clxx/clxxUnify.vue"); | 69 | case "batchDiyaq": |
68 | break; | 70 | form = require("@/views/workflow/main/slsqxx/diyaq/batchSlxx.vue"); |
69 | case "spyj": | ||
70 | form = require("@/views/workflow/components/spyj.vue"); | ||
71 | break; | ||
72 | case "swxx": | ||
73 | form = require("@/views/workflow/components/swxx.vue"); | ||
74 | break; | ||
75 | case "sfxx": | ||
76 | form = require("@/views/workflow/components/sfxx.vue"); | ||
77 | break; | ||
78 | case "sdqxx": | ||
79 | form = require("@/views/workflow/components/sdqxx.vue"); | ||
80 | break; | ||
81 | case "zdjbxx": | ||
82 | form = require("@/views/registerBook/zdjbxx.vue"); | ||
83 | break; | 71 | break; |
72 | //预告买卖登记 | ||
84 | case "ygmm100": | 73 | case "ygmm100": |
85 | form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue"); | ||
86 | break; | ||
87 | case "ygmm300": | 74 | case "ygmm300": |
88 | form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue"); | 75 | form = require("@/views/workflow/main/slsqxx/ygdj/slxx.vue"); |
89 | break; | 76 | break; |
77 | //预告抵押登记 | ||
90 | case "ygdy100": | 78 | case "ygdy100": |
91 | case "ygdy300": | 79 | case "ygdy300": |
92 | form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue"); | 80 | form = require("@/views/workflow/main/slsqxx/ygdy/slxx.vue"); |
93 | break; | 81 | break; |
82 | //在建工程抵押权 | ||
94 | case "zjgcdyqSlxx": | 83 | case "zjgcdyqSlxx": |
95 | form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue"); | 84 | form = require("@/views/workflow/main/slsqxx/zjgcdy/slxx.vue"); |
96 | break; | 85 | break; |
86 | //在建工程抵押权(批量) | ||
97 | case "batchZjgcdyq": | 87 | case "batchZjgcdyq": |
98 | form = require("@/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue"); | 88 | form = require("@/views/workflow/main/slsqxx/zjgcdy/batchSlxx.vue"); |
89 | break; | ||
90 | case "clxx"://材料信息 | ||
91 | form = require("@/views/workflow/main/clxx/clxxUnify.vue"); | ||
92 | break; | ||
93 | case "spyj"://审批意见 | ||
94 | form = require("@/views/workflow/main/spyj"); | ||
95 | break; | ||
96 | case "swxx"://税务信息 | ||
97 | form = require("@/views/workflow/main/swxx"); | ||
98 | break; | ||
99 | case "sfxx"://收费信息 | ||
100 | form = require("@/views/workflow/main/sfxx"); | ||
101 | break; | ||
102 | case "sdqxx"://水电气信息 | ||
103 | form = require("@/views/workflow/main/sdqxx"); | ||
104 | break; | ||
105 | case "zdjbxx"://宗地基本信息 | ||
106 | form = require("@/views/registerBook/zdjbxx.vue"); | ||
107 | break; | ||
108 | case "szxx"://缮证信息 | ||
109 | form = require("@/views/workflow/main/szxx"); | ||
110 | break; | ||
111 | case "fzxx"://发证信息 | ||
112 | form = require("@/views/workflow/main/fzxx"); | ||
113 | break; | ||
114 | case "zdjbxxImg"://宗地图 | ||
115 | form = require("@/views/workflow/main/zdt"); | ||
99 | break; | 116 | break; |
100 | case "cfdjxx": | 117 | case "cfdjxx": |
101 | form = require("@/views/registerBook/cfdj.vue"); | 118 | form = require("@/views/registerBook/cfdj.vue"); |
... | @@ -124,16 +141,7 @@ export function getForm (tabName) { | ... | @@ -124,16 +141,7 @@ export function getForm (tabName) { |
124 | case "ygdjQlxx": | 141 | case "ygdjQlxx": |
125 | form = require("@/views/registerBook/ygdj.vue"); | 142 | form = require("@/views/registerBook/ygdj.vue"); |
126 | break; | 143 | break; |
127 | case "szxx": | 144 | default://默认地址404空页面 |
128 | form = require("@/views/workflow/components/szxx.vue"); | ||
129 | break; | ||
130 | case "fzxx": | ||
131 | form = require("@/views/workflow/components/fzxx.vue"); | ||
132 | break; | ||
133 | case "zdjbxxImg": | ||
134 | form = require("@/views/workflow/components/zdt.vue"); | ||
135 | break; | ||
136 | default: | ||
137 | form = require("@/views/error-page/404.vue"); | 145 | form = require("@/views/error-page/404.vue"); |
138 | break; | 146 | break; |
139 | } | 147 | } | ... | ... |
... | @@ -59,8 +59,8 @@ | ... | @@ -59,8 +59,8 @@ |
59 | </template> | 59 | </template> |
60 | <script> | 60 | <script> |
61 | import { mapGetters } from "vuex"; | 61 | import { mapGetters } from "vuex"; |
62 | import clxxAddDialog from "../dialog/clxxAddDialog.vue"; | 62 | import clxxAddDialog from "./clxxAddDialog.vue"; |
63 | import clxxDetailDialog from "../dialog/clxxDetailDialog.vue"; | 63 | import clxxDetailDialog from "./clxxDetailDialog.vue"; |
64 | import imagePreview from "@/views/components/imagePreview.vue"; | 64 | import imagePreview from "@/views/components/imagePreview.vue"; |
65 | import { InitClml, saveClml, getClmxList } from "@/api/clxx.js"; | 65 | import { InitClml, saveClml, getClmxList } from "@/api/clxx.js"; |
66 | export default { | 66 | export default { |
... | @@ -312,7 +312,7 @@ | ... | @@ -312,7 +312,7 @@ |
312 | this.$store.dispatch("user/reWorkFresh", false); | 312 | this.$store.dispatch("user/reWorkFresh", false); |
313 | this.$popupDialog( | 313 | this.$popupDialog( |
314 | "申请材料目录", | 314 | "申请材料目录", |
315 | "workflow/components/dialog/clxxDetailDialog", | 315 | "workflow/main/clxx/clxxDetailDialog", |
316 | { | 316 | { |
317 | data: this.tableData, | 317 | data: this.tableData, |
318 | bsmSldy: this.$parent.currentSelectProps.bsmSldy, | 318 | bsmSldy: this.$parent.currentSelectProps.bsmSldy, | ... | ... |
... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
43 | import { mapGetters } from 'vuex' | 43 | import { mapGetters } from 'vuex' |
44 | import store from '@/store/index.js' | 44 | import store from '@/store/index.js' |
45 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
46 | import { datas } from "../javascript/fzxxdata"; | 46 | import { datas } from "./fzxxdata"; |
47 | import { getCertificateList } from "@/api/bdcqz.js"; | 47 | import { getCertificateList } from "@/api/bdcqz.js"; |
48 | export default { | 48 | export default { |
49 | mixins: [table], | 49 | mixins: [table], |
... | @@ -97,7 +97,7 @@ | ... | @@ -97,7 +97,7 @@ |
97 | */ | 97 | */ |
98 | zslqClick () { | 98 | zslqClick () { |
99 | store.dispatch('user/reWorkFresh', false) | 99 | store.dispatch('user/reWorkFresh', false) |
100 | this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true) | 100 | this.$popupDialog("不动产权证领取", "workflow/main/fzxx/zslq", {}, '80%', true) |
101 | } | 101 | } |
102 | } | 102 | } |
103 | } | 103 | } | ... | ... |
... | @@ -90,7 +90,8 @@ | ... | @@ -90,7 +90,8 @@ |
90 | import table from "@/utils/mixin/table"; | 90 | import table from "@/utils/mixin/table"; |
91 | import { getIdCardInfo } from '@/utils/operation.js' | 91 | import { getIdCardInfo } from '@/utils/operation.js' |
92 | import { getUnclaimedBdcqz, issueCertificate, getBdcqzQlr } from "@/api/bdcqz.js"; | 92 | import { getUnclaimedBdcqz, issueCertificate, getBdcqzQlr } from "@/api/bdcqz.js"; |
93 | import { datas } from "../../javascript/fzxxdata"; | 93 | import { datas } from "@/views/workflow/main/fzxx/fzxxdata"; |
94 | import { log } from 'bpmn-js-token-simulation'; | ||
94 | export default { | 95 | export default { |
95 | props: { | 96 | props: { |
96 | formData: { | 97 | formData: { | ... | ... |
... | @@ -67,7 +67,7 @@ | ... | @@ -67,7 +67,7 @@ |
67 | <div class="slxx_title title-block"> | 67 | <div class="slxx_title title-block"> |
68 | 票据 | 68 | 票据 |
69 | <div style="height:250px"> | 69 | <div style="height:250px"> |
70 | <img src="../../../image/pj.jpg" alt="" style="height:100%"> | 70 | <img src="../../../../image/pj.jpg" alt="" style="height:100%"> |
71 | </div> | 71 | </div> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
... | @@ -155,7 +155,7 @@ | ... | @@ -155,7 +155,7 @@ |
155 | }, | 155 | }, |
156 | hanldeAdd () { | 156 | hanldeAdd () { |
157 | let bsmBusiness = this.$route.query.bsmBusiness ? this.$route.query.bsmBusiness : window.currentSelect.bsmBusiness | 157 | let bsmBusiness = this.$route.query.bsmBusiness ? this.$route.query.bsmBusiness : window.currentSelect.bsmBusiness |
158 | this.$popupDialog('新增', 'workflow/components/dialog/xzsf', { bsmBusiness: bsmBusiness }, '50%', true) | 158 | this.$popupDialog('新增', 'workflow/main/sfxx/xzsf', { bsmBusiness: bsmBusiness }, '50%', true) |
159 | }, | 159 | }, |
160 | handleDelete (row) { | 160 | handleDelete (row) { |
161 | let that = this | 161 | let that = this | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -149,9 +149,9 @@ | ... | @@ -149,9 +149,9 @@ |
149 | </div> | 149 | </div> |
150 | <el-row :gutter="10"> | 150 | <el-row :gutter="10"> |
151 | <el-col :span="8"> | 151 | <el-col :span="8"> |
152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="原告:" prop="cfdj.cfwh"> |
153 | <el-input | 153 | <el-input |
154 | v-model="ruleForm.cfdj.cfjg" | 154 | v-model="ruleForm.cfdj.yg" |
155 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | 155 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
156 | </el-form-item> | 156 | </el-form-item> |
157 | </el-col> | 157 | </el-col> |
... | @@ -162,11 +162,27 @@ | ... | @@ -162,11 +162,27 @@ |
162 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | 162 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
163 | </el-form-item> | 163 | </el-form-item> |
164 | </el-col> | 164 | </el-col> |
165 | <el-col :span="8"> | ||
166 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> | ||
167 | <el-input | ||
168 | v-model="ruleForm.cfdj.cfjg" | ||
169 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | ||
170 | </el-form-item> | ||
171 | </el-col> | ||
172 | </el-row> | ||
173 | <el-row :gutter="10"> | ||
165 | <el-col :span="8"> | 174 | <el-col :span="8"> |
166 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc"> | 175 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflxmc"> |
167 | <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input> | 176 | <el-input v-model="ruleForm.cfdj.cflxmc" disabled></el-input> |
168 | </el-form-item> | 177 | </el-form-item> |
169 | </el-col> | 178 | </el-col> |
179 | <el-col :span="16"> | ||
180 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> | ||
181 | <el-input | ||
182 | v-model="ruleForm.cfdj.cfwj" | ||
183 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | ||
184 | </el-form-item> | ||
185 | </el-col> | ||
170 | </el-row> | 186 | </el-row> |
171 | <el-row :gutter="10"> | 187 | <el-row :gutter="10"> |
172 | <el-col :span="8"> | 188 | <el-col :span="8"> |
... | @@ -199,15 +215,9 @@ | ... | @@ -199,15 +215,9 @@ |
199 | </el-form-item> | 215 | </el-form-item> |
200 | </el-col> | 216 | </el-col> |
201 | </el-row> | 217 | </el-row> |
218 | |||
202 | <el-row :gutter="10"> | 219 | <el-row :gutter="10"> |
203 | <el-col :span="8"> | 220 | <el-col :span="24"> |
204 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> | ||
205 | <el-input | ||
206 | v-model="ruleForm.cfdj.cfwj" | ||
207 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> | ||
208 | </el-form-item> | ||
209 | </el-col> | ||
210 | <el-col :span="16"> | ||
211 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> | 221 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> |
212 | <el-input | 222 | <el-input |
213 | v-model="ruleForm.cfdj.cffw" | 223 | v-model="ruleForm.cfdj.cffw" |
... | @@ -275,7 +285,6 @@ | ... | @@ -275,7 +285,6 @@ |
275 | </div> | 285 | </div> |
276 | </template> | 286 | </template> |
277 | <script> | 287 | <script> |
278 | import sqrViewTable from "@/views/workflow/components/sqrViewTable"; | ||
279 | import { Init, saveData } from "@/api/workflow/cfdjFlow.js"; | 288 | import { Init, saveData } from "@/api/workflow/cfdjFlow.js"; |
280 | import { mapGetters } from "vuex"; | 289 | import { mapGetters } from "vuex"; |
281 | export default { | 290 | export default { |
... | @@ -331,7 +340,7 @@ | ... | @@ -331,7 +340,7 @@ |
331 | }); | 340 | }); |
332 | }, | 341 | }, |
333 | watch: {}, | 342 | watch: {}, |
334 | components: { sqrViewTable }, | 343 | components: { }, |
335 | props: { | 344 | props: { |
336 | flag: { | 345 | flag: { |
337 | type: Boolean, | 346 | type: Boolean, | ... | ... |
This diff is collapsed.
Click to expand it.
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-09-11 15:32:32 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data1 extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | prop: "sqrmc", | ||
20 | label: "姓名/名称", | ||
21 | }, | ||
22 | { | ||
23 | prop: "zjzlMc", | ||
24 | label: "证件种类" | ||
25 | }, | ||
26 | { | ||
27 | prop: "zjh", | ||
28 | label: "证件号", | ||
29 | }, | ||
30 | { | ||
31 | prop: "frmc", | ||
32 | label: "法人名称", | ||
33 | }, | ||
34 | { | ||
35 | prop: "dwdz", | ||
36 | label: "地址", | ||
37 | }, | ||
38 | { | ||
39 | prop: "dh", | ||
40 | label: "联系电话", | ||
41 | } | ||
42 | ] | ||
43 | } | ||
44 | |||
45 | } | ||
46 | class data2 extends filter { | ||
47 | constructor() { | ||
48 | super() | ||
49 | |||
50 | } | ||
51 | columns () { | ||
52 | return [ | ||
53 | { | ||
54 | prop: "sqrmc", | ||
55 | label: "姓名/名称", | ||
56 | }, | ||
57 | { | ||
58 | prop: "zjzlMc", | ||
59 | label: "证件种类", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zjh", | ||
63 | label: "证件号", | ||
64 | }, | ||
65 | { | ||
66 | prop: "frmc", | ||
67 | label: "法人名称", | ||
68 | }, | ||
69 | { | ||
70 | prop: "dwdz", | ||
71 | label: "地址", | ||
72 | }, | ||
73 | { | ||
74 | prop: "dh", | ||
75 | label: "联系电话", | ||
76 | }, | ||
77 | ] | ||
78 | } | ||
79 | |||
80 | } | ||
81 | let dataYh = new data1() | ||
82 | let dataQy = new data2() | ||
83 | export { | ||
84 | dataYh, | ||
85 | dataQy, | ||
86 | sendThis | ||
87 | } |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-17 13:51:29 | ||
5 | --> | ||
6 | <template> | ||
7 | <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData"> | ||
8 | </lb-table> | ||
9 | </template> | ||
10 | <script> | ||
11 | import { mapGetters } from 'vuex'; | ||
12 | export default { | ||
13 | computed: { | ||
14 | ...mapGetters(["dictData"]), | ||
15 | }, | ||
16 | props: { | ||
17 | tableData: { | ||
18 | type: Array, | ||
19 | default: function () { | ||
20 | return [] | ||
21 | } | ||
22 | } | ||
23 | }, | ||
24 | data () { | ||
25 | return { | ||
26 | key: 0, | ||
27 | column: [ | ||
28 | { | ||
29 | label: '序号', | ||
30 | type: 'index', | ||
31 | width: '50', | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {scope.$index + 1} | ||
36 | </div> | ||
37 | ) | ||
38 | } | ||
39 | }, | ||
40 | { | ||
41 | prop: "yg", | ||
42 | label: "原告" | ||
43 | }, | ||
44 | { | ||
45 | prop: "cfjg", | ||
46 | label: "查封机关" | ||
47 | }, | ||
48 | { | ||
49 | prop: "cfwh", | ||
50 | label: "查封文号" | ||
51 | }, | ||
52 | { | ||
53 | prop: "cfqssj", | ||
54 | label: "查封开始时间" | ||
55 | }, | ||
56 | { | ||
57 | prop: "cfjssj", | ||
58 | label: "查封结束时间" | ||
59 | }, | ||
60 | { | ||
61 | prop: "cflxmc", | ||
62 | label: "查封类型" | ||
63 | }, | ||
64 | { | ||
65 | prop: "ywrmc", | ||
66 | label: "被执行人" | ||
67 | }, | ||
68 | { | ||
69 | prop: "bcfzh", | ||
70 | label: "被查封证号" | ||
71 | }, | ||
72 | { | ||
73 | prop: "bdcdyh", | ||
74 | label: "不动产单元号" | ||
75 | }, | ||
76 | { | ||
77 | prop: "zl", | ||
78 | label: "坐落" | ||
79 | } | ||
80 | ] | ||
81 | } | ||
82 | }, | ||
83 | methods: { | ||
84 | } | ||
85 | } | ||
86 | </script> | ||
87 | <style scoped lang='scss'> | ||
88 | /deep/.el-table th { | ||
89 | height: 30px !important; | ||
90 | } | ||
91 | /deep/.el-table--small .el-table__cell { | ||
92 | padding: 5px; | ||
93 | } | ||
94 | </style> |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-17 13:51:29 | ||
5 | --> | ||
6 | <template> | ||
7 | <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData"> | ||
8 | </lb-table> | ||
9 | </template> | ||
10 | <script> | ||
11 | import { mapGetters } from 'vuex' | ||
12 | export default { | ||
13 | computed: { | ||
14 | ...mapGetters(["dictData"]), | ||
15 | }, | ||
16 | props: { | ||
17 | tableData: { | ||
18 | type: Array, | ||
19 | default: function () { | ||
20 | return [] | ||
21 | } | ||
22 | } | ||
23 | }, | ||
24 | data () { | ||
25 | return { | ||
26 | key: 0, | ||
27 | column: [ | ||
28 | { | ||
29 | label: '序号', | ||
30 | type: 'index', | ||
31 | width: '50', | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | {scope.$index + 1} | ||
36 | </div> | ||
37 | ) | ||
38 | } | ||
39 | }, | ||
40 | { | ||
41 | prop: "qlrmc", | ||
42 | label: "抵押权人" | ||
43 | }, | ||
44 | { | ||
45 | prop: "ywrmc", | ||
46 | label: "抵押人" | ||
47 | }, | ||
48 | { | ||
49 | prop: "bdcqzh", | ||
50 | label: "不动产登记证明号" | ||
51 | }, | ||
52 | { | ||
53 | prop: "dyjelx", | ||
54 | label: "抵押金额类型" | ||
55 | }, | ||
56 | { | ||
57 | prop: "dyfsmc", | ||
58 | label: "抵押方式" | ||
59 | }, | ||
60 | { | ||
61 | prop: "qdjgmc", | ||
62 | label: "抵押金额" | ||
63 | }, | ||
64 | { | ||
65 | prop: "qlmjmc", | ||
66 | label: "抵押面积" | ||
67 | }, | ||
68 | { | ||
69 | prop: "zwlxqssj", | ||
70 | label: "债务履行开始时间" | ||
71 | }, | ||
72 | { | ||
73 | prop: "zwlxjssj", | ||
74 | label: "债务履行结束时间" | ||
75 | }, | ||
76 | { | ||
77 | prop: "bdcdyh", | ||
78 | label: "不动产单元号" | ||
79 | }, | ||
80 | { | ||
81 | prop: "zl", | ||
82 | label: "坐落" | ||
83 | } | ||
84 | ] | ||
85 | } | ||
86 | }, | ||
87 | methods: { | ||
88 | } | ||
89 | } | ||
90 | </script> | ||
91 | <style scoped lang='scss'> | ||
92 | /deep/.el-table th { | ||
93 | height: 30px !important; | ||
94 | } | ||
95 | /deep/.el-table--small .el-table__cell { | ||
96 | padding: 5px; | ||
97 | } | ||
98 | </style> |
src/views/workflow/components/qjhTable.vue
→
src/views/workflow/main/slsqxx/commonTable/qjhTable.vue
... | @@ -8,12 +8,8 @@ | ... | @@ -8,12 +8,8 @@ |
8 | </lb-table> | 8 | </lb-table> |
9 | </template> | 9 | </template> |
10 | <script> | 10 | <script> |
11 | import addQlr from './dialog/addQlr.vue' | ||
12 | import { mapGetters } from 'vuex' | 11 | import { mapGetters } from 'vuex' |
13 | export default { | 12 | export default { |
14 | components: { | ||
15 | addQlr | ||
16 | }, | ||
17 | computed: { | 13 | computed: { |
18 | ...mapGetters(["dictData"]), | 14 | ...mapGetters(["dictData"]), |
19 | }, | 15 | }, |
... | @@ -23,20 +19,12 @@ | ... | @@ -23,20 +19,12 @@ |
23 | default: function () { | 19 | default: function () { |
24 | return [] | 20 | return [] |
25 | } | 21 | } |
26 | }, | ||
27 | gyfs: { | ||
28 | type: String, | ||
29 | default: '1' | ||
30 | } | 22 | } |
31 | }, | 23 | }, |
32 | data () { | 24 | data () { |
33 | return { | 25 | return { |
34 | key: 0, | 26 | key: 0, |
35 | dataIndex: 0, | 27 | column: [ |
36 | dialog: false, | ||
37 | details: {}, | ||
38 | tableDataList: [], | ||
39 | qlrCommonTable: [ | ||
40 | { | 28 | { |
41 | label: '序号', | 29 | label: '序号', |
42 | type: 'index', | 30 | type: 'index', |
... | @@ -85,41 +73,9 @@ | ... | @@ -85,41 +73,9 @@ |
85 | prop: "showfwjg", | 73 | prop: "showfwjg", |
86 | label: "房屋结构" | 74 | label: "房屋结构" |
87 | }, | 75 | }, |
88 | ], | 76 | ] |
89 | column: this.qlrCommonTable | ||
90 | } | 77 | } |
91 | }, | 78 | }, |
92 | watch: { | ||
93 | tableData: { | ||
94 | handler: function (val, oldVal) { | ||
95 | let that = this; | ||
96 | if (val.length == 0 || !val) { | ||
97 | } else { | ||
98 | that.tableDataList = _.cloneDeep(val) | ||
99 | } | ||
100 | }, | ||
101 | immediate: true, | ||
102 | deep: true | ||
103 | }, | ||
104 | gyfs: { | ||
105 | handler (newVal, oldValue) { | ||
106 | let dataList = _.cloneDeep(this.qlrCommonTable) | ||
107 | if (newVal == '1') { | ||
108 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
109 | } else if ((newVal == '2')) { | ||
110 | this.column = dataList | ||
111 | } else { | ||
112 | this.column = _.cloneDeep(dataList) | ||
113 | this.column.splice( | ||
114 | 2, 0, { | ||
115 | prop: "qlbl", | ||
116 | label: "份数" | ||
117 | }) | ||
118 | } | ||
119 | }, | ||
120 | immediate: true | ||
121 | } | ||
122 | }, | ||
123 | methods: { | 79 | methods: { |
124 | } | 80 | } |
125 | } | 81 | } | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -8,12 +8,8 @@ | ... | @@ -8,12 +8,8 @@ |
8 | </lb-table> | 8 | </lb-table> |
9 | </template> | 9 | </template> |
10 | <script> | 10 | <script> |
11 | import addQlr from './dialog/addQlr.vue' | ||
12 | import { mapGetters } from 'vuex' | 11 | import { mapGetters } from 'vuex' |
13 | export default { | 12 | export default { |
14 | components: { | ||
15 | addQlr | ||
16 | }, | ||
17 | computed: { | 13 | computed: { |
18 | ...mapGetters(["dictData"]), | 14 | ...mapGetters(["dictData"]), |
19 | }, | 15 | }, |
... | @@ -23,20 +19,12 @@ | ... | @@ -23,20 +19,12 @@ |
23 | default: function () { | 19 | default: function () { |
24 | return [] | 20 | return [] |
25 | } | 21 | } |
26 | }, | 22 | } |
27 | gyfs: { | ||
28 | type: String, | ||
29 | default: '1' | ||
30 | } | ||
31 | }, | 23 | }, |
32 | data () { | 24 | data () { |
33 | return { | 25 | return { |
34 | key: 0, | 26 | key: 0, |
35 | dataIndex: 0, | 27 | column: [ |
36 | dialog: false, | ||
37 | details: {}, | ||
38 | tableDataList: [], | ||
39 | qlrCommonTable: [ | ||
40 | { | 28 | { |
41 | label: '序号', | 29 | label: '序号', |
42 | type: 'index', | 30 | type: 'index', |
... | @@ -85,45 +73,7 @@ | ... | @@ -85,45 +73,7 @@ |
85 | prop: "zl", | 73 | prop: "zl", |
86 | label: "坐落" | 74 | label: "坐落" |
87 | }, | 75 | }, |
88 | ], | 76 | ] |
89 | column: this.qlrCommonTable | ||
90 | } | ||
91 | }, | ||
92 | watch: { | ||
93 | tableData: { | ||
94 | handler: function (val, oldVal) { | ||
95 | let that = this | ||
96 | if (val.length == 0 || !val) { | ||
97 | that.tableDataList = _.cloneDeep([{ | ||
98 | sqrmc: '', | ||
99 | dlrzjlx: '', | ||
100 | dlrzjh: '', | ||
101 | fr: '' | ||
102 | }]) | ||
103 | } else { | ||
104 | that.tableDataList = _.cloneDeep(val) | ||
105 | } | ||
106 | }, | ||
107 | immediate: true, | ||
108 | deep: true | ||
109 | }, | ||
110 | gyfs: { | ||
111 | handler (newVal, oldValue) { | ||
112 | let dataList = _.cloneDeep(this.qlrCommonTable) | ||
113 | if (newVal == '1') { | ||
114 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
115 | } else if ((newVal == '2')) { | ||
116 | this.column = dataList | ||
117 | } else { | ||
118 | this.column = _.cloneDeep(dataList) | ||
119 | this.column.splice( | ||
120 | 2, 0, { | ||
121 | prop: "qlbl", | ||
122 | label: "份数" | ||
123 | }) | ||
124 | } | ||
125 | }, | ||
126 | immediate: true | ||
127 | } | 77 | } |
128 | }, | 78 | }, |
129 | methods: { | 79 | methods: { | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-18 14:13:02 | ||
5 | --> | ||
6 | <template> | ||
7 | <div> | ||
8 | <el-table | ||
9 | :data="tableDataList" | ||
10 | border | ||
11 | :pagination="false" | ||
12 | :key="key" | ||
13 | :header-cell-style="{ 'text-align': 'center' }" | ||
14 | :heightNumSetting="true" | ||
15 | style="width: 100%"> | ||
16 | <el-table-column prop="index" width="50" :render-header="renderHeader"> | ||
17 | <template slot-scope="scope"> | ||
18 | <i | ||
19 | class="el-icon-minus pointer" | ||
20 | @click="deleClick(scope.$index, scope.row)" | ||
21 | v-if="ableOperation"></i> | ||
22 | <div style="text-align: center" v-else> | ||
23 | {{ scope.$index + 1 }} | ||
24 | </div> | ||
25 | </template> | ||
26 | </el-table-column> | ||
27 | <el-table-column prop="yt" label="土地用途" min-width="100"> | ||
28 | <template slot-scope="scope"> | ||
29 | <treeselect | ||
30 | v-model="scope.row.yt" | ||
31 | :disabled="!ableOperation" | ||
32 | noOptionsText="暂无数据" | ||
33 | placeholder="" | ||
34 | :show-count="true" | ||
35 | :options="dictData['tdyt']" | ||
36 | :normalizer="normalizer" | ||
37 | :appendToBody="true" | ||
38 | z-index="9999" | ||
39 | @input="addrow(scope.row)" /> | ||
40 | </template> | ||
41 | </el-table-column> | ||
42 | <el-table-column prop="qssj" label="土地使用起始时间" min-width="100"> | ||
43 | <template slot-scope="scope"> | ||
44 | <el-date-picker | ||
45 | v-model="scope.row.qssj" | ||
46 | type="date" | ||
47 | :disabled="!ableOperation" | ||
48 | :picker-options="scope.row.pickerStart" | ||
49 | placeholder="选择日期" | ||
50 | value-format="yyyy-MM-dd HH:mm:ss" | ||
51 | format="yyyy-MM-dd" | ||
52 | @input="startTime(scope.$index)"> | ||
53 | </el-date-picker> | ||
54 | </template> | ||
55 | </el-table-column> | ||
56 | <el-table-column prop="jssj" label="土地使用结束时间" min-width="100"> | ||
57 | <template slot-scope="scope"> | ||
58 | <el-date-picker | ||
59 | v-model="scope.row.jssj" | ||
60 | type="date" | ||
61 | :disabled="!ableOperation" | ||
62 | :picker-options="scope.row.pickerEnd" | ||
63 | placeholder="选择日期" | ||
64 | value-format="yyyy-MM-dd HH:mm:ss" | ||
65 | format="yyyy-MM-dd" | ||
66 | @input="endTime(scope.$index)"> | ||
67 | </el-date-picker> | ||
68 | </template> | ||
69 | </el-table-column> | ||
70 | <el-table-column prop="tdsyqx" label="土地使用期限" min-width="100"> | ||
71 | <template slot-scope="scope"> | ||
72 | <el-input | ||
73 | class="item" | ||
74 | :disabled="!ableOperation" | ||
75 | v-model="scope.row.tdsyqx" | ||
76 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | ||
77 | placeholder="请输入内容" | ||
78 | @input="sumTime(scope.$index, scope.row.tdsyqx)"> | ||
79 | ></el-input> | ||
80 | </template> | ||
81 | </el-table-column> | ||
82 | </el-table> | ||
83 | </div> | ||
84 | </template> | ||
85 | <script> | ||
86 | import { mapGetters } from "vuex"; | ||
87 | export default { | ||
88 | computed: { | ||
89 | ...mapGetters(["dictData"]), | ||
90 | }, | ||
91 | props: { | ||
92 | tableData: { | ||
93 | type: Array, | ||
94 | default: function () { | ||
95 | return []; | ||
96 | }, | ||
97 | }, | ||
98 | ableOperation: { | ||
99 | type: Boolean, | ||
100 | default: true, | ||
101 | }, | ||
102 | }, | ||
103 | data () { | ||
104 | return { | ||
105 | // 键名转换,方法默认是label和children进行树状渲染 | ||
106 | key: 0, | ||
107 | newdata: { | ||
108 | yt: null, | ||
109 | qssj: "", | ||
110 | jssj: "", | ||
111 | tdsyqx: "", | ||
112 | }, | ||
113 | tableDataList: [], | ||
114 | // 起始时间选择范围 | ||
115 | pickerStart: {}, | ||
116 | pickerEnd: {}, | ||
117 | normalizer (node) { | ||
118 | if (node.children == null || node.children == "null") { | ||
119 | delete node.children; | ||
120 | } | ||
121 | return { | ||
122 | id: node.dcode, | ||
123 | label: node.dname, | ||
124 | children: node.children, | ||
125 | }; | ||
126 | }, | ||
127 | }; | ||
128 | }, | ||
129 | mounted () { }, | ||
130 | watch: { | ||
131 | tableData: { | ||
132 | handler: function (val, oldVal) { | ||
133 | let that = this; | ||
134 | this.$nextTick(() => { | ||
135 | if (!val || val.length == 0) { | ||
136 | that.tableDataList = _.cloneDeep([ | ||
137 | { | ||
138 | yt: null, | ||
139 | qssj: "", | ||
140 | jssj: "", | ||
141 | tdsyqx: "", | ||
142 | }, | ||
143 | ]); | ||
144 | } else { | ||
145 | that.tableDataList = _.cloneDeep(val); | ||
146 | } | ||
147 | }); | ||
148 | }, | ||
149 | immediate: true, | ||
150 | deep: true, | ||
151 | }, | ||
152 | }, | ||
153 | methods: { | ||
154 | /** | ||
155 | * @description: renderHeader | ||
156 | * @author: renchao | ||
157 | */ | ||
158 | renderHeader () { | ||
159 | return ( | ||
160 | <div> | ||
161 | {" "} | ||
162 | {!this.ableOperation ? ( | ||
163 | "序号" | ||
164 | ) : ( | ||
165 | <i | ||
166 | class="el-icon-plus pointer" | ||
167 | onClick={() => { | ||
168 | this.addClick(); | ||
169 | }} | ||
170 | ></i> | ||
171 | )} | ||
172 | </div> | ||
173 | ); | ||
174 | }, | ||
175 | // 修改事件 | ||
176 | /** | ||
177 | * @description: 修改事件 | ||
178 | * @author: renchao | ||
179 | */ | ||
180 | addrow (a) { | ||
181 | // this.tableDataList = this.tableDataList.map((item) => { | ||
182 | // return { | ||
183 | // ...item, | ||
184 | // yt: a.yt, | ||
185 | // }; | ||
186 | // }); | ||
187 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
188 | }, | ||
189 | /** | ||
190 | * @description: startTime | ||
191 | * @param {*} index | ||
192 | * @author: renchao | ||
193 | */ | ||
194 | startTime (index) { | ||
195 | console.log("index", index); | ||
196 | // let startTime = this.tableDataList[index].tdsyqssj; | ||
197 | let endTime = this.tableDataList[index].jssj; | ||
198 | let startTime = this.tableDataList[index].qssj; | ||
199 | this.tableDataList[index].pickerEnd = { | ||
200 | disabledDate: (time) => { | ||
201 | if (Object.keys(startTime).length > 0) { | ||
202 | return new Date(startTime).getTime() > time.getTime(); | ||
203 | } else { | ||
204 | return time.getTime() < Date.now(); | ||
205 | } | ||
206 | }, | ||
207 | }; | ||
208 | if (startTime && endTime) { | ||
209 | let startYear = new Date(startTime).getFullYear(); | ||
210 | let endYear = new Date(endTime).getFullYear(); | ||
211 | this.tableDataList[index].tdsyqx = endYear - startYear; | ||
212 | } | ||
213 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
214 | }, | ||
215 | /** | ||
216 | * @description: endTime | ||
217 | * @param {*} index | ||
218 | * @author: renchao | ||
219 | */ | ||
220 | endTime (index) { | ||
221 | // let startTime = this.tableDataList[index].tdsyqssj; | ||
222 | let startTime = this.tableDataList[index].qssj; | ||
223 | let endTime = this.tableDataList[index].jssj; | ||
224 | this.tableDataList[index].pickerStart = { | ||
225 | disabledDate: (time) => { | ||
226 | if (Object.keys(endTime).length > 0) { | ||
227 | return new Date(endTime).getTime() < time.getTime(); | ||
228 | } else { | ||
229 | return time.getTime() > Date.now(); | ||
230 | } | ||
231 | }, | ||
232 | }; | ||
233 | if (startTime && endTime) { | ||
234 | let startYear = new Date(startTime).getFullYear(); | ||
235 | let endYear = new Date(endTime).getFullYear(); | ||
236 | this.tableDataList[index].tdsyqx = endYear - startYear; | ||
237 | } | ||
238 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
239 | }, | ||
240 | /** | ||
241 | * @description: sumTime | ||
242 | * @param {*} index | ||
243 | * @param {*} tdsyqx | ||
244 | * @author: renchao | ||
245 | */ | ||
246 | sumTime (index, tdsyqx) { | ||
247 | let startTime = this.tableDataList[index].qssj; | ||
248 | this.tableDataList[index].jssj = | ||
249 | Number(startTime.substring(0, 4)) + | ||
250 | Number(tdsyqx) + | ||
251 | startTime.slice(4, 19); | ||
252 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
253 | }, | ||
254 | // 新增 | ||
255 | /** | ||
256 | * @description: 新增 | ||
257 | * @author: renchao | ||
258 | */ | ||
259 | addClick () { | ||
260 | // this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); | ||
261 | this.tableDataList.push(_.cloneDeep(this.newdata)) | ||
262 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
263 | }, | ||
264 | |||
265 | // 删除 | ||
266 | /** | ||
267 | * @description: 删除 | ||
268 | * @param {*} index | ||
269 | * @param {*} row | ||
270 | * @author: renchao | ||
271 | */ | ||
272 | deleClick (index, row) { | ||
273 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | ||
274 | confirmButtonText: "确定", | ||
275 | cancelButtonText: "取消", | ||
276 | type: "warning", | ||
277 | }) | ||
278 | .then(() => { | ||
279 | this.tableDataList.splice(index, 1); | ||
280 | this.$emit("upDateTdytxxList", this.tableDataList); | ||
281 | }) | ||
282 | .catch(() => { }); | ||
283 | }, | ||
284 | }, | ||
285 | }; | ||
286 | </script> | ||
287 | <style scoped lang="scss"> | ||
288 | .el-input { | ||
289 | border: none !important; | ||
290 | } | ||
291 | /deep/.el-table__row { | ||
292 | border: none !important; | ||
293 | } | ||
294 | .el-date-editor.el-input { | ||
295 | width: 100%; | ||
296 | } | ||
297 | /deep/.el-table th { | ||
298 | height: 30px !important; | ||
299 | } | ||
300 | /deep/ .el-table--border .el-table__cell:first-child .cell { | ||
301 | text-align: center; | ||
302 | } | ||
303 | /deep/.el-table--small .el-table__cell { | ||
304 | padding: 3px 0 !important; | ||
305 | } | ||
306 | </style> |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-26 15:29:54 | 4 | * @LastEditTime: 2024-01-31 09:38:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -338,7 +338,7 @@ | ... | @@ -338,7 +338,7 @@ |
338 | v-model="ruleForm.diyaq.zxdyyy"> | 338 | v-model="ruleForm.diyaq.zxdyyy"> |
339 | </el-input> | 339 | </el-input> |
340 | </el-form-item> | 340 | </el-form-item> |
341 | <el-form-item v-else label="登记原因:" prop="djyy"> | 341 | <el-form-item v-else label="登记原因:" prop="diyaq.djyy"> |
342 | <el-input | 342 | <el-input |
343 | class="textArea" | 343 | class="textArea" |
344 | type="textarea" | 344 | type="textarea" |
... | @@ -436,8 +436,12 @@ | ... | @@ -436,8 +436,12 @@ |
436 | isJfOperation: false, | 436 | isJfOperation: false, |
437 | //传递参数 | 437 | //传递参数 |
438 | propsParam: {}, | 438 | propsParam: {}, |
439 | rules: {}, | 439 | rules: { |
440 | }; | 440 | 'diyaq.djyy': [ |
441 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
442 | ] | ||
443 | } | ||
444 | } | ||
441 | }, | 445 | }, |
442 | methods: { | 446 | methods: { |
443 | /** | 447 | /** |
... | @@ -499,22 +503,35 @@ | ... | @@ -499,22 +503,35 @@ |
499 | } | 503 | } |
500 | } | 504 | } |
501 | 505 | ||
502 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { | 506 | this.$refs['ruleForm'].validate((valid) => { |
503 | if (res.code === 200) { | 507 | if (valid) { |
504 | this.$message({ | 508 | that.$store.dispatch("user/refreshPage", false); |
505 | showClose: true, | 509 | saveData(that.ruleForm, that.propsParam.djlx).then((res) => { |
506 | message: "保存成功!", | 510 | if (res.code === 200) { |
507 | type: "success", | 511 | that.$message({ |
508 | }); | 512 | showClose: true, |
509 | this.$store.dispatch("user/refreshPage", true); | 513 | message: "保存成功!", |
514 | type: "success", | ||
515 | }); | ||
516 | that.$store.dispatch("user/refreshPage", true); | ||
517 | } else { | ||
518 | that.$message({ | ||
519 | showClose: true, | ||
520 | message: res.message, | ||
521 | type: "error", | ||
522 | }); | ||
523 | } | ||
524 | }) | ||
525 | |||
510 | } else { | 526 | } else { |
511 | this.$message({ | 527 | this.$message({ |
512 | showClose: true, | 528 | showClose: true, |
513 | message: res.message, | 529 | message: "请输入登记原因", |
514 | type: "error", | 530 | type: "error" |
515 | }); | 531 | }) |
532 | return false | ||
516 | } | 533 | } |
517 | }); | 534 | }) |
518 | }, | 535 | }, |
519 | /** | 536 | /** |
520 | * @description: 更新权利人信息 | 537 | * @description: 更新权利人信息 | ... | ... |
src/views/workflow/components/fdcqxmTable.vue
→
src/views/workflow/main/slsqxx/fdcq1/fdcqxmTable.vue
File moved
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2024-01-30 14:25:43 | 4 | * @LastEditTime: 2024-01-31 10:11:41 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -53,7 +53,19 @@ | ... | @@ -53,7 +53,19 @@ |
53 | </el-col> | 53 | </el-col> |
54 | </el-row> | 54 | </el-row> |
55 | <div class="slxx_title title-block"> | 55 | <div class="slxx_title title-block"> |
56 | 不动产单元情况 | 56 | <el-row> |
57 | <el-col :span="20"> | ||
58 | 不动产单元情况 | ||
59 | </el-col> | ||
60 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
61 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
62 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
63 | <el-radio label="1">是</el-radio> | ||
64 | <el-radio label="0">否</el-radio> | ||
65 | </el-radio-group> | ||
66 | </el-form-item> | ||
67 | </el-col> | ||
68 | </el-row> | ||
57 | <div class="triangle"></div> | 69 | <div class="triangle"></div> |
58 | </div> | 70 | </div> |
59 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 71 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
... | @@ -284,7 +296,7 @@ | ... | @@ -284,7 +296,7 @@ |
284 | import ywmix from "@/views/ywbl/mixin/index"; | 296 | import ywmix from "@/views/ywbl/mixin/index"; |
285 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 297 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
286 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; | 298 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; |
287 | import fdcqxmTable from "@/views/workflow/components/fdcqxmTable"; | 299 | import fdcqxmTable from "./fdcqxmTable"; |
288 | import tdytTable from "@/views/workflow/components/tdytTable"; | 300 | import tdytTable from "@/views/workflow/components/tdytTable"; |
289 | import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js"; | 301 | import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js"; |
290 | import { mapGetters } from "vuex"; | 302 | import { mapGetters } from "vuex"; | ... | ... |
... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
73 | </el-row> | 73 | </el-row> |
74 | </div> | 74 | </div> |
75 | <qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/> | 75 | <qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/> |
76 | <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/> | 76 | <qlxxTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/> |
77 | <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> | 77 | <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> |
78 | 权利人信息 | 78 | 权利人信息 |
79 | <div class="triangle"></div> | 79 | <div class="triangle"></div> |
... | @@ -157,8 +157,8 @@ | ... | @@ -157,8 +157,8 @@ |
157 | </template> | 157 | </template> |
158 | <script> | 158 | <script> |
159 | import ywmix from "@/views/ywbl/mixin/index"; | 159 | import ywmix from "@/views/ywbl/mixin/index"; |
160 | import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; | 160 | import qlxxTable from "../commonTable/qlxxTable.vue"; |
161 | import qjhTable from "@/views/workflow/components/qjhTable"; | 161 | import qjhTable from "../commonTable/qjhTable.vue"; |
162 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 162 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
163 | import { | 163 | import { |
164 | BatchInit, | 164 | BatchInit, |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | computed: { | 172 | computed: { |
173 | ...mapGetters(["dictData", "flag"]) | 173 | ...mapGetters(["dictData", "flag"]) |
174 | }, | 174 | }, |
175 | components: { qlrCommonTable, cfBdcdyTable,qjhTable}, | 175 | components: { qlrCommonTable, qlxxTable,qjhTable}, |
176 | data () { | 176 | data () { |
177 | return { | 177 | return { |
178 | isSave: true, | 178 | isSave: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-30 16:09:37 | 4 | * @LastEditTime: 2024-01-30 16:07:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
8 | <el-form | 8 | <el-form |
9 | :model="ruleForm" | 9 | :model="ruleForm" |
10 | :rules="rules" | 10 | :rules="rules" |
11 | ref="ruleForm" | ||
12 | v-Loading="loading" | 11 | v-Loading="loading" |
12 | ref="ruleForm" | ||
13 | :label-position="flag ? 'top' : ''" | 13 | :label-position="flag ? 'top' : ''" |
14 | :inline="flag" | 14 | :inline="flag" |
15 | label-width="120px"> | 15 | label-width="120px"> |
... | @@ -53,7 +53,22 @@ | ... | @@ -53,7 +53,22 @@ |
53 | </el-col> | 53 | </el-col> |
54 | </el-row> | 54 | </el-row> |
55 | <div class="slxx_title title-block"> | 55 | <div class="slxx_title title-block"> |
56 | 不动产单元情况 | 56 | <el-row> |
57 | <el-col :span="16"> | ||
58 | 不动产单元情况 | ||
59 | </el-col> | ||
60 | <el-col :span="4" v-show="ruleForm.sldy.djlx=='500'"> | ||
61 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
62 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
63 | <el-radio label="1">是</el-radio> | ||
64 | <el-radio label="0">否</el-radio> | ||
65 | </el-radio-group> | ||
66 | </el-form-item> | ||
67 | </el-col> | ||
68 | <el-col :span="4" v-show="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> | ||
69 | <el-button @click="compare">变化情况对比+</el-button> | ||
70 | </el-col> | ||
71 | </el-row> | ||
57 | <div class="triangle"></div> | 72 | <div class="triangle"></div> |
58 | </div> | 73 | </div> |
59 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 74 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
... | @@ -323,7 +338,7 @@ | ... | @@ -323,7 +338,7 @@ |
323 | <div class="triangle"></div> | 338 | <div class="triangle"></div> |
324 | </div> | 339 | </div> |
325 | <el-row :gutter="10"> | 340 | <el-row :gutter="10"> |
326 | <el-col :span="12" v-if="ruleForm.qlxx"> | 341 | <el-col :span="12"> |
327 | <el-form-item label="共有方式:"> | 342 | <el-form-item label="共有方式:"> |
328 | <el-radio-group | 343 | <el-radio-group |
329 | :disabled="!viewEdit" | 344 | :disabled="!viewEdit" |
... | @@ -366,28 +381,16 @@ | ... | @@ -366,28 +381,16 @@ |
366 | </el-row> | 381 | </el-row> |
367 | <qlrCommonTable | 382 | <qlrCommonTable |
368 | @upDateQlrxxList="upDateQlrxxList" | 383 | @upDateQlrxxList="upDateQlrxxList" |
384 | :disabled="!viewEdit" | ||
369 | :tableData="ruleForm.qlrList" | 385 | :tableData="ruleForm.qlrList" |
370 | :disabled="viewEdit" | ||
371 | :gyfs="ruleForm.sldy.gyfs" /> | 386 | :gyfs="ruleForm.sldy.gyfs" /> |
372 | |||
373 | <div v-if="ruleForm.qlxx.djlx == '200'"> | ||
374 | <div class="slxx_title title-block"> | ||
375 | 义务人信息 | ||
376 | <div class="triangle"></div> | ||
377 | </div> | ||
378 | <ywrCommonTable | ||
379 | v-if="ruleForm.qlxx" | ||
380 | @upDateQlrxxList="upDateYwrxxList" | ||
381 | :tableData="ruleForm.ywrList" | ||
382 | :disabled="viewEdit" /> | ||
383 | </div> | ||
384 | <div class="slxx_title title-block"> | 387 | <div class="slxx_title title-block"> |
385 | 登记原因 | 388 | 登记原因 |
386 | <div class="triangle"></div> | 389 | <div class="triangle"></div> |
387 | </div> | 390 | </div> |
388 | <el-row :gutter="10"> | 391 | <el-row :gutter="10"> |
389 | <el-col> | 392 | <el-col> |
390 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="fdcq2.djyy"> | 393 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="fdcq2.djyy"> |
391 | <el-input | 394 | <el-input |
392 | class="textArea" | 395 | class="textArea" |
393 | type="textarea" | 396 | type="textarea" |
... | @@ -411,14 +414,13 @@ | ... | @@ -411,14 +414,13 @@ |
411 | <script> | 414 | <script> |
412 | import ywmix from "@/views/ywbl/mixin/index"; | 415 | import ywmix from "@/views/ywbl/mixin/index"; |
413 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 416 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
414 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; | ||
415 | import tdytTable from "@/views/workflow/components/tdytTable"; | 417 | import tdytTable from "@/views/workflow/components/tdytTable"; |
416 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | 418 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
417 | import { mapGetters } from "vuex"; | 419 | import { mapGetters } from "vuex"; |
418 | export default { | 420 | export default { |
419 | mixins: [ywmix], | 421 | mixins: [ywmix], |
420 | mounted () { | 422 | mounted () { |
421 | let that = this; | 423 | let that = this |
422 | this.loading = true | 424 | this.loading = true |
423 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 425 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
424 | this.propsParam = this.$attrs; | 426 | this.propsParam = this.$attrs; |
... | @@ -433,7 +435,9 @@ | ... | @@ -433,7 +435,9 @@ |
433 | if (res.code === 200 && res.result) { | 435 | if (res.code === 200 && res.result) { |
434 | that.ruleForm = { | 436 | that.ruleForm = { |
435 | ...res.result, | 437 | ...res.result, |
438 | ...res.result.zdjbxxdatas, | ||
436 | ...res.result.qlxxdatas, | 439 | ...res.result.qlxxdatas, |
440 | ...res.result.jsydsyqdatas, | ||
437 | }; | 441 | }; |
438 | that.ruleForm.qlrList.forEach((item) => { | 442 | that.ruleForm.qlrList.forEach((item) => { |
439 | item.id = item.bsmSqr | 443 | item.id = item.bsmSqr |
... | @@ -453,28 +457,30 @@ | ... | @@ -453,28 +457,30 @@ |
453 | } | 457 | } |
454 | }).catch(() => { | 458 | }).catch(() => { |
455 | this.loading = false | 459 | this.loading = false |
460 | this.isSave = false | ||
456 | }) | 461 | }) |
457 | }, | 462 | }, |
458 | components: { qlrCommonTable, tdytTable, ywrCommonTable }, | 463 | components: { qlrCommonTable, tdytTable }, |
459 | computed: { | 464 | computed: { |
460 | ...mapGetters(["dictData", "flag"]), | 465 | ...mapGetters(["dictData", "flag"]), |
461 | }, | 466 | }, |
462 | data () { | 467 | data () { |
463 | return { | 468 | return { |
464 | isSave: true, | ||
465 | loading: false, | ||
466 | mjdw: "1", | ||
467 | // 键名转换,方法默认是label和children进行树状渲染 | ||
468 | normalizer (node) { | 469 | normalizer (node) { |
469 | //方法 | ||
470 | if (node.children == null || node.children == "null") { | 470 | if (node.children == null || node.children == "null") { |
471 | delete node.children; | 471 | delete node.children; |
472 | } | 472 | } |
473 | return { | 473 | return { |
474 | id: node.dcode, | 474 | id: node.dcode, |
475 | label: node.dname, | 475 | label: node.dname, |
476 | children: node.children, | ||
476 | }; | 477 | }; |
477 | }, | 478 | }, |
479 | isSave: true, | ||
480 | loading: false, | ||
481 | mjdw: "1", | ||
482 | //表单是否可操作 | ||
483 | viewEdit: false, | ||
478 | disabled: true, | 484 | disabled: true, |
479 | tdytOption: [], | 485 | tdytOption: [], |
480 | czrOptions: [], | 486 | czrOptions: [], |
... | @@ -483,25 +489,50 @@ | ... | @@ -483,25 +489,50 @@ |
483 | flow: { | 489 | flow: { |
484 | ywh: "", | 490 | ywh: "", |
485 | }, | 491 | }, |
486 | qlxx: { | 492 | slry: "", |
487 | mj: "", | 493 | slsj: "", |
488 | }, | 494 | qllx: "", |
495 | djlx: "", | ||
496 | djqx: "", | ||
489 | sldy: { | 497 | sldy: { |
490 | gyfs: "", | 498 | gyfs: "", |
491 | }, | 499 | }, |
492 | slsq: {}, | 500 | // 宗地代码 |
493 | fdcq2: { | 501 | zddm: "", |
494 | zyjzmj: "", | 502 | bdcdyh: "", |
495 | ftjzmj: "", | 503 | qlxzmc: "", |
496 | }, | 504 | qlrxx: [], |
505 | // 自然幢号 | ||
506 | zrzh: "", | ||
507 | // 户不动产单元号 | ||
508 | hbdcdyh: "", | ||
509 | djzt: "", | ||
510 | // 图幅丘幢号 | ||
511 | tfqzh: "", | ||
512 | zl: "", | ||
513 | // 房屋用途 | ||
514 | fwyt: "", | ||
515 | fwxz: "", | ||
516 | fwjg: "", | ||
517 | // 权利人信息 | ||
518 | // 是否分别持证 | ||
519 | sffbcz: "", | ||
520 | // 持证人 | ||
521 | czr: "", | ||
522 | djyy: "", | ||
523 | // 规划用途名称 | ||
497 | zdjbxx: { | 524 | zdjbxx: { |
498 | ghytmc: "", | 525 | ghytmc: "", |
499 | }, | 526 | }, |
527 | fdcq2: { | ||
528 | fwxzmc: "", | ||
529 | }, | ||
530 | slsq: { | ||
531 | gyfs: "", | ||
532 | }, | ||
500 | }, | 533 | }, |
501 | //传递参数 | 534 | //传递参数 |
502 | propsParam: this.$attrs, | 535 | propsParam: {}, |
503 | //表单是否可操作 | ||
504 | viewEdit: true, | ||
505 | rules: { | 536 | rules: { |
506 | 'fdcq2.djyy': [ | 537 | 'fdcq2.djyy': [ |
507 | { required: true, message: '请输入登记原因', trigger: 'blur' } | 538 | { required: true, message: '请输入登记原因', trigger: 'blur' } |
... | @@ -511,12 +542,37 @@ | ... | @@ -511,12 +542,37 @@ |
511 | }, | 542 | }, |
512 | methods: { | 543 | methods: { |
513 | /** | 544 | /** |
545 | * @description: dataSelectClick | ||
546 | * @author: renchao | ||
547 | */ | ||
548 | dataSelectClick () { | ||
549 | this.$popup( | ||
550 | "房屋所有权", | ||
551 | this.BASE_API.SERVERAPI + "/rest/workflow/main/dataCompare/slxxCompareDetai", | ||
552 | { | ||
553 | formData: { | ||
554 | bsmSldy: this.propsParam.bsmSldy, | ||
555 | qllx: this.propsParam.qllx, | ||
556 | }, | ||
557 | } | ||
558 | ); | ||
559 | }, | ||
560 | /** | ||
514 | * @description: 更新土地用途信息 | 561 | * @description: 更新土地用途信息 |
515 | * @param {*} val | 562 | * @param {*} val |
516 | * @author: renchao | 563 | * @author: renchao |
517 | */ | 564 | */ |
518 | upDateTdytxxList (val) { | 565 | upDateTdytxxList (val) { |
519 | this.ruleForm.tdytqxList = _.cloneDeep(val); | 566 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
567 | this.key++; | ||
568 | }, | ||
569 | /** | ||
570 | * @description: 是否持证人变化 | ||
571 | * @param {*} val | ||
572 | * @author: renchao | ||
573 | */ | ||
574 | updaterow () { | ||
575 | this.czr = ""; | ||
520 | }, | 576 | }, |
521 | /** | 577 | /** |
522 | * @description: 更新权利人信息 | 578 | * @description: 更新权利人信息 |
... | @@ -538,15 +594,6 @@ | ... | @@ -538,15 +594,6 @@ |
538 | this.czr = '' | 594 | this.czr = '' |
539 | } | 595 | } |
540 | }, | 596 | }, |
541 | // 是否持证人变化 | ||
542 | /** | ||
543 | * @description: 是否持证人变化 | ||
544 | * @param {*} val | ||
545 | * @author: renchao | ||
546 | */ | ||
547 | updaterow () { | ||
548 | this.czr = ""; | ||
549 | }, | ||
550 | /** | 597 | /** |
551 | * @description: 更新权利人信息 | 598 | * @description: 更新权利人信息 |
552 | * @param {*} val | 599 | * @param {*} val |
... | @@ -610,17 +657,17 @@ | ... | @@ -610,17 +657,17 @@ |
610 | that.$message({ | 657 | that.$message({ |
611 | showClose: true, | 658 | showClose: true, |
612 | message: "请选择持证人", | 659 | message: "请选择持证人", |
613 | type: "error", | 660 | type: "error" |
614 | }); | 661 | }); |
615 | return false; | 662 | return false; |
616 | } | 663 | } |
617 | this.ruleForm.qlrList.forEach((item, index) => { | 664 | this.ruleForm.qlrList.forEach(item => { |
618 | if (item.id == that.czr) { | 665 | if (item.id == that.czr) { |
619 | item.sfczr = "1"; | 666 | item.sfczr = "1" |
620 | } else { | 667 | } else { |
621 | item.sfczr = "0"; | 668 | item.sfczr = "0" |
622 | } | 669 | } |
623 | }); | 670 | }) |
624 | } | 671 | } |
625 | } | 672 | } |
626 | this.$refs['ruleForm'].validate((valid) => { | 673 | this.$refs['ruleForm'].validate((valid) => { |
... | @@ -638,10 +685,11 @@ | ... | @@ -638,10 +685,11 @@ |
638 | that.$message({ | 685 | that.$message({ |
639 | showClose: true, | 686 | showClose: true, |
640 | message: res.message, | 687 | message: res.message, |
641 | type: "error" | 688 | type: "error", |
642 | }) | 689 | }); |
643 | } | 690 | } |
644 | }) | 691 | }) |
692 | |||
645 | } else { | 693 | } else { |
646 | that.$message({ | 694 | that.$message({ |
647 | showClose: true, | 695 | showClose: true, |
... | @@ -651,13 +699,29 @@ | ... | @@ -651,13 +699,29 @@ |
651 | return false | 699 | return false |
652 | } | 700 | } |
653 | }) | 701 | }) |
654 | } | 702 | }, |
655 | } | 703 | /** |
656 | } | 704 | * @description: compare |
705 | * @author: renchao | ||
706 | */ | ||
707 | compare () { | ||
708 | this.$popupDialog( | ||
709 | this.ruleForm.qlxx.qllxmc, | ||
710 | "registerBook/comparison", | ||
711 | { | ||
712 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
713 | dqqllx: "FDCQ2", | ||
714 | }, | ||
715 | "80%", | ||
716 | true | ||
717 | ); | ||
718 | }, | ||
719 | }, | ||
720 | }; | ||
657 | </script> | 721 | </script> |
658 | <style scoped lang="scss"> | 722 | <style scoped lang="scss"> |
659 | @import "~@/styles/public.scss"; | 723 | @import "~@/styles/public.scss"; |
660 | 724 | @import "~@/styles/slxx/slxx.scss"; | |
661 | /deep/.el-form { | 725 | /deep/.el-form { |
662 | display: flex; | 726 | display: flex; |
663 | flex-direction: column; | 727 | flex-direction: column; | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2024-01-30 14:19:35 | 5 | * @LastEditTime: 2024-01-31 10:14:22 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -54,11 +54,25 @@ | ... | @@ -54,11 +54,25 @@ |
54 | </el-form-item> | 54 | </el-form-item> |
55 | </el-col> | 55 | </el-col> |
56 | </el-row> | 56 | </el-row> |
57 | <div | 57 | <div class="slxx_title title-block"> |
58 | class="slxx_title title-block flex" | 58 | <el-row> |
59 | style="justify-content: space-between"> | 59 | <el-col :span="16"> |
60 | 不动产单元情况 | 60 | 不动产单元情况 |
61 | <el-button @click="compare">变化情况对比+</el-button> | 61 | </el-col> |
62 | <el-col :span="4"> | ||
63 | <el-button v-if="ruleForm.sldy=='300'||ruleForm.sldy=='500'" @click="compare">变化情况对比+</el-button> | ||
64 | </el-col> | ||
65 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
66 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
67 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
68 | <el-radio label="1">是</el-radio> | ||
69 | <el-radio label="0">否</el-radio> | ||
70 | </el-radio-group> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | </el-row> | ||
74 | <div class="triangle"></div> | ||
75 | |||
62 | </div> | 76 | </div> |
63 | <el-row :gutter="10"> | 77 | <el-row :gutter="10"> |
64 | <el-col :span="8"> | 78 | <el-col :span="8"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-11-15 15:47:55 | 4 | * @LastEditTime: 2024-01-31 10:15:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -53,7 +53,19 @@ | ... | @@ -53,7 +53,19 @@ |
53 | </el-col> | 53 | </el-col> |
54 | </el-row> | 54 | </el-row> |
55 | <div class="slxx_title title-block"> | 55 | <div class="slxx_title title-block"> |
56 | 不动产单元情况 | 56 | <el-row> |
57 | <el-col :span="20"> | ||
58 | 不动产单元情况 | ||
59 | </el-col> | ||
60 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
61 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
62 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
63 | <el-radio label="1">是</el-radio> | ||
64 | <el-radio label="0">否</el-radio> | ||
65 | </el-radio-group> | ||
66 | </el-form-item> | ||
67 | </el-col> | ||
68 | </el-row> | ||
57 | <div class="triangle"></div> | 69 | <div class="triangle"></div> |
58 | </div> | 70 | </div> |
59 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 71 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
... | @@ -279,7 +291,7 @@ | ... | @@ -279,7 +291,7 @@ |
279 | </div> | 291 | </div> |
280 | <el-row :gutter="10"> | 292 | <el-row :gutter="10"> |
281 | <el-col> | 293 | <el-col> |
282 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 294 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="lq.djyy"> |
283 | <el-input | 295 | <el-input |
284 | class="textArea" | 296 | class="textArea" |
285 | type="textarea" | 297 | type="textarea" |
... | @@ -386,7 +398,11 @@ | ... | @@ -386,7 +398,11 @@ |
386 | propsParam: this.$attrs, | 398 | propsParam: this.$attrs, |
387 | //表单是否可操作 | 399 | //表单是否可操作 |
388 | viewEdit: true, | 400 | viewEdit: true, |
389 | rules: {} | 401 | rules: { |
402 | 'lq.djyy': [ | ||
403 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
404 | ] | ||
405 | } | ||
390 | }; | 406 | }; |
391 | }, | 407 | }, |
392 | methods: { | 408 | methods: { |
... | @@ -491,24 +507,36 @@ | ... | @@ -491,24 +507,36 @@ |
491 | }) | 507 | }) |
492 | } | 508 | } |
493 | } | 509 | } |
494 | saveData(this.ruleForm).then((res) => { | 510 | this.$refs['ruleForm'].validate((valid) => { |
495 | if (res.code === 200) { | 511 | if (valid) { |
496 | this.$message({ | 512 | that.$store.dispatch("user/refreshPage", false); |
497 | showClose: true, | 513 | saveData(that.ruleForm).then((res) => { |
498 | message: "保存成功!", | 514 | if (res.code === 200) { |
499 | type: "success", | 515 | that.$message({ |
500 | }); | 516 | showClose: true, |
501 | this.$store.dispatch("user/refreshPage", true); | 517 | message: "保存成功!", |
518 | type: "success", | ||
519 | }); | ||
520 | that.$store.dispatch("user/refreshPage", true); | ||
521 | } else { | ||
522 | that.$message({ | ||
523 | showClose: true, | ||
524 | message: res.message, | ||
525 | type: "error", | ||
526 | }); | ||
527 | } | ||
528 | }) | ||
502 | } else { | 529 | } else { |
503 | this.$message({ | 530 | this.$message({ |
504 | showClose: true, | 531 | showClose: true, |
505 | message: res.message, | 532 | message: "请输入登记原因", |
506 | type: "error", | 533 | type: "error" |
507 | }); | 534 | }) |
535 | return false | ||
508 | } | 536 | } |
509 | }); | 537 | }) |
510 | }, | 538 | } |
511 | }, | 539 | } |
512 | }; | 540 | }; |
513 | </script> | 541 | </script> |
514 | <style scoped lang="scss"> | 542 | <style scoped lang="scss"> | ... | ... |
File moved
File moved
... | @@ -49,7 +49,19 @@ | ... | @@ -49,7 +49,19 @@ |
49 | </el-col> | 49 | </el-col> |
50 | </el-row> | 50 | </el-row> |
51 | <div class="slxx_title title-block"> | 51 | <div class="slxx_title title-block"> |
52 | 不动产单元情况 | 52 | <el-row> |
53 | <el-col :span="20"> | ||
54 | 不动产单元情况 | ||
55 | </el-col> | ||
56 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
57 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
58 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
59 | <el-radio label="1">是</el-radio> | ||
60 | <el-radio label="0">否</el-radio> | ||
61 | </el-radio-group> | ||
62 | </el-form-item> | ||
63 | </el-col> | ||
64 | </el-row> | ||
53 | <div class="triangle"></div> | 65 | <div class="triangle"></div> |
54 | </div> | 66 | </div> |
55 | <el-row :gutter="10"> | 67 | <el-row :gutter="10"> |
... | @@ -292,7 +304,7 @@ | ... | @@ -292,7 +304,7 @@ |
292 | </div> | 304 | </div> |
293 | <el-row :gutter="10"> | 305 | <el-row :gutter="10"> |
294 | <el-col> | 306 | <el-col> |
295 | <el-form-item label="登记原因:" prop="djyy"> | 307 | <el-form-item label="登记原因:" prop="nydsyq.djyy"> |
296 | <el-input | 308 | <el-input |
297 | class="textArea" | 309 | class="textArea" |
298 | type="textarea" | 310 | type="textarea" |
... | @@ -318,7 +330,7 @@ | ... | @@ -318,7 +330,7 @@ |
318 | import ywmix from "@/views/ywbl/mixin/index"; | 330 | import ywmix from "@/views/ywbl/mixin/index"; |
319 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"; | 331 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"; |
320 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 332 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
321 | import JtcyTable from "@/views/workflow/components/JtcyTable"; | 333 | import JtcyTable from "./JtcyTable"; |
322 | export default { | 334 | export default { |
323 | mixins: [ywmix], | 335 | mixins: [ywmix], |
324 | mounted () { | 336 | mounted () { |
... | @@ -389,7 +401,11 @@ | ... | @@ -389,7 +401,11 @@ |
389 | propsParam: {}, | 401 | propsParam: {}, |
390 | //表单是否可操作 | 402 | //表单是否可操作 |
391 | viewEdit: true, | 403 | viewEdit: true, |
392 | rules: {}, | 404 | rules: { |
405 | 'nydsyq.djyy': [ | ||
406 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
407 | ] | ||
408 | }, | ||
393 | }; | 409 | }; |
394 | }, | 410 | }, |
395 | methods: { | 411 | methods: { |
... | @@ -452,23 +468,35 @@ | ... | @@ -452,23 +468,35 @@ |
452 | }); | 468 | }); |
453 | } | 469 | } |
454 | } | 470 | } |
455 | 471 | this.$refs['ruleForm'].validate((valid) => { | |
456 | saveData(this.ruleForm).then((res) => { | 472 | if (valid) { |
457 | if (res.code === 200) { | 473 | that.$store.dispatch("user/refreshPage", false); |
458 | this.$message({ | 474 | saveData(that.ruleForm).then((res) => { |
459 | showClose: true, | 475 | if (res.code === 200) { |
460 | message: "保存成功!", | 476 | that.$message({ |
461 | type: "success", | 477 | showClose: true, |
462 | }); | 478 | message: "保存成功!", |
463 | this.$store.dispatch("user/refreshPage", true); | 479 | type: "success", |
480 | }); | ||
481 | that.$store.dispatch("user/refreshPage", true); | ||
482 | } else { | ||
483 | that.$message({ | ||
484 | showClose: true, | ||
485 | message: res.message, | ||
486 | type: "error", | ||
487 | }); | ||
488 | } | ||
489 | }) | ||
464 | } else { | 490 | } else { |
465 | this.$message({ | 491 | this.$message({ |
466 | showClose: true, | 492 | showClose: true, |
467 | message: res.message, | 493 | message: "请输入登记原因", |
468 | type: "error", | 494 | type: "error" |
469 | }); | 495 | }) |
496 | return false | ||
470 | } | 497 | } |
471 | }); | 498 | }) |
499 | |||
472 | }, | 500 | }, |
473 | /** | 501 | /** |
474 | * @description: upDateQlrxxList | 502 | * @description: upDateQlrxxList | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-11-15 15:48:15 | 4 | * @LastEditTime: 2024-01-31 10:17:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -53,7 +53,19 @@ | ... | @@ -53,7 +53,19 @@ |
53 | </el-col> | 53 | </el-col> |
54 | </el-row> | 54 | </el-row> |
55 | <div class="slxx_title title-block"> | 55 | <div class="slxx_title title-block"> |
56 | 不动产单元情况 | 56 | <el-row> |
57 | <el-col :span="20"> | ||
58 | 不动产单元情况 | ||
59 | </el-col> | ||
60 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
61 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
62 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
63 | <el-radio label="1">是</el-radio> | ||
64 | <el-radio label="0">否</el-radio> | ||
65 | </el-radio-group> | ||
66 | </el-form-item> | ||
67 | </el-col> | ||
68 | </el-row> | ||
57 | <div class="triangle"></div> | 69 | <div class="triangle"></div> |
58 | </div> | 70 | </div> |
59 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 71 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-26 14:35:26 | 4 | * @LastEditTime: 2024-02-04 16:11:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -55,7 +55,19 @@ | ... | @@ -55,7 +55,19 @@ |
55 | </el-col> | 55 | </el-col> |
56 | </el-row> | 56 | </el-row> |
57 | <div class="slxx_title title-block"> | 57 | <div class="slxx_title title-block"> |
58 | 不动产单元情况 | 58 | <el-row> |
59 | <el-col :span="20"> | ||
60 | 不动产单元情况 | ||
61 | </el-col> | ||
62 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
63 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
64 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
65 | <el-radio label="1">是</el-radio> | ||
66 | <el-radio label="0">否</el-radio> | ||
67 | </el-radio-group> | ||
68 | </el-form-item> | ||
69 | </el-col> | ||
70 | </el-row> | ||
59 | <div class="triangle"></div> | 71 | <div class="triangle"></div> |
60 | </div> | 72 | </div> |
61 | <el-row :gutter="10"> | 73 | <el-row :gutter="10"> |
... | @@ -156,7 +168,15 @@ | ... | @@ -156,7 +168,15 @@ |
156 | <el-row :gutter="10"> | 168 | <el-row :gutter="10"> |
157 | <el-col :span="8"> | 169 | <el-col :span="8"> |
158 | <el-form-item label="用途:"> | 170 | <el-form-item label="用途:"> |
159 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.yt"></el-input> | 171 | <treeselect |
172 | :disabled="!viewEdit" | ||
173 | v-model="ruleForm.tdcbjyq.yt" | ||
174 | noOptionsText="暂无数据" | ||
175 | :default-expand-level="1" | ||
176 | placeholder="" | ||
177 | :normalizer="normalizer" | ||
178 | :show-count="true" | ||
179 | :options="dictData['tdyt']" /> | ||
160 | </el-form-item> | 180 | </el-form-item> |
161 | </el-col> | 181 | </el-col> |
162 | <el-col :span="8"> | 182 | <el-col :span="8"> |
... | @@ -297,7 +317,24 @@ | ... | @@ -297,7 +317,24 @@ |
297 | :key="key" | 317 | :key="key" |
298 | @upDateQlrxxList="upDateYwrxxList" /> | 318 | @upDateQlrxxList="upDateYwrxxList" /> |
299 | </div> | 319 | </div> |
300 | 320 | <div class="slxx_title title-block"> | |
321 | 登记原因 | ||
322 | <div class="triangle"></div> | ||
323 | </div> | ||
324 | <el-row :gutter="10"> | ||
325 | <el-col> | ||
326 | <el-form-item label="登记原因:" prop="tdcbjyq.djyy"> | ||
327 | <el-input | ||
328 | class="textArea" | ||
329 | maxlength="500" | ||
330 | show-word-limit | ||
331 | type="textarea" | ||
332 | :disabled="!viewEdit" | ||
333 | v-model="ruleForm.tdcbjyq.djyy"> | ||
334 | </el-input> | ||
335 | </el-form-item> | ||
336 | </el-col> | ||
337 | </el-row> | ||
301 | </div> | 338 | </div> |
302 | <el-row class="btn" v-if="isSave"> | 339 | <el-row class="btn" v-if="isSave"> |
303 | <el-form-item> | 340 | <el-form-item> |
... | @@ -408,7 +445,11 @@ | ... | @@ -408,7 +445,11 @@ |
408 | ruleForm: {}, | 445 | ruleForm: {}, |
409 | //传递参数 | 446 | //传递参数 |
410 | propsParam: {}, | 447 | propsParam: {}, |
411 | rules: {} | 448 | rules: { |
449 | 'tdcbjyq.djyy': [ | ||
450 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
451 | ] | ||
452 | } | ||
412 | } | 453 | } |
413 | }, | 454 | }, |
414 | methods: { | 455 | methods: { |
... | @@ -530,7 +571,12 @@ | ... | @@ -530,7 +571,12 @@ |
530 | } | 571 | } |
531 | }) | 572 | }) |
532 | } else { | 573 | } else { |
533 | return false; | 574 | that.$message({ |
575 | showClose: true, | ||
576 | message: "请输入登记原因", | ||
577 | type: "error" | ||
578 | }) | ||
579 | return false | ||
534 | } | 580 | } |
535 | }) | 581 | }) |
536 | } | 582 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-30 14:07:15 | 4 | * @LastEditTime: 2024-01-31 10:09:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -54,7 +54,19 @@ | ... | @@ -54,7 +54,19 @@ |
54 | </el-col> | 54 | </el-col> |
55 | </el-row> | 55 | </el-row> |
56 | <div class="slxx_title title-block"> | 56 | <div class="slxx_title title-block"> |
57 | 不动产单元情况 | 57 | <el-row> |
58 | <el-col :span="20"> | ||
59 | 不动产单元情况 | ||
60 | </el-col> | ||
61 | <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'"> | ||
62 | <el-form-item label="是否创建证书:" style="height:24px"> | ||
63 | <el-radio-group v-model="ruleForm.sldy.sfxysczs"> | ||
64 | <el-radio label="1">是</el-radio> | ||
65 | <el-radio label="0">否</el-radio> | ||
66 | </el-radio-group> | ||
67 | </el-form-item> | ||
68 | </el-col> | ||
69 | </el-row> | ||
58 | <div class="triangle"></div> | 70 | <div class="triangle"></div> |
59 | </div> | 71 | </div> |
60 | <el-row :gutter="10"> | 72 | <el-row :gutter="10"> | ... | ... |
... | @@ -265,7 +265,7 @@ | ... | @@ -265,7 +265,7 @@ |
265 | v-model="ruleForm.ygdj.zxyy"> | 265 | v-model="ruleForm.ygdj.zxyy"> |
266 | </el-input> | 266 | </el-input> |
267 | </el-form-item> | 267 | </el-form-item> |
268 | <el-form-item v-else label="登记原因:" prop="djyy"> | 268 | <el-form-item v-else label="登记原因:" prop="ygdj.djyy"> |
269 | <el-input | 269 | <el-input |
270 | class="textArea" | 270 | class="textArea" |
271 | type="textarea" | 271 | type="textarea" |
... | @@ -354,7 +354,11 @@ | ... | @@ -354,7 +354,11 @@ |
354 | }, | 354 | }, |
355 | //传递参数 | 355 | //传递参数 |
356 | propsParam: this.$attrs, | 356 | propsParam: this.$attrs, |
357 | rules: {} | 357 | rules: { |
358 | 'ygdj.djyy': [ | ||
359 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
360 | ] | ||
361 | } | ||
358 | } | 362 | } |
359 | }, | 363 | }, |
360 | methods: { | 364 | methods: { |
... | @@ -451,25 +455,37 @@ | ... | @@ -451,25 +455,37 @@ |
451 | }) | 455 | }) |
452 | } | 456 | } |
453 | } | 457 | } |
454 | saveData(this.ruleForm).then((res) => { | 458 | this.$refs['ruleForm'].validate((valid) => { |
455 | if (res.code === 200) { | 459 | if (valid) { |
456 | this.$message({ | 460 | that.$store.dispatch("user/refreshPage", false); |
457 | showClose: true, | 461 | saveData(that.ruleForm).then((res) => { |
458 | message: "保存成功!", | 462 | if (res.code === 200) { |
459 | type: "success", | 463 | that.$message({ |
460 | }); | 464 | showClose: true, |
461 | this.$store.dispatch("user/refreshPage", true); | 465 | message: "保存成功!", |
466 | type: "success", | ||
467 | }); | ||
468 | that.$store.dispatch("user/refreshPage", true); | ||
469 | } else { | ||
470 | that.$message({ | ||
471 | showClose: true, | ||
472 | message: res.message, | ||
473 | type: "error", | ||
474 | }); | ||
475 | } | ||
476 | }) | ||
462 | } else { | 477 | } else { |
463 | this.$message({ | 478 | that.$message({ |
464 | showClose: true, | 479 | showClose: true, |
465 | message: res.message, | 480 | message: "请输入登记原因", |
466 | type: "error", | 481 | type: "error" |
467 | }); | 482 | }) |
483 | return false | ||
468 | } | 484 | } |
469 | }); | 485 | }) |
470 | }, | 486 | } |
471 | }, | 487 | } |
472 | }; | 488 | } |
473 | </script> | 489 | </script> |
474 | <style scoped lang="scss"> | 490 | <style scoped lang="scss"> |
475 | @import "~@/styles/public.scss"; | 491 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -290,7 +290,7 @@ | ... | @@ -290,7 +290,7 @@ |
290 | v-model="ruleForm.ygdj.zxyy"> | 290 | v-model="ruleForm.ygdj.zxyy"> |
291 | </el-input> | 291 | </el-input> |
292 | </el-form-item> | 292 | </el-form-item> |
293 | <el-form-item v-else label="登记原因:" prop="djyy"> | 293 | <el-form-item v-else label="登记原因:" prop="ygdj.djyy"> |
294 | <el-input | 294 | <el-input |
295 | class="textArea" | 295 | class="textArea" |
296 | type="textarea" | 296 | type="textarea" |
... | @@ -387,6 +387,9 @@ | ... | @@ -387,6 +387,9 @@ |
387 | zwlxqssjrules: [{ required: true, message: "债务履行起始时间", trigger: "blur" }], | 387 | zwlxqssjrules: [{ required: true, message: "债务履行起始时间", trigger: "blur" }], |
388 | zwlxjssjrules: [{ required: true, message: "债务履行结束时间", trigger: "blur" }], | 388 | zwlxjssjrules: [{ required: true, message: "债务履行结束时间", trigger: "blur" }], |
389 | dbfwrules: [{ required: true, message: "担保范围", trigger: "blur" }], | 389 | dbfwrules: [{ required: true, message: "担保范围", trigger: "blur" }], |
390 | 'ygdj.djyy': [ | ||
391 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
392 | ] | ||
390 | } | 393 | } |
391 | } | 394 | } |
392 | }, | 395 | }, | ... | ... |
... | @@ -2,9 +2,11 @@ | ... | @@ -2,9 +2,11 @@ |
2 | <!-- 受理信息 --> | 2 | <!-- 受理信息 --> |
3 | <div class="slxx"> | 3 | <div class="slxx"> |
4 | <el-form | 4 | <el-form |
5 | :model="ruleForm" | ||
5 | v-Loading="loading" | 6 | v-Loading="loading" |
6 | :label-position="flag ? 'top' : ''" | 7 | :label-position="flag ? 'top' : ''" |
7 | :inline="flag" | 8 | :inline="flag" |
9 | ref="ruleForm" | ||
8 | label-width="140px"> | 10 | label-width="140px"> |
9 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 11 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
10 | <div class="slxx_title title-block"> | 12 | <div class="slxx_title title-block"> |
... | @@ -62,7 +64,7 @@ | ... | @@ -62,7 +64,7 @@ |
62 | 抵押户信息列表信息({{ ruleForm.hlist.length }} 户) | 64 | 抵押户信息列表信息({{ ruleForm.hlist.length }} 户) |
63 | <div class="triangle"></div> | 65 | <div class="triangle"></div> |
64 | </div> | 66 | </div> |
65 | <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')" /> | 67 | <qlxxTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')" /> |
66 | <qjhTable v-else :tableData="ruleForm.hlist" /> | 68 | <qjhTable v-else :tableData="ruleForm.hlist" /> |
67 | <div class="slxx_title title-block"> | 69 | <div class="slxx_title title-block"> |
68 | 抵押信息 | 70 | 抵押信息 |
... | @@ -280,7 +282,7 @@ | ... | @@ -280,7 +282,7 @@ |
280 | v-model="ruleForm.diyaqList[0].zxdyyy"> | 282 | v-model="ruleForm.diyaqList[0].zxdyyy"> |
281 | </el-input> | 283 | </el-input> |
282 | </el-form-item> | 284 | </el-form-item> |
283 | <el-form-item v-else label="登记原因:" prop="djyy"> | 285 | <el-form-item v-else label="登记原因:" prop="diyaqList[0].djyy"> |
284 | <el-input | 286 | <el-input |
285 | class="textArea" | 287 | class="textArea" |
286 | type="textarea" | 288 | type="textarea" |
... | @@ -302,8 +304,8 @@ | ... | @@ -302,8 +304,8 @@ |
302 | </div> | 304 | </div> |
303 | </template> | 305 | </template> |
304 | <script> | 306 | <script> |
305 | import qjhTable from "@/views/workflow/components/qjhTable"; | 307 | import qjhTable from "../commonTable/qjhTable"; |
306 | import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; | 308 | import qlxxTable from "../commonTable/qlxxTable.vue"; |
307 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 309 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
308 | import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; | 310 | import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; |
309 | import { mapGetters } from "vuex"; | 311 | import { mapGetters } from "vuex"; |
... | @@ -344,7 +346,7 @@ | ... | @@ -344,7 +346,7 @@ |
344 | this.loading = false | 346 | this.loading = false |
345 | }) | 347 | }) |
346 | }, | 348 | }, |
347 | components: { qlrCommonTable, qjhTable, cfBdcdyTable }, | 349 | components: { qlrCommonTable, qjhTable, qlxxTable }, |
348 | computed: { | 350 | computed: { |
349 | ...mapGetters(["dictData", "flag"]), | 351 | ...mapGetters(["dictData", "flag"]), |
350 | }, | 352 | }, |
... | @@ -360,7 +362,11 @@ | ... | @@ -360,7 +362,11 @@ |
360 | ruleForm: {}, | 362 | ruleForm: {}, |
361 | //传递参数 | 363 | //传递参数 |
362 | propsParam: {}, | 364 | propsParam: {}, |
363 | rules: {}, | 365 | rules: { |
366 | 'diyaqList[0].djyy': [ | ||
367 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
368 | ] | ||
369 | }, | ||
364 | tableData: [], | 370 | tableData: [], |
365 | }; | 371 | }; |
366 | }, | 372 | }, |
... | @@ -423,22 +429,34 @@ | ... | @@ -423,22 +429,34 @@ |
423 | }); | 429 | }); |
424 | } | 430 | } |
425 | } | 431 | } |
426 | saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => { | 432 | this.$refs['ruleForm'].validate((valid) => { |
427 | if (res.code === 200) { | 433 | if (valid) { |
428 | this.$message({ | 434 | that.$store.dispatch("user/refreshPage", false); |
429 | showClose: true, | 435 | saveBatchData(that.ruleForm, that.propsParam.djlx).then((res) => { |
430 | message: "保存成功!", | 436 | if (res.code === 200) { |
431 | type: "success", | 437 | that.$message({ |
432 | }); | 438 | showClose: true, |
433 | this.$store.dispatch("user/refreshPage", true); | 439 | message: "保存成功!", |
440 | type: "success", | ||
441 | }); | ||
442 | that.$store.dispatch("user/refreshPage", true); | ||
443 | } else { | ||
444 | that.$message({ | ||
445 | showClose: true, | ||
446 | message: res.message, | ||
447 | type: "error", | ||
448 | }); | ||
449 | } | ||
450 | }) | ||
434 | } else { | 451 | } else { |
435 | this.$message({ | 452 | that.$message({ |
436 | showClose: true, | 453 | showClose: true, |
437 | message: res.message, | 454 | message: "请输入登记原因", |
438 | type: "error", | 455 | type: "error" |
439 | }); | 456 | }) |
457 | return false | ||
440 | } | 458 | } |
441 | }); | 459 | }) |
442 | }, | 460 | }, |
443 | /** | 461 | /** |
444 | * @description: 是否持证人变化 | 462 | * @description: 是否持证人变化 | ... | ... |
... | @@ -235,7 +235,7 @@ | ... | @@ -235,7 +235,7 @@ |
235 | <el-form-item label="担保范围:"> | 235 | <el-form-item label="担保范围:"> |
236 | <el-input | 236 | <el-input |
237 | v-model="ruleForm.diyaq.dbfw" | 237 | v-model="ruleForm.diyaq.dbfw" |
238 | :disabled="(ruleForm.sldy.djlx == '300' && !viewEdit) || ruleForm.sldy.djlx == '400'"></el-input> | 238 | :disabled="!viewEdit || ruleForm.sldy.djlx == '400'"></el-input> |
239 | </el-form-item> | 239 | </el-form-item> |
240 | </el-col> | 240 | </el-col> |
241 | </el-row> | 241 | </el-row> |
... | @@ -338,7 +338,7 @@ | ... | @@ -338,7 +338,7 @@ |
338 | v-model="ruleForm.diyaq.zxdyyy"> | 338 | v-model="ruleForm.diyaq.zxdyyy"> |
339 | </el-input> | 339 | </el-input> |
340 | </el-form-item> | 340 | </el-form-item> |
341 | <el-form-item v-else label="登记原因:" prop="djyy"> | 341 | <el-form-item v-else label="登记原因:" prop="diyaq.djyy"> |
342 | <el-input | 342 | <el-input |
343 | class="textArea" | 343 | class="textArea" |
344 | type="textarea" | 344 | type="textarea" |
... | @@ -416,7 +416,11 @@ | ... | @@ -416,7 +416,11 @@ |
416 | ruleForm: {}, | 416 | ruleForm: {}, |
417 | //传递参数 | 417 | //传递参数 |
418 | propsParam: {}, | 418 | propsParam: {}, |
419 | rules: {}, | 419 | rules: { |
420 | 'diyaq.djyy': [ | ||
421 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
422 | ] | ||
423 | }, | ||
420 | // 键名转换,方法默认是label和children进行树状渲染 | 424 | // 键名转换,方法默认是label和children进行树状渲染 |
421 | normalizer (node) { | 425 | normalizer (node) { |
422 | //方法 | 426 | //方法 |
... | @@ -490,22 +494,35 @@ | ... | @@ -490,22 +494,35 @@ |
490 | }); | 494 | }); |
491 | } | 495 | } |
492 | } | 496 | } |
493 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { | 497 | this.$refs['ruleForm'].validate((valid) => { |
494 | if (res.code === 200) { | 498 | if (valid) { |
495 | this.$message({ | 499 | that.$store.dispatch("user/refreshPage", false); |
496 | showClose: true, | 500 | saveData(that.ruleForm, that.propsParam.djlx).then((res) => { |
497 | message: "保存成功!", | 501 | if (res.code === 200) { |
498 | type: "success", | 502 | that.$message({ |
499 | }); | 503 | showClose: true, |
500 | this.$store.dispatch("user/refreshPage", true); | 504 | message: "保存成功!", |
505 | type: "success", | ||
506 | }); | ||
507 | that.$store.dispatch("user/refreshPage", true); | ||
508 | } else { | ||
509 | that.$message({ | ||
510 | showClose: true, | ||
511 | message: res.message, | ||
512 | type: "error", | ||
513 | }); | ||
514 | } | ||
515 | }) | ||
501 | } else { | 516 | } else { |
502 | this.$message({ | 517 | that.$message({ |
503 | showClose: true, | 518 | showClose: true, |
504 | message: res.message, | 519 | message: "请输入登记原因", |
505 | type: "error", | 520 | type: "error" |
506 | }); | 521 | }) |
522 | return false | ||
507 | } | 523 | } |
508 | }); | 524 | }) |
525 | |||
509 | }, | 526 | }, |
510 | /** | 527 | /** |
511 | * @description: 更新权利人信息 | 528 | * @description: 更新权利人信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-26 08:45:07 | 4 | * @LastEditTime: 2024-01-26 08:46:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj" v-Loading="loading"> | 7 | <div class="spyj" v-Loading="loading"> |
... | @@ -132,6 +132,7 @@ | ... | @@ -132,6 +132,7 @@ |
132 | var index = this.tableData.findIndex( | 132 | var index = this.tableData.findIndex( |
133 | (item) => item.jddm === this.$parent.dqhj | 133 | (item) => item.jddm === this.$parent.dqhj |
134 | ); | 134 | ); |
135 | console.log("this.tableData111",this.tableData); | ||
135 | if (index == -1) { | 136 | if (index == -1) { |
136 | switch (this.$parent.dqhj) { | 137 | switch (this.$parent.dqhj) { |
137 | case "cs": | 138 | case "cs": |
... | @@ -144,6 +145,7 @@ | ... | @@ -144,6 +145,7 @@ |
144 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); | 145 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); |
145 | break; | 146 | break; |
146 | } | 147 | } |
148 | console.log("this.tableData222",this.tableData); | ||
147 | } | 149 | } |
148 | this.tableData.forEach((item) => { | 150 | this.tableData.forEach((item) => { |
149 | item.show = true; | 151 | item.show = true; |
... | @@ -155,6 +157,7 @@ | ... | @@ -155,6 +157,7 @@ |
155 | item["userid"] = this.userInfo.id; | 157 | item["userid"] = this.userInfo.id; |
156 | item.show = false; | 158 | item.show = false; |
157 | } | 159 | } |
160 | console.log("this.tableData333",this.tableData); | ||
158 | }); | 161 | }); |
159 | this.loading = false | 162 | this.loading = false |
160 | } | 163 | } | ... | ... |
... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
132 | if (type == 1) { | 132 | if (type == 1) { |
133 | this.$popupDialog( | 133 | this.$popupDialog( |
134 | "证书证明预览", | 134 | "证书证明预览", |
135 | "workflow/components/dialog/zsyl", | 135 | "workflow/top/zsyl/index", |
136 | { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, | 136 | { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, |
137 | '1230px', | 137 | '1230px', |
138 | true | 138 | true |
... | @@ -140,7 +140,7 @@ | ... | @@ -140,7 +140,7 @@ |
140 | } else { | 140 | } else { |
141 | this.$popupDialog( | 141 | this.$popupDialog( |
142 | "证书证明打印", | 142 | "证书证明打印", |
143 | "workflow/components/dialog/zsdy", | 143 | "workflow/main/szxx/zsdy", |
144 | { ...item }, | 144 | { ...item }, |
145 | "76%", | 145 | "76%", |
146 | true | 146 | true |
... | @@ -155,7 +155,7 @@ | ... | @@ -155,7 +155,7 @@ |
155 | openInvalidDiglog (item) { | 155 | openInvalidDiglog (item) { |
156 | this.$popupDialog( | 156 | this.$popupDialog( |
157 | "证书证明打印", | 157 | "证书证明打印", |
158 | "workflow/components/dialog/zsdy", | 158 | "workflow/main/szxx/zsdy", |
159 | { ...item }, | 159 | { ...item }, |
160 | "76%", | 160 | "76%", |
161 | true | 161 | true |
... | @@ -169,7 +169,7 @@ | ... | @@ -169,7 +169,7 @@ |
169 | openRecordPop (item) { | 169 | openRecordPop (item) { |
170 | this.$popupDialog( | 170 | this.$popupDialog( |
171 | "缮证记录", | 171 | "缮证记录", |
172 | "workflow/components/dialog/szRecord", | 172 | "workflow/main/szxx/szRecord", |
173 | { bsmBdcqz: item.bsmBdcqz }, | 173 | { bsmBdcqz: item.bsmBdcqz }, |
174 | "60%", | 174 | "60%", |
175 | true | 175 | true | ... | ... |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | import { mapGetters } from 'vuex' | 11 | import { mapGetters } from 'vuex' |
12 | import { getSzRecordList } from "@/api/bdcqz.js"; | 12 | import { getSzRecordList } from "@/api/bdcqz.js"; |
13 | import table from "@/utils/mixin/table"; | 13 | import table from "@/utils/mixin/table"; |
14 | import { szxxdatas } from "../../javascript/szxxdata"; | 14 | import { szxxdatas } from "./szxxdata"; |
15 | export default { | 15 | export default { |
16 | components: { | 16 | components: { |
17 | 17 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-24 17:31:21 | 4 | * @LastEditTime: 2024-02-06 13:26:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -269,7 +269,20 @@ | ... | @@ -269,7 +269,20 @@ |
269 | context.fillStyle = '#000000'; | 269 | context.fillStyle = '#000000'; |
270 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 270 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
271 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 271 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
272 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); | 272 | // context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); |
273 | |||
274 | if (getByteLen(this.bdcqz.sxqc) > 14) { | ||
275 | const originalFont = context.font; | ||
276 | // 设置新的字体大小 | ||
277 | context.font = '14px 楷体'; // 替换为你想要的字体和大小 | ||
278 | // 绘制 bdcdyh | ||
279 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | ||
280 | // 恢复原始字体设置 | ||
281 | context.font = originalFont; | ||
282 | } else { | ||
283 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
284 | } | ||
285 | |||
273 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 286 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
274 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 287 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
275 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | 288 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); |
... | @@ -526,7 +539,7 @@ | ... | @@ -526,7 +539,7 @@ |
526 | // context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228); | 539 | // context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228); |
527 | // 权利人 | 540 | // 权利人 |
528 | let qlrlines = this.bdcqz.qlr | 541 | let qlrlines = this.bdcqz.qlr |
529 | if (getByteLen(this.bdcqz.qlr) > 36) { | 542 | if (getByteLen(this.bdcqz.qlr) > 32) { |
530 | let currentLine = ''; | 543 | let currentLine = ''; |
531 | let arr = []; | 544 | let arr = []; |
532 | for (let word of qlrlines) { | 545 | for (let word of qlrlines) { |
... | @@ -551,7 +564,7 @@ | ... | @@ -551,7 +564,7 @@ |
551 | // context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); | 564 | // context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); |
552 | 565 | ||
553 | let ywrlines = this.bdcqz.ywr | 566 | let ywrlines = this.bdcqz.ywr |
554 | if (getByteLen(this.bdcqz.ywr) > 36) { | 567 | if (getByteLen(this.bdcqz.ywr) > 32) { |
555 | let currentLine = ''; | 568 | let currentLine = ''; |
556 | let arr = []; | 569 | let arr = []; |
557 | for (let word of ywrlines) { | 570 | for (let word of ywrlines) { |
... | @@ -575,7 +588,7 @@ | ... | @@ -575,7 +588,7 @@ |
575 | 588 | ||
576 | 589 | ||
577 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 590 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; |
578 | if (getByteLen(this.bdcqz.zl) > 37) { | 591 | if (getByteLen(this.bdcqz.zl) > 32) { |
579 | lines2.forEach((line, index) => { | 592 | lines2.forEach((line, index) => { |
580 | const y = 315 + (index * 20); // 每行文本的垂直位置 | 593 | const y = 315 + (index * 20); // 每行文本的垂直位置 |
581 | let currentLine = ''; | 594 | let currentLine = ''; |
... | @@ -628,12 +641,60 @@ | ... | @@ -628,12 +641,60 @@ |
628 | // 恢复原始字体设置 | 641 | // 恢复原始字体设置 |
629 | context.font = originalFont; | 642 | context.font = originalFont; |
630 | // qlqtzk | 643 | // qlqtzk |
644 | function getByteLenBdcdy (val) { | ||
645 | var encoder = new TextEncoder('utf-8'); | ||
646 | return encoder.encode(val).length; | ||
647 | } | ||
631 | const maxWidth = 290; // 最大宽度限制 | 648 | const maxWidth = 290; // 最大宽度限制 |
632 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | 649 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; |
633 | for (let i = 0; i < lines.length; i++) { | 650 | let bdcdyNum = Math.ceil(getByteLenBdcdy(lines[0]) / 43) |
634 | console.log(getByteLen(lines[i])); | 651 | // 单独处理不动产单元号 |
635 | let num = Math.ceil(getByteLen(lines[i]) / 37) | 652 | let linesBdcdy = lines[0] ? lines[0].split(' ') : []; |
636 | if (getByteLen(lines[i]) > 37) { | 653 | if (getByteLenBdcdy(lines[0]) > 43) { |
654 | linesBdcdy.forEach((line, index) => { | ||
655 | const y = 412 + (index * 17); // 每行文本的垂直位置 | ||
656 | let currentLine = ''; | ||
657 | let arr = []; | ||
658 | for (let word of line) { | ||
659 | const testLine = currentLine + word; | ||
660 | const lineWidth = context.measureText(testLine).width; | ||
661 | if (lineWidth <= maxWidth) { | ||
662 | currentLine = testLine; | ||
663 | } else { | ||
664 | arr.push(currentLine); | ||
665 | currentLine = word; | ||
666 | } | ||
667 | } | ||
668 | arr.push(currentLine); | ||
669 | arr.forEach((line, index) => { | ||
670 | context.fillText(line, 770, y + (index * 17)); // 调整行高 | ||
671 | }) | ||
672 | }) | ||
673 | } else { | ||
674 | linesBdcdy.forEach((line, index) => { | ||
675 | const y = 418 + (index * 17); // 每行文本的垂直位置 | ||
676 | let currentLine = ''; | ||
677 | let arr = []; | ||
678 | for (let word of line) { | ||
679 | const testLine = currentLine + word; | ||
680 | const lineWidth = context.measureText(testLine).width; | ||
681 | if (lineWidth <= maxWidth) { | ||
682 | currentLine = testLine; | ||
683 | } else { | ||
684 | arr.push(currentLine); | ||
685 | currentLine = word; | ||
686 | } | ||
687 | } | ||
688 | arr.push(currentLine); | ||
689 | arr.forEach((line, index) => { | ||
690 | context.fillText(line, 770, y + (index * 17)); // 调整行高 | ||
691 | }) | ||
692 | }) | ||
693 | } | ||
694 | |||
695 | for (let i = 1; i < lines.length; i++) { | ||
696 | let num = Math.ceil(getByteLen(lines[i]) / 32) | ||
697 | if (getByteLen(lines[i]) > 32) { | ||
637 | let currentLine = ''; | 698 | let currentLine = ''; |
638 | let arr = []; | 699 | let arr = []; |
639 | for (let word of lines[i]) { | 700 | for (let word of lines[i]) { |
... | @@ -649,18 +710,18 @@ | ... | @@ -649,18 +710,18 @@ |
649 | arr.push(currentLine); | 710 | arr.push(currentLine); |
650 | if (i > 0) { | 711 | if (i > 0) { |
651 | arr.forEach((line, index) => { | 712 | arr.forEach((line, index) => { |
652 | context.fillText(line, 770, 438 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 | 713 | context.fillText(line, 770, 408 + (bdcdyNum * 15) + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
653 | }) | 714 | }) |
654 | } else { | 715 | } else { |
655 | arr.forEach((line, index) => { | 716 | arr.forEach((line, index) => { |
656 | context.fillText(line, 770, 438 + (24 * (i - 1)) + (index * 17)); // 调整行高 | 717 | context.fillText(line, 770, 408 + (bdcdyNum * 15) + (24 * (i - 1)) + (index * 17)); // 调整行高 |
657 | }) | 718 | }) |
658 | } | 719 | } |
659 | } else { | 720 | } else { |
660 | if (i > 0) { | 721 | if (i > 0) { |
661 | context.fillText(lines[i] ? lines[i] : '', 770, 447 + 6 * num + (25 * (i - 1))); | 722 | context.fillText(lines[i] ? lines[i] : '', 770, 417 + (bdcdyNum * 15) + 6 * num + (25 * (i - 1))); |
662 | } else { | 723 | } else { |
663 | context.fillText(lines[i] ? lines[i] : '', 770, 447 + (25 * (i - 1))); | 724 | context.fillText(lines[i] ? lines[i] : '', 770, 417 + (bdcdyNum * 15) + (25 * (i - 1))); |
664 | } | 725 | } |
665 | } | 726 | } |
666 | } | 727 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 09:57:51 | 4 | * @LastEditTime: 2024-02-20 16:37:27 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import { getPrintTemplateByCode } from "@/api/print"; | 7 | import { getPrintTemplateByCode, getPrintAcceptance } from "@/api/print"; |
8 | import { uploadUndo } from "@/api/clxx"; | 8 | import { uploadUndo } from "@/api/clxx"; |
9 | import { getLodop } from "@/utils/LodopFuncs"; | 9 | import { getLodop } from "@/utils/LodopFuncs"; |
10 | import adapter from "@/utils/sqs/adapter"; | 10 | import adapter from "@/utils/sqs/adapter"; |
... | @@ -77,19 +77,16 @@ export default { | ... | @@ -77,19 +77,16 @@ export default { |
77 | */ | 77 | */ |
78 | operation (item) { | 78 | operation (item) { |
79 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改 | 79 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改 |
80 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 80 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 受理凭证 slpz |
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 | this.$alert('此功能正在开发', '提示', { | ||
86 | confirmButtonText: '确定', | ||
87 | }) | ||
88 | break; | 85 | break; |
89 | case "B1": | 86 | case "B1": |
90 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { | 87 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { |
91 | let { result } = res | 88 | let { result } = res |
92 | this.$popupDialog("流程图", "workflow/components/processViewer", { | 89 | this.$popupDialog("流程图", "workflow/top/processViewer/index", { |
93 | xml: result.xml, | 90 | xml: result.xml, |
94 | finishedInfo: { | 91 | finishedInfo: { |
95 | finishedTaskSet: result.finishedActivityIds, | 92 | finishedTaskSet: result.finishedActivityIds, |
... | @@ -125,13 +122,13 @@ export default { | ... | @@ -125,13 +122,13 @@ export default { |
125 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) | 122 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) |
126 | break; | 123 | break; |
127 | case "B5": | 124 | case "B5": |
128 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { | 125 | this.$popupDialog("证书证明预览", "workflow/top/zsyl/index", { |
129 | bsmSlsq: this.bsmSlsq, | 126 | bsmSlsq: this.bsmSlsq, |
130 | entryType: '1' | 127 | entryType: '1' |
131 | }, '1230px', true) | 128 | }, '1230px', true) |
132 | break; | 129 | break; |
133 | case "B-ZSXG": | 130 | case "B-ZSXG": |
134 | this.$popupDialog("证书修改", "workflow/components/dialog/zsxg", { bsmSlsq: this.bsmSlsq, }, '55%', true) | 131 | this.$popupDialog("证书修改", "workflow/top/zsxg/index", { bsmSlsq: this.bsmSlsq, }, '55%', true) |
135 | break; | 132 | break; |
136 | case "B6": | 133 | case "B6": |
137 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", | 134 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", |
... | @@ -174,11 +171,11 @@ export default { | ... | @@ -174,11 +171,11 @@ export default { |
174 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { | 171 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { |
175 | this.bsmZd = res?.result[0]?.bsmZd | 172 | this.bsmZd = res?.result[0]?.bsmZd |
176 | console.log(this.bsmZd); | 173 | console.log(this.bsmZd); |
177 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) | 174 | this.$popupDialog('图形定位', 'workflow/top/map/index', { bsmZd: this.bsmZd }, '85%', true) |
178 | }) | 175 | }) |
179 | break; | 176 | break; |
180 | case "back": //退回按钮 | 177 | case "back": //退回按钮 |
181 | this.$popupDialog("退回", "workflow/components/th", { | 178 | this.$popupDialog("退回", "workflow/top/back/index", { |
182 | bsmSlsq: this.bsmSlsq, | 179 | bsmSlsq: this.bsmSlsq, |
183 | bestepid: this.bestepid ? this.bestepid : '' | 180 | bestepid: this.bestepid ? this.bestepid : '' |
184 | }, '800px', true) | 181 | }, '800px', true) |
... | @@ -241,6 +238,42 @@ export default { | ... | @@ -241,6 +238,42 @@ export default { |
241 | case "rm": | 238 | case "rm": |
242 | this.del() | 239 | this.del() |
243 | break; | 240 | break; |
241 | // 互联网数据共享 | ||
242 | case "B-HLGXSJ": | ||
243 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) | ||
244 | break; | ||
245 | // slpz 受理凭证 | ||
246 | case "slpz": | ||
247 | getPrintTemplateByCode({ tmpno: 'bdcdjslpz' }).then(res => { | ||
248 | if (res.code === 200) { | ||
249 | getPrintAcceptance(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
250 | if (infoRes.code === 200) { | ||
251 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
252 | infoRes.result.fileList.forEach((it, index) => { | ||
253 | let key = index + 1 | ||
254 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
255 | }) | ||
256 | } | ||
257 | console.log(infoRes.result) | ||
258 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
259 | |||
260 | // 装载第一个模板并设置数据 | ||
261 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
262 | for (let key in infoRes.result) { | ||
263 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
264 | } | ||
265 | |||
266 | // 进行预览 | ||
267 | LODOP.PREVIEW(); | ||
268 | } else { | ||
269 | this.$message.error(infoRes.message); | ||
270 | } | ||
271 | }); | ||
272 | } else { | ||
273 | this.$message.error(res.message); | ||
274 | } | ||
275 | }) | ||
276 | break; | ||
244 | } | 277 | } |
245 | }, | 278 | }, |
246 | /** | 279 | /** |
... | @@ -282,10 +315,11 @@ export default { | ... | @@ -282,10 +315,11 @@ export default { |
282 | * @author: renchao | 315 | * @author: renchao |
283 | */ | 316 | */ |
284 | sendToNext (obj) { | 317 | sendToNext (obj) { |
285 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 318 | this.$popupDialog("转出", "workflow/top/transfer/index", { |
286 | obj: obj, | 319 | obj: obj, |
287 | bsmSlsq: this.bsmSlsq, | 320 | bsmSlsq: this.bsmSlsq, |
288 | tabList: this.tabList | 321 | tabList: this.tabList, |
322 | tshowidea: this.showidea | ||
289 | }, '800px', true) | 323 | }, '800px', true) |
290 | }, | 324 | }, |
291 | /** | 325 | /** |
... | @@ -294,10 +328,11 @@ export default { | ... | @@ -294,10 +328,11 @@ export default { |
294 | * @author: renchao | 328 | * @author: renchao |
295 | */ | 329 | */ |
296 | sendToEnd (obj) { | 330 | sendToEnd (obj) { |
297 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 331 | this.$popupDialog("转出", "workflow/top/transfer/index", { |
298 | obj: "", | 332 | obj: "", |
299 | bsmSlsq: this.bsmSlsq, | 333 | bsmSlsq: this.bsmSlsq, |
300 | tabList: this.tabList | 334 | tabList: this.tabList, |
335 | showidea: this.showidea | ||
301 | }, '800px', true) | 336 | }, '800px', true) |
302 | }, | 337 | }, |
303 | /** | 338 | /** | ... | ... |
src/views/workflow/top/button.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 14:07:58 | ||
5 | */ | ||
6 | /** | ||
7 | * @description: 按钮操作 | ||
8 | * @param attribute:按钮属性 | ||
9 | * @param address:地址栏数据 | ||
10 | * @param sldy:受理单元数据 | ||
11 | * @author: renchao | ||
12 | */ | ||
13 | export function buttonOnclike(attribute, address, sldy) { | ||
14 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改 | ||
15 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | ||
16 | let that = this; | ||
17 | switch (item.value) { | ||
18 | case "B0": | ||
19 | btn_add(attribute, address, sldy); | ||
20 | break; | ||
21 | case "B1": | ||
22 | btn_flow(attribute, address, sldy); | ||
23 | break; | ||
24 | case "B2": //材料分屏按钮 | ||
25 | btn_clfp(attribute, address, sldy); | ||
26 | break; | ||
27 | case "B3": //材料导入 | ||
28 | btn_cldr(attribute, address, sldy); | ||
29 | break; | ||
30 | case "B4": | ||
31 | btn_djb(attribute, address, sldy); | ||
32 | break; | ||
33 | case "B5": | ||
34 | btn_zsyl(attribute, address, sldy); | ||
35 | break; | ||
36 | case "B-ZSXG": | ||
37 | btn_zsxg(attribute, address, sldy); | ||
38 | break; | ||
39 | case "B6": | ||
40 | btn_dysqs(attribute, address, sldy); | ||
41 | break; | ||
42 | case "B7": | ||
43 | btn_zslq(attribute, address, sldy); | ||
44 | break; | ||
45 | case "B8": | ||
46 | btn_houses(attribute, address, sldy); | ||
47 | break; | ||
48 | // 图形定位 | ||
49 | case "B-TXDW": | ||
50 | btn_map(attribute, address, sldy); | ||
51 | break; | ||
52 | case "back": //退回按钮 | ||
53 | btn_back(attribute, address, sldy); | ||
54 | break; | ||
55 | case "transfer": //转件按钮 | ||
56 | btn_transfer(attribute, address, sldy); | ||
57 | break; | ||
58 | case "stop": //终止按钮 | ||
59 | btn_stop(attribute, address, sldy); | ||
60 | break; | ||
61 | case "signout": | ||
62 | btn_signout(attribute, address, sldy); | ||
63 | break; | ||
64 | case "B9": | ||
65 | btn_record(attribute, address, sldy); | ||
66 | break; | ||
67 | case "B10": | ||
68 | break; | ||
69 | case "rm": | ||
70 | btn_deleteFlow(); | ||
71 | break; | ||
72 | // 互联网数据共享 | ||
73 | case "B-HLGXSJ": | ||
74 | btn_dataShare(attribute, address, sldy); | ||
75 | break; | ||
76 | default: | ||
77 | console.log("未开发!"); | ||
78 | break; | ||
79 | } | ||
80 | } | ||
81 | //新增受理单元 | ||
82 | function btn_add(attribute, address, sldy) { | ||
83 | this.openDialog(attribute); | ||
84 | } | ||
85 | //流程图 | ||
86 | function btn_flow(attribute, address, sldy) { | ||
87 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { | ||
88 | let { result } = res | ||
89 | this.$popupDialog("流程图", "workflow/components/processViewer", { | ||
90 | xml: result.xml, | ||
91 | finishedInfo: { | ||
92 | finishedTaskSet: result.finishedActivityIds, | ||
93 | unfinishedTaskSet: result.runningActivityIds, | ||
94 | rejectedTaskSet: result.rejectedActivityIds, | ||
95 | finishedSequenceFlowSet: result.finishedSequenceFlowIds | ||
96 | }, | ||
97 | handlinglist: result.runningTasks, | ||
98 | allCommentList: result.finishedTasks | ||
99 | }, '80%', true) | ||
100 | }) | ||
101 | } | ||
102 | //材料分屏 | ||
103 | function btn_clfp(attribute, address, sldy) { | ||
104 | this.splitScreen = this.splitScreen ? false : true; | ||
105 | this.$store.dispatch("app/settScreen", this.splitScreen); | ||
106 | if (this.splitScreen) { | ||
107 | //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | ||
108 | if (this.tabName == this.clxxTab.value) { | ||
109 | this.tabName = this.tabList[this.clxxIndex - 1].value; | ||
110 | this.getFromRouter(this.tabList[this.clxxIndex - 1].value); | ||
111 | } | ||
112 | //删除材料信息选项卡数据 | ||
113 | this.tabList.splice(this.clxxIndex, 1); | ||
114 | } else { | ||
115 | //新增材料信息选项卡数据 | ||
116 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); | ||
117 | } | ||
118 | } | ||
119 | //材料导入 | ||
120 | function btn_cldr(attribute, address, sldy) { | ||
121 | document.getElementById("cldr").click(); | ||
122 | } | ||
123 | //登记簿 | ||
124 | function btn_djb(attribute, address, sldy) { | ||
125 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) | ||
126 | } | ||
127 | //打印申请书 | ||
128 | function btn_dysqs(attribute, address, sldy) { | ||
129 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", | ||
130 | { bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true | ||
131 | ) | ||
132 | } | ||
133 | //证书预览 | ||
134 | function btn_zsyl(attribute, address, sldy) { | ||
135 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { | ||
136 | bsmSlsq: this.bsmSlsq, | ||
137 | entryType: '1' | ||
138 | }, '1230px', true) | ||
139 | } | ||
140 | //证书修改 | ||
141 | function btn_zsxg(attribute, address, sldy) { | ||
142 | this.$popupDialog("证书修改", "workflow/components/dialog/zsxg", { bsmSlsq: this.bsmSlsq, }, '55%', true); | ||
143 | } | ||
144 | //证书领取 | ||
145 | function btn_zslq(attribute, address, sldy) { | ||
146 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | ||
147 | { bsmSlsq: this.$route.query.bsmSlsq }, '70%', true | ||
148 | ) | ||
149 | } | ||
150 | //楼盘表 | ||
151 | function btn_houses(attribute, address, sldy) { | ||
152 | !window.djlx && getZrzbsmList(this.bsmSlsq).then((res) => { | ||
153 | if (res.code === 200) { | ||
154 | ywPopupDialog('楼盘表', 'lpb/index', { | ||
155 | bsm: res.result[0], | ||
156 | onlyShow: false, | ||
157 | unitData: window.unitData, | ||
158 | bsmSlsq: this.bsmSlsq, | ||
159 | showSave: true, | ||
160 | djlx: window.djlx | ||
161 | }, '85%', true, false) | ||
162 | } else { | ||
163 | this.$message.error(res.message) | ||
164 | } | ||
165 | }) | ||
166 | .catch((err) => { | ||
167 | this.$message.error(err) | ||
168 | }); | ||
169 | window.djlx && ywPopupDialog('楼盘表', 'lpb/zjgcdy', { | ||
170 | onlyShow: false, | ||
171 | unitData: window.unitData, | ||
172 | bsmSlsq: this.bsmSlsq, | ||
173 | showSave: true, | ||
174 | djlx: window.djlx | ||
175 | }, '85%', true, false) | ||
176 | } | ||
177 | //登簿 | ||
178 | function btn_record(attribute, address, sldy) { | ||
179 | var formdata = new FormData(); | ||
180 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
181 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); | ||
182 | this.$confirm("请确认是否登簿", "提示", { | ||
183 | iconClass: "el-icon-info", //自定义图标样式 | ||
184 | confirmButtonText: "确认", //确认按钮文字更换 | ||
185 | cancelButtonText: "取消", //取消按钮文字更换 | ||
186 | showClose: true, //是否显示右上角关闭按钮 | ||
187 | type: "warning", //提示类型 success/info/warning/error | ||
188 | }).then(function () { | ||
189 | record(formdata).then((res) => { | ||
190 | if (res.code === 200) { | ||
191 | if (res.result.length === 1) { | ||
192 | res.result[0].state ? that.$message({ | ||
193 | message: '登簿成功', | ||
194 | type: 'success' | ||
195 | }) : ywPopupDialog("登簿错误明细", "workflow/components/dialog/dblist", { result: res.result }, '30%', true) | ||
196 | } | ||
197 | else { | ||
198 | ywPopupDialog("登簿错误明细", "workflow/components/dialog/dblist", { result: res.result }, '30%', true) | ||
199 | } | ||
200 | } else { | ||
201 | that.$message.error(res.message) | ||
202 | } | ||
203 | }) | ||
204 | }) | ||
205 | } | ||
206 | //转件 | ||
207 | function btn_transfer(attribute, address, sldy) { | ||
208 | getNextLinkInfo({ | ||
209 | bsmSlsq: this.bsmSlsq, | ||
210 | bestepid: this.bestepid ? this.bestepid : '' | ||
211 | }).then((res) => { | ||
212 | if (res.code === 200) { | ||
213 | if (res.result) { | ||
214 | this.sendToNext(res.result); | ||
215 | } else { | ||
216 | this.sendToEnd(); | ||
217 | } | ||
218 | } | ||
219 | }); | ||
220 | } | ||
221 | //退回 | ||
222 | function btn_back(attribute, address, sldy) { | ||
223 | this.$popupDialog("退回", "workflow/components/th", { | ||
224 | bsmSlsq: this.bsmSlsq, | ||
225 | bestepid: this.bestepid ? this.bestepid : '' | ||
226 | }, '800px', true) | ||
227 | } | ||
228 | //退出 | ||
229 | function btn_signout(attribute, address, sldy) { | ||
230 | window.close(); | ||
231 | //取消认领 | ||
232 | unClaimTask(this.bsmSlsq, this.bestepid ? this.bestepid : '') | ||
233 | } | ||
234 | //终止流程 | ||
235 | function btn_stop(attribute, address, sldy) { | ||
236 | this.$popupDialog("终止", "workflow/components/stop", { | ||
237 | bsmSlsq: this.bsmSlsq, | ||
238 | bestepid: this.bestepid ? this.bestepid : '' | ||
239 | }, '600px', true); | ||
240 | } | ||
241 | //删除流程 | ||
242 | function btn_deleteFlow(attribute, address, sldy) { | ||
243 | this.del(); | ||
244 | } | ||
245 | //数据共享 | ||
246 | function btn_dataShare(attribute, address, sldy) { | ||
247 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) | ||
248 | } | ||
249 | //图形定位 | ||
250 | function btn_map(attribute, address, sldy) { | ||
251 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { | ||
252 | this.bsmZd = res?.result[0]?.bsmZd; | ||
253 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) | ||
254 | }) | ||
255 | } |
... | @@ -159,6 +159,7 @@ | ... | @@ -159,6 +159,7 @@ |
159 | type="index" | 159 | type="index" |
160 | width="55px" | 160 | width="55px" |
161 | /> | 161 | /> |
162 | <el-table-column label="环节" prop="name" align="center" /> | ||
162 | <el-table-column | 163 | <el-table-column |
163 | label="转入时间" | 164 | label="转入时间" |
164 | prop="createTime" | 165 | prop="createTime" |
... | @@ -180,6 +181,7 @@ | ... | @@ -180,6 +181,7 @@ |
180 | width="160" | 181 | width="160" |
181 | align="center" | 182 | align="center" |
182 | /> | 183 | /> |
184 | <el-table-column label="经办人" prop="agent" align="center" /> | ||
183 | <el-table-column label="操作方式" prop="controls" align="center" /> | 185 | <el-table-column label="操作方式" prop="controls" align="center" /> |
184 | <el-table-column label="意见" prop="idea" align="center" /> | 186 | <el-table-column label="意见" prop="idea" align="center" /> |
185 | </el-table> | 187 | </el-table> | ... | ... |
src/views/workflow/top/receipt/cfhzd.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: miaofang | ||
4 | * @LastEditTime: 2023-07-19 09:52:42 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="fm" id="boxaaa"> | ||
8 | <div class="title">不动产登记簿</div> | ||
9 | <div class="title">(回执)</div> | ||
10 | <p class="bian"> | ||
11 | 编号: <span>{{ Receiptdata.sldyList[0].ybdcqzsh||"" }}</span> | ||
12 | </p> | ||
13 | <div class="texts"> | ||
14 | <p class="jsjg">{{ Receiptdata.cfdjList[0].cfjg }}:</p> | ||
15 | <p class="concent"> | ||
16 | <span>{{ sj }}</span> ,你院协助执行通知书订单号为:<font>{{ | ||
17 | Receiptdata.qlxxList[0].ywh||"" | ||
18 | }}</font | ||
19 | >收悉,具体执行情况如下。 | ||
20 | </p> | ||
21 | </div> | ||
22 | |||
23 | <p class="bian">{{ Receiptdata.user.organizationName }}</p> | ||
24 | <p class="bian">{{ sj }}(盖章)</p> | ||
25 | <table class="xxTable"> | ||
26 | <tr> | ||
27 | <td>序号</td> | ||
28 | <td>坐落</td> | ||
29 | <td>控制反馈</td> | ||
30 | <td>控制措施</td> | ||
31 | </tr> | ||
32 | <tr v-for="(item, index) in Receiptdata.sldyList" :key="index"> | ||
33 | <td>{{ index + 1 }}</td> | ||
34 | <td>{{ item.zl }}</td> | ||
35 | <td>已控</td> | ||
36 | <td>{{ item.djlxmc }}</td> | ||
37 | </tr> | ||
38 | </table> | ||
39 | </div> | ||
40 | </template> | ||
41 | |||
42 | |||
43 | <script> | ||
44 | import { BatchInit } from "@/api/workflow/cfdjFlow.js"; | ||
45 | export default { | ||
46 | props: { | ||
47 | Receiptdata: { | ||
48 | type: Object, | ||
49 | default: {}, | ||
50 | }, | ||
51 | }, | ||
52 | data() { | ||
53 | return { | ||
54 | sj: "", | ||
55 | data:false | ||
56 | }; | ||
57 | }, | ||
58 | mounted() { | ||
59 | this.loadData(); | ||
60 | }, | ||
61 | watch: { | ||
62 | Receiptdata: { | ||
63 | handler(newValue, oldValue) { | ||
64 | this.$nextTick(() => { | ||
65 | this.Receiptdata = newValue; | ||
66 | this.loadData(); | ||
67 | }); | ||
68 | }, | ||
69 | }, | ||
70 | }, | ||
71 | methods: { | ||
72 | openPrint () { | ||
73 | // 获取打印回执数据 | ||
74 | var formdata = new FormData(); | ||
75 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | ||
76 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | ||
77 | formdata.append("djlx", this.currentSelectProps.djlx); | ||
78 | BatchInit(formdata).then((res) => { | ||
79 | if (res.code === 200 && res.result) { | ||
80 | this.Receiptdata = res.result | ||
81 | this.shows = true | ||
82 | setTimeout(() => { | ||
83 | this.prinsss() | ||
84 | }, 100) | ||
85 | } else { | ||
86 | this.$message.error(res.message) | ||
87 | } | ||
88 | }) | ||
89 | }, | ||
90 | /** | ||
91 | * @description: loadData | ||
92 | * @author: miaofang | ||
93 | */ | ||
94 | loadData() { | ||
95 | let dateTime = new Date(this.Receiptdata.slsq.slsj); | ||
96 | let y = dateTime.getFullYear(); | ||
97 | let m = dateTime.getMonth() + 1; | ||
98 | m = m < 10 ? "0" + m : m; | ||
99 | let d = dateTime.getDate(); | ||
100 | d = d < 10 ? "0" + d : d; | ||
101 | let h = dateTime.getHours(); | ||
102 | h = h < 10 ? "0" + h : h; | ||
103 | let M = dateTime.getMinutes(); | ||
104 | M = M < 10 ? "0" + M : M; | ||
105 | let s = dateTime.getSeconds(); | ||
106 | s = s < 10 ? "0" + s : s; | ||
107 | this.sj = y + "年" + m + "月" + d + "日"; | ||
108 | }, | ||
109 | }, | ||
110 | }; | ||
111 | </script> | ||
112 | |||
113 | <style lang="scss" scoped> | ||
114 | #boxaaa{ | ||
115 | font { | ||
116 | border-bottom: 1px solid #000; | ||
117 | display: inline-block; | ||
118 | padding: 0 15px; | ||
119 | line-height: 16px; | ||
120 | } | ||
121 | |||
122 | .title { | ||
123 | height: 60px; | ||
124 | display: flex; | ||
125 | font-size: 32px; | ||
126 | color: #000; | ||
127 | justify-content: center; | ||
128 | align-items: center; | ||
129 | } | ||
130 | .bian { | ||
131 | text-align: right; | ||
132 | } | ||
133 | .texts{ | ||
134 | margin-top: 40px; | ||
135 | margin-bottom: 40px; | ||
136 | |||
137 | } | ||
138 | .jsjg { | ||
139 | text-align: left; | ||
140 | } | ||
141 | .concent { | ||
142 | width: 100%; | ||
143 | |||
144 | line-height: 40px; | ||
145 | text-align: left; | ||
146 | text-indent: 2em; | ||
147 | } | ||
148 | p { | ||
149 | font-family: serif; | ||
150 | } | ||
151 | .xxTable { | ||
152 | |||
153 | width: 100%; | ||
154 | border-collapse: collapse; | ||
155 | font-family: serif; | ||
156 | margin-top: 20px; | ||
157 | |||
158 | tr td { | ||
159 | border: 1px solid #000; | ||
160 | text-align: center; | ||
161 | height: 40px; | ||
162 | line-height: 17px; | ||
163 | font-size: 13px; | ||
164 | min-width: 80px; | ||
165 | z-index: 1; | ||
166 | min-width: 80px; | ||
167 | padding: 5px; | ||
168 | } | ||
169 | } | ||
170 | } | ||
171 | .fm { | ||
172 | background: #fff; | ||
173 | font-size: 18px; | ||
174 | margin: auto; | ||
175 | } | ||
176 | |||
177 | </style> |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-19 16:43:43 | 4 | * @LastEditTime: 2024-01-19 16:48:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
8 | <!-- 表单部分 --> | ||
9 | <div class="from-clues-header"> | 8 | <div class="from-clues-header"> |
10 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> | 9 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> |
11 | <el-form-item label="下一环节名称:"> | 10 | <el-form-item label="下一环节名称:"> |
... | @@ -20,20 +19,19 @@ | ... | @@ -20,20 +19,19 @@ |
20 | 此环节为流程最后环节,转出后流程将结束 | 19 | 此环节为流程最后环节,转出后流程将结束 |
21 | </el-form-item> | 20 | </el-form-item> |
22 | </el-form> | 21 | </el-form> |
23 | <div class="invalid-reson">审批意见:</div> | 22 | <div v-if="this.formData.showidea"> |
24 | <el-input | 23 | <div class="invalid-reson">审批意见:</div> |
25 | class="opinion" | 24 | <el-input |
26 | v-model="shyj" | 25 | class="opinion" |
27 | placeholder="请输入审批意见" | 26 | v-model="shyj" |
28 | type="textarea" | 27 | placeholder="请输入审批意见" |
29 | :rows="4"></el-input> | 28 | type="textarea" |
30 | <!-- <el-button | 29 | :rows="4"></el-input> |
31 | class="opinion_btn" | 30 | </div> |
32 | @click="commonOpinion" | 31 | <div style="text-align:center"> |
33 | >常用意见</el-button | 32 | <el-button @click="cancelBack">取消转出</el-button> |
34 | > --> | 33 | <el-button type="primary" @click="submitForm">确定转出</el-button> |
35 | <el-button style="float: right" @click="cancelBack">取消转出</el-button> | 34 | </div> |
36 | <el-button type="primary" @click="submitForm" :loading="loading" style="float: right">确定转出</el-button> | ||
37 | </div> | 35 | </div> |
38 | </div> | 36 | </div> |
39 | </template> | 37 | </template> |
... | @@ -41,69 +39,49 @@ | ... | @@ -41,69 +39,49 @@ |
41 | <script> | 39 | <script> |
42 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; | 40 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; |
43 | import { popupCacel } from "@/utils/popup.js"; | 41 | import { popupCacel } from "@/utils/popup.js"; |
44 | import { mapGetters } from 'vuex' | 42 | import { mapGetters } from "vuex"; |
45 | export default { | 43 | export default { |
46 | components: {}, | ||
47 | |||
48 | props: { | 44 | props: { |
49 | formData: { | 45 | formData: { |
50 | type: Object, | 46 | type: Object, |
51 | default: {}, | 47 | default: {}, |
52 | }, | 48 | }, |
53 | }, | 49 | }, |
54 | computed: { | 50 | |
55 | ...mapGetters(['yjsqOptions']) | ||
56 | }, | ||
57 | data () { | 51 | data () { |
58 | return { | 52 | return { |
59 | loading: false, | ||
60 | queryForm: {}, | 53 | queryForm: {}, |
61 | shyj: "", | 54 | shyj: "", |
62 | }; | 55 | }; |
63 | }, | 56 | }, |
64 | |||
65 | watch: { | ||
66 | // yjsqOptions: { | ||
67 | // handler (val) { | ||
68 | // if(val){ | ||
69 | // this.shyj = val | ||
70 | // } | ||
71 | |||
72 | // }, | ||
73 | // }, | ||
74 | }, | ||
75 | mounted () { | ||
76 | // this.queryForm= this.queryForm.obj | ||
77 | }, | ||
78 | methods: { | 57 | methods: { |
79 | /** | 58 | /** |
80 | * @description: submitForm | 59 | * @description: submitForm |
81 | * @author: renchao | 60 | * @author: renchao |
82 | */ | 61 | */ |
83 | commonOpinion () { | 62 | commonOpinion () { |
84 | this.$popupDialog( | 63 | this.$popup('常用意见', "workflow/components/dialog/commonOpinion", { |
85 | "常用意见", | 64 | title: "常用意见", |
86 | "workflow/components/dialog/commonOpinion", | 65 | width: '75%', // 初始化75% 不需要改的话 可以直接不要 |
87 | {}, | 66 | formData: {}, // 父组件传给子组件的参数 |
88 | "70%", | 67 | cancel: function () { }, //取消事件的回调 没有按钮可以不需要 |
89 | true | 68 | confirm: function () { } //确认事件的回调 没有按钮可以不需要 |
90 | ); | 69 | }) |
91 | }, | 70 | }, |
92 | submitForm () { | 71 | submitForm () { |
93 | this.loading = true | 72 | let that = this |
94 | this.queryForm = { | 73 | this.queryForm = { |
95 | bsmSlsq: this.formData.bsmSlsq, | 74 | bsmSlsq: this.formData.bsmSlsq, |
96 | shyj: this.shyj, | 75 | shyj: this.shyj, |
97 | stepform: JSON.stringify(this.formData.tabList), | 76 | stepform: JSON.stringify(this.formData.tabList), |
98 | }; | 77 | }; |
99 | completeTask(this.queryForm).then((res) => { | 78 | completeTask(this.queryForm).then((res) => { |
100 | this.loading = false | ||
101 | if (res.code === 200) { | 79 | if (res.code === 200) { |
102 | this.$message.success("转件成功"); | ||
103 | popupCacel(); | 80 | popupCacel(); |
81 | that.$message.success("转件成功"); | ||
104 | setTimeout(() => { | 82 | setTimeout(() => { |
105 | window.close(); | 83 | window.close(); |
106 | this.$emit("input", false); | 84 | that.$emit("input", false); |
107 | if (window.opener && window.opener.getBpageList) { | 85 | if (window.opener && window.opener.getBpageList) { |
108 | window.opener.getBpageList(); | 86 | window.opener.getBpageList(); |
109 | } else { | 87 | } else { |
... | @@ -113,11 +91,11 @@ | ... | @@ -113,11 +91,11 @@ |
113 | } else { | 91 | } else { |
114 | this.$message.error(res.message); | 92 | this.$message.error(res.message); |
115 | } | 93 | } |
116 | }).catch(() => { | 94 | }).catch((error) => { |
117 | this.loading = false | 95 | // 可以添加适当的错误处理 |
118 | }) | 96 | this.$message.error("提交任务失败"); |
97 | }); | ||
119 | }, | 98 | }, |
120 | |||
121 | /** | 99 | /** |
122 | * @description: closeDialog | 100 | * @description: closeDialog |
123 | * @author: renchao | 101 | * @author: renchao | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-30 16:29:37 | 4 | * @LastEditTime: 2024-02-06 13:23:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
... | @@ -70,7 +70,6 @@ | ... | @@ -70,7 +70,6 @@ |
70 | ruleForm: { | 70 | ruleForm: { |
71 | bsmBdcqz: '', | 71 | bsmBdcqz: '', |
72 | szmc: '不动产权证书', | 72 | szmc: '不动产权证书', |
73 | bsmBdcqz: '', | ||
74 | szzh: '', | 73 | szzh: '', |
75 | ysxlh: '', | 74 | ysxlh: '', |
76 | }, | 75 | }, |
... | @@ -85,6 +84,7 @@ | ... | @@ -85,6 +84,7 @@ |
85 | //从按钮进入 | 84 | //从按钮进入 |
86 | this.getHeadTabBdcqz(); | 85 | this.getHeadTabBdcqz(); |
87 | } | 86 | } |
87 | |||
88 | }, | 88 | }, |
89 | methods: { | 89 | methods: { |
90 | /** | 90 | /** |
... | @@ -198,7 +198,17 @@ | ... | @@ -198,7 +198,17 @@ |
198 | context.fillStyle = '#000000'; | 198 | context.fillStyle = '#000000'; |
199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
201 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); | 201 | if (getByteLen(this.bdcqz.sxqc) > 14) { |
202 | const originalFont = context.font; | ||
203 | // 设置新的字体大小 | ||
204 | context.font = '14px 楷体'; // 替换为你想要的字体和大小 | ||
205 | // 绘制 bdcdyh | ||
206 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | ||
207 | // 恢复原始字体设置 | ||
208 | context.font = originalFont; | ||
209 | } else { | ||
210 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
211 | } | ||
202 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 212 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
203 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 213 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
204 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | 214 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); |
... | @@ -415,7 +425,6 @@ | ... | @@ -415,7 +425,6 @@ |
415 | } | 425 | } |
416 | return len; | 426 | return len; |
417 | } | 427 | } |
418 | |||
419 | const canvas = this.$refs.zm; | 428 | const canvas = this.$refs.zm; |
420 | const context = canvas.getContext('2d'); | 429 | const context = canvas.getContext('2d'); |
421 | const image = new Image(); | 430 | const image = new Image(); |
... | @@ -434,7 +443,6 @@ | ... | @@ -434,7 +443,6 @@ |
434 | } | 443 | } |
435 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); | 444 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); |
436 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); | 445 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); |
437 | console.log(getByteLen(this.bdcqz.sxqc)); | ||
438 | if (getByteLen(this.bdcqz.sxqc) > 14) { | 446 | if (getByteLen(this.bdcqz.sxqc) > 14) { |
439 | const originalFont = context.font; | 447 | const originalFont = context.font; |
440 | // 设置新的字体大小 | 448 | // 设置新的字体大小 |
... | @@ -452,7 +460,7 @@ | ... | @@ -452,7 +460,7 @@ |
452 | // context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228); | 460 | // context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228); |
453 | // 权利人 | 461 | // 权利人 |
454 | let qlrlines = this.bdcqz.qlr | 462 | let qlrlines = this.bdcqz.qlr |
455 | if (getByteLen(this.bdcqz.qlr) > 36) { | 463 | if (getByteLen(this.bdcqz.qlr) > 32) { |
456 | let currentLine = ''; | 464 | let currentLine = ''; |
457 | let arr = []; | 465 | let arr = []; |
458 | for (let word of qlrlines) { | 466 | for (let word of qlrlines) { |
... | @@ -477,7 +485,7 @@ | ... | @@ -477,7 +485,7 @@ |
477 | // 义务人 | 485 | // 义务人 |
478 | // context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); | 486 | // context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); |
479 | let ywrlines = this.bdcqz.ywr | 487 | let ywrlines = this.bdcqz.ywr |
480 | if (getByteLen(this.bdcqz.ywr) > 36) { | 488 | if (getByteLen(this.bdcqz.ywr) > 32) { |
481 | let currentLine = ''; | 489 | let currentLine = ''; |
482 | let arr = []; | 490 | let arr = []; |
483 | for (let word of ywrlines) { | 491 | for (let word of ywrlines) { |
... | @@ -500,9 +508,8 @@ | ... | @@ -500,9 +508,8 @@ |
500 | } | 508 | } |
501 | 509 | ||
502 | // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); | 510 | // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); |
503 | |||
504 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 511 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; |
505 | if (getByteLen(this.bdcqz.zl) > 37) { | 512 | if (getByteLen(this.bdcqz.zl) > 32) { |
506 | lines2.forEach((line, index) => { | 513 | lines2.forEach((line, index) => { |
507 | const y = 315 + (index * 20); // 每行文本的垂直位置 | 514 | const y = 315 + (index * 20); // 每行文本的垂直位置 |
508 | let currentLine = ''; | 515 | let currentLine = ''; |
... | @@ -557,11 +564,60 @@ | ... | @@ -557,11 +564,60 @@ |
557 | // 恢复原始字体设置 | 564 | // 恢复原始字体设置 |
558 | context.font = originalFont; | 565 | context.font = originalFont; |
559 | // qlqtzk | 566 | // qlqtzk |
567 | function getByteLenBdcdy (val) { | ||
568 | var encoder = new TextEncoder('utf-8'); | ||
569 | return encoder.encode(val).length; | ||
570 | } | ||
560 | const maxWidth = 295; // 最大宽度限制 | 571 | const maxWidth = 295; // 最大宽度限制 |
561 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | 572 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; |
562 | for (let i = 0; i < lines.length; i++) { | 573 | let bdcdyNum = Math.ceil(getByteLenBdcdy(lines[0]) / 43) |
563 | let num = Math.ceil(getByteLen(lines[i]) / 37) | 574 | // 单独处理不动产单元号 |
564 | if (getByteLen(lines[i]) > 37) { | 575 | let linesBdcdy = lines[0] ? lines[0].split(' ') : []; |
576 | if (getByteLenBdcdy(lines[0]) > 43) { | ||
577 | linesBdcdy.forEach((line, index) => { | ||
578 | const y = 412 + (index * 17); // 每行文本的垂直位置 | ||
579 | let currentLine = ''; | ||
580 | let arr = []; | ||
581 | for (let word of line) { | ||
582 | const testLine = currentLine + word; | ||
583 | const lineWidth = context.measureText(testLine).width; | ||
584 | if (lineWidth <= maxWidth) { | ||
585 | currentLine = testLine; | ||
586 | } else { | ||
587 | arr.push(currentLine); | ||
588 | currentLine = word; | ||
589 | } | ||
590 | } | ||
591 | arr.push(currentLine); | ||
592 | arr.forEach((line, index) => { | ||
593 | context.fillText(line, 770, y + (index * 17)); // 调整行高 | ||
594 | }) | ||
595 | }) | ||
596 | } else { | ||
597 | linesBdcdy.forEach((line, index) => { | ||
598 | const y = 418 + (index * 17); // 每行文本的垂直位置 | ||
599 | let currentLine = ''; | ||
600 | let arr = []; | ||
601 | for (let word of line) { | ||
602 | const testLine = currentLine + word; | ||
603 | const lineWidth = context.measureText(testLine).width; | ||
604 | if (lineWidth <= maxWidth) { | ||
605 | currentLine = testLine; | ||
606 | } else { | ||
607 | arr.push(currentLine); | ||
608 | currentLine = word; | ||
609 | } | ||
610 | } | ||
611 | arr.push(currentLine); | ||
612 | arr.forEach((line, index) => { | ||
613 | context.fillText(line, 770, y + (index * 17)); // 调整行高 | ||
614 | }) | ||
615 | }) | ||
616 | } | ||
617 | |||
618 | for (let i = 1; i < lines.length; i++) { | ||
619 | let num = Math.ceil(getByteLen(lines[i]) / 32) | ||
620 | if (getByteLen(lines[i]) > 32) { | ||
565 | let currentLine = ''; | 621 | let currentLine = ''; |
566 | let arr = []; | 622 | let arr = []; |
567 | for (let word of lines[i]) { | 623 | for (let word of lines[i]) { |
... | @@ -577,18 +633,18 @@ | ... | @@ -577,18 +633,18 @@ |
577 | arr.push(currentLine); | 633 | arr.push(currentLine); |
578 | if (i > 0) { | 634 | if (i > 0) { |
579 | arr.forEach((line, index) => { | 635 | arr.forEach((line, index) => { |
580 | context.fillText(line, 770, 438 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 | 636 | context.fillText(line, 770, 408 + (bdcdyNum * 15) + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
581 | }) | 637 | }) |
582 | } else { | 638 | } else { |
583 | arr.forEach((line, index) => { | 639 | arr.forEach((line, index) => { |
584 | context.fillText(line, 770, 438 + (24 * (i - 1)) + (index * 17)); // 调整行高 | 640 | context.fillText(line, 770, 408 + (bdcdyNum * 15) + (24 * (i - 1)) + (index * 17)); // 调整行高 |
585 | }) | 641 | }) |
586 | } | 642 | } |
587 | } else { | 643 | } else { |
588 | if (i > 0) { | 644 | if (i > 0) { |
589 | context.fillText(lines[i] ? lines[i] : '', 770, 447 + 6 * num + (25 * (i - 1))); | 645 | context.fillText(lines[i] ? lines[i] : '', 770, 417 + (bdcdyNum * 15) + 6 * num + (25 * (i - 1))); |
590 | } else { | 646 | } else { |
591 | context.fillText(lines[i] ? lines[i] : '', 770, 447 + (25 * (i - 1))); | 647 | context.fillText(lines[i] ? lines[i] : '', 770, 417 + (bdcdyNum * 15) + (25 * (i - 1))); |
592 | } | 648 | } |
593 | } | 649 | } |
594 | } | 650 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 10:25:51 | 4 | * @LastEditTime: 2024-02-01 16:57:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -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"; |
... | @@ -116,17 +117,14 @@ | ... | @@ -116,17 +117,14 @@ |
116 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 117 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
117 | // 引入左侧菜单 | 118 | // 引入左侧菜单 |
118 | import segmentMenu from "./components/leftmenu/segmentMenu.vue"; | 119 | import segmentMenu from "./components/leftmenu/segmentMenu.vue"; |
119 | // 回执单 | ||
120 | import receipt from "./components/receipt.vue"; | ||
121 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 120 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
122 | import { BatchInit } from "@/api/workflow/cfdjFlow.js"; | 121 | |
123 | export default { | 122 | export default { |
124 | components: { | 123 | components: { |
125 | selectBdc, | 124 | selectBdc, |
126 | NoticeBar, | 125 | NoticeBar, |
127 | ordinaryMenu, | 126 | ordinaryMenu, |
128 | segmentMenu, | 127 | segmentMenu |
129 | receipt, | ||
130 | }, | 128 | }, |
131 | mixins: [WorkFlow, publicFlow], | 129 | mixins: [WorkFlow, publicFlow], |
132 | data () { | 130 | data () { |
... | @@ -175,24 +173,6 @@ | ... | @@ -175,24 +173,6 @@ |
175 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); | 173 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); |
176 | }, | 174 | }, |
177 | methods: { | 175 | methods: { |
178 | openPrint () { | ||
179 | // 获取打印回执数据 | ||
180 | var formdata = new FormData(); | ||
181 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | ||
182 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | ||
183 | formdata.append("djlx", this.currentSelectProps.djlx); | ||
184 | BatchInit(formdata).then((res) => { | ||
185 | if (res.code === 200 && res.result) { | ||
186 | this.Receiptdata = res.result | ||
187 | this.shows = true | ||
188 | setTimeout(() => { | ||
189 | this.prinsss() | ||
190 | }, 100) | ||
191 | } else { | ||
192 | this.$message.error(res.message) | ||
193 | } | ||
194 | }) | ||
195 | }, | ||
196 | prinsss () { | 176 | prinsss () { |
197 | printJS({ | 177 | printJS({ |
198 | printable: "boxaaa", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象 | 178 | printable: "boxaaa", // // 文档来源:pdf或图像的url,html元素的id或json数据的对象 |
... | @@ -235,6 +215,7 @@ | ... | @@ -235,6 +215,7 @@ |
235 | unClaimTask(this.$route.query.bsmSlsq, this.bestepid ? this.bestepid : '') | 215 | unClaimTask(this.$route.query.bsmSlsq, this.bestepid ? this.bestepid : '') |
236 | } | 216 | } |
237 | }, | 217 | }, |
218 | getPrintSlpz() {}, | ||
238 | /** | 219 | /** |
239 | * @description: 申请单元点击事件 | 220 | * @description: 申请单元点击事件 |
240 | * @param {*} index | 221 | * @param {*} index |
... | @@ -290,6 +271,9 @@ | ... | @@ -290,6 +271,9 @@ |
290 | if (p) { | 271 | if (p) { |
291 | this.ableOperation = this.tabList[a.index].ableOperation; | 272 | this.ableOperation = this.tabList[a.index].ableOperation; |
292 | } | 273 | } |
274 | }, | ||
275 | openDialog (item) { | ||
276 | this.$popupDialog('添加不动产单元', "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...item, isworkFrame: true } }, "90%", true) | ||
293 | } | 277 | } |
294 | } | 278 | } |
295 | } | 279 | } | ... | ... |
... | @@ -18,7 +18,6 @@ export default { | ... | @@ -18,7 +18,6 @@ export default { |
18 | */ | 18 | */ |
19 | moreQueryClick () { | 19 | moreQueryClick () { |
20 | this.isSearch = true | 20 | this.isSearch = true |
21 | |||
22 | }, | 21 | }, |
23 | /** | 22 | /** |
24 | * @description: 查询事件 | 23 | * @description: 查询事件 |
... | @@ -80,6 +79,7 @@ export default { | ... | @@ -80,6 +79,7 @@ export default { |
80 | this.queryForm[item.zdm] = '' | 79 | this.queryForm[item.zdm] = '' |
81 | } | 80 | } |
82 | this.searchForm[item.zdm] = '' | 81 | this.searchForm[item.zdm] = '' |
82 | this.queryClick() | ||
83 | }, | 83 | }, |
84 | /** | 84 | /** |
85 | * @description: iterationData | 85 | * @description: iterationData | ... | ... |
... | @@ -10,17 +10,17 @@ | ... | @@ -10,17 +10,17 @@ |
10 | <el-row> | 10 | <el-row> |
11 | <!-- <el-col :span="8"> | 11 | <!-- <el-col :span="8"> |
12 | <el-form-item label="申请业务名称" prop="sqywmc"> | 12 | <el-form-item label="申请业务名称" prop="sqywmc"> |
13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model.trim="ruleForm.sqywmc" clearable placeholder="请输入申请业务名称"></el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> --> | 15 | </el-col> --> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <el-form-item label="权利人" prop="qlrmc"> | 17 | <el-form-item label="权利人" prop="qlrmc"> |
18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> | 18 | <el-input v-model.trim="ruleForm.qlrmc" clearable placeholder="请输入权利人"></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 label="义务人" prop="ywrmc"> | 22 | <el-form-item label="义务人" prop="ywrmc"> |
23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> | 23 | <el-input v-model.trim="ruleForm.ywrmc" clearable placeholder="请输入义务人"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="8" class="btnColRight"> | 26 | <el-col :span="8" class="btnColRight"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-27 17:23:24 | 4 | * @LastEditTime: 2024-02-01 13:34:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -201,7 +201,7 @@ | ... | @@ -201,7 +201,7 @@ |
201 | tableData: { | 201 | tableData: { |
202 | total: 0, | 202 | total: 0, |
203 | columns: datas.columns(), | 203 | columns: datas.columns(), |
204 | data: [], | 204 | data: [] |
205 | }, | 205 | }, |
206 | jumpid: "" | 206 | jumpid: "" |
207 | } | 207 | } |
... | @@ -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 { | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-24 16:15:50 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" | ||
8 | style="overflow-y:scroll;"> | ||
9 | <div class="tableBox"> | ||
10 | <div class="title"> | ||
11 | <span>{{ title }}</span> | ||
12 | </div> | ||
13 | <div class="xxTableBox"> | ||
14 | <table class="xxTable"> | ||
15 | <tr> | ||
16 | <td></td> | ||
17 | <td>变更前</td> | ||
18 | <td>变更后</td> | ||
19 | </tr> | ||
20 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
21 | <td> | ||
22 | {{ item.label }} | ||
23 | </td> | ||
24 | <td | ||
25 | v-for="(row, index) in tableData" | ||
26 | :key="index" | ||
27 | :class="[ | ||
28 | row.qszt == '2' ? 'lishi' : '', | ||
29 | row.qszt == '0' ? 'linshi' : '', | ||
30 | row.qlzt == '4' ? 'linshi' : '', | ||
31 | |||
32 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', | ||
33 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
34 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
35 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | ||
36 | ]"> | ||
37 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> | ||
38 | 有效 | ||
39 | </div> | ||
40 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
41 | 正在补录 | ||
42 | </div> | ||
43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
44 | 正在申请 | ||
45 | </div> | ||
46 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
47 | 正在注销 | ||
48 | </div> | ||
49 | |||
50 | <p v-if="!['djyy','fj'].includes(item.prop)"> | ||
51 | <span v-if="item.prop == 'qszt'"> | ||
52 | {{ getQsztName(row[item.prop]) }} | ||
53 | </span> | ||
54 | <span v-else>{{ row[item.prop] }}</span> | ||
55 | </p> | ||
56 | |||
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top" popper-class="tooltip-width"> | ||
58 | <span class="ellipsis-line"> | ||
59 | {{ row[item.prop] }} | ||
60 | </span> | ||
61 | </el-tooltip> | ||
62 | </td> | ||
63 | </tr> | ||
64 | </table> | ||
65 | </div> | ||
66 | </div> | ||
67 | </div> | ||
68 | </template> | ||
69 | |||
70 | <script> | ||
71 | import { getFdcqLSInfo } from "@/api/djbDetail.js"; | ||
72 | import { datas } from "@/views/registerBook/qlxxFormData.js"; | ||
73 | |||
74 | export default { | ||
75 | data () { | ||
76 | return { | ||
77 | title: "房地产权登记信息(独幢、层、套、间房屋)", | ||
78 | qsztList: datas.columns().qsztList, | ||
79 | checkList: datas.columns().checkList, | ||
80 | //传递参数 | ||
81 | propsParam: this.$attrs, | ||
82 | //列表数据 | ||
83 | tableData: [], | ||
84 | //空列值个数 | ||
85 | emptycolNum: 1, | ||
86 | //列名称对象 | ||
87 | columns: datas.columns().FDCQ2, | ||
88 | tdColumns: datas.columns().JSYDSYQ | ||
89 | |||
90 | }; | ||
91 | }, | ||
92 | created () { | ||
93 | this.loadData(); | ||
94 | }, | ||
95 | mounted () { | ||
96 | this.timeLineHeight = document.documentElement.clientHeight - 210; | ||
97 | window.onresize = () => { | ||
98 | this.timeLineHeight = document.documentElement.clientHeight - 210; | ||
99 | }; | ||
100 | }, | ||
101 | methods: { | ||
102 | /** | ||
103 | * @description: loadData | ||
104 | * @author: renchao | ||
105 | */ | ||
106 | loadData () { | ||
107 | var formdata = new FormData(); | ||
108 | formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); | ||
109 | formdata.append("qllx", this.propsParam.formData.qllx); | ||
110 | formdata.append("isEdit", this.ableOperation); | ||
111 | getFdcqLSInfo(formdata).then((res) => { | ||
112 | if (res.code === 200) { | ||
113 | this.tableData = res.result; | ||
114 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
115 | this.emptycolNum = | ||
116 | datas.columns().emptycolNum - this.tableData.length; | ||
117 | } else { | ||
118 | this.emptycolNum = 0; | ||
119 | } | ||
120 | } | ||
121 | }); | ||
122 | }, | ||
123 | /** | ||
124 | * @description: checkChange | ||
125 | * @author: renchao | ||
126 | */ | ||
127 | checkChange () { | ||
128 | if (this.checkList.length === 0) { | ||
129 | this.tableData = []; | ||
130 | this.emptycolNum = datas.columns().emptycolNum; | ||
131 | } else { | ||
132 | this.loadData(); | ||
133 | } | ||
134 | }, | ||
135 | /** | ||
136 | * @description: getQsztName | ||
137 | * @param {*} code | ||
138 | * @author: renchao | ||
139 | */ | ||
140 | getQsztName (code) { | ||
141 | let name = ""; | ||
142 | for (let item of this.qsztList) { | ||
143 | if (item.value == code) { | ||
144 | name = item.label; | ||
145 | break; | ||
146 | } | ||
147 | } | ||
148 | return name; | ||
149 | }, | ||
150 | }, | ||
151 | }; | ||
152 | </script> | ||
153 | |||
154 | <style lang="scss" scoped> | ||
155 | @import "~@/views/registerBook/qlxxCommon.scss"; | ||
156 | </style> |
src/views/ywbl/slsqxx/fwsyq/slxx.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment