200b9bb8 by 赵千
2 parents a8a5f6ad f806fd45
Showing 135 changed files with 6626 additions and 4933 deletions
1 <!--
2 *
3 *   ┏┓   ┏┓+ +
4 *  ┏┛┻━━━┛┻┓ + +
5 *  ┃       ┃  
6 *  ┃   ━   ┃ ++ + + +
7 * ████━████ ┃+
8 *  ┃       ┃ +
9 *  ┃   ┻   ┃
10 *  ┃       ┃ + +
11 *  ┗━┓   ┏━┛
12 *    ┃   ┃           
13 *    ┃   ┃ + + + +
14 *    ┃   ┃
15 *    ┃   ┃ + 神兽保佑
16 *    ┃   ┃ 代码无bug
17 *    ┃   ┃  +         
18 *    ┃    ┗━━━┓ + +
19 *    ┃        ┣┓
20 *    ┃        ┏┛
21 *    ┗┓┓┏━┳┓┏┛ + + + +
22 *     ┃┫┫ ┃┫┫
23 *     ┗┻┛ ┗┻┛+ + + +
24 *
25 -->
26
27
1 # 安装依赖 28 # 安装依赖
2 npm install 29 npm install
3 # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 30 # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
......
1 { 1 {
2 "TITLE": "不动产登记系统",
2 "SERVERAPI": "/bdcdj" 3 "SERVERAPI": "/bdcdj"
3 } 4 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "TITLE": "不动产登记系统",
2 "SERVERAPI": "/bdcdj" 3 "SERVERAPI": "/bdcdj"
3 } 4 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "TITLE": "不动产登记系统",
2 "SERVERAPI": "service-bdcdj-th" 3 "SERVERAPI": "service-bdcdj-th"
3 } 4 }
...\ 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-05-06 10:24:46 4 * @LastEditTime: 2023-05-16 09:50:40
5 --> 5 -->
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <html> 7 <html>
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
18 </title> 18 </title>
19 </head> 19 </head>
20 <script> 20 <script>
21 window.baseUrl = location.origin || location.protocol + '//' + location.host
22 const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
21 fetch('<%= BASE_URL %>config.json') 23 fetch('<%= BASE_URL %>config.json')
22 .then(response => response.json()) 24 .then(response => response.json())
23 .then(config => { 25 .then(config => {
...@@ -29,9 +31,4 @@ ...@@ -29,9 +31,4 @@
29 <div id="app"></div> 31 <div id="app"></div>
30 </body> 32 </body>
31 33
32 </html>
33 <script>
34 window.baseUrl = location.origin || location.protocol + '//' + location.host
35 window.timeout = 5000
36 window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
37 </script>
...\ No newline at end of file ...\ No newline at end of file
34 </html>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:36:04
5 -->
1 <template> 6 <template>
2 <div id="app"> 7 <div id="app">
3 <router-view /> 8 <router-view />
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-20 09:40:17 4 * @LastEditTime: 2023-05-16 14:04:18
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'))
8 8
9 // 获取不动产权证列表 9 /**
10 * @description: 获取不动产权证列表
11 * @param {*} params
12 * @author: renchao
13 */
10 export function getBdcqzList (params) { 14 export function getBdcqzList (params) {
11 return request({ 15 return request({
12 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList', 16 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList',
...@@ -14,7 +18,11 @@ export function getBdcqzList (params) { ...@@ -14,7 +18,11 @@ export function getBdcqzList (params) {
14 params: params 18 params: params
15 }) 19 })
16 } 20 }
17 // 获取印刷序列号 21 /**
22 * @description: 获取印刷序列号
23 * @param {*} params
24 * @author: renchao
25 */
18 export function readYsxlh (params) { 26 export function readYsxlh (params) {
19 return request({ 27 return request({
20 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh', 28 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh',
...@@ -22,7 +30,11 @@ export function readYsxlh (params) { ...@@ -22,7 +30,11 @@ export function readYsxlh (params) {
22 params: params 30 params: params
23 }) 31 })
24 } 32 }
25 // 缮证 33 /**
34 * @description: 缮证
35 * @param {*} data
36 * @author: renchao
37 */
26 export function certificate (data) { 38 export function certificate (data) {
27 return request({ 39 return request({
28 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate', 40 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate',
...@@ -30,7 +42,11 @@ export function certificate (data) { ...@@ -30,7 +42,11 @@ export function certificate (data) {
30 data 42 data
31 }) 43 })
32 } 44 }
33 // 作废缮证信息 45 /**
46 * @description: 作废缮证信息
47 * @param {*} data
48 * @author: renchao
49 */
34 export function invalidCertificate (data) { 50 export function invalidCertificate (data) {
35 return request({ 51 return request({
36 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate', 52 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate',
...@@ -38,7 +54,11 @@ export function invalidCertificate (data) { ...@@ -38,7 +54,11 @@ export function invalidCertificate (data) {
38 data 54 data
39 }) 55 })
40 } 56 }
41 //根据受理申请标识码获取所有缮证列表 57 /**
58 * @description: 根据受理申请标识码获取所有缮证列表
59 * @param {*} data
60 * @author: renchao
61 */
42 export function getCertificateList (data) { 62 export function getCertificateList (data) {
43 return request({ 63 return request({
44 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', 64 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList',
...@@ -47,7 +67,11 @@ export function getCertificateList (data) { ...@@ -47,7 +67,11 @@ export function getCertificateList (data) {
47 }) 67 })
48 } 68 }
49 69
50 //获取不动产权证对应缮证列表 70 /**
71 * @description: 获取不动产权证对应缮证列表
72 * @param {*} params
73 * @author: renchao
74 */
51 export function getSzRecordList (params) { 75 export function getSzRecordList (params) {
52 return request({ 76 return request({
53 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList', 77 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList',
...@@ -56,7 +80,11 @@ export function getSzRecordList (params) { ...@@ -56,7 +80,11 @@ export function getSzRecordList (params) {
56 }) 80 })
57 } 81 }
58 82
59 //获取未领取的证书信息 83 /**
84 * @description: 获取未领取的证书信息
85 * @param {*} data
86 * @author: renchao
87 */
60 export function getUnclaimedBdcqz (data) { 88 export function getUnclaimedBdcqz (data) {
61 return request({ 89 return request({
62 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz', 90 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz',
...@@ -65,7 +93,11 @@ export function getUnclaimedBdcqz (data) { ...@@ -65,7 +93,11 @@ export function getUnclaimedBdcqz (data) {
65 }) 93 })
66 } 94 }
67 95
68 // 发证 96 /**
97 * @description: 发证
98 * @param {*} data
99 * @author: renchao
100 */
69 export function issueCertificate (data) { 101 export function issueCertificate (data) {
70 return request({ 102 return request({
71 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate', 103 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate',
...@@ -73,7 +105,11 @@ export function issueCertificate (data) { ...@@ -73,7 +105,11 @@ export function issueCertificate (data) {
73 data 105 data
74 }) 106 })
75 } 107 }
76 // 获取受理申请下全部不动产权证 108 /**
109 * @description: 获取受理申请下全部不动产权证
110 * @param {*} params
111 * @author: renchao
112 */
77 export function getSlsqBdcqzList (params) { 113 export function getSlsqBdcqzList (params) {
78 return request({ 114 return request({
79 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList', 115 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList',
...@@ -82,7 +118,11 @@ export function getSlsqBdcqzList (params) { ...@@ -82,7 +118,11 @@ export function getSlsqBdcqzList (params) {
82 }) 118 })
83 } 119 }
84 120
85 // 证书预览 121 /**
122 * @description: 证书预览
123 * @param {*} data
124 * @author: renchao
125 */
86 export function bdcqzPreview (data) { 126 export function bdcqzPreview (data) {
87 return request({ 127 return request({
88 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview', 128 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-06 09:15:02 4 * @LastEditTime: 2023-05-16 14:04:42
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'))
8 8
9 // 材料目录明细初始化 9 /**
10 * @description: 材料目录明细初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function InitClml (data) { 14 export function InitClml (data) {
11 return request({ 15 return request({
12 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml', 16 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml',
...@@ -15,7 +19,11 @@ export function InitClml (data) { ...@@ -15,7 +19,11 @@ export function InitClml (data) {
15 }) 19 })
16 } 20 }
17 21
18 // 材料目录明细移动 22 /**
23 * @description: 材料目录明细移动
24 * @param {*} data
25 * @author: renchao
26 */
19 export function moveClml (data) { 27 export function moveClml (data) {
20 return request({ 28 return request({
21 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml', 29 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml',
...@@ -24,7 +32,11 @@ export function moveClml (data) { ...@@ -24,7 +32,11 @@ export function moveClml (data) {
24 }) 32 })
25 } 33 }
26 34
27 // 材料目录明细保存 35 /**
36 * @description: 材料目录明细保存
37 * @param {*} data
38 * @author: renchao
39 */
28 export function saveClml (data) { 40 export function saveClml (data) {
29 return request({ 41 return request({
30 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml', 42 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml',
...@@ -33,7 +45,11 @@ export function saveClml (data) { ...@@ -33,7 +45,11 @@ export function saveClml (data) {
33 }) 45 })
34 } 46 }
35 47
36 // 材料目录批量删除 48 /**
49 * @description: 材料目录批量删除
50 * @param {*} params
51 * @author: renchao
52 */
37 export function deleteSjClml (params) { 53 export function deleteSjClml (params) {
38 return request({ 54 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml', 55 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml',
...@@ -42,7 +58,11 @@ export function deleteSjClml (params) { ...@@ -42,7 +58,11 @@ export function deleteSjClml (params) {
42 }) 58 })
43 } 59 }
44 60
45 // 上传单个文件 61 /**
62 * @description: 上传单个文件
63 * @param {*} data
64 * @author: renchao
65 */
46 export function uploadSjClmx (data) { 66 export function uploadSjClmx (data) {
47 return request({ 67 return request({
48 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx', 68 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx',
...@@ -51,7 +71,11 @@ export function uploadSjClmx (data) { ...@@ -51,7 +71,11 @@ export function uploadSjClmx (data) {
51 }) 71 })
52 } 72 }
53 73
54 // 删除上传文件 74 /**
75 * @description: 删除上传文件
76 * @param {*} bsmClmx
77 * @author: renchao
78 */
55 export function deleteClmx (bsmClmx) { 79 export function deleteClmx (bsmClmx) {
56 return request({ 80 return request({
57 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx, 81 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx,
...@@ -59,7 +83,11 @@ export function deleteClmx (bsmClmx) { ...@@ -59,7 +83,11 @@ export function deleteClmx (bsmClmx) {
59 }) 83 })
60 } 84 }
61 85
62 // 材料导入 86 /**
87 * @description: 材料导入
88 * @param {*} data
89 * @author: renchao
90 */
63 export function uploadUndo (data) { 91 export function uploadUndo (data) {
64 return request({ 92 return request({
65 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo', 93 url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 13:36:44
5 */
6
1 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
2 export function uploadUrl () { 8 export function uploadUrl () {
3 return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' 9 return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload'
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-06 09:17:56 4 * @LastEditTime: 2023-05-16 14:01:26
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'))
8 // 转出 8 /**
9 * @description: 转出
10 * @param {*} data
11 * @author: renchao
12 */
9 export function completeTask (data) { 13 export function completeTask (data) {
10 return request({ 14 return request({
11 url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask', 15 url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask',
...@@ -13,7 +17,11 @@ export function completeTask (data) { ...@@ -13,7 +17,11 @@ export function completeTask (data) {
13 data 17 data
14 }) 18 })
15 } 19 }
16 // 回退表格数据 20 /**
21 * @description: 回退表格数据
22 * @param {*} params
23 * @author: renchao
24 */
17 export function getTaskBackNode (params) { 25 export function getTaskBackNode (params) {
18 return request({ 26 return request({
19 url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode', 27 url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode',
...@@ -21,7 +29,11 @@ export function getTaskBackNode (params) { ...@@ -21,7 +29,11 @@ export function getTaskBackNode (params) {
21 params: params 29 params: params
22 }) 30 })
23 } 31 }
24 // 退回确认接口 32 /**
33 * @description: 退回确认接口
34 * @param {*} data
35 * @author: renchao
36 */
25 export function sendBackTask (data) { 37 export function sendBackTask (data) {
26 return request({ 38 return request({
27 url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask', 39 url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask',
...@@ -29,7 +41,11 @@ export function sendBackTask (data) { ...@@ -29,7 +41,11 @@ export function sendBackTask (data) {
29 data 41 data
30 }) 42 })
31 } 43 }
32 // 获取左侧列表 44 /**
45 * @description: 获取左侧列表
46 * @param {*} data
47 * @author: renchao
48 */
33 export function leftMenu (data) { 49 export function leftMenu (data) {
34 return request({ 50 return request({
35 url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu', 51 url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu',
...@@ -38,7 +54,11 @@ export function leftMenu (data) { ...@@ -38,7 +54,11 @@ export function leftMenu (data) {
38 }) 54 })
39 } 55 }
40 56
41 // 获取下一环节信息 57 /**
58 * @description: 获取下一环节信息
59 * @param {*} params
60 * @author: renchao
61 */
42 export function getNextLinkInfo (params) { 62 export function getNextLinkInfo (params) {
43 return request({ 63 return request({
44 url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo', 64 url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo',
...@@ -47,7 +67,11 @@ export function getNextLinkInfo (params) { ...@@ -47,7 +67,11 @@ export function getNextLinkInfo (params) {
47 }); 67 });
48 } 68 }
49 69
50 //获取单元对应的环节表单信息 70 /**
71 * @description: 获取单元对应的环节表单信息
72 * @param {*} data
73 * @author: renchao
74 */
51 export function getStepFormInfo (data) { 75 export function getStepFormInfo (data) {
52 return request({ 76 return request({
53 url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo', 77 url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo',
...@@ -55,7 +79,11 @@ export function getStepFormInfo (data) { ...@@ -55,7 +79,11 @@ export function getStepFormInfo (data) {
55 data 79 data
56 }); 80 });
57 } 81 }
58 // 环节扩展信息 82 /**
83 * @description: 环节扩展信息
84 * @param {*} data
85 * @author: renchao
86 */
59 export function stepExpandInfo (data) { 87 export function stepExpandInfo (data) {
60 return request({ 88 return request({
61 url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo', 89 url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo',
...@@ -64,7 +92,11 @@ export function stepExpandInfo (data) { ...@@ -64,7 +92,11 @@ export function stepExpandInfo (data) {
64 }) 92 })
65 } 93 }
66 94
67 // 获取审批意见 95 /**
96 * @description: 获取审批意见
97 * @param {*} data
98 * @author: renchao
99 */
68 export function getSpyjList (data) { 100 export function getSpyjList (data) {
69 return request({ 101 return request({
70 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList', 102 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList',
...@@ -73,7 +105,11 @@ export function getSpyjList (data) { ...@@ -73,7 +105,11 @@ export function getSpyjList (data) {
73 }) 105 })
74 } 106 }
75 107
76 // 保存审批意见 108 /**
109 * @description: 保存审批意见
110 * @param {*} data
111 * @author: renchao
112 */
77 export function saveSpyj (data) { 113 export function saveSpyj (data) {
78 return request({ 114 return request({
79 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj', 115 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj',
...@@ -81,7 +117,11 @@ export function saveSpyj (data) { ...@@ -81,7 +117,11 @@ export function saveSpyj (data) {
81 data 117 data
82 }) 118 })
83 } 119 }
84 // 根据受理申请保存审批意见 120 /**
121 * @description: 根据受理申请保存审批意见
122 * @param {*} data
123 * @author: renchao
124 */
85 export function saveSpyjBySlsq (data) { 125 export function saveSpyjBySlsq (data) {
86 return request({ 126 return request({
87 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq', 127 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq',
...@@ -90,7 +130,11 @@ export function saveSpyjBySlsq (data) { ...@@ -90,7 +130,11 @@ export function saveSpyjBySlsq (data) {
90 }) 130 })
91 } 131 }
92 132
93 // 获取用户常用意见 133 /**
134 * @description: 获取用户常用意见
135 * @param {*} data
136 * @author: renchao
137 */
94 export function getUserCommonOpinion (data) { 138 export function getUserCommonOpinion (data) {
95 return request({ 139 return request({
96 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getUserCommonOpinion', 140 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getUserCommonOpinion',
...@@ -99,7 +143,11 @@ export function getUserCommonOpinion (data) { ...@@ -99,7 +143,11 @@ export function getUserCommonOpinion (data) {
99 }) 143 })
100 } 144 }
101 145
102 // 新增用户常用意见 146 /**
147 * @description: 新增用户常用意见
148 * @param {*} params
149 * @author: renchao
150 */
103 export function addUserCommonOpinion (params) { 151 export function addUserCommonOpinion (params) {
104 return request({ 152 return request({
105 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/addUserCommonOpinion', 153 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/addUserCommonOpinion',
...@@ -108,7 +156,11 @@ export function addUserCommonOpinion (params) { ...@@ -108,7 +156,11 @@ export function addUserCommonOpinion (params) {
108 }) 156 })
109 } 157 }
110 158
111 //删除常用意见 159 /**
160 * @description: 删除常用意见
161 * @param {*} params
162 * @author: renchao
163 */
112 export function delUserCommonOpinion (params) { 164 export function delUserCommonOpinion (params) {
113 return request({ 165 return request({
114 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/delUserCommonOpinion', 166 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/delUserCommonOpinion',
...@@ -117,7 +169,11 @@ export function delUserCommonOpinion (params) { ...@@ -117,7 +169,11 @@ export function delUserCommonOpinion (params) {
117 }) 169 })
118 } 170 }
119 171
120 // 登簿接口 172 /**
173 * @description: 登簿接口
174 * @param {*} data
175 * @author: renchao
176 */
121 export function record (data) { 177 export function record (data) {
122 return request({ 178 return request({
123 url: SERVER.SERVERAPI + '/rest/business/workFlow/record', 179 url: SERVER.SERVERAPI + '/rest/business/workFlow/record',
...@@ -135,7 +191,11 @@ export function stopTask (data) { ...@@ -135,7 +191,11 @@ export function stopTask (data) {
135 }) 191 })
136 } 192 }
137 193
138 // 获取用户任务权限 194 /**
195 * @description: 获取用户任务权限
196 * @param {*} params
197 * @author: renchao
198 */
139 export function judgeUserTaskPermission (params) { 199 export function judgeUserTaskPermission (params) {
140 return request({ 200 return request({
141 url: SERVER.SERVERAPI + '/rest/business/workFlow/judgeUserTaskPermission', 201 url: SERVER.SERVERAPI + '/rest/business/workFlow/judgeUserTaskPermission',
...@@ -144,7 +204,11 @@ export function judgeUserTaskPermission (params) { ...@@ -144,7 +204,11 @@ export function judgeUserTaskPermission (params) {
144 }) 204 })
145 } 205 }
146 206
147 // 获取申请书数据 207 /**
208 * @description: 获取申请书数据
209 * @param {*} data
210 * @author: renchao
211 */
148 export function getPrintApplicationInfo (data) { 212 export function getPrintApplicationInfo (data) {
149 return request({ 213 return request({
150 url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo', 214 url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 15:56:15
5 */
6
1 import request from '@/utils/request' 7 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 9
4 // 新增平台接口 10 /**
11 * @description: 新增平台接口
12 * @param {*} data
13 * @author: renchao
14 */
5 export function addSysInterface (data) { 15 export function addSysInterface (data) {
6 return request({ 16 return request({
7 url: SERVER.SERVERAPI + "/rest/system/ptjk/addSysInterface", 17 url: SERVER.SERVERAPI + "/rest/system/ptjk/addSysInterface",
...@@ -10,7 +20,11 @@ export function addSysInterface (data) { ...@@ -10,7 +20,11 @@ export function addSysInterface (data) {
10 }) 20 })
11 } 21 }
12 22
13 // 编辑平台接口 23 /**
24 * @description: 编辑平台接口
25 * @param {*} data
26 * @author: renchao
27 */
14 export function editSysInterface (data) { 28 export function editSysInterface (data) {
15 return request({ 29 return request({
16 url: SERVER.SERVERAPI + "/rest/system/ptjk/editSysInterface", 30 url: SERVER.SERVERAPI + "/rest/system/ptjk/editSysInterface",
...@@ -18,7 +32,11 @@ export function editSysInterface (data) { ...@@ -18,7 +32,11 @@ export function editSysInterface (data) {
18 data 32 data
19 }) 33 })
20 } 34 }
21 // 接口调取 35 /**
36 * @description: 接口调取
37 * @param {*} data
38 * @author: renchao
39 */
22 export function interfaceRetrieve (data) { 40 export function interfaceRetrieve (data) {
23 return request({ 41 return request({
24 url: SERVER.SERVERAPI + "/rest/system/ptjk/interfaceRetrieve", 42 url: SERVER.SERVERAPI + "/rest/system/ptjk/interfaceRetrieve",
...@@ -27,7 +45,11 @@ export function interfaceRetrieve (data) { ...@@ -27,7 +45,11 @@ export function interfaceRetrieve (data) {
27 }) 45 })
28 } 46 }
29 47
30 // 获取平台接口列表 48 /**
49 * @description: 获取平台接口列表
50 * @param {*} data
51 * @author: renchao
52 */
31 export function getSysInterfaceList (data) { 53 export function getSysInterfaceList (data) {
32 return request({ 54 return request({
33 url: SERVER.SERVERAPI + "/rest/system/ptjk/getSysInterfaceList", 55 url: SERVER.SERVERAPI + "/rest/system/ptjk/getSysInterfaceList",
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-06 09:17:41 4 * @LastEditTime: 2023-05-18 10:53:07
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'))
8 const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' 8 const url = SERVER.SERVERAPI + '/rest/zhcx/lpcx/'
9 /* 9 //
10 楼盘查询 10 /**
11 */ 11 * @description:楼盘查询- 根据条件进行列表查询
12 // 根据条件进行列表查询 12 * @param {*} data
13 * @author: renchao
14 */
13 export function getLpZrz (data) { 15 export function getLpZrz (data) {
14 return request({ 16 return request({
15 url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', 17 url: 'service-lpb/rest/zhcx/lpcx/getLpZrz',
...@@ -18,21 +20,33 @@ export function getLpZrz (data) { ...@@ -18,21 +20,33 @@ export function getLpZrz (data) {
18 }) 20 })
19 } 21 }
20 22
21 // 获取楼盘表 23 /**
24 * @description: 获取楼盘表
25 * @param {*} zrzbsm
26 * @author: renchao
27 */
22 export function getLpb (zrzbsm) { 28 export function getLpb (zrzbsm) {
23 return request({ 29 return request({
24 url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm, 30 url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm,
25 method: 'get' 31 method: 'get'
26 }) 32 })
27 } 33 }
28 // 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据 34 /**
35 * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据
36 * @param {*} zrzbsm
37 * @author: renchao
38 */
29 export function getLpbFwytAndQlxz (zrzbsm) { 39 export function getLpbFwytAndQlxz (zrzbsm) {
30 return request({ 40 return request({
31 url: url + 'getLpbFwytAndQlxz?scyclx=1&zrzbsm=' + zrzbsm, 41 url: url + 'getLpbFwytAndQlxz?scyclx=1&zrzbsm=' + zrzbsm,
32 method: 'get' 42 method: 'get'
33 }) 43 })
34 } 44 }
35 // 获取楼盘表缺失项统计 45 /**
46 * @description: 获取楼盘表缺失项统计
47 * @param {*} zrzbsm
48 * @author: renchao
49 */
36 export function getLpbQsxtj (zrzbsm) { 50 export function getLpbQsxtj (zrzbsm) {
37 return request({ 51 return request({
38 url: url + 'getLpbQsxtj?scyclx=1&zrzbsm=' + zrzbsm, 52 url: url + 'getLpbQsxtj?scyclx=1&zrzbsm=' + zrzbsm,
......
1 /*
2 * @Description: 登记簿详情页
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:11:14
5 */
6
1 import request from '@/utils/request' 7 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 /* 9 /**
4 登记簿详情页 10 * @description: 获取登记封面
5 */ 11 * @param {*} data
6 // 获取登记封面 12 * @author: renchao
13 */
7 export function getDjbfm (data) { 14 export function getDjbfm (data) {
8 return request({ 15 return request({
9 url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbFm', 16 url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbFm',
...@@ -12,7 +19,11 @@ export function getDjbfm (data) { ...@@ -12,7 +19,11 @@ export function getDjbfm (data) {
12 }) 19 })
13 } 20 }
14 21
15 // 获取登记目录 22 /**
23 * @description: 获取登记目录
24 * @param {*} data
25 * @author: renchao
26 */
16 export function getBdcqldjmlByBdcdyid (data) { 27 export function getBdcqldjmlByBdcdyid (data) {
17 return request({ 28 return request({
18 url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqldjmlByBdcdyid', 29 url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqldjmlByBdcdyid',
...@@ -21,7 +32,11 @@ export function getBdcqldjmlByBdcdyid (data) { ...@@ -21,7 +32,11 @@ export function getBdcqldjmlByBdcdyid (data) {
21 }) 32 })
22 } 33 }
23 34
24 // 获取宗地信息 35 /**
36 * @description: 获取宗地信息
37 * @param {*} data
38 * @author: renchao
39 */
25 export function getZdjjxxBybdcdyid (data) { 40 export function getZdjjxxBybdcdyid (data) {
26 return request({ 41 return request({
27 url: SERVER.SERVERAPI + '/rest/djbDetail/getZdjjxxBybdcdyid', 42 url: SERVER.SERVERAPI + '/rest/djbDetail/getZdjjxxBybdcdyid',
...@@ -30,7 +45,11 @@ export function getZdjjxxBybdcdyid (data) { ...@@ -30,7 +45,11 @@ export function getZdjjxxBybdcdyid (data) {
30 }) 45 })
31 } 46 }
32 47
33 // 根据受理单元标识,获取宗地信息 48 /**
49 * @description: 根据受理单元标识,获取宗地信息
50 * @param {*} data
51 * @author: renchao
52 */
34 export function getZdjjxxBySLdy (data) { 53 export function getZdjjxxBySLdy (data) {
35 return request({ 54 return request({
36 url: SERVER.SERVERAPI + '/rest/djbDetail/getZdjjxxBySLdy', 55 url: SERVER.SERVERAPI + '/rest/djbDetail/getZdjjxxBySLdy',
...@@ -39,7 +58,11 @@ export function getZdjjxxBySLdy (data) { ...@@ -39,7 +58,11 @@ export function getZdjjxxBySLdy (data) {
39 }) 58 })
40 } 59 }
41 60
42 // 获取不动产权利及其他事项 61 /**
62 * @description: 获取不动产权利及其他事项
63 * @param {*} data
64 * @author: renchao
65 */
43 export function getBdcqljqtsx (data) { 66 export function getBdcqljqtsx (data) {
44 return request({ 67 return request({
45 url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqljqtsx', 68 url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqljqtsx',
...@@ -48,7 +71,11 @@ export function getBdcqljqtsx (data) { ...@@ -48,7 +71,11 @@ export function getBdcqljqtsx (data) {
48 }) 71 })
49 } 72 }
50 73
51 // 获取建设用地使用权 74 /**
75 * @description: 获取建设用地使用权
76 * @param {*} data
77 * @author: renchao
78 */
52 export function getJsydsyqList (data) { 79 export function getJsydsyqList (data) {
53 return request({ 80 return request({
54 url: SERVER.SERVERAPI + '/rest/djbDetail/getJsydsyqList', 81 url: SERVER.SERVERAPI + '/rest/djbDetail/getJsydsyqList',
...@@ -57,7 +84,11 @@ export function getJsydsyqList (data) { ...@@ -57,7 +84,11 @@ export function getJsydsyqList (data) {
57 }) 84 })
58 } 85 }
59 86
60 // 获取房屋独幢信息集合 87 /**
88 * @description: 获取房屋独幢信息集合
89 * @param {*} data
90 * @author: renchao
91 */
61 export function getFdcq2List (data) { 92 export function getFdcq2List (data) {
62 return request({ 93 return request({
63 url: SERVER.SERVERAPI + '/rest/djbDetail/getFdcq2List', 94 url: SERVER.SERVERAPI + '/rest/djbDetail/getFdcq2List',
...@@ -66,7 +97,11 @@ export function getFdcq2List (data) { ...@@ -66,7 +97,11 @@ export function getFdcq2List (data) {
66 }) 97 })
67 } 98 }
68 99
69 // 获取抵押权 100 /**
101 * @description: 获取抵押权
102 * @param {*} data
103 * @author: renchao
104 */
70 export function getDiyaqList (data) { 105 export function getDiyaqList (data) {
71 return request({ 106 return request({
72 url: SERVER.SERVERAPI + '/rest/djbDetail/getDiyaqList', 107 url: SERVER.SERVERAPI + '/rest/djbDetail/getDiyaqList',
...@@ -74,7 +109,11 @@ export function getDiyaqList (data) { ...@@ -74,7 +109,11 @@ export function getDiyaqList (data) {
74 data 109 data
75 }) 110 })
76 } 111 }
77 // 获取地役权 112 /**
113 * @description: 获取地役权
114 * @param {*} data
115 * @author: renchao
116 */
78 export function getDiyiqList (data) { 117 export function getDiyiqList (data) {
79 return request({ 118 return request({
80 url: SERVER.SERVERAPI + '/rest/djbDetail/getDiyiqList', 119 url: SERVER.SERVERAPI + '/rest/djbDetail/getDiyiqList',
...@@ -82,7 +121,11 @@ export function getDiyiqList (data) { ...@@ -82,7 +121,11 @@ export function getDiyiqList (data) {
82 data 121 data
83 }) 122 })
84 } 123 }
85 // 获取预告登记 124 /**
125 * @description: 获取预告登记
126 * @param {*} data
127 * @author: renchao
128 */
86 export function getYgdjList (data) { 129 export function getYgdjList (data) {
87 return request({ 130 return request({
88 url: SERVER.SERVERAPI + '/rest/djbDetail/getYgdjList', 131 url: SERVER.SERVERAPI + '/rest/djbDetail/getYgdjList',
...@@ -90,7 +133,11 @@ export function getYgdjList (data) { ...@@ -90,7 +133,11 @@ export function getYgdjList (data) {
90 data 133 data
91 }) 134 })
92 } 135 }
93 // 获取异议登记 136 /**
137 * @description: 获取异议登记
138 * @param {*} data
139 * @author: renchao
140 */
94 export function getYydjList (data) { 141 export function getYydjList (data) {
95 return request({ 142 return request({
96 url: SERVER.SERVERAPI + '/rest/djbDetail/getYydjList', 143 url: SERVER.SERVERAPI + '/rest/djbDetail/getYydjList',
...@@ -98,7 +145,11 @@ export function getYydjList (data) { ...@@ -98,7 +145,11 @@ export function getYydjList (data) {
98 data 145 data
99 }) 146 })
100 } 147 }
101 // 获取查封登记 148 /**
149 * @description: 获取查封登记
150 * @param {*} data
151 * @author: renchao
152 */
102 export function getCfdjList (data) { 153 export function getCfdjList (data) {
103 return request({ 154 return request({
104 url: SERVER.SERVERAPI + '/rest/djbDetail/getCfdjList', 155 url: SERVER.SERVERAPI + '/rest/djbDetail/getCfdjList',
...@@ -106,7 +157,11 @@ export function getCfdjList (data) { ...@@ -106,7 +157,11 @@ export function getCfdjList (data) {
106 data 157 data
107 }) 158 })
108 } 159 }
109 // 获取数据比对集合 160 /**
161 * @description: 获取数据比对集合
162 * @param {*} data
163 * @author: renchao
164 */
110 export function getFdcqLSInfo (data) { 165 export function getFdcqLSInfo (data) {
111 return request({ 166 return request({
112 url: SERVER.SERVERAPI + '/rest/djbDetail/getFdcqLSInfo', 167 url: SERVER.SERVERAPI + '/rest/djbDetail/getFdcqLSInfo',
...@@ -114,7 +169,11 @@ export function getFdcqLSInfo (data) { ...@@ -114,7 +169,11 @@ export function getFdcqLSInfo (data) {
114 data 169 data
115 }) 170 })
116 } 171 }
117 // 获取土地经营权、农用地使用权 172 /**
173 * @description: 获取土地经营权、农用地使用权
174 * @param {*} data
175 * @author: renchao
176 */
118 export function getNydsyqList (data) { 177 export function getNydsyqList (data) {
119 return request({ 178 return request({
120 url: SERVER.SERVERAPI + '/rest/djbDetail/getNydsyqList', 179 url: SERVER.SERVERAPI + '/rest/djbDetail/getNydsyqList',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 13:49:57
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8 /**
4 9 * @description: 获取自然幢下其他户
5 // 获取自然幢下其他户 10 * @param {*} data
11 * @author: renchao
12 */
6 export function selectOtherH (data) { 13 export function selectOtherH (data) {
7 return request({ 14 return request({
8 url: 'ywbl/ywsq/selectOtherH', 15 url: 'ywbl/ywsq/selectOtherH',
...@@ -10,9 +17,11 @@ export function selectOtherH (data) { ...@@ -10,9 +17,11 @@ export function selectOtherH (data) {
10 data 17 data
11 }) 18 })
12 } 19 }
13 /* 20 /**
14 业务办理-选择抵押权信息-根据条件进行列表查询 21 * @description: 业务办理-选择抵押权信息-根据条件进行列表查询
15 */ 22 * @param {*} data
23 * @author: renchao
24 */
16 export function selectDiyaq (data) { 25 export function selectDiyaq (data) {
17 return request({ 26 return request({
18 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', 27 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
...@@ -20,9 +29,11 @@ export function selectDiyaq (data) { ...@@ -20,9 +29,11 @@ export function selectDiyaq (data) {
20 data 29 data
21 }) 30 })
22 } 31 }
23 /* 32 /**
24 业务办理-选择查封信息-根据条件进行列表查询 33 * @description: 业务办理-选择查封信息-根据条件进行列表查询
25 */ 34 * @param {*} data
35 * @author: renchao
36 */
26 export function selectCfdj (data) { 37 export function selectCfdj (data) {
27 return request({ 38 return request({
28 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj', 39 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
...@@ -31,16 +42,22 @@ export function selectCfdj (data) { ...@@ -31,16 +42,22 @@ export function selectCfdj (data) {
31 }) 42 })
32 } 43 }
33 44
34 /* 45 /**
35 业务办理-业务申请-添加收藏业务 46 * @description: 业务办理-业务申请-添加收藏业务
36 */ 47 * @param {*} bsmSqyw
48 * @author: renchao
49 */
37 export function deleteCollectBiz (bsmSqyw) { 50 export function deleteCollectBiz (bsmSqyw) {
38 return request({ 51 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, 52 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
40 method: 'post' 53 method: 'post'
41 }) 54 })
42 } 55 }
43 // 国有建设用地使用权/房屋使用权 -选择不动产单元 56 /**
57 * @description: 国有建设用地使用权/房屋使用权 -选择不动产单元
58 * @param {*} data
59 * @author: renchao
60 */
44 export function choiceBdcdy (data) { 61 export function choiceBdcdy (data) {
45 return request({ 62 return request({
46 url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy', 63 url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:05:25
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 // 获取申请查询列表 8 /**
9 * @description: 获取申请查询列表
10 * @param {*} data
11 * @author: renchao
12 */
4 export function getSqcxPage (data) { 13 export function getSqcxPage (data) {
5 return request({ 14 return request({
6 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage', 15 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage',
...@@ -9,7 +18,11 @@ export function getSqcxPage (data) { ...@@ -9,7 +18,11 @@ export function getSqcxPage (data) {
9 }) 18 })
10 } 19 }
11 20
12 // 新增申请查询家庭房产信息 21 /**
22 * @description: 新增申请查询家庭房产信息
23 * @param {*} data
24 * @author: renchao
25 */
13 export function addJtfcCxjgXx (data) { 26 export function addJtfcCxjgXx (data) {
14 return request({ 27 return request({
15 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', 28 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx',
...@@ -18,7 +31,11 @@ export function addJtfcCxjgXx (data) { ...@@ -18,7 +31,11 @@ export function addJtfcCxjgXx (data) {
18 }) 31 })
19 } 32 }
20 33
21 // 新增申请查询房屋明细信息 34 /**
35 * @description: 新增申请查询房屋明细信息
36 * @param {*} data
37 * @author: renchao
38 */
22 export function addFwmxCxjgXx (data) { 39 export function addFwmxCxjgXx (data) {
23 return request({ 40 return request({
24 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx', 41 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx',
...@@ -27,7 +44,11 @@ export function addFwmxCxjgXx (data) { ...@@ -27,7 +44,11 @@ export function addFwmxCxjgXx (data) {
27 }) 44 })
28 } 45 }
29 46
30 // 获取申请查询记录详细信息 47 /**
48 * @description: 获取申请查询记录详细信息
49 * @param {*} params
50 * @author: renchao
51 */
31 export function getJtfcInfo (params) { 52 export function getJtfcInfo (params) {
32 return request({ 53 return request({
33 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/', 54 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/',
...@@ -36,7 +57,11 @@ export function getJtfcInfo (params) { ...@@ -36,7 +57,11 @@ export function getJtfcInfo (params) {
36 }) 57 })
37 } 58 }
38 59
39 // 获取房屋明细记录详细信息 60 /**
61 * @description: 获取房屋明细记录详细信息
62 * @param {*} params
63 * @author: renchao
64 */
40 export function getFwmxInfo (params) { 65 export function getFwmxInfo (params) {
41 return request({ 66 return request({
42 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/', 67 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/',
...@@ -45,7 +70,11 @@ export function getFwmxInfo (params) { ...@@ -45,7 +70,11 @@ export function getFwmxInfo (params) {
45 }) 70 })
46 } 71 }
47 72
48 // 打印家庭房产 73 /**
74 * @description: 打印家庭房产
75 * @param {*} data
76 * @author: renchao
77 */
49 export function printJtcfInfo (data) { 78 export function printJtcfInfo (data) {
50 return request({ 79 return request({
51 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/printJtcfInfo/', 80 url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/printJtcfInfo/',
......
1 /*
2 * @Description: 系统管理
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 16:02:32
5 */
6
1 import request from '@/utils/request' 7 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 9
4 // 上传单个文件 10 /**
11 * @description: 上传单个文件
12 * @param {*} data
13 * @author: renchao
14 */
5 export function upload (data) { 15 export function upload (data) {
6 return request({ 16 return request({
7 url: SERVER.SERVERAPI + '/rest/file/upload', 17 url: SERVER.SERVERAPI + '/rest/file/upload',
...@@ -10,10 +20,11 @@ export function upload (data) { ...@@ -10,10 +20,11 @@ export function upload (data) {
10 }) 20 })
11 } 21 }
12 22
13 /* 23 /**
14 系统管理 24 * @description: 申请业务规则API-根据条件进行列表查询
15 申请业务规则API-根据条件进行列表查询 25 * @param {*} data
16 */ 26 * @author: renchao
27 */
17 export function getSysSqdjywBysearch (data) { 28 export function getSysSqdjywBysearch (data) {
18 return request({ 29 return request({
19 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch', 30 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch',
...@@ -21,9 +32,12 @@ export function getSysSqdjywBysearch (data) { ...@@ -21,9 +32,12 @@ export function getSysSqdjywBysearch (data) {
21 data 32 data
22 }) 33 })
23 } 34 }
24 /* 35
25 获取登记类型信息-申请业务规则 36 /**
26 */ 37 * @description: 获取登记类型信息-申请业务规则
38 * @param {*} id
39 * @author: renchao
40 */
27 export function getDjlxInfo (id) { 41 export function getDjlxInfo (id) {
28 return request({ 42 return request({
29 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id, 43 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id,
...@@ -31,9 +45,11 @@ export function getDjlxInfo (id) { ...@@ -31,9 +45,11 @@ export function getDjlxInfo (id) {
31 }) 45 })
32 } 46 }
33 47
34 /* 48 /**
35 获取登记类型信息-申请业务规则 49 * @description: 获取登记类型信息-申请业务规则
36 */ 50 * @param {*} id
51 * @author: renchao
52 */
37 export function getQllxByBsmSqyw (id) { 53 export function getQllxByBsmSqyw (id) {
38 return request({ 54 return request({
39 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id, 55 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id,
...@@ -41,18 +57,23 @@ export function getQllxByBsmSqyw (id) { ...@@ -41,18 +57,23 @@ export function getQllxByBsmSqyw (id) {
41 }) 57 })
42 } 58 }
43 59
44 /* 60
45 读取申请登记业务信息-申请业务规则 61 /**
46 */ 62 * @description: 读取申请登记业务信息-申请业务规则
63 * @param {*} bsmSqyw
64 * @author: renchao
65 */
47 export function getSqdjywDetail (bsmSqyw) { 66 export function getSqdjywDetail (bsmSqyw) {
48 return request({ 67 return request({
49 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw, 68 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw,
50 method: 'get' 69 method: 'get'
51 }) 70 })
52 } 71 }
53 /* 72 /**
54 保存登记业务信息-申请业务规则 73 * @description: 保存登记业务信息-申请业务规则
55 */ 74 * @param {*} data
75 * @author: renchao
76 */
56 export function saveSqdjyw (data) { 77 export function saveSqdjyw (data) {
57 return request({ 78 return request({
58 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw', 79 url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw',
...@@ -61,9 +82,12 @@ export function saveSqdjyw (data) { ...@@ -61,9 +82,12 @@ export function saveSqdjyw (data) {
61 }) 82 })
62 } 83 }
63 84
64 /* 85
65 其他及附记模板-列表详情 86 /**
66 */ 87 * @description: 其他及附记模板-列表详情
88 * @param {*} data
89 * @author: renchao
90 */
67 export function sysSqywmbszSearch (data) { 91 export function sysSqywmbszSearch (data) {
68 return request({ 92 return request({
69 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search', 93 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search',
...@@ -71,18 +95,23 @@ export function sysSqywmbszSearch (data) { ...@@ -71,18 +95,23 @@ export function sysSqywmbszSearch (data) {
71 data 95 data
72 }) 96 })
73 } 97 }
74 /* 98
75 其他及附记模板-读取明细 99 /**
76 */ 100 * @description: 其他及附记模板-读取明细
101 * @param {*} id
102 * @author: renchao
103 */
77 export function getSysSqywmbszDetailById (id) { 104 export function getSysSqywmbszDetailById (id) {
78 return request({ 105 return request({
79 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id, 106 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id,
80 method: 'get' 107 method: 'get'
81 }) 108 })
82 } 109 }
83 /* 110 /**
84 其他及附记模板-修改申请业务模板设置 111 * @description: 其他及附记模板-修改申请业务模板设置
85 */ 112 * @param {*} data
113 * @author: renchao
114 */
86 export function updateSysSqywmbsz (data) { 115 export function updateSysSqywmbsz (data) {
87 return request({ 116 return request({
88 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz', 117 url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz',
...@@ -91,8 +120,11 @@ export function updateSysSqywmbsz (data) { ...@@ -91,8 +120,11 @@ export function updateSysSqywmbsz (data) {
91 }) 120 })
92 } 121 }
93 122
94 // 通知 123 /**
95 // 新增系统通知 124 * @description: 新增系统通知
125 * @param {*} data
126 * @author: renchao
127 */
96 export function addSysNotice (data) { 128 export function addSysNotice (data) {
97 return request({ 129 return request({
98 url: SERVER.SERVERAPI + '/rest/system/sysNotice/addSysNotice', 130 url: SERVER.SERVERAPI + '/rest/system/sysNotice/addSysNotice',
...@@ -101,7 +133,11 @@ export function addSysNotice (data) { ...@@ -101,7 +133,11 @@ export function addSysNotice (data) {
101 }) 133 })
102 } 134 }
103 135
104 //编辑系统通知 136 /**
137 * @description: 编辑系统通知
138 * @param {*} data
139 * @author: renchao
140 */
105 export function updateSysNotice (data) { 141 export function updateSysNotice (data) {
106 return request({ 142 return request({
107 url: SERVER.SERVERAPI + '/rest/system/sysNotice/updateSysNotice', 143 url: SERVER.SERVERAPI + '/rest/system/sysNotice/updateSysNotice',
...@@ -111,6 +147,11 @@ export function updateSysNotice (data) { ...@@ -111,6 +147,11 @@ export function updateSysNotice (data) {
111 } 147 }
112 148
113 // 获取通知列表 149 // 获取通知列表
150 /**
151 * @description:
152 * @param {*} data
153 * @author: renchao
154 */
114 export function getSysNoticeList (data) { 155 export function getSysNoticeList (data) {
115 return request({ 156 return request({
116 url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysNoticeList', 157 url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysNoticeList',
...@@ -119,7 +160,11 @@ export function getSysNoticeList (data) { ...@@ -119,7 +160,11 @@ export function getSysNoticeList (data) {
119 }) 160 })
120 } 161 }
121 162
122 //获取法律法规列表 163 /**
164 * @description: 获取法律法规列表
165 * @param {*} data
166 * @author: renchao
167 */
123 export function getSysPolicyList (data) { 168 export function getSysPolicyList (data) {
124 return request({ 169 return request({
125 url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysPolicyList', 170 url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysPolicyList',
...@@ -128,7 +173,11 @@ export function getSysPolicyList (data) { ...@@ -128,7 +173,11 @@ export function getSysPolicyList (data) {
128 }) 173 })
129 } 174 }
130 175
131 //删除系统通知 176 /**
177 * @description: 删除系统通知
178 * @param {*} params
179 * @author: renchao
180 */
132 export function deleteSysNotice (params) { 181 export function deleteSysNotice (params) {
133 return request({ 182 return request({
134 url: SERVER.SERVERAPI + '/rest/system/sysNotice/deleteSysNotice', 183 url: SERVER.SERVERAPI + '/rest/system/sysNotice/deleteSysNotice',
...@@ -137,7 +186,11 @@ export function deleteSysNotice (params) { ...@@ -137,7 +186,11 @@ export function deleteSysNotice (params) {
137 }) 186 })
138 } 187 }
139 188
140 //发布通知 189 /**
190 * @description: 发布通知
191 * @param {*} params
192 * @author: renchao
193 */
141 export function publishNotice (params) { 194 export function publishNotice (params) {
142 return request({ 195 return request({
143 url: SERVER.SERVERAPI + '/rest/system/sysNotice/publishNotice', 196 url: SERVER.SERVERAPI + '/rest/system/sysNotice/publishNotice',
...@@ -146,7 +199,11 @@ export function publishNotice (params) { ...@@ -146,7 +199,11 @@ export function publishNotice (params) {
146 }) 199 })
147 } 200 }
148 201
149 //取消发布通知 202 /**
203 * @description: 取消发布通知
204 * @param {*} params
205 * @author: renchao
206 */
150 export function unPublishNotice (params) { 207 export function unPublishNotice (params) {
151 return request({ 208 return request({
152 url: SERVER.SERVERAPI + '/rest/system/sysNotice/unPublishNotice', 209 url: SERVER.SERVERAPI + '/rest/system/sysNotice/unPublishNotice',
...@@ -155,7 +212,11 @@ export function unPublishNotice (params) { ...@@ -155,7 +212,11 @@ export function unPublishNotice (params) {
155 }) 212 })
156 } 213 }
157 214
158 //设置已读状态 215 /**
216 * @description: 设置已读状态
217 * @param {*} params
218 * @author: renchao
219 */
159 export function setReadStatus (params) { 220 export function setReadStatus (params) {
160 return request({ 221 return request({
161 url: SERVER.SERVERAPI + '/rest/system/sysNotice/setReadStatus', 222 url: SERVER.SERVERAPI + '/rest/system/sysNotice/setReadStatus',
...@@ -164,7 +225,10 @@ export function setReadStatus (params) { ...@@ -164,7 +225,10 @@ export function setReadStatus (params) {
164 }) 225 })
165 } 226 }
166 227
167 //一键设置已读 228 /**
229 * @description: 一键设置已读
230 * @author: renchao
231 */
168 export function setAllRead () { 232 export function setAllRead () {
169 return request({ 233 return request({
170 url: SERVER.SERVERAPI + '/rest/system/sysNotice/setAllRead', 234 url: SERVER.SERVERAPI + '/rest/system/sysNotice/setAllRead',
...@@ -172,7 +236,11 @@ export function setAllRead () { ...@@ -172,7 +236,11 @@ export function setAllRead () {
172 }) 236 })
173 } 237 }
174 238
175 //获取打印模板列表 239 /**
240 * @description: 获取打印模板列表
241 * @param {*} data
242 * @author: renchao
243 */
176 export function selectPrintTemplateList (data) { 244 export function selectPrintTemplateList (data) {
177 return request({ 245 return request({
178 url: SERVER.SERVERAPI + '/rest/system/print/selectPrintTemplateList', 246 url: SERVER.SERVERAPI + '/rest/system/print/selectPrintTemplateList',
...@@ -181,7 +249,11 @@ export function selectPrintTemplateList (data) { ...@@ -181,7 +249,11 @@ export function selectPrintTemplateList (data) {
181 }) 249 })
182 } 250 }
183 251
184 //新增打印模板列表 252 /**
253 * @description: 新增打印模板列表
254 * @param {*} data
255 * @author: renchao
256 */
185 export function addPrintTemplate (data) { 257 export function addPrintTemplate (data) {
186 return request({ 258 return request({
187 url: SERVER.SERVERAPI + '/rest/system/print/addPrintTemplate', 259 url: SERVER.SERVERAPI + '/rest/system/print/addPrintTemplate',
...@@ -190,7 +262,11 @@ export function addPrintTemplate (data) { ...@@ -190,7 +262,11 @@ export function addPrintTemplate (data) {
190 }) 262 })
191 } 263 }
192 264
193 //编辑打印模板列表 265 /**
266 * @description: 编辑打印模板列表
267 * @param {*} data
268 * @author: renchao
269 */
194 export function editPrintTemplate (data) { 270 export function editPrintTemplate (data) {
195 return request({ 271 return request({
196 url: SERVER.SERVERAPI + '/rest/system/print/editPrintTemplate', 272 url: SERVER.SERVERAPI + '/rest/system/print/editPrintTemplate',
...@@ -199,7 +275,11 @@ export function editPrintTemplate (data) { ...@@ -199,7 +275,11 @@ export function editPrintTemplate (data) {
199 }) 275 })
200 } 276 }
201 277
202 //删除打印模板列表 278 /**
279 * @description: 删除打印模板列表
280 * @param {*} params
281 * @author: renchao
282 */
203 export function delPrintTemplate (params) { 283 export function delPrintTemplate (params) {
204 return request({ 284 return request({
205 url: SERVER.SERVERAPI + '/rest/system/print/delPrintTemplate', 285 url: SERVER.SERVERAPI + '/rest/system/print/delPrintTemplate',
...@@ -208,7 +288,11 @@ export function delPrintTemplate (params) { ...@@ -208,7 +288,11 @@ export function delPrintTemplate (params) {
208 }) 288 })
209 } 289 }
210 290
211 //根据模板编号获取打印模板 291 /**
292 * @description: 根据模板编号获取打印模板
293 * @param {*} params
294 * @author: renchao
295 */
212 export function getPrintTemplateByCode (params) { 296 export function getPrintTemplateByCode (params) {
213 return request({ 297 return request({
214 url: SERVER.SERVERAPI + '/rest/system/print/getPrintTemplateByCode', 298 url: SERVER.SERVERAPI + '/rest/system/print/getPrintTemplateByCode',
......
1 /*
2 * @Description: 用户首页
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 16:06:51
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 // 用户首页 8 /**
4 // 获取首页通知公告列表 9 * @description: 获取首页通知公告列表
10 * @author: renchao
11 */
5 export function getHomeNoticeList () { 12 export function getHomeNoticeList () {
6 return request({ 13 return request({
7 url: SERVER.SERVERAPI + '/rest/workBench/getHomeNoticeList', 14 url: SERVER.SERVERAPI + '/rest/workBench/getHomeNoticeList',
8 method: 'get' 15 method: 'get'
9 }) 16 })
10 } 17 }
11 18 /**
19 * @description:
20 * @author: renchao
21 */
12 // 获取首页待办事项 22 // 获取首页待办事项
13 export function getHomeTodoList () { 23 export function getHomeTodoList () {
14 return request({ 24 return request({
...@@ -17,7 +27,10 @@ export function getHomeTodoList () { ...@@ -17,7 +27,10 @@ export function getHomeTodoList () {
17 }) 27 })
18 } 28 }
19 29
20 //获取首页已办事项 30 /**
31 * @description: 获取首页已办事项
32 * @author: renchao
33 */
21 export function getHomeDoneList () { 34 export function getHomeDoneList () {
22 return request({ 35 return request({
23 url: SERVER.SERVERAPI + '/rest/workBench/getHomeDoneList', 36 url: SERVER.SERVERAPI + '/rest/workBench/getHomeDoneList',
...@@ -25,7 +38,10 @@ export function getHomeDoneList () { ...@@ -25,7 +38,10 @@ export function getHomeDoneList () {
25 }) 38 })
26 } 39 }
27 40
28 //获取首页常办项目 41 /**
42 * @description: 获取首页常办项目
43 * @author: renchao
44 */
29 export function getHomeFrequentProjects () { 45 export function getHomeFrequentProjects () {
30 return request({ 46 return request({
31 url: SERVER.SERVERAPI + '/rest/workBench/getHomeFrequentProjects', 47 url: SERVER.SERVERAPI + '/rest/workBench/getHomeFrequentProjects',
...@@ -33,7 +49,11 @@ export function getHomeFrequentProjects () { ...@@ -33,7 +49,11 @@ export function getHomeFrequentProjects () {
33 }) 49 })
34 } 50 }
35 51
36 //保存常办项目 52 /**
53 * @description: 保存常办项目
54 * @param {*} data
55 * @author: renchao
56 */
37 export function saveFrequentProjectsList (data) { 57 export function saveFrequentProjectsList (data) {
38 return request({ 58 return request({
39 url: SERVER.SERVERAPI + '/rest/workBench/saveFrequentProjectsList', 59 url: SERVER.SERVERAPI + '/rest/workBench/saveFrequentProjectsList',
...@@ -43,7 +63,10 @@ export function saveFrequentProjectsList (data) { ...@@ -43,7 +63,10 @@ export function saveFrequentProjectsList (data) {
43 } 63 }
44 64
45 65
46 // 获取用户信息 66 /**
67 * @description: 获取用户信息
68 * @author: renchao
69 */
47 export function getUserInfo () { 70 export function getUserInfo () {
48 return request({ 71 return request({
49 url: SERVER.SERVERAPI + '/rest/user/getUserInfo', 72 url: SERVER.SERVERAPI + '/rest/user/getUserInfo',
...@@ -51,16 +74,21 @@ export function getUserInfo () { ...@@ -51,16 +74,21 @@ export function getUserInfo () {
51 }) 74 })
52 } 75 }
53 76
54 // 获取菜单信息 77 /**
78 * @description: 获取菜单信息
79 * @author: renchao
80 */
55 export function getMenuInfo () { 81 export function getMenuInfo () {
56 return request({ 82 return request({
57 url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus', 83 url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus',
58 method: 'get', 84 method: 'get',
59 }) 85 })
60 } 86 }
61 /* 87
62 获取全部字典数据 88 /**
63 */ 89 * @description: 获取全部字典数据
90 * @author: renchao
91 */
64 export function getAllDict () { 92 export function getAllDict () {
65 return request({ 93 return request({
66 url: SERVER.SERVERAPI + '/rest/sys/dict/getAllDict', 94 url: SERVER.SERVERAPI + '/rest/sys/dict/getAllDict',
...@@ -74,9 +102,12 @@ export function getQlxxDictList (data) { ...@@ -74,9 +102,12 @@ export function getQlxxDictList (data) {
74 data 102 data
75 }) 103 })
76 } 104 }
77 /* 105
78 获取字典子级列表 106 /**
79 */ 107 * @description: 获取字典子级列表
108 * @param {*} bsmDict
109 * @author: renchao
110 */
80 export function getChildDictList (bsmDict) { 111 export function getChildDictList (bsmDict) {
81 return request({ 112 return request({
82 url: SERVER.SERVERAPI + '/rest/sys/dict/getChildDictList', 113 url: SERVER.SERVERAPI + '/rest/sys/dict/getChildDictList',
...@@ -86,9 +117,12 @@ export function getChildDictList (bsmDict) { ...@@ -86,9 +117,12 @@ export function getChildDictList (bsmDict) {
86 } 117 }
87 }) 118 })
88 } 119 }
89 /* 120
90 编辑字典数据 121 /**
91 */ 122 * @description: 编辑字典数据
123 * @param {*} data
124 * @author: renchao
125 */
92 export function editDictNode (data) { 126 export function editDictNode (data) {
93 return request({ 127 return request({
94 url: SERVER.SERVERAPI + '/rest/sys/dict/editDictNode', 128 url: SERVER.SERVERAPI + '/rest/sys/dict/editDictNode',
...@@ -97,9 +131,11 @@ export function editDictNode (data) { ...@@ -97,9 +131,11 @@ export function editDictNode (data) {
97 }) 131 })
98 } 132 }
99 133
100 /* 134
101 刷新字典缓存 135 /**
102 */ 136 * @description: 刷新字典缓存
137 * @author: renchao
138 */
103 export function refreshDictCache () { 139 export function refreshDictCache () {
104 return request({ 140 return request({
105 url: SERVER.SERVERAPI + '/rest/sys/dict/refreshDictCache', 141 url: SERVER.SERVERAPI + '/rest/sys/dict/refreshDictCache',
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-20 09:39:44 4 * @LastEditTime: 2023-05-17 10:25:58
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'))
8 8
9 //批量初始化 9 /**
10 * @description: 批量初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function BatchInit (data) { 14 export function BatchInit (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
...@@ -27,7 +31,11 @@ export function BatchInit (data) { ...@@ -27,7 +31,11 @@ export function BatchInit (data) {
27 }) 31 })
28 } 32 }
29 33
30 // 数据保存 34 /**
35 * @description: 数据保存
36 * @param {*} data
37 * @author: renchao
38 */
31 export function saveData (data) { 39 export function saveData (data) {
32 return request({ 40 return request({
33 url: SERVER.SERVERAPI + '/rest/ywbl/cfdj/saveData', 41 url: SERVER.SERVERAPI + '/rest/ywbl/cfdj/saveData',
...@@ -36,7 +44,11 @@ export function saveData (data) { ...@@ -36,7 +44,11 @@ export function saveData (data) {
36 }) 44 })
37 } 45 }
38 46
39 // 批量数据保存 47 /**
48 * @description: 批量数据保存
49 * @param {*} data
50 * @author: renchao
51 */
40 export function batchSaveData (data) { 52 export function batchSaveData (data) {
41 return request({ 53 return request({
42 url: SERVER.SERVERAPI + '/rest/ywbl/cfdj/batchSaveData', 54 url: SERVER.SERVERAPI + '/rest/ywbl/cfdj/batchSaveData',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:30:47
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8
4 // 初始化内容 9 /**
10 * @description: 初始化内容
11 * @param {*} data
12 * @author: renchao
13 */
5 export function Init (data) { 14 export function Init (data) {
6 let apiUrl = ""; 15 let apiUrl = "";
7 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
...@@ -33,7 +42,12 @@ export function Init (data) { ...@@ -33,7 +42,12 @@ export function Init (data) {
33 data 42 data
34 }) 43 })
35 } 44 }
36 // 受理信息保存 45 /**
46 * @description: 受理信息保存
47 * @param {*} data
48 * @param {*} djlx
49 * @author: renchao
50 */
37 export function saveData (data, djlx) { 51 export function saveData (data, djlx) {
38 let apiUrl = "/rest/ywbl/dyaq/saveData"; 52 let apiUrl = "/rest/ywbl/dyaq/saveData";
39 if (djlx == "400") { 53 if (djlx == "400") {
...@@ -46,7 +60,12 @@ export function saveData (data, djlx) { ...@@ -46,7 +60,12 @@ export function saveData (data, djlx) {
46 }) 60 })
47 } 61 }
48 62
49 // 流程图 63 /**
64 * @description: 流程图
65 * @param {*} bsmSlsq
66 * @param {*} bestepid
67 * @author: renchao
68 */
50 export function getWorkFlowImage (bsmSlsq, bestepid) { 69 export function getWorkFlowImage (bsmSlsq, bestepid) {
51 return request({ 70 return request({
52 url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage', 71 url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:30:58
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 // 初始化内容 8 /**
9 * @description: 初始化内容
10 * @param {*} data
11 * @author: renchao
12 */
4 export function Init (data) { 13 export function Init (data) {
5 let apiUrl = ""; 14 let apiUrl = "";
6 switch (data.get("djlx")) { 15 switch (data.get("djlx")) {
...@@ -32,7 +41,11 @@ export function Init (data) { ...@@ -32,7 +41,11 @@ export function Init (data) {
32 data 41 data
33 }) 42 })
34 } 43 }
35 // 首次登记提交 44 /**
45 * @description: 首次登记提交
46 * @param {*} data
47 * @author: renchao
48 */
36 export function saveBatchData (data) { 49 export function saveBatchData (data) {
37 return request({ 50 return request({
38 url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveBatchData", 51 url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveBatchData",
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:31:23
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8
...@@ -33,7 +38,11 @@ export function Init (data) { ...@@ -33,7 +38,11 @@ export function Init (data) {
33 data 38 data
34 }) 39 })
35 } 40 }
36 // 受理信息保存 41 /**
42 * @description: 受理信息保存
43 * @param {*} data
44 * @author: renchao
45 */
37 export function saveData (data) { 46 export function saveData (data) {
38 return request({ 47 return request({
39 url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData', 48 url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData',
...@@ -42,7 +51,12 @@ export function saveData (data) { ...@@ -42,7 +51,12 @@ export function saveData (data) {
42 }) 51 })
43 } 52 }
44 53
45 // 流程图 54 /**
55 * @description: 流程图
56 * @param {*} bsmSlsq
57 * @param {*} bestepid
58 * @author: renchao
59 */
46 export function getWorkFlowImage (bsmSlsq, bestepid) { 60 export function getWorkFlowImage (bsmSlsq, bestepid) {
47 return request({ 61 return request({
48 url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage', 62 url: SERVER.SERVERAPI + '/rest/business/workFlow/getWorkFlowImage',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:29
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:37
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 // 初始化内容 8 // 初始化内容
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:41
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 // 初始化内容 8 // 初始化内容
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:45
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 16:07:10
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 /* 8 /**
4 系统监控 -获取错误日志列表 9 * @description: 系统监控 -获取错误日志列表
5 */ 10 * @param {*} data
11 * @author: renchao
12 */
6 export function getErrorLogList (data) { 13 export function getErrorLogList (data) {
7 return request({ 14 return request({
8 url: SERVER.SERVERAPI + '/rest/xtjk/view/getErrorLogList', 15 url: SERVER.SERVERAPI + '/rest/xtjk/view/getErrorLogList',
...@@ -11,9 +18,12 @@ export function getErrorLogList (data) { ...@@ -11,9 +18,12 @@ export function getErrorLogList (data) {
11 }) 18 })
12 } 19 }
13 20
14 /* 21
15 系统监控 -获取操作日志列表 22 /**
16 */ 23 * @description: 系统监控 -获取操作日志列表
24 * @param {*} data
25 * @author: renchao
26 */
17 export function getOperationLogList (data) { 27 export function getOperationLogList (data) {
18 return request({ 28 return request({
19 url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList', 29 url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList',
...@@ -22,9 +32,10 @@ export function getOperationLogList (data) { ...@@ -22,9 +32,10 @@ export function getOperationLogList (data) {
22 }) 32 })
23 } 33 }
24 34
25 /* 35 /**
26 系统监控 -主机监控 36 * @description: 系统监控 -主机监控
27 */ 37 * @author: renchao
38 */
28 export function getServerInfo () { 39 export function getServerInfo () {
29 return request({ 40 return request({
30 url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo', 41 url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:13:24
5 */
6
1 import request from '@/utils/request' 7 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 /* 9
4 业务办理-获取收藏业务集合 10 /**
5 */ 11 * @description: 业务办理-获取收藏业务集合
12 * @author: renchao
13 */
6 export function getCollectBiz () { 14 export function getCollectBiz () {
7 return request({ 15 return request({
8 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz', 16 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz',
...@@ -10,18 +18,22 @@ export function getCollectBiz () { ...@@ -10,18 +18,22 @@ export function getCollectBiz () {
10 }) 18 })
11 } 19 }
12 20
13 /* 21
14 业务办理-获取左侧菜单 22 /**
15 */ 23 * @description: 业务办理-获取左侧菜单
24 * @author: renchao
25 */
16 export function getleftMenu () { 26 export function getleftMenu () {
17 return request({ 27 return request({
18 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu', 28 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu',
19 method: 'post' 29 method: 'post'
20 }) 30 })
21 } 31 }
22 /* 32 /**
23 业务办理-获取下个节点内容 33 * @description: 业务办理-获取下个节点内容
24 */ 34 * @param {*} bsmSqyw
35 * @author: renchao
36 */
25 export function getNextNode (bsmSqyw) { 37 export function getNextNode (bsmSqyw) {
26 return request({ 38 return request({
27 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw, 39 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw,
...@@ -29,9 +41,11 @@ export function getNextNode (bsmSqyw) { ...@@ -29,9 +41,11 @@ export function getNextNode (bsmSqyw) {
29 }) 41 })
30 } 42 }
31 43
32 /* 44 /**
33 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) 45 * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记)
34 */ 46 * @param {*} data
47 * @author: renchao
48 */
35 export function selectScBdcdy (data) { 49 export function selectScBdcdy (data) {
36 return request({ 50 return request({
37 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', 51 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy',
...@@ -52,7 +66,11 @@ export function selectScBdcdy (data) { ...@@ -52,7 +66,11 @@ export function selectScBdcdy (data) {
52 // }) 66 // })
53 // } 67 // }
54 68
55 // 待办箱列表查询接口 69 /**
70 * @description: 待办箱列表查询接口
71 * @param {*} data
72 * @author: renchao
73 */
56 export function searchTaskToDo (data) { 74 export function searchTaskToDo (data) {
57 return request({ 75 return request({
58 url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo', 76 url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo',
...@@ -60,7 +78,11 @@ export function searchTaskToDo (data) { ...@@ -60,7 +78,11 @@ export function searchTaskToDo (data) {
60 data 78 data
61 }) 79 })
62 } 80 }
63 // 待办箱/不动产单元删除接口 81 /**
82 * @description: 待办箱/不动产单元删除接口
83 * @param {*} data
84 * @author: renchao
85 */
64 export function deleteFlow (data) { 86 export function deleteFlow (data) {
65 return request({ 87 return request({
66 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow', 88 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow',
...@@ -68,9 +90,11 @@ export function deleteFlow (data) { ...@@ -68,9 +90,11 @@ export function deleteFlow (data) {
68 data 90 data
69 }) 91 })
70 } 92 }
71 /* 93 /**
72 业务办理-发起业务申请流程 94 * @description: 业务办理-发起业务申请流程
73 */ 95 * @param {*} data
96 * @author: renchao
97 */
74 export function startBusinessFlow (data) { 98 export function startBusinessFlow (data) {
75 return request({ 99 return request({
76 url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow', 100 url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow',
...@@ -78,9 +102,12 @@ export function startBusinessFlow (data) { ...@@ -78,9 +102,12 @@ export function startBusinessFlow (data) {
78 data 102 data
79 }) 103 })
80 } 104 }
81 /* 105
82 已办箱列表查询接口 106 /**
83 */ 107 * @description: 已办箱列表查询接口
108 * @param {*} data
109 * @author: renchao
110 */
84 export function searchTaskDone (data) { 111 export function searchTaskDone (data) {
85 return request({ 112 return request({
86 url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone', 113 url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone',
...@@ -88,9 +115,11 @@ export function searchTaskDone (data) { ...@@ -88,9 +115,11 @@ export function searchTaskDone (data) {
88 data 115 data
89 }) 116 })
90 } 117 }
91 /* 118 /**
92 业务办理-选择权利信息-根据条件进行列表查询 119 * @description: 业务办理-选择权利信息-根据条件进行列表查询
93 */ 120 * @param {*} data
121 * @author: renchao
122 */
94 export function selectQlxx (data) { 123 export function selectQlxx (data) {
95 return request({ 124 return request({
96 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx', 125 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx',
...@@ -98,9 +127,12 @@ export function selectQlxx (data) { ...@@ -98,9 +127,12 @@ export function selectQlxx (data) {
98 data 127 data
99 }) 128 })
100 } 129 }
101 /* 130
102 业务办理-选择抵押权信息-根据条件进行列表查询 131 /**
103 */ 132 * @description: 业务办理-选择抵押权信息-根据条件进行列表查询
133 * @param {*} data
134 * @author: renchao
135 */
104 export function selectDiyaq (data) { 136 export function selectDiyaq (data) {
105 return request({ 137 return request({
106 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', 138 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
...@@ -108,9 +140,12 @@ export function selectDiyaq (data) { ...@@ -108,9 +140,12 @@ export function selectDiyaq (data) {
108 data 140 data
109 }) 141 })
110 } 142 }
111 /* 143
112 业务办理-选择查封信息-根据条件进行列表查询 144 /**
113 */ 145 * @description: 业务办理-选择查封信息-根据条件进行列表查询
146 * @param {*} data
147 * @author: renchao
148 */
114 export function selectCfdj (data) { 149 export function selectCfdj (data) {
115 return request({ 150 return request({
116 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj', 151 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
...@@ -118,25 +153,35 @@ export function selectCfdj (data) { ...@@ -118,25 +153,35 @@ export function selectCfdj (data) {
118 data 153 data
119 }) 154 })
120 } 155 }
121 /* 156
122 业务办理-业务申请-添加收藏业务 157 /**
123 */ 158 * @description: 业务办理-业务申请-添加收藏业务
159 * @param {*} bsmSqyw
160 * @author: renchao
161 */
124 export function addCollectBiz (bsmSqyw) { 162 export function addCollectBiz (bsmSqyw) {
125 return request({ 163 return request({
126 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw, 164 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/addCollectBiz?bsmSqyw=' + bsmSqyw,
127 method: 'post' 165 method: 'post'
128 }) 166 })
129 } 167 }
130 /* 168
131 业务办理-业务申请-添加收藏业务 169 /**
132 */ 170 * @description: 业务办理-业务申请-添加收藏业务
171 * @param {*} bsmSqyw
172 * @author: renchao
173 */
133 export function deleteCollectBiz (bsmSqyw) { 174 export function deleteCollectBiz (bsmSqyw) {
134 return request({ 175 return request({
135 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, 176 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
136 method: 'post' 177 method: 'post'
137 }) 178 })
138 } 179 }
139 // 国有建设用地使用权/房屋使用权 -选择不动产单元 180 /**
181 * @description: 国有建设用地使用权/房屋使用权 -选择不动产单元
182 * @param {*} data
183 * @author: renchao
184 */
140 export function choiceBdcdy (data) { 185 export function choiceBdcdy (data) {
141 return request({ 186 return request({
142 url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy', 187 url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
...@@ -145,7 +190,11 @@ export function choiceBdcdy (data) { ...@@ -145,7 +190,11 @@ export function choiceBdcdy (data) {
145 }) 190 })
146 } 191 }
147 192
148 // 申请列表删除 193 /**
194 * @description: 申请列表删除
195 * @param {*} data
196 * @author: renchao
197 */
149 export function deleteBdcdy (data) { 198 export function deleteBdcdy (data) {
150 return request({ 199 return request({
151 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy', 200 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy',
...@@ -154,7 +203,11 @@ export function deleteBdcdy (data) { ...@@ -154,7 +203,11 @@ export function deleteBdcdy (data) {
154 }) 203 })
155 } 204 }
156 205
157 // 获取自然幢下其他户 206 /**
207 * @description: 获取自然幢下其他户
208 * @param {*} data
209 * @author: renchao
210 */
158 export function selectOtherH (data) { 211 export function selectOtherH (data) {
159 return request({ 212 return request({
160 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH', 213 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
...@@ -163,7 +216,12 @@ export function selectOtherH (data) { ...@@ -163,7 +216,12 @@ export function selectOtherH (data) {
163 }) 216 })
164 } 217 }
165 218
166 // 认领任务 219 /**
220 * @description: 认领任务
221 * @param {*} bsmSlsq
222 * @param {*} bestepid
223 * @author: renchao
224 */
167 export function claimTask (bsmSlsq, bestepid) { 225 export function claimTask (bsmSlsq, bestepid) {
168 return request({ 226 return request({
169 url: SERVER.SERVERAPI + '/rest/business/workFlow/claimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid, 227 url: SERVER.SERVERAPI + '/rest/business/workFlow/claimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
...@@ -171,7 +229,12 @@ export function claimTask (bsmSlsq, bestepid) { ...@@ -171,7 +229,12 @@ export function claimTask (bsmSlsq, bestepid) {
171 }) 229 })
172 } 230 }
173 231
174 // 取消认领任务 232 /**
233 * @description: 取消认领任务
234 * @param {*} bsmSlsq
235 * @param {*} bestepid
236 * @author: renchao
237 */
175 export function unClaimTask (bsmSlsq, bestepid) { 238 export function unClaimTask (bsmSlsq, bestepid) {
176 return request({ 239 return request({
177 url: SERVER.SERVERAPI + '/rest/business/workFlow/unClaimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid, 240 url: SERVER.SERVERAPI + '/rest/business/workFlow/unClaimTask?bsmSlsq=' + bsmSlsq + '&bestepid=' + bestepid,
...@@ -179,7 +242,11 @@ export function unClaimTask (bsmSlsq, bestepid) { ...@@ -179,7 +242,11 @@ export function unClaimTask (bsmSlsq, bestepid) {
179 }) 242 })
180 } 243 }
181 244
182 // 业务办理-选择农用地信息-根据条件进行列表查询 245 /**
246 * @description: 业务办理-选择农用地信息-根据条件进行列表查询
247 * @param {*} data
248 * @author: renchao
249 */
183 export function selectNydsyqQlxx (data) { 250 export function selectNydsyqQlxx (data) {
184 return request({ 251 return request({
185 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx', 252 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectNydsyqQlxx',
...@@ -188,16 +255,31 @@ export function selectNydsyqQlxx (data) { ...@@ -188,16 +255,31 @@ export function selectNydsyqQlxx (data) {
188 }) 255 })
189 } 256 }
190 257
258
259 /**
260 * @description: 业务办理-选择单元-查询宗地基本信息
261 * @param {*} data
262 * @author: renchao
263 */
264 export function selectZdjbxx (data) {
265 return request({
266 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
267 method: 'post',
268 data
269 })
270 }
271
191 /* 272 /*
192 业务办理-选择单元-查询宗地基本信息 273 业务办理-选择单元-查询宗地基本信息
193 */ 274 */
194 export function selectZdjbxx (data) { 275 export function selectZdjbxxSplitMergeLast (data) {
195 return request({ 276 return request({
196 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx', 277 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast',
197 method: 'post', 278 method: 'post',
198 data 279 data
199 }) 280 })
200 } 281 }
282
201 /* 283 /*
202 业务办理-选择单元-查询自然幢信息 284 业务办理-选择单元-查询自然幢信息
203 */ 285 */
...@@ -209,9 +291,11 @@ export function selectZrz (data) { ...@@ -209,9 +291,11 @@ export function selectZrz (data) {
209 }) 291 })
210 } 292 }
211 293
212 /* 294 /**
213 业务办理-选择单元-查询多幢幢信息 295 * @description: 选择单元-查询多幢幢信息
214 */ 296 * @param {*} data
297 * @author: renchao
298 */
215 export function selectDz (data) { 299 export function selectDz (data) {
216 return request({ 300 return request({
217 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz', 301 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDz',
...@@ -232,12 +316,26 @@ export function selectH (data) { ...@@ -232,12 +316,26 @@ export function selectH (data) {
232 }) 316 })
233 } 317 }
234 318
319
320 /**
321 * @description: 业务办理-选择单元-查询建设用地、宅基地信息
322 * @param {*} data
323 * @author: renchao
324 */
325 export function selectJsydQlxx (data) {
326 return request({
327 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx',
328 method: 'post',
329 data
330 })
331 }
332
235 /* 333 /*
236 业务办理-选择单元-查询建设用地、宅基地信息 334 业务办理-选择单元-查询建设用地、宅基地信息
237 */ 335 */
238 export function selectJsydQlxx (data) { 336 export function selectJsydQlxxSplitMergeBefore (data) {
239 return request({ 337 return request({
240 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxx', 338 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore',
241 method: 'post', 339 method: 'post',
242 data 340 data
243 }) 341 })
......
1 /*
2 * @Description: 综合查询-登记簿查询
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:23:50
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 /*
4 综合查询
5 */
6 8
7 /* 9
8 登记簿查询 10 /**
9 */ 11 * @description: 根据条件进行列表查询
10 // 根据条件进行列表查询 12 * @param {*} data
13 * @author: renchao
14 */
11 export function getDjbBysearch (data) { 15 export function getDjbBysearch (data) {
12 return request({ 16 return request({
13 url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch', 17 url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch',
...@@ -16,7 +20,11 @@ export function getDjbBysearch (data) { ...@@ -16,7 +20,11 @@ export function getDjbBysearch (data) {
16 }) 20 })
17 } 21 }
18 22
19 // 获取登记封面 23 /**
24 * @description: 获取登记封面
25 * @param {*} qlbsm
26 * @author: renchao
27 */
20 export function getDjbfm (qlbsm) { 28 export function getDjbfm (qlbsm) {
21 return request({ 29 return request({
22 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/djbfm/' + qlbsm, 30 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/djbfm/' + qlbsm,
...@@ -24,7 +32,11 @@ export function getDjbfm (qlbsm) { ...@@ -24,7 +32,11 @@ export function getDjbfm (qlbsm) {
24 }) 32 })
25 } 33 }
26 34
27 // 获取登记目录 35 /**
36 * @description: 获取登记目录
37 * @param {*} data
38 * @author: renchao
39 */
28 export function getBdcqldjmlByBdcdyid (data) { 40 export function getBdcqldjmlByBdcdyid (data) {
29 return request({ 41 return request({
30 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getBdcqldjmlByBdcdyid', 42 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getBdcqldjmlByBdcdyid',
...@@ -33,7 +45,11 @@ export function getBdcqldjmlByBdcdyid (data) { ...@@ -33,7 +45,11 @@ export function getBdcqldjmlByBdcdyid (data) {
33 }) 45 })
34 } 46 }
35 47
36 // 获取宗地信息 48 /**
49 * @description: 获取宗地信息
50 * @param {*} qlbsm
51 * @author: renchao
52 */
37 export function getZdjbxx (qlbsm) { 53 export function getZdjbxx (qlbsm) {
38 return request({ 54 return request({
39 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/zdjbxx/' + qlbsm, 55 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/zdjbxx/' + qlbsm,
...@@ -41,7 +57,11 @@ export function getZdjbxx (qlbsm) { ...@@ -41,7 +57,11 @@ export function getZdjbxx (qlbsm) {
41 }) 57 })
42 } 58 }
43 59
44 // 获取宗地信息 60 /**
61 * @description: 获取宗地信息
62 * @param {*} data
63 * @author: renchao
64 */
45 export function getZdjjxxBybdcdyid (data) { 65 export function getZdjjxxBybdcdyid (data) {
46 return request({ 66 return request({
47 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getZdjjxxBybdcdyid', 67 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getZdjjxxBybdcdyid',
...@@ -50,7 +70,11 @@ export function getZdjjxxBybdcdyid (data) { ...@@ -50,7 +70,11 @@ export function getZdjjxxBybdcdyid (data) {
50 }) 70 })
51 } 71 }
52 72
53 // 获取宗地信息 73 /**
74 * @description: 获取宗地信息
75 * @param {*} data
76 * @author: renchao
77 */
54 export function getZdjjxxBySLdy (data) { 78 export function getZdjjxxBySLdy (data) {
55 return request({ 79 return request({
56 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getZdjjxxBybdcdyid', 80 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getZdjjxxBybdcdyid',
...@@ -59,7 +83,11 @@ export function getZdjjxxBySLdy (data) { ...@@ -59,7 +83,11 @@ export function getZdjjxxBySLdy (data) {
59 }) 83 })
60 } 84 }
61 85
62 // 获取不动产权利及其他事项 86 /**
87 * @description: 获取不动产权利及其他事项
88 * @param {*} data
89 * @author: renchao
90 */
63 export function getBdcqljqtsx (data) { 91 export function getBdcqljqtsx (data) {
64 return request({ 92 return request({
65 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getBdcqljqtsx', 93 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getBdcqljqtsx',
...@@ -68,7 +96,11 @@ export function getBdcqljqtsx (data) { ...@@ -68,7 +96,11 @@ export function getBdcqljqtsx (data) {
68 }) 96 })
69 } 97 }
70 98
71 // 获取不动产权利及其他事项页面信息 99 /**
100 * @description: 获取不动产权利及其他事项页面信息
101 * @param {*} qlbsm
102 * @author: renchao
103 */
72 export function getQlname (qlbsm) { 104 export function getQlname (qlbsm) {
73 return request({ 105 return request({
74 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/qlname/' + qlbsm, 106 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/qlname/' + qlbsm,
...@@ -76,7 +108,11 @@ export function getQlname (qlbsm) { ...@@ -76,7 +108,11 @@ export function getQlname (qlbsm) {
76 }) 108 })
77 } 109 }
78 110
79 // 获取权利详细信息 111 /**
112 * @description: 获取权利详细信息
113 * @param {*} qlbsm
114 * @author: renchao
115 */
80 export function getDetail (qlbsm) { 116 export function getDetail (qlbsm) {
81 return request({ 117 return request({
82 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/detail/' + qlbsm, 118 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/detail/' + qlbsm,
...@@ -84,7 +120,11 @@ export function getDetail (qlbsm) { ...@@ -84,7 +120,11 @@ export function getDetail (qlbsm) {
84 }) 120 })
85 } 121 }
86 122
87 // 获取建设用地使用权 123 /**
124 * @description: 获取建设用地使用权
125 * @param {*} data
126 * @author: renchao
127 */
88 export function getJsydsyqList (data) { 128 export function getJsydsyqList (data) {
89 return request({ 129 return request({
90 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getJsydsyqList', 130 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getJsydsyqList',
...@@ -92,7 +132,11 @@ export function getJsydsyqList (data) { ...@@ -92,7 +132,11 @@ export function getJsydsyqList (data) {
92 data 132 data
93 }) 133 })
94 } 134 }
95 // 获取抵押权 135 /**
136 * @description: 获取抵押权
137 * @param {*} data
138 * @author: renchao
139 */
96 export function getDiyaqList (data) { 140 export function getDiyaqList (data) {
97 return request({ 141 return request({
98 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getDiyaqList', 142 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getDiyaqList',
...@@ -100,7 +144,11 @@ export function getDiyaqList (data) { ...@@ -100,7 +144,11 @@ export function getDiyaqList (data) {
100 data 144 data
101 }) 145 })
102 } 146 }
103 // 获取地役权 147 /**
148 * @description: 获取地役权
149 * @param {*} data
150 * @author: renchao
151 */
104 export function getDiyiqList (data) { 152 export function getDiyiqList (data) {
105 return request({ 153 return request({
106 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getDiyiqList', 154 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getDiyiqList',
...@@ -108,7 +156,11 @@ export function getDiyiqList (data) { ...@@ -108,7 +156,11 @@ export function getDiyiqList (data) {
108 data 156 data
109 }) 157 })
110 } 158 }
111 // 获取预告登记 159 /**
160 * @description: 获取预告登记
161 * @param {*} data
162 * @author: renchao
163 */
112 export function getYgdjList (data) { 164 export function getYgdjList (data) {
113 return request({ 165 return request({
114 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getYgdjList', 166 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getYgdjList',
...@@ -116,7 +168,11 @@ export function getYgdjList (data) { ...@@ -116,7 +168,11 @@ export function getYgdjList (data) {
116 data 168 data
117 }) 169 })
118 } 170 }
119 // 获取异议登记 171 /**
172 * @description: 获取异议登记
173 * @param {*} data
174 * @author: renchao
175 */
120 export function getYydjList (data) { 176 export function getYydjList (data) {
121 return request({ 177 return request({
122 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getYydjList', 178 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getYydjList',
...@@ -124,7 +180,11 @@ export function getYydjList (data) { ...@@ -124,7 +180,11 @@ export function getYydjList (data) {
124 data 180 data
125 }) 181 })
126 } 182 }
127 // 获取查封登记 183 /**
184 * @description: 获取查封登记
185 * @param {*} data
186 * @author: renchao
187 */
128 export function getCfdjList (data) { 188 export function getCfdjList (data) {
129 return request({ 189 return request({
130 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getCfdjList', 190 url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/getCfdjList',
...@@ -132,7 +192,11 @@ export function getCfdjList (data) { ...@@ -132,7 +192,11 @@ export function getCfdjList (data) {
132 data 192 data
133 }) 193 })
134 } 194 }
135 // 进度查询列表 195 /**
196 * @description: 进度查询列表
197 * @param {*} data
198 * @author: renchao
199 */
136 export function getJdcxBysearch (data) { 200 export function getJdcxBysearch (data) {
137 return request({ 201 return request({
138 url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch', 202 url: SERVER.SERVERAPI + '/rest/zhcx/search/getJdcxBysearch',
...@@ -141,7 +205,11 @@ export function getJdcxBysearch (data) { ...@@ -141,7 +205,11 @@ export function getJdcxBysearch (data) {
141 }) 205 })
142 } 206 }
143 207
144 // 证书领取查询 208 /**
209 * @description: 证书领取查询
210 * @param {*} data
211 * @author: renchao
212 */
145 export function getBdcqzReceiveList (data) { 213 export function getBdcqzReceiveList (data) {
146 return request({ 214 return request({
147 url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList', 215 url: SERVER.SERVERAPI + '/rest/zhcx/search/getBdcqzReceiveList',
...@@ -150,7 +218,11 @@ export function getBdcqzReceiveList (data) { ...@@ -150,7 +218,11 @@ export function getBdcqzReceiveList (data) {
150 }) 218 })
151 } 219 }
152 220
153 // 在建工程抵押查询 221 /**
222 * @description: 在建工程抵押查询
223 * @param {*} data
224 * @author: renchao
225 */
154 export function getZjgcdyList (data) { 226 export function getZjgcdyList (data) {
155 return request({ 227 return request({
156 url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList', 228 url: SERVER.SERVERAPI + '/rest/zhcx/search/getZjgcdyList',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:24:24
5 */
1 import request from '@/utils/request' 6 import request from '@/utils/request'
2 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
3 /* 8 /**
4 证书管理-获取序列号 9 * @description: 证书管理-获取序列号
5 */ 10 * @param {*} params
11 * @author: renchao
12 */
6 export function getSysSerialSingle (params) { 13 export function getSysSerialSingle (params) {
7 return request({ 14 return request({
8 url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle', 15 url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle',
...@@ -10,9 +17,11 @@ export function getSysSerialSingle (params) { ...@@ -10,9 +17,11 @@ export function getSysSerialSingle (params) {
10 params: params 17 params: params
11 }) 18 })
12 } 19 }
13 /* 20 /**
14 证书管理-证书入库列表 21 * @description: 证书管理-证书入库列表
15 */ 22 * @param {*} data
23 * @author: renchao
24 */
16 export function getZsglrkList (data) { 25 export function getZsglrkList (data) {
17 return request({ 26 return request({
18 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList', 27 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList',
...@@ -20,9 +29,11 @@ export function getZsglrkList (data) { ...@@ -20,9 +29,11 @@ export function getZsglrkList (data) {
20 data 29 data
21 }) 30 })
22 } 31 }
23 /* 32 /**
24 证书管理-新增证书入库 33 * @description: 证书管理-新增证书入库
25 */ 34 * @param {*} data
35 * @author: renchao
36 */
26 export function zsrk (data) { 37 export function zsrk (data) {
27 return request({ 38 return request({
28 url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk', 39 url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk',
...@@ -30,9 +41,11 @@ export function zsrk (data) { ...@@ -30,9 +41,11 @@ export function zsrk (data) {
30 data 41 data
31 }) 42 })
32 } 43 }
33 /* 44 /**
34 证书管理-删除证书入库 45 * @description: 证书管理-删除证书入库
35 */ 46 * @param {*} params
47 * @author: renchao
48 */
36 export function removeZsgl (params) { 49 export function removeZsgl (params) {
37 return request({ 50 return request({
38 url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl', 51 url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl',
...@@ -40,9 +53,11 @@ export function removeZsgl (params) { ...@@ -40,9 +53,11 @@ export function removeZsgl (params) {
40 params: params 53 params: params
41 }) 54 })
42 } 55 }
43 /* 56 /**
44 证书管理-审核证书入库 57 * @description: 证书管理-审核证书入库
45 */ 58 * @param {*} params
59 * @author: renchao
60 */
46 export function verifyZsrk (params) { 61 export function verifyZsrk (params) {
47 return request({ 62 return request({
48 url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk', 63 url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk',
...@@ -50,9 +65,11 @@ export function verifyZsrk (params) { ...@@ -50,9 +65,11 @@ export function verifyZsrk (params) {
50 params: params 65 params: params
51 }) 66 })
52 } 67 }
53 /* 68 /**
54 证书管理-证书分发列表 69 * @description: 证书管理-证书分发列表
55 */ 70 * @param {*} data
71 * @author: renchao
72 */
56 export function getZsglffList (data) { 73 export function getZsglffList (data) {
57 return request({ 74 return request({
58 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList', 75 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList',
...@@ -60,18 +77,21 @@ export function getZsglffList (data) { ...@@ -60,18 +77,21 @@ export function getZsglffList (data) {
60 data 77 data
61 }) 78 })
62 } 79 }
63 /* 80 /**
64 证书管理-证书分发列表 81 * @description: 证书管理-证书分发列表
65 */ 82 * @author: renchao
83 */
66 export function getZsStartNo () { 84 export function getZsStartNo () {
67 return request({ 85 return request({
68 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo', 86 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo',
69 method: 'get' 87 method: 'get'
70 }) 88 })
71 } 89 }
72 /* 90 /**
73 证书管理-获取结束序列号 91 * @description: 证书管理-获取结束序列号
74 */ 92 * @param {*} params
93 * @author: renchao
94 */
75 export function getZsEndNo (params) { 95 export function getZsEndNo (params) {
76 return request({ 96 return request({
77 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo', 97 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo',
...@@ -79,9 +99,12 @@ export function getZsEndNo (params) { ...@@ -79,9 +99,12 @@ export function getZsEndNo (params) {
79 params 99 params
80 }) 100 })
81 } 101 }
82 /* 102
83 证书管理-新增证书分发 103 /**
84 */ 104 * @description: 证书管理新增证书分发
105 * @param {*} data
106 * @author: renchao
107 */
85 export function zsff (data) { 108 export function zsff (data) {
86 return request({ 109 return request({
87 url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsff', 110 url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsff',
...@@ -89,9 +112,12 @@ export function zsff (data) { ...@@ -89,9 +112,12 @@ export function zsff (data) {
89 data 112 data
90 }) 113 })
91 } 114 }
92 /* 115
93 证书管理-确定分发 116 /**
94 */ 117 * @description: 证书管理-确定分发
118 * @param {*} params
119 * @author: renchao
120 */
95 export function confirmZsff (params) { 121 export function confirmZsff (params) {
96 return request({ 122 return request({
97 url: SERVER.SERVERAPI + '/rest/sys/zsgl/confirmZsff', 123 url: SERVER.SERVERAPI + '/rest/sys/zsgl/confirmZsff',
...@@ -99,9 +125,12 @@ export function confirmZsff (params) { ...@@ -99,9 +125,12 @@ export function confirmZsff (params) {
99 params: params 125 params: params
100 }) 126 })
101 } 127 }
102 /* 128
103 证书管理-证书使用情况 129 /**
104 */ 130 * @description: 证书管理-证书使用情况
131 * @param {*} data
132 * @author: renchao
133 */
105 export function getZssyqkList (data) { 134 export function getZssyqkList (data) {
106 return request({ 135 return request({
107 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkList', 136 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkList',
...@@ -109,9 +138,12 @@ export function getZssyqkList (data) { ...@@ -109,9 +138,12 @@ export function getZssyqkList (data) {
109 data 138 data
110 }) 139 })
111 } 140 }
112 /* 141
113 证书管理-证书使用情况详情 142 /**
114 */ 143 * @description: 证书使用情况详情
144 * @param {*} params
145 * @author: renchao
146 */
115 export function getZssyqkInfo (params) { 147 export function getZssyqkInfo (params) {
116 return request({ 148 return request({
117 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkInfo', 149 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZssyqkInfo',
...@@ -119,9 +151,11 @@ export function getZssyqkInfo (params) { ...@@ -119,9 +151,11 @@ export function getZssyqkInfo (params) {
119 params 151 params
120 }) 152 })
121 } 153 }
122 /* 154 /**
123 证书管理-证书入库/分发详情 155 * @description: 证书入库/分发详情
124 */ 156 * @param {*} params
157 * @author: renchao
158 */
125 export function getZsglInfo (params) { 159 export function getZsglInfo (params) {
126 return request({ 160 return request({
127 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglInfo', 161 url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglInfo',
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 }, 83 },
84 minHeight: { 84 minHeight: {
85 type: Number, 85 type: Number,
86 default: undefined 86 default: 160
87 }, 87 },
88 heightNumSetting: { 88 heightNumSetting: {
89 type: Boolean, 89 type: Boolean,
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-08 15:19:43
5 -->
1 <template> 6 <template>
2 <section class="app-main"> 7 <section class="app-main">
3 <transition name="fade-transform" mode="out-in"> 8 <transition name="fade-transform" mode="out-in">
...@@ -6,26 +11,25 @@ ...@@ -6,26 +11,25 @@
6 </section> 11 </section>
7 </template> 12 </template>
8 <script> 13 <script>
9 export default { 14 export default {
10 name: 'AppMain', 15 name: 'AppMain',
11 computed: { 16 computed: {
12 key () { 17 key () {
13 return this.$route.path 18 return this.$route.path
19 },
14 }, 20 },
15 }, 21 }
16 }
17 </script> 22 </script>
18 23
19 <style lang="scss" scoped> 24 <style lang="scss" scoped>
20 .hasTagsView { 25 .hasTagsView {
21 .app-main { 26 .app-main {
22 height: calc(100% - 41px); 27 height: calc(100% - 50px);
23 overflow-x: auto; 28 overflow-x: auto;
24 padding: 5px; 29 padding: 5px;
25 box-sizing: border-box; 30 box-sizing: border-box;
26 background-color: #EDF1F7; 31 background-color: #edf1f7;
27 box-sizing: border-box; 32 box-sizing: border-box;
28 33 }
29 } 34 }
30 }
31 </style> 35 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -19,278 +19,277 @@ ...@@ -19,278 +19,277 @@
19 </template> 19 </template>
20 20
21 <script> 21 <script>
22 import ScrollPane from './ScrollPane' 22 import ScrollPane from './ScrollPane'
23 import path from 'path' 23 import path from 'path'
24 24
25 export default { 25 export default {
26 components: { ScrollPane }, 26 components: { ScrollPane },
27 data () { 27 data () {
28 return { 28 return {
29 visible: false, 29 visible: false,
30 top: 0, 30 top: 0,
31 left: 0, 31 left: 0,
32 selectedTag: {}, 32 selectedTag: {},
33 affixTags: [] 33 affixTags: []
34 }
35 },
36 computed: {
37 visitedViews () {
38 return this.$store.state.tagsView.visitedViews
39 },
40 routes () {
41 return this.$store.state.permission.routes
42 }
43 },
44 watch: {
45 $route () {
46 this.addTags()
47 this.moveToCurrentTag()
48 },
49 visible (value) {
50 if (value) {
51 document.body.addEventListener('click', this.closeMenu)
52 } else {
53 document.body.removeEventListener('click', this.closeMenu)
54 } 34 }
55 }
56 },
57 mounted () {
58 this.initTags()
59 this.addTags()
60 },
61 methods: {
62 isActive (route) {
63 return route.path === this.$route.path
64 },
65 isAffix (tag) {
66 return tag.meta && tag.meta.affix
67 }, 35 },
68 filterAffixTags (routes, basePath = '/') { 36 computed: {
69 let tags = [] 37 visitedViews () {
70 routes.forEach(route => { 38 return this.$store.state.tagsView.visitedViews
71 if (route.meta && route.meta.affix) { 39 },
72 const tagPath = path.resolve(basePath, route.path) 40 routes () {
73 tags.push({ 41 return this.$store.state.permission.routes
74 fullPath: tagPath, 42 }
75 path: tagPath,
76 name: route.name,
77 meta: { ...route.meta }
78 })
79 }
80 if (route.children) {
81 const tempTags = this.filterAffixTags(route.children, route.path)
82 if (tempTags.length >= 1) {
83 tags = [...tags, ...tempTags]
84 }
85 }
86 })
87 return tags
88 }, 43 },
89 initTags () { 44 watch: {
90 const affixTags = this.affixTags = this.filterAffixTags(this.routes) 45 $route () {
91 for (const tag of affixTags) { 46 this.addTags()
92 // Must have tag name 47 this.moveToCurrentTag()
93 if (tag.name) { 48 },
94 this.$store.dispatch('tagsView/addVisitedView', tag) 49 visible (value) {
50 if (value) {
51 document.body.addEventListener('click', this.closeMenu)
52 } else {
53 document.body.removeEventListener('click', this.closeMenu)
95 } 54 }
96 } 55 }
97 }, 56 },
98 addTags () { 57 mounted () {
99 const { name } = this.$route 58 this.initTags()
100 if (name) { 59 this.addTags()
101 this.$store.dispatch('tagsView/addView', this.$route)
102 }
103 return false
104 }, 60 },
105 moveToCurrentTag () { 61 methods: {
106 const tags = this.$refs.tag 62 isActive (route) {
107 this.$nextTick(() => { 63 return route.path === this.$route.path
108 for (const tag of tags) { 64 },
109 if (tag.to.path === this.$route.path) { 65 isAffix (tag) {
110 this.$refs.scrollPane.moveToTarget(tag) 66 return tag.meta && tag.meta.affix
111 // when query is different then update 67 },
112 if (tag.to.fullPath !== this.$route.fullPath) { 68 filterAffixTags (routes, basePath = '/') {
113 this.$store.dispatch('tagsView/updateVisitedView', this.$route) 69 let tags = []
70 routes.forEach(route => {
71 if (route.meta && route.meta.affix) {
72 const tagPath = path.resolve(basePath, route.path)
73 tags.push({
74 fullPath: tagPath,
75 path: tagPath,
76 name: route.name,
77 meta: { ...route.meta }
78 })
79 }
80 if (route.children) {
81 const tempTags = this.filterAffixTags(route.children, route.path)
82 if (tempTags.length >= 1) {
83 tags = [...tags, ...tempTags]
114 } 84 }
115 break 85 }
86 })
87 return tags
88 },
89 initTags () {
90 const affixTags = this.affixTags = this.filterAffixTags(this.routes)
91 for (const tag of affixTags) {
92 // Must have tag name
93 if (tag.name) {
94 this.$store.dispatch('tagsView/addVisitedView', tag)
116 } 95 }
117 } 96 }
118 }) 97 },
119 }, 98 addTags () {
120 refreshSelectedTag (view) { 99 const { name } = this.$route
121 this.$store.dispatch('tagsView/delCachedView', view).then(() => { 100 if (name) {
122 const { fullPath } = view 101 this.$store.dispatch('tagsView/addView', this.$route)
102 }
103 return false
104 },
105 moveToCurrentTag () {
106 const tags = this.$refs.tag
123 this.$nextTick(() => { 107 this.$nextTick(() => {
124 this.$router.replace({ 108 for (const tag of tags) {
125 path: '/redirect' + fullPath 109 if (tag.to.path === this.$route.path) {
110 this.$refs.scrollPane.moveToTarget(tag)
111 // when query is different then update
112 if (tag.to.fullPath !== this.$route.fullPath) {
113 this.$store.dispatch('tagsView/updateVisitedView', this.$route)
114 }
115 break
116 }
117 }
118 })
119 },
120 refreshSelectedTag (view) {
121 this.$store.dispatch('tagsView/delCachedView', view).then(() => {
122 const { fullPath } = view
123 this.$nextTick(() => {
124 this.$router.replace({
125 path: '/redirect' + fullPath
126 })
126 }) 127 })
127 }) 128 })
128 }) 129 },
129 }, 130 closeSelectedTag (view) {
130 closeSelectedTag (view) { 131 this.$store.dispatch('tagsView/delView', view).then(({ visitedViews }) => {
131 this.$store.dispatch('tagsView/delView', view).then(({ visitedViews }) => { 132 if (this.isActive(view)) {
132 if (this.isActive(view)) { 133 this.toLastView(visitedViews, view)
134 }
135 })
136 },
137 closeOthersTags () {
138 this.$router.push(this.selectedTag)
139 this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => {
140 this.moveToCurrentTag()
141 })
142 },
143 closeAllTags (view) {
144 this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
145 if (this.affixTags.some(tag => tag.path === view.path)) {
146 return
147 }
133 this.toLastView(visitedViews, view) 148 this.toLastView(visitedViews, view)
134 } 149 })
135 }) 150 },
136 }, 151 toLastView (visitedViews, view) {
137 closeOthersTags () { 152 const latestView = visitedViews.slice(-1)[0]
138 this.$router.push(this.selectedTag) 153 if (latestView) {
139 this.$store.dispatch('tagsView/delOthersViews', this.selectedTag).then(() => { 154 this.$router.push(latestView.fullPath)
140 this.moveToCurrentTag()
141 })
142 },
143 closeAllTags (view) {
144 this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
145 if (this.affixTags.some(tag => tag.path === view.path)) {
146 return
147 }
148 this.toLastView(visitedViews, view)
149 })
150 },
151 toLastView (visitedViews, view) {
152 const latestView = visitedViews.slice(-1)[0]
153 if (latestView) {
154 this.$router.push(latestView.fullPath)
155 } else {
156 // now the default is to redirect to the home page if there is no tags-view,
157 // you can adjust it according to your needs.
158 if (view.name === 'Dashboard') {
159 // to reload home page
160 this.$router.replace({ path: '/redirect' + view.fullPath })
161 } else { 155 } else {
162 this.$router.push('/') 156 // now the default is to redirect to the home page if there is no tags-view,
157 // you can adjust it according to your needs.
158 if (view.name === 'Dashboard') {
159 // to reload home page
160 this.$router.replace({ path: '/redirect' + view.fullPath })
161 } else {
162 this.$router.push('/')
163 }
163 } 164 }
164 } 165 },
165 }, 166 openMenu (tag, e) {
166 openMenu (tag, e) { 167 // const menuMinWidth = 105
167 // const menuMinWidth = 105 168 // const offsetLeft = this.$el.getBoundingClientRect().left // container margin left
168 // const offsetLeft = this.$el.getBoundingClientRect().left // container margin left 169 // const offsetWidth = this.$el.offsetWidth // container width
169 // const offsetWidth = this.$el.offsetWidth // container width 170 // const maxLeft = offsetWidth - menuMinWidth // left boundary
170 // const maxLeft = offsetWidth - menuMinWidth // left boundary 171 // const left = e.clientX - offsetLeft + 15 // 15: margin right
171 // const left = e.clientX - offsetLeft + 15 // 15: margin right 172 // if (left > maxLeft) {
172 // if (left > maxLeft) { 173 // this.left = maxLeft
173 // this.left = maxLeft 174 // } else {
174 // } else {
175 // this.left = left 175 // this.left = left
176 // } 176 // }
177 this.left = e.clientX 177 this.left = e.clientX
178 this.top = e.clientY 178 this.top = e.clientY
179 this.visible = true 179 this.visible = true
180 this.selectedTag = tag 180 this.selectedTag = tag
181 }, 181 },
182 closeMenu () { 182 closeMenu () {
183 this.visible = false 183 this.visible = false
184 }, 184 },
185 handleScroll () { 185 handleScroll () {
186 this.closeMenu() 186 this.closeMenu()
187 }
187 } 188 }
188 } 189 }
189 }
190 </script> 190 </script>
191 191
192 <style lang="scss" scoped> 192 <style lang="scss" scoped>
193 .tags-view-container { 193 .tags-view-container {
194 height: 40px; 194 height: 50px;
195 width: 100%; 195 width: 100%;
196 background: #fff; 196 background: #fff;
197 border-bottom: 1px solid #d8dce5; 197 border-bottom: 1px solid #d8dce5;
198 box-sizing: border-box; 198 box-sizing: border-box;
199 padding-top: 3px; 199 padding-top: 3px;
200 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04); 200 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
201 201
202 .tags-view-wrapper { 202 .tags-view-wrapper {
203 .tags-view-item { 203 .tags-view-item {
204 display: inline-block; 204 display: inline-block;
205 position: relative; 205 position: relative;
206 cursor: pointer; 206 cursor: pointer;
207 height: 26px; 207 line-height: 30px;
208 line-height: 26px; 208 border: 1px solid #d8dce5;
209 border: 1px solid #d8dce5; 209 color: #495060;
210 color: #495060; 210 background: #fff;
211 background: #fff; 211 padding: 0 8px;
212 padding: 0 8px; 212 font-size: 12px;
213 font-size: 12px; 213 margin-left: 5px;
214 margin-left: 5px; 214 margin-top: 4px;
215 margin-top: 4px;
216 215
217 &:first-of-type { 216 &:first-of-type {
218 margin-left: 15px; 217 margin-left: 15px;
219 } 218 }
220 219
221 &:last-of-type { 220 &:last-of-type {
222 margin-right: 15px; 221 margin-right: 15px;
223 } 222 }
224 223
225 &.active { 224 &.active {
226 background-color: #0794FF; 225 background-color: #0794ff;
227 color: #fff; 226 color: #fff;
228 border-color: #0794FF; 227 border-color: #0794ff;
229 228
230 &::before { 229 &::before {
231 content: ''; 230 content: "";
232 background: #fff; 231 background: #fff;
233 display: inline-block; 232 display: inline-block;
234 width: 8px; 233 width: 8px;
235 height: 8px; 234 height: 8px;
236 border-radius: 50%; 235 border-radius: 50%;
237 position: relative; 236 position: relative;
238 margin-right: 2px; 237 margin-right: 2px;
238 }
239 } 239 }
240 } 240 }
241 } 241 }
242 }
243 242
244 .contextmenu { 243 .contextmenu {
245 margin: 0;
246 background: #fff;
247 z-index: 3000;
248 position: absolute;
249 list-style-type: none;
250 padding: 5px 0;
251 border-radius: 4px;
252 font-size: 12px;
253 font-weight: 400;
254 color: #333;
255 box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
256
257 li {
258 margin: 0; 244 margin: 0;
259 padding: 7px 16px; 245 background: #fff;
260 cursor: pointer; 246 z-index: 3000;
247 position: absolute;
248 list-style-type: none;
249 padding: 5px 0;
250 border-radius: 4px;
251 font-size: 12px;
252 font-weight: 400;
253 color: #333;
254 box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
255
256 li {
257 margin: 0;
258 padding: 7px 16px;
259 cursor: pointer;
261 260
262 &:hover { 261 &:hover {
263 background: #eee; 262 background: #eee;
263 }
264 } 264 }
265 } 265 }
266 } 266 }
267 }
268 </style> 267 </style>
269 268
270 <style lang="scss"> 269 <style lang="scss">
271 //reset element css of el-icon-close 270 //reset element css of el-icon-close
272 .tags-view-wrapper { 271 .tags-view-wrapper {
273 .tags-view-item { 272 .tags-view-item {
274 .el-icon-close { 273 .el-icon-close {
275 width: 16px; 274 width: 16px;
276 height: 16px; 275 height: 16px;
277 vertical-align: 2px; 276 vertical-align: 2px;
278 border-radius: 50%; 277 border-radius: 50%;
279 text-align: center; 278 text-align: center;
280 transition: all .3s cubic-bezier(.645, .045, .355, 1); 279 transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
281 transform-origin: 100% 50%; 280 transform-origin: 100% 50%;
282 281
283 &:before { 282 &:before {
284 transform: scale(.6); 283 transform: scale(0.6);
285 display: inline-block; 284 display: inline-block;
286 vertical-align: -3px; 285 vertical-align: -3px;
287 } 286 }
288 287
289 &:hover { 288 &:hover {
290 background-color: #b4bccc; 289 background-color: #b4bccc;
291 color: #fff; 290 color: #fff;
291 }
292 } 292 }
293 } 293 }
294 } 294 }
295 }
296 </style> 295 </style>
......
...@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => { ...@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => {
60 }) 60 })
61 Vue.config.productionTip = false 61 Vue.config.productionTip = false
62 62
63 axios.get("./config.json") 63 axios.get("/bdcdj/config.json")
64 .then((res) => { 64 .then((res) => {
65 Vue.prototype.BASE_API = res.data 65 Vue.prototype.BASE_API = res.data
66 localStorage.setItem('ApiUrl', JSON.stringify(res.data)); 66 localStorage.setItem('ApiUrl', JSON.stringify(res.data));
......
1 /*
2 * @Description: 项目权限
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:10:26
5 */
1 import Vue from 'vue' 6 import Vue from 'vue'
2 import router from './router' 7 import router from './router'
3 import store from './store' 8 import store from './store'
......
1 /*
2 * @Description: 全局路由
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:09:37
5 */
1 import Vue from 'vue' 6 import Vue from 'vue'
2 import Router from 'vue-router' 7 import Router from 'vue-router'
3 8
4 Vue.use(Router) 9 Vue.use(Router)
5 /* Layout */
6 import Layout from '@/layout' 10 import Layout from '@/layout'
7
8 /* Router Modules */ 11 /* Router Modules */
9 // import componentsRouter from './modules/components' 12 // import componentsRouter from './modules/components'
10 13
...@@ -24,7 +27,6 @@ export const constantRoutes = [ ...@@ -24,7 +27,6 @@ export const constantRoutes = [
24 ] 27 ]
25 }, 28 },
26 // 业务流程框架 29 // 业务流程框架
27 // 业务流程框架
28 { 30 {
29 path: '/workFrame', 31 path: '/workFrame',
30 component: () => import('@/views/workflow/workFrame.vue'), 32 component: () => import('@/views/workflow/workFrame.vue'),
...@@ -32,6 +34,14 @@ export const constantRoutes = [ ...@@ -32,6 +34,14 @@ export const constantRoutes = [
32 hidden: true, 34 hidden: true,
33 meta: { title: '发起申请' } 35 meta: { title: '发起申请' }
34 }, 36 },
37 //登记簿详情
38 {
39 path: '/djbFrameall',
40 component: () => import('@/views/registerBook/djbFrameall.vue'),
41 name: 'djbFrameall',
42 hidden: true,
43 meta: { title: '登记簿详情' }
44 },
35 // 业务流程只读框架 45 // 业务流程只读框架
36 { 46 {
37 path: '/workFrameView', 47 path: '/workFrameView',
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:10:49
5 */
1 module.exports = { 6 module.exports = {
2 title: '爬山虎不动产登记平台',
3 /** 7 /**
4 * @type {boolean} true | false 8 * @type {boolean} true | false
5 * @description Whether show the settings right-panel 9 * @description Whether show the settings right-panel
......
1 /*
2 * @Description: 项目vuex管理
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:10:05
5 */
1 import Vue from 'vue' 6 import Vue from 'vue'
2 import Vuex from 'vuex' 7 import Vuex from 'vuex'
3 import getters from './getters' 8 import getters from './getters'
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:34:44
5 */
1 import Cookies from 'js-cookie' 6 import Cookies from 'js-cookie'
2 7
3 const state = { 8 const state = {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:34:47
5 */
1 import { getAllDict } from '@/api/user' 6 import { getAllDict } from '@/api/user'
2 const state = { 7 const state = {
3 dictData: {}, 8 dictData: {},
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:34:53
5 */
1 6
2 const state = { 7 const state = {
3 djbxx: {} 8 djbxx: {}
...@@ -10,7 +15,7 @@ const mutations = { ...@@ -10,7 +15,7 @@ const mutations = {
10 } 15 }
11 16
12 const actions = { 17 const actions = {
13 setDjbxx({ commit }, data) { 18 setDjbxx ({ commit }, data) {
14 commit('SET_DJXX', data) 19 commit('SET_DJXX', data)
15 } 20 }
16 } 21 }
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:34:57
5 */
1 const state = { 6 const state = {
2 contentWidth: '' 7 contentWidth: ''
3 } 8 }
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:35:01
5 */
1 import { asyncRoutes, constantRoutes, resetRouter } from '@/router' 6 import { asyncRoutes, constantRoutes, resetRouter } from '@/router'
2 import asyncRouter from '@/utils/asyncRouter.js' 7 import asyncRouter from '@/utils/asyncRouter.js'
3 const state = { 8 const state = {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:35:07
5 */
1 import variables from '@/styles/element-variables.scss' 6 import variables from '@/styles/element-variables.scss'
2 import defaultSettings from '@/settings' 7 import defaultSettings from '@/settings'
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:35:13
5 */
1 const state = { 6 const state = {
2 visitedViews: [{ 7 visitedViews: [{
3 'fullPath': "/home", 8 'fullPath': "/home",
......
1 /*
2 * @Description: 动态路由
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:08:42
5 */
6
1 import Layout from '@/layout' 7 import Layout from '@/layout'
8 /**
9 * @description:
10 * @param {*} routers
11 * @author: renchao
12 */
2 export default function filterAsyncRouter (routers) { 13 export default function filterAsyncRouter (routers) {
3 routers.forEach(item => { 14 routers.forEach(item => {
4 if (!item.children) { 15 if (!item.children) {
......
1 // 获取浏览器便签标题 1 /*
2 import defaultSettings from '@/settings' 2 * @Description: 获取浏览器便签标题
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 15:51:27
5 */
6 import Vue from 'vue'
7 const title = Vue.prototype.BASE_API.TITLE
3 8
4 const title = defaultSettings.title || '厦门市房屋数据服务平台' 9 export default function getPageTitle (pageTitle) {
5
6 export default function getPageTitle(pageTitle) {
7 if (pageTitle) { 10 if (pageTitle) {
8 return `${pageTitle} - ${title}` 11 return `${pageTitle} - ${title}`
9 } 12 }
......
1 /* 1 /*
2 * @Description: 2 * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-11 14:48:18 4 * @LastEditTime: 2023-05-16 14:07:58
5 */
6 /**
7 * 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
8 */ 5 */
9 import axios from 'axios' 6 import axios from 'axios'
10 import { Message } from 'element-ui' 7 import { Message } from 'element-ui'
...@@ -12,11 +9,13 @@ import { endLoadingSubCount } from './requestLoading' ...@@ -12,11 +9,13 @@ import { endLoadingSubCount } from './requestLoading'
12 9
13 // create an axios instance 10 // create an axios instance
14 const service = axios.create({ 11 const service = axios.create({
15 baseURL: process.env.VUE_APP_BASE_API, 12 baseURL:
13 process.env.NODE_ENV == "development"
14 ? process.env.VUE_APP_BASE_API
15 : window.baseUrl + "/",
16 withCredentials: true, //是否允许跨域 16 withCredentials: true, //是否允许跨域
17 headers: { 17 headers: {
18 'Content-Type': 'application/json; charset=utf-8', 18 'Content-Type': 'application/json; charset=utf-8'
19 'Authorization': 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6'
20 }, 19 },
21 timeout: 15000 20 timeout: 15000
22 }) 21 })
...@@ -24,14 +23,18 @@ const service = axios.create({ ...@@ -24,14 +23,18 @@ const service = axios.create({
24 // request interceptor 23 // request interceptor
25 service.interceptors.request.use( 24 service.interceptors.request.use(
26 config => { 25 config => {
27 config.headers.Authorization = 26 // do something before request is sent
28 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6' 27 if (process.env.NODE_ENV === "production") {
29 config.headers.Accept = 'application/json' 28 return config;
30 return config 29 } else {
30 config.headers.Authorization = authorization;
31 return config;
32 }
31 }, 33 },
32 error => { 34 error => {
33 Message.error('请求超时!'); 35 // do something with request error
34 return Promise.reject(error) 36 console.log(error); // for debug
37 return Promise.reject(error);
35 } 38 }
36 ) 39 )
37 40
...@@ -44,13 +47,6 @@ service.interceptors.response.use( ...@@ -44,13 +47,6 @@ service.interceptors.response.use(
44 * 如果请求不成功,就在拦截器这里统一处理(组件的代码就不用关注错误的情况了) 47 * 如果请求不成功,就在拦截器这里统一处理(组件的代码就不用关注错误的情况了)
45 */ 48 */
46 if (response.status == 200) { 49 if (response.status == 200) {
47 // if (response.data.code == 500) {
48 // Message({
49 // message: response.data.message,
50 // type: 'error',
51 // duration: 5 * 1000
52 // })
53 // }
54 return response.data; 50 return response.data;
55 } else { 51 } else {
56 handleErrorData(response.data); 52 handleErrorData(response.data);
......
1 /*
2 * @Description: 定义全局loading
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:08:10
5 */
6
1 import Loading from '@/components/Loading/index.js'; 7 import Loading from '@/components/Loading/index.js';
2 // 定义 loading 8 // 定义 loading
3 let loading 9 let loading
...@@ -11,7 +17,6 @@ function startLoading (loadingText = '正在加载中...') { ...@@ -11,7 +17,6 @@ function startLoading (loadingText = '正在加载中...') {
11 target: document.querySelector('.loadingtext') 17 target: document.querySelector('.loadingtext')
12 }) 18 })
13 } 19 }
14
15 // loading结束 方法 20 // loading结束 方法
16 function endLoading () { 21 function endLoading () {
17 loading.close() 22 loading.close()
......
...@@ -17,11 +17,13 @@ ...@@ -17,11 +17,13 @@
17 <div class="thumb-wrap"> 17 <div class="thumb-wrap">
18 <div class="thumb-wrap-button"> 18 <div class="thumb-wrap-button">
19 <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button> 19 <el-button type="primary" @click="clickImage">(放大) 显示(缩小)</el-button>
20 <el-upload class="fileUpdate" action="" :show-file-list="false" multiple :auto-upload="false" 20 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
21 :on-change="handleChange" accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 21 :on-change="handleChange"
22 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
22 <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> 23 <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button>
23 </el-upload> 24 </el-upload>
24 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button> 25 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
26 v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button>
25 </div> 27 </div>
26 <ul> 28 <ul>
27 <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" 29 <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }"
...@@ -36,262 +38,273 @@ ...@@ -36,262 +38,273 @@
36 </div> 38 </div>
37 </template> 39 </template>
38 <script> 40 <script>
39 import PhotoZoom from '@/components/PhotoZoom' 41 import PhotoZoom from '@/components/PhotoZoom'
40 import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; 42 import { uploadSjClmx, deleteClmx } from "@/api/clxx.js";
41 import publicPicture from '@/components/publicPicture/index.vue' 43 import publicPicture from '@/components/publicPicture/index.vue'
42 export default { 44 export default {
43 name: 'PreviewImage', 45 name: 'PreviewImage',
44 props: { 46 props: {
45 previewImg: { 47 previewImg: {
46 type: Object, 48 type: Object,
47 default: () => { } 49 default: () => { }
48 }
49 },
50 components: {
51 PhotoZoom,
52 publicPicture
53 },
54 data () {
55 return {
56 transform: {
57 scale: 1,
58 degree: 0
59 },
60 // 缩略图
61 thumbnailImages: [],
62 showViewer: false,
63 initialIndex: undefined,
64 allLi: [],
65 }
66 },
67 watch: {
68 previewImg: {
69 handler (newValue, oldValue) {
70 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl)
71 this.thumbnailImages = newValue.imgList
72 },
73 deep: true
74 }
75 },
76 created () {
77 this.allLi = _.cloneDeep(this.previewImg.imgList).map(item => item.fjurl)
78 this.thumbnailImages = this.previewImg.imgList
79 },
80 computed: {
81 isFirst () {
82 return this.previewImg.index === 0
83 },
84 isLast () {
85 return this.previewImg.index === this.previewImg.imgList.length - 1
86 }
87 },
88 methods: {
89 prev () {
90 let len = this.previewImg.imgList.length
91 if (this.isFirst || len == 0) {
92 this.$emit('prevPriview')
93 } else {
94 this.$parent.previewImg.index = (this.$parent.previewImg.index - 1 + len) % len
95 } 50 }
96 }, 51 },
97 next () { 52 components: {
98 let len = this.previewImg.imgList.length 53 PhotoZoom,
99 if (this.isLast || len == 0) { 54 publicPicture
100 this.$emit('nextPriview')
101 } else {
102 this.$parent.previewImg.index = (this.$parent.previewImg.index + 1) % len
103 }
104 }, 55 },
105 showCurrent (index) { 56 data () {
106 this.previewImg.index = index 57 return {
58 transform: {
59 scale: 1,
60 degree: 0
61 },
62 maxLength: 0,
63 // 缩略图
64 thumbnailImages: [],
65 showViewer: false,
66 initialIndex: undefined,
67 allLi: [],
68 }
107 }, 69 },
108 closeViewer () { 70 watch: {
109 this.showViewer = false 71 previewImg: {
72 handler (newValue, oldValue) {
73 this.allLi = _.cloneDeep(newValue.imgList).map(item => item.fjurl)
74 this.thumbnailImages = newValue.imgList
75 },
76 deep: true
77 }
110 }, 78 },
111 clickImage () { 79 created () {
112 this.showViewer = true 80 this.maxLength = 0;
81 this.allLi = _.cloneDeep(this.previewImg.imgList).map(item => item.fjurl)
82 this.thumbnailImages = this.previewImg.imgList
113 }, 83 },
114 // 上传 84 computed: {
115 beforeUpload (file) { 85 isFirst () {
116 const isJPEG = file.type === 'image/jpeg' 86 return this.previewImg.index === 0
117 const isPNG = file.type === 'image/png' 87 },
118 const isJPG = file.type === 'image/jpg' 88 isLast () {
119 const isGIF = file.type === 'image/gif' 89 return this.previewImg.index === this.previewImg.imgList.length - 1
120 const isLt5M = file.size / 1024 / 1024 < 5
121 if (!isJPEG && !isGIF && !isPNG && !isJPG && !isGIF) {
122 this.$message.error('请选择jpeg/png/jpg/bmp/gif格式的图片后重试')
123 this.loading = false
124 }
125 if (!isLt5M) {
126 this.$message.error('上传图片大小不能超过 5MB!')
127 this.loading = false
128 } 90 }
129 this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M
130 return this.imgHidden
131 }, 91 },
132 async handleChange (file) { 92 methods: {
133 let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index]) 93 prev () {
134 var formdata = new FormData(); 94 let len = this.previewImg.imgList.length
135 formdata.append("file", file.raw); 95 if (this.isFirst || len == 0) {
136 formdata.append("bsmSj", this.previewImg.bsmSj); 96 this.$emit('prevPriview')
137 formdata.append("bsmSlsq", this.previewImg.bsmSlsq); 97 } else {
138 uploadSjClmx(formdata).then((res) => { 98 this.$parent.previewImg.index = (this.$parent.previewImg.index - 1 + len) % len
139 if (res.code == 200) {
140 this.$emit('updateList', res.result)
141 this.$message({
142 message: '上传成功!',
143 type: 'success'
144 })
145 } 99 }
146 }) 100 },
147 }, 101 next () {
148 handleDelete () { 102 let len = this.previewImg.imgList.length
149 let that = this 103 if (this.isLast || len == 0) {
150 this.$confirm('此操作将永久删除, 是否继续?', '提示', { 104 this.$emit('nextPriview')
151 confirmButtonText: '确定', 105 } else {
152 cancelButtonText: '取消', 106 this.$parent.previewImg.index = (this.$parent.previewImg.index + 1) % len
153 type: 'warning' 107 }
154 }).then(async () => { 108 },
155 let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx 109 showCurrent (index) {
156 deleteClmx(bsmClmx).then(res => { 110 this.previewImg.index = index
157 if (res.code == 200) { 111 },
158 that.$emit('updateList', res.result) 112 closeViewer () {
159 that.$message({ 113 this.showViewer = false
160 message: '删除成功!', 114 },
161 type: 'success' 115 clickImage () {
162 }) 116 this.showViewer = true
163 } 117 },
118 // 上传
119 beforeUpload (file) {
120 const isJPEG = file.type === 'image/jpeg'
121 const isPNG = file.type === 'image/png'
122 const isJPG = file.type === 'image/jpg'
123 const isGIF = file.type === 'image/gif'
124 const isLt5M = file.size / 1024 / 1024 < 5
125 if (!isJPEG && !isGIF && !isPNG && !isJPG && !isGIF) {
126 this.$message.error('请选择jpeg/png/jpg/bmp/gif格式的图片后重试')
127 this.loading = false
128 }
129 if (!isLt5M) {
130 this.$message.error('上传图片大小不能超过 5MB!')
131 this.loading = false
132 }
133 this.imgHidden = (isJPG || isJPEG || isPNG || isGIF) && isLt5M
134 return this.imgHidden
135 },
136 async handleChange (file, files) {
137 // 清空 fileList 数组
138 let length = files.length;
139 this.maxLength = Math.max(length, this.maxLength)
140 this.$refs.upload.clearFiles();
141 setTimeout(() => {
142 if (length !== this.maxLength) return
143 console.log(files);
144 // let data = _.cloneDeep(this.previewImg.imgList[this.previewImg.index])
145 var formData = new FormData();
146 files.forEach(file => {
147 formData.append('file', file.raw)
148 })
149 formData.append("bsmSj", this.previewImg.bsmSj);
150 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
151 uploadSjClmx(formData).then((res) => {
152 if (res.code == 200) {
153 this.$emit('updateList', res.result)
154 this.$message({
155 message: '上传成功!',
156 type: 'success'
157 })
158
159 }
160 })
164 }) 161 })
165 }).catch(() => { 162 },
166 this.$message({ 163 handleDelete () {
167 type: 'info', 164 let that = this
168 message: '已取消删除' 165 this.$confirm('此操作将永久删除, 是否继续?', '提示', {
166 confirmButtonText: '确定',
167 cancelButtonText: '取消',
168 type: 'warning'
169 }).then(async () => {
170 let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx
171 deleteClmx(bsmClmx).then(res => {
172 if (res.code == 200) {
173 that.$emit('updateList', res.result)
174 that.$message({
175 message: '删除成功!',
176 type: 'success'
177 })
178 }
179 })
180 }).catch(() => {
181 this.$message({
182 type: 'info',
183 message: '已取消删除'
184 })
169 }) 185 })
170 }) 186 }
171 } 187 }
172 } 188 }
173 }
174 </script> 189 </script>
175
176 <style lang="scss" scoped> 190 <style lang="scss" scoped>
177 // 查看大图 191 // 查看大图
178 .rlPopup { 192 .rlPopup {
179 position: relative; 193 position: relative;
180 width: 100%; 194 width: 100%;
181 text-align: center;
182 height: 100%;
183
184 .handle-btn {
185 position: absolute;
186 top: 50%;
187 transform: translateY(-100%);
188 width: 66px;
189 height: 66px;
190 line-height: 75px;
191 color: #fff;
192 background-color: rgb(239, 239, 239);
193 border-radius: 50%;
194 cursor: pointer;
195 text-align: center; 195 text-align: center;
196 transition: all 0.3s; 196 height: 100%;
197
198 i {
199 font-size: 24px;
200 }
201 }
202
203 .handle-btn:hover {
204 background-color: rgb(185, 183, 183);
205 }
206 197
198 .handle-btn {
199 position: absolute;
200 top: 50%;
201 transform: translateY(-100%);
202 width: 66px;
203 height: 66px;
204 line-height: 75px;
205 color: #fff;
206 background-color: rgb(239, 239, 239);
207 border-radius: 50%;
208 cursor: pointer;
209 text-align: center;
210 transition: all 0.3s;
207 211
208 .prev { 212 i {
209 left: 1%; 213 font-size: 24px;
210 } 214 }
215 }
211 216
212 .next { 217 .handle-btn:hover {
213 right: 1%; 218 background-color: rgb(185, 183, 183);
214 } 219 }
215 220
216 .img-list-wrap { 221 .prev {
217 width: 100%; 222 left: 1%;
218 display: flex; 223 }
219 justify-content: center;
220 height: calc(100% - 80px);
221 align-items: center;
222 background: rgba(194, 190, 190, 0.1);
223 overflow: scroll;
224 224
225 img { 225 .next {
226 display: block; 226 right: 1%;
227 object-fit: scale-down;
228 transition: all 0.3s;
229 max-width: 100%;
230 } 227 }
231 }
232 228
233 .thumb-wrap { 229 .img-list-wrap {
234 &-button { 230 width: 100%;
235 display: flex; 231 display: flex;
236 justify-content: center; 232 justify-content: center;
233 height: calc(100% - 80px);
234 align-items: center;
235 background: rgba(194, 190, 190, 0.1);
236 overflow: scroll;
237 237
238 .fileUpdate { 238 img {
239 margin: 0 10px; 239 display: block;
240 object-fit: scale-down;
241 transition: all 0.3s;
242 max-width: 100%;
240 } 243 }
241 } 244 }
242 245
243 li { 246 .thumb-wrap {
244 float: left; 247 &-button {
245 width: 60px; 248 display: flex;
246 height: 45px; 249 justify-content: center;
247 border: solid 1px #ececec;
248 position: relative;
249 margin-right: 5px;
250 cursor: pointer;
251 250
252 &:last-child { 251 .fileUpdate {
253 margin-right: 0; 252 margin: 0 10px;
253 }
254 } 254 }
255 255
256 img { 256 li {
257 max-width: 57px; 257 float: left;
258 max-height: 42px; 258 width: 60px;
259 display: block; 259 height: 45px;
260 object-fit: scale-down; 260 border: solid 1px #ececec;
261 position: absolute; 261 position: relative;
262 top: 50%; 262 margin-right: 5px;
263 left: 50%; 263 cursor: pointer;
264 transform: translate(-50%, -50%); 264
265 &:last-child {
266 margin-right: 0;
267 }
268
269 img {
270 max-width: 57px;
271 max-height: 42px;
272 display: block;
273 object-fit: scale-down;
274 position: absolute;
275 top: 50%;
276 left: 50%;
277 transform: translate(-50%, -50%);
278 }
265 } 279 }
266 }
267 280
268 .active { 281 .active {
269 border-color: #409eff; 282 border-color: #409eff;
283 }
270 } 284 }
271 } 285 }
272 }
273 </style> 286 </style>
274 <style> 287 <style>
275 .zoom-on-hover { 288 .zoom-on-hover {
276 position: relative; 289 position: relative;
277 overflow: hidden; 290 overflow: hidden;
278 } 291 }
279 292
280 .zoom-on-hover .normal { 293 .zoom-on-hover .normal {
281 width: 100%; 294 width: 100%;
282 } 295 }
283 296
284 .zoom-on-hover .zoom { 297 .zoom-on-hover .zoom {
285 position: absolute; 298 position: absolute;
286 opacity: 0; 299 opacity: 0;
287 transform-origin: top left; 300 transform-origin: top left;
288 } 301 }
289 302
290 .zoom-on-hover.zoomed .zoom { 303 .zoom-on-hover.zoomed .zoom {
291 opacity: 1; 304 opacity: 1;
292 } 305 }
293 306
294 .zoom-on-hover.zoomed .normal { 307 .zoom-on-hover.zoomed .normal {
295 opacity: 0; 308 opacity: 0;
296 } 309 }
297 </style> 310 </style>
......
1 <template>
2 <div class="content">
3 <div class="left">
4 <el-tree ref="tree" :data="treedata" :props="defaultProps" @node-click="handleNodeClick"
5 :default-expand-all="true" :expand-on-click-node="false" node-key="id" :default-checked-keys="[showTab]">
6 </el-tree>
7 </div>
8 <div class="right">
9 <component :is="componentTag" v-bind="currentSelectProps" />
10 </div>
11 </div>
12 </template>
13 <script>
14 import { getBdcqljqtsx } from "@/api/registerBook.js";
15 import { loadTreeData, getNode } from "./djbFrameData.js";
16 import { searchTaskToDo } from "@/api/ywbl";
17 import {
18 leftMenu
19 } from "@/api/fqsq.js";
20 export default {
21 data () {
22 return {
23 //接收参数
24 // propsParam: this.$attrs,
25 //左侧目录
26 catalog: {},
27 //选择加载哪一个组件
28 componentTag: "",
29 //子组件接收参数
30 currentSelectProps: {},
31 //左侧树形结构数据
32 treedata: [],
33 // 查询参数
34 queryForm: {},
35
36 defaultNode: "",
37 defaultProps: {
38 value: "id",
39 children: "children",
40 label: "label",
41 },
42 showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断
43 };
44 },
45 mounted () {
46 this.getdata()
47
48 },
49 methods: {
50 // 截取字符的方法
51 getCaption (obj) {
52 let index = obj.lastIndexOf("=");
53 obj = obj.substring(index + 1, obj.length);
54 return obj
55 },
56 // 通过不动产业务号获取参数
57 getdata () {
58 this.queryForm = {
59 bdcdyh: this.getCaption(window.location.href),
60 currentPage: 1,
61 djlx: "",
62 pageSize: 10,
63 qllx: "",
64 ywh: "",
65 ywly: ""
66 }
67 if (this.queryForm) {
68 searchTaskToDo({
69 ...this.queryForm,
70 }).then((res) => {
71 if (res.code === 200) {
72 let { records } = res.result;
73
74 this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid);
75 }
76 });
77 }
78
79 },
80
81 // 获取不动产信息
82 loadBdcdylist (a, b) {
83 var formdata = new FormData();
84 formdata.append("bsmSlsq", a);
85 formdata.append("bestepid", b);
86 leftMenu(formdata).then((res) => {
87 if (res.code === 200) {
88 if (res.result) {
89 this.currentSelectProps = res.result[0];
90 this.loadData();
91 }
92 }
93 });
94 },
95 loadData () {
96 getBdcqljqtsx({
97 bdcdyid: this.currentSelectProps.bdcdyid,
98 bdcdyh: this.currentSelectProps.bdcdyh,
99 }).then((res) => {
100 if (res.code === 200) {
101 this.treedata = loadTreeData(res.result, this.currentSelectProps.bdcdyh);
102 this.$nextTick(function () {
103 this.defaultNode = getNode(this.currentSelectProps.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, "");
104 this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点
105 this.loadComponent(this.defaultNode.form);
106 });
107 }
108 });
109 this.currentSelectProps = {
110 bdcdyid: this.currentSelectProps.bdcdyid,
111 bdcdyh: this.currentSelectProps.bdcdyh,
112 qllx: this.currentSelectProps.qllx,
113 bsmQlxx: this.currentSelectProps.bsmQlxx,
114 };
115 },
116 /*
117 点击登记簿菜单
118 */
119 handleNodeClick (data, node, elem) {
120 this.loadComponent(data.form);
121 },
122 loadComponent (form) {
123 this.componentTag = (r) =>
124 require.ensure([], () => r(require("@/views/registerBook/" + form)));
125 },
126 },
127 };
128 </script>
129 <style scoped lang="scss">
130 /deep/.rollTable {
131 height: calc(120vh - 254px) !important;
132 }
133
134 .content {
135 width: 100%;
136 height: 100%;
137 display: flex;
138
139 .left {
140 width: 256px;
141 height: 100%;
142 background-color: #f5f5f5;
143 color: #333;
144 border: 1px solid rgb(228, 228, 228);
145 }
146
147 .right {
148 width: calc(100% - 256px);
149 height: 100%;
150 // overflow-y: scroll;
151 overflow: auto;
152 background-color: #f5f5f5;
153 border: 1px solid rgb(228, 228, 228);
154 }
155 }
156
157 /deep/ .expanded.el-tree-node__expand-icon,
158 /deep/ .el-tree-node__expand-icon {
159 visibility: hidden;
160 }
161
162 /deep/ .el-tree-node__content {
163 border: 1px solid rgb(228, 228, 228);
164 height: 45px;
165 }
166
167 /deep/ .el-tree-node:focus > .el-tree-node__content {
168 background-color: #f5f5f5;
169 color: #0079fe;
170 border-right: 4px solid #0079fe;
171 }
172
173 /deep/.el-tree-node {
174 white-space: pre-wrap;
175 }
176
177 /deep/ .is-current > .el-tree-node__content {
178 background-color: #f5f5f5;
179 color: #0079fe;
180 border-right: 4px solid #0079fe;
181 }
182 </style>
...@@ -22,9 +22,12 @@ ...@@ -22,9 +22,12 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> 25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 26 正在办理
27 </div> 27 </div>
28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
29 有效
30 </div>
28 <span v-if="item.prop == 'qszt'"> 31 <span v-if="item.prop == 'qszt'">
29 {{ getQsztName(row[item.prop]) }} 32 {{ getQsztName(row[item.prop]) }}
30 </span> 33 </span>
......
...@@ -22,9 +22,12 @@ ...@@ -22,9 +22,12 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> 25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 26 正在办理
27 </div> 27 </div>
28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
29 有效
30 </div>
28 <span v-if="item.prop == 'qszt'"> 31 <span v-if="item.prop == 'qszt'">
29 {{ getQsztName(row[item.prop]) }} 32 {{ getQsztName(row[item.prop]) }}
30 </span> 33 </span>
......
...@@ -22,9 +22,12 @@ ...@@ -22,9 +22,12 @@
22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 22 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', 23 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
24 ]"> 24 ]">
25 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> 25 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
26 正在办理 26 正在办理
27 </div> 27 </div>
28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
29 有效
30 </div>
28 <span v-if="item.prop == 'qszt'"> 31 <span v-if="item.prop == 'qszt'">
29 {{ getQsztName(row[item.prop]) }} 32 {{ getQsztName(row[item.prop]) }}
30 </span> 33 </span>
......
...@@ -109,6 +109,16 @@ ...@@ -109,6 +109,16 @@
109 109
110 .linshiIcon { 110 .linshiIcon {
111 position: relative; 111 position: relative;
112
113 .icon {
114 position: absolute;
115 top: 12px;
116 right: -5px;
117 transform: rotate(45deg);
118 color: #fff;
119 font-size: 12px;
120 z-index: 10;
121 }
112 } 122 }
113 123
114 .linshiIcon::after { 124 .linshiIcon::after {
...@@ -127,6 +137,16 @@ ...@@ -127,6 +137,16 @@
127 137
128 .xianshiIcon { 138 .xianshiIcon {
129 position: relative; 139 position: relative;
140
141 .icon {
142 position: absolute;
143 top: 9px;
144 right: 5px;
145 transform: rotate(45deg);
146 color: #fff;
147 font-size: 12px;
148 z-index: 10;
149 }
130 } 150 }
131 151
132 .xianshiIcon::after { 152 .xianshiIcon::after {
...@@ -143,15 +163,7 @@ ...@@ -143,15 +163,7 @@
143 transform: rotate(-90deg); 163 transform: rotate(-90deg);
144 } 164 }
145 165
146 .icon { 166
147 position: absolute;
148 top: 12px;
149 right: -5px;
150 transform: rotate(45deg);
151 color: #fff;
152 font-size: 12px;
153 z-index: 10;
154 }
155 167
156 tr { 168 tr {
157 display: flex; 169 display: flex;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 </tr> 6 </tr>
7 <tr> 7 <tr>
8 <td>单位</td> 8 <td>单位</td>
9 <td colspan="4">{{ zdjbxx.mjdw }}</td> 9 <td colspan="4">{{ zdjbxx.mjdw | dictionary('A7') }}</td>
10 </tr> 10 </tr>
11 <tr> 11 <tr>
12 <td>不动产类型</td> 12 <td>不动产类型</td>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 </tr> 39 </tr>
40 <tr> 40 <tr>
41 <td>权利设定方式</td> 41 <td>权利设定方式</td>
42 <td>{{ zdjbxx.qlsdfs }}</td> 42 <td>{{zdjbxx.qlsdfs | dictionary('A10')}}</td>
43 <td>容积率</td> 43 <td>容积率</td>
44 <td>{{ zdjbxx.rjl }}</td> 44 <td>{{ zdjbxx.rjl }}</td>
45 </tr> 45 </tr>
...@@ -122,79 +122,85 @@ ...@@ -122,79 +122,85 @@
122 <td>{{ zdbhqks[0].dbr }}</td> 122 <td>{{ zdbhqks[0].dbr }}</td>
123 </tr> --> 123 </tr> -->
124 124
125
126
127 </table> 125 </table>
128 </div> 126 </div>
129 </template> 127 </template>
130 128
131 <script> 129 <script>
132 import { getZdjjxxBybdcdyid } from "@/api/registerBook.js"; 130 import store from '@/store/index.js'
131 import { getZdjjxxBybdcdyid } from "@/api/registerBook.js";
133 132
134 export default { 133 export default {
135 data () { 134 data () {
136 return { 135 return {
137 bhqkColumns: [ 136 bhqkColumns: [
138 { 137 {
139 prop: "ssywh", 138 prop: "ssywh",
140 label: "上手业务号", 139 label: "上手业务号",
141 }, 140 },
142 { 141 {
143 prop: "zddm", 142 prop: "zddm",
144 label: "宗地代码", 143 label: "宗地代码",
145 }, 144 },
146 { 145 {
147 prop: "bhqzddm", 146 prop: "bhqzddm",
148 label: "变化前宗地代码", 147 label: "变化前宗地代码",
149 }, 148 },
150 { 149 {
151 prop: "bhnr", 150 prop: "bhnr",
152 label: "变化内容", 151 label: "变化内容",
153 }, 152 },
154 { 153 {
155 prop: "bhyy", 154 prop: "bhyy",
156 label: "变化原因", 155 label: "变化原因",
157 }, 156 },
158 { 157 {
159 prop: "djsj", 158 prop: "djsj",
160 label: "登记时间", 159 label: "登记时间",
161 }, 160 },
162 { 161 {
163 prop: "dbr", 162 prop: "dbr",
164 label: "登簿人", 163 label: "登簿人",
165 }, 164 },
166 { 165 {
167 prop: "fj", 166 prop: "fj",
168 label: "附记", 167 label: "附记",
169 }, 168 },
170 ], 169 ],
171 bhqkTableWidth: 745, 170 bhqkTableWidth: 745,
172 zdjbxx: {}, 171 zdjbxx: {},
173 zdbhqks: [], 172 zdbhqks: [],
174 propsParam: this.$attrs, 173 propsParam: this.$attrs,
175 showGroup: false, 174 showGroup: false,
176 bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], 175 bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"]
177 }; 176 }
178 }, 177 },
179 created () { 178 filters: {
180 this.loadData(); 179 dictionary: function (value, param) {
181 }, 180 const foundItem = store.getters.dictData[param].find(item => item.dcode === String(value))
182 methods: { 181 if (foundItem) {
183 loadData () { 182 return foundItem.dname
184 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
185 if (res.code === 200) {
186 this.zdjbxx = res.result.zdjbxx;
187 this.zdbhqks = res.result.zdbhqkList;
188 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
189 this.showGroup = true;
190 }
191 } 183 }
192 }); 184 }
193 }, 185 },
194 }, 186 created () {
195 }; 187 this.loadData()
188 },
189 methods: {
190 loadData () {
191 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
192 if (res.code === 200) {
193 this.zdjbxx = res.result.zdjbxx;
194 this.zdbhqks = res.result.zdbhqkList;
195 if (this.zdbhqks != null && this.zdbhqks.length > 0) {
196 this.showGroup = true;
197 }
198 }
199 })
200 }
201 }
202 }
196 </script> 203 </script>
197
198 <style lang="scss" scoped> 204 <style lang="scss" scoped>
199 @import "~@/styles/tablecss.scss"; 205 @import "~@/styles/tablecss.scss";
200 </style> 206 </style>
......
1 import filter from '@/utils/filter.js' 1 import filter from '@/utils/filter.js'
2 import store from '@/store/index.js'
2 let vm = null 3 let vm = null
3 4
4 const sendThis = (_this) => { 5 const sendThis = (_this) => {
...@@ -8,7 +9,7 @@ class data extends filter { ...@@ -8,7 +9,7 @@ class data extends filter {
8 constructor() { 9 constructor() {
9 super() 10 super()
10 } 11 }
11 djqxCol() { 12 djqxCol () {
12 return [ 13 return [
13 { 14 {
14 width: '60', 15 width: '60',
...@@ -45,11 +46,9 @@ class data extends filter { ...@@ -45,11 +46,9 @@ class data extends filter {
45 label: '登记情形编码', 46 label: '登记情形编码',
46 render: (h, scope) => { 47 render: (h, scope) => {
47 return ( 48 return (
48 <div> 49 <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]}
49 <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]} 50 onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8">
50 onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> 51 </el-input>
51 </el-input>
52 </div>
53 ) 52 )
54 } 53 }
55 }, 54 },
...@@ -58,9 +57,9 @@ class data extends filter { ...@@ -58,9 +57,9 @@ class data extends filter {
58 label: '登记情形名称', 57 label: '登记情形名称',
59 render: (h, scope) => { 58 render: (h, scope) => {
60 return ( 59 return (
61 <div> 60 <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]}
62 <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 61 onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}>
63 </div> 62 </el-input>
64 ) 63 )
65 } 64 }
66 }, 65 },
...@@ -82,10 +81,7 @@ class data extends filter { ...@@ -82,10 +81,7 @@ class data extends filter {
82 label: '登记原因模板', 81 label: '登记原因模板',
83 render: (h, scope) => { 82 render: (h, scope) => {
84 return ( 83 return (
85 <div> 84 <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
86 <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input>
87 </div>
88
89 ) 85 )
90 } 86 }
91 }, 87 },
...@@ -104,7 +100,7 @@ class data extends filter { ...@@ -104,7 +100,7 @@ class data extends filter {
104 ] 100 ]
105 } 101 }
106 102
107 clxxCol() { 103 clxxCol () {
108 return [ 104 return [
109 { 105 {
110 width: '60', 106 width: '60',
...@@ -144,7 +140,7 @@ class data extends filter { ...@@ -144,7 +140,7 @@ class data extends filter {
144 render: (h, scope) => { 140 render: (h, scope) => {
145 return ( 141 return (
146 <el-input placeholder="材料编码" value={scope.row[scope.column.property]} 142 <el-input placeholder="材料编码" value={scope.row[scope.column.property]}
147 onInput={(val) => { scope.row[scope.column.property] = val }} maxlength="8"></el-input> 143 onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }} maxlength="8"></el-input>
148 ) 144 )
149 } 145 }
150 }, 146 },
...@@ -154,7 +150,7 @@ class data extends filter { ...@@ -154,7 +150,7 @@ class data extends filter {
154 render: (h, scope) => { 150 render: (h, scope) => {
155 return ( 151 return (
156 <el-input placeholder="材料名称" value={scope.row[scope.column.property]} 152 <el-input placeholder="材料名称" value={scope.row[scope.column.property]}
157 onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> 153 onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
158 ) 154 )
159 } 155 }
160 }, 156 },
...@@ -167,7 +163,7 @@ class data extends filter { ...@@ -167,7 +163,7 @@ class data extends filter {
167 <el-select value={scope.row[scope.column.property]} 163 <el-select value={scope.row[scope.column.property]}
168 onChange={(val) => { scope.row[scope.column.property] = val }} clearable> 164 onChange={(val) => { scope.row[scope.column.property] = val }} clearable>
169 { 165 {
170 vm.dictData['A40'].map(option => { 166 store.getters.dictData['A40'].map(option => {
171 return ( 167 return (
172 <el-option label={option.dname} value={option.dcode}></el-option> 168 <el-option label={option.dname} value={option.dcode}></el-option>
173 ) 169 )
......
...@@ -68,8 +68,8 @@ ...@@ -68,8 +68,8 @@
68 </el-col> 68 </el-col>
69 <el-col :span="1"> 69 <el-col :span="1">
70 <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false" 70 <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false"
71 :disabled="requested" :file-list="fileList" :before-upload="uploadRecord" :on-success="handleSuccess"> 71 :before-upload="uploadRecord" :on-success="handleSuccess">
72 <el-button type="primary" icon="el-icon-upload" :loading="requested">上传材料</el-button> 72 <el-button type="primary" icon="el-icon-upload">上传材料</el-button>
73 </el-upload> 73 </el-upload>
74 </el-col> 74 </el-col>
75 </el-row> 75 </el-row>
...@@ -84,11 +84,12 @@ ...@@ -84,11 +84,12 @@
84 </el-form> 84 </el-form>
85 <el-collapse class="modifycollapse" accordion> 85 <el-collapse class="modifycollapse" accordion>
86 <el-collapse-item title="登记情形设置" name="1"> 86 <el-collapse-item title="登记情形设置" name="1">
87 <lb-table :column="djqxCol" border :pagination="false" heightNumSetting :data="form.djqx"> 87 <lb-table :column="djqxCol" :pagination="false" heightNumSetting :minHeight="160" :data="form.djqx">
88 </lb-table> 88 </lb-table>
89 </el-collapse-item> 89 </el-collapse-item>
90 <el-collapse-item title="材料信息设置" name="2"> 90 <el-collapse-item title="材料信息设置" name="2">
91 <lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx"> 91 <lb-table :column="clxxCol" :heightNumSetting="true" :minHeight="160"
92 :pagination="false" :data="form.clxx">
92 </lb-table> 93 </lb-table>
93 </el-collapse-item> 94 </el-collapse-item>
94 <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> 95 <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'">
...@@ -128,209 +129,237 @@ ...@@ -128,209 +129,237 @@
128 </div> 129 </div>
129 </template> 130 </template>
130 <script> 131 <script>
131 import { mapGetters } from "vuex"; 132 import { uploadUrl } from '@/api/file'
132 import { upward, down } from "@/utils/operation"; 133 import { upward, down } from "@/utils/operation";
133 import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/system.js"; 134 import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/system.js";
134 import { datas, sendThis } from "./sqywDetail"; 135 import { datas, sendThis } from "./sqywDetail";
135 export default { 136 export default {
136 name: "componentDialog", 137 name: "componentDialog",
137 props: { 138 props: {
138 formData: { 139 formData: {
139 type: Object, 140 type: Object,
140 default: () => { } 141 default: () => { }
141 } 142 }
142 }, 143 },
143 data () { 144 data () {
144 return { 145 return {
145 tn: 0, 146 key: 0,
146 n: 0, 147 tn: 0,
147 djlxList: [], 148 n: 0,
148 title: "", 149 djlxList: [],
149 activeName: "1", 150 options: [],
150 form: {}, 151 imgUploadUrl: uploadUrl(),
151 djqxCol: datas.djqxCol(), 152 title: "",
152 clxxCol: datas.clxxCol(), 153 activeName: "1",
153 }; 154 form: {
154 }, 155 bsmSqyw: '',
155 computed: { 156 ywDetail: {}
156 ...mapGetters(["dictData"]), 157 },
157 }, 158 djqxCol: datas.djqxCol(),
158 mounted () { 159 clxxCol: datas.clxxCol(),
159 sendThis(this) 160 };
160 this.init()
161 },
162 methods: {
163 //页面初始化
164 init () {
165 this.tn = 0;
166 getDjlxInfo(this.formData.bsmSqyw).then((res) => {
167 let { result } = res;
168 this.djlxList = result ? result : [];
169 if (this.djlxList.length > 0) {
170 this.getDetail(this.djlxList[0].bsmSqyw);
171 } else {
172 this.getDetail(this.formData.bsmSqyw);
173 }
174 })
175 }, 161 },
176 //tab选项卡事件 162 mounted () {
177 handleTitleSelct (obj, index) { 163 sendThis(this)
178 this.n = 0; 164 this.init()
179 this.tn = index;
180 this.getDetail(this.djlxList[index].bsmSqyw);
181 }, 165 },
182 //获取业务具体明细内容 166 methods: {
183 getDetail (bsmSqyw) { 167 //页面初始化
184 getSqdjywDetail(bsmSqyw).then((res) => { 168 init () {
185 if (res.code === 200) { 169 this.tn = 0;
186 this.form = res.result; 170 getDjlxInfo(this.formData.bsmSqyw).then((res) => {
187 console.log(this.form, 'this.formthis.formthis.form'); 171 let { result } = res;
172 this.djlxList = result ? result : [];
173 if (this.djlxList.length > 0) {
174 this.getDetail(this.djlxList[0].bsmSqyw);
175 } else {
176 this.getDetail(this.formData.bsmSqyw);
177 }
178 })
179 },
180 orderNoChange () {
181 this.$forceUpdate();
182 },
183 uploadRecord (file) {
184 this.requested = true
185 this.files = file;
186 const extension = file.name.split('.')[1] === 'xls'
187 const extension2 = file.name.split('.')[1] === 'xlsx'
188 const isLt5M = file.size / 1024 / 1024 < 5
189 if (!extension && !extension2) {
190 this.$message.warning('上传模板只能是 xls、xlsx格式!')
191 this.requested = false
192 }
193 if (!isLt5M) {
194 this.$message.warning('上传模板大小不能超过 5MB!')
195 this.requested = false
196 }
197 return (extension || extension2) && isLt5M
198 },
199 handleSuccess () { },
200 //tab选项卡事件
201 handleTitleSelct (obj, index) {
202 this.n = 0;
203 this.tn = index;
204 this.getDetail(this.djlxList[index].bsmSqyw);
205 },
206 //获取业务具体明细内容
207 getDetail (bsmSqyw) {
208 getSqdjywDetail(bsmSqyw).then((res) => {
209 if (res.code === 200) {
210 // this.form.bsmSqyw = res.result.bsmSqyw
211 // this.form.ywDetail = res.result.ywDetail
212 this.$set(this.form, 'djqx', res.result.djqx)
213 // this.$set(this.form, 'sxql', res.result.sxql)
214 this.$set(this.form, 'clxx', res.result.clxx)
215 // this.$set(this.form, 'sxzt', res.result.sxzt)
216 // this.$set(this.form, 'ywDetail', res.result.ywDetail)
217 } else {
218 this.$alert(res.message)
219 }
220 })
221 },
222 //提交保存数据
223 submit () {
224 let that = this;
225 saveSqdjyw(this.form).then((res) => {
226 if (res.code == 200) {
227 that.$message({
228 message: "修改成功",
229 type: "success"
230 });
231 this.$popupCacel()
232 }
233 })
234 },
235 // 上移下移
236 moveUpward (index, row, type) {
237 if (type == "clxx") {
238 upward(index, this.form.clxx);
188 } else { 239 } else {
189 this.$alert(res.message); 240 upward(index, this.form.djqx);
190 } 241 }
191 }); 242 },
192 }, 243 moveDown (index, row, type) {
193 //提交保存数据 244 if (type == "clxx") {
194 submit () { 245 down(index, this.form.clxx);
195 let that = this; 246 } else {
196 saveSqdjyw(this.form).then((res) => { 247 down(index, this.form.djqx);
197 if (res.code == 200) {
198 that.$message({
199 message: "修改成功",
200 type: "success",
201 });
202 this.$popupCacel()
203 } 248 }
204 }); 249 },
205 }, 250 addDjqx () {
206 // 上移下移 251 this.form.djqx.push({
207 moveUpward (index, row, type) { 252 nodecode: "",
208 if (type == "clxx") { 253 nodename: "",
209 upward(index, this.form.clxx); 254 enabled: "1",
210 } else { 255 djyy: "",
211 upward(index, this.form.djqx); 256 sfqydjyymb: "0",
212 } 257 });
213 }, 258 },
214 moveDown (index, row, type) { 259 removeDjqx (index, row) {
215 if (type == "clxx") { 260 this.form.djqx.splice(index, 1);
216 down(index, this.form.clxx); 261 },
217 } else { 262 addClxx () {
218 down(index, this.form.djqx); 263 this.form.clxx.push({
264 isrequired: "1",
265 djqxbm: "",
266 clbm: "",
267 clmc: "",
268 cllx: "",
269 sfggcl: "1",
270 });
271 },
272 removeClxx (index, row) {
273 this.form.clxx.splice(index, 1);
219 } 274 }
220 }, 275 }
221 addDjqx () { 276 }
222 this.form.djqx.push({
223 nodecode: "",
224 nodename: "",
225 enabled: "1",
226 djyy: "",
227 sfqydjyymb: "0",
228 });
229 },
230 removeDjqx (index, row) {
231 this.form.djqx.splice(index, 1);
232 },
233 addClxx () {
234 this.form.clxx.push({
235 isrequired: "1",
236 djqxbm: "",
237 clbm: "",
238 clmc: "",
239 cllx: "",
240 sfggcl: "1",
241 });
242 },
243 removeClxx (index, row) {
244 this.form.clxx.splice(index, 1);
245 },
246 },
247 };
248 </script> 277 </script>
249 <style lang='scss' scoped> 278 <style lang='scss' scoped>
250 @import "~@/styles/mixin.scss"; 279 @import "~@/styles/mixin.scss";
251 @import "~@/styles/dialogBox.scss"; 280 @import "~@/styles/dialogBox.scss";
252 @import "~@/styles/collapse.scss"; 281 @import "~@/styles/collapse.scss";
253 @import "~@/styles/dialogBoxheader.scss"; 282 @import "~@/styles/dialogBoxheader.scss";
254 283
255 .contentBox { 284 .contentBox {
256 height: 75vh; 285 height: 75vh;
257 overflow-y: scroll; 286 overflow-y: scroll;
258 } 287 }
259 288
260 .el-radio-group { 289 .el-radio-group {
261 white-space: nowrap; 290 white-space: nowrap;
262 } 291 }
263 292
264 .form { 293 .form {
265 background: #eee; 294 background: #eee;
266 padding: 0 10px; 295 padding: 0 10px;
267 } 296 }
268 297
269 .edit-title-list { 298 .edit-title-list {
270 @include flex; 299 @include flex;
271 300
272 li { 301 li {
273 flex: 1; 302 flex: 1;
274 @include flex-center; 303 @include flex-center;
275 border: 1px solid $borderColor; 304 border: 1px solid $borderColor;
276 line-height: 36px; 305 line-height: 36px;
277 margin-bottom: 10px; 306 margin-bottom: 10px;
278 cursor: pointer; 307 cursor: pointer;
279 transition: all 0.3s; 308 transition: all 0.3s;
280 309
281 &:hover { 310 &:hover {
282 @extend .active; 311 @extend .active;
312 }
283 } 313 }
284 } 314 }
285 }
286
287 .active {
288 background: $light-blue !important;
289 color: #fff;
290 }
291
292 .dyztsd-title {
293 @include flex;
294 align-items: center;
295 justify-content: space-between;
296 padding-left: 20px;
297 }
298 315
299 .qlxx-list { 316 .active {
300 @include flex; 317 background: $light-blue !important;
301 flex-wrap: wrap; 318 color: #fff;
302 padding-left: 20px;
303
304 li {
305 width: 25%;
306 margin-bottom: 15px;
307 } 319 }
308 }
309
310 .screen-list {
311 @include flex;
312 align-items: center;
313 flex-wrap: wrap;
314 border: 1px solid $borderColor;
315 border-bottom: none;
316 320
317 li { 321 .dyztsd-title {
318 @include flex; 322 @include flex;
319 align-items: center; 323 align-items: center;
320 width: 25%; 324 justify-content: space-between;
321 line-height: 50px;
322 border-bottom: 1px solid $borderColor;
323 padding-left: 20px; 325 padding-left: 20px;
324 } 326 }
325 327
326 &-left { 328 .qlxx-list {
327 margin-right: 20px; 329 @include flex;
328 width: 160px; 330 flex-wrap: wrap;
329 white-space: nowrap; 331 padding-left: 20px;
332
333 li {
334 width: 25%;
335 margin-bottom: 15px;
336 }
330 } 337 }
331 338
332 li:nth-child(odd) { 339 .screen-list {
333 border-right: 1px solid $borderColor; 340 @include flex;
341 align-items: center;
342 flex-wrap: wrap;
343 border: 1px solid $borderColor;
344 border-bottom: none;
345
346 li {
347 @include flex;
348 align-items: center;
349 width: 25%;
350 line-height: 50px;
351 border-bottom: 1px solid $borderColor;
352 padding-left: 20px;
353 }
354
355 &-left {
356 margin-right: 20px;
357 width: 160px;
358 white-space: nowrap;
359 }
360
361 li:nth-child(odd) {
362 border-right: 1px solid $borderColor;
363 }
334 } 364 }
335 }
336 </style> 365 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:09
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList"> 8 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
...@@ -6,159 +11,158 @@ ...@@ -6,159 +11,158 @@
6 </div> 11 </div>
7 </template> 12 </template>
8 <script> 13 <script>
9 import addJtcy from './addJtcy.vue' 14 import addJtcy from './addJtcy.vue'
10 import { mapGetters } from 'vuex' 15 import { mapGetters } from 'vuex'
11 export default { 16 export default {
12 components: { 17 components: {
13 addJtcy 18 addJtcy
14 }, 19 },
15 computed: { 20 computed: {
16 ...mapGetters(["dictData"]), 21 ...mapGetters(["dictData"]),
17 }, 22 },
18 props: { 23 props: {
19 tableData: { 24 tableData: {
20 type: Array, 25 type: Array,
21 default: function () { 26 default: function () {
22 return [] 27 return []
28 }
29 },
30 gyfs: {
31 type: String,
32 default: '1'
23 } 33 }
24 }, 34 },
25 gyfs: { 35 data () {
26 type: String, 36 return {
27 default: '1' 37 key: 0,
28 } 38 dataIndex: 0,
29 }, 39 dialog: false,
30 data () { 40 details: {},
31 return { 41 tableDataList: [],
32 key: 0, 42 qlrCommonTable: [
33 dataIndex: 0, 43 {
34 dialog: false, 44 width: '50',
35 details: {}, 45 renderHeader: (h, scope) => {
36 tableDataList: [], 46 return <div> {
37 qlrCommonTable: [ 47 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
38 { 48 }
39 width: '50', 49 </div>
40 renderHeader: (h, scope) => { 50 },
41 return <div> { 51 render: (h, scope) => {
42 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> 52 return (
53 <div>
54 {
55 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
56 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
57 }
58 </div>
59 )
43 } 60 }
44 </div>
45 }, 61 },
46 render: (h, scope) => { 62 {
47 return ( 63 label: '身份证读卡器',
48 <div> 64 align: 'center',
49 { 65 render: (h, scope) => {
50 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 66 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
51 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> 67 }
52 } 68 },
53 </div> 69 {
54 ) 70 prop: "cyxm",
71 label: "成员姓名"
72 },
73 {
74 prop: "sfzhm",
75 label: "身份证号码"
76 },
77 {
78 prop: "dh",
79 label: "联系电话"
80 },
81 {
82 label: '修改',
83 render: (h, scope) => {
84 return (
85 <div>
86 {
87 this.$route.query.viewtype == 1 ? <el-button
88 icon="el-icon-view"
89 type="text"
90 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
91 icon="el-icon-edit-outline"
92 type="text"
93 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
94 }
95 </div>
96 )
97 }
55 } 98 }
56 }, 99 ],
57 { 100 column: this.qlrCommonTable
58 label: '身份证读卡器', 101 }
59 align: 'center', 102 },
60 render: (h, scope) => { 103 watch: {
61 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button> 104 tableData: {
105 handler: function (val, oldVal) {
106 let that = this
107 if (val.length == 0 || !val) {
108 that.tableDataList = _.cloneDeep([{
109 sqrmc: '',
110 dlrzjlx: '',
111 dlrzjh: '',
112 fr: ''
113 }])
114 } else {
115 that.tableDataList = _.cloneDeep(val)
62 } 116 }
63 }, 117 },
64 { 118 immediate: true,
65 prop: "cyxm", 119 deep: true
66 label: "成员姓名"
67 },
68 {
69 prop: "sfzhm",
70 label: "身份证号码"
71 },
72 {
73 prop: "dh",
74 label: "联系电话"
75 },
76 {
77 label: '修改',
78 render: (h, scope) => {
79 return (
80 <div>
81 {
82 this.$route.query.viewtype == 1 ? <el-button
83 icon="el-icon-view"
84 type="text"
85 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
86 icon="el-icon-edit-outline"
87 type="text"
88 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
89 }
90 </div>
91 )
92 }
93 }
94 ],
95 column: this.qlrCommonTable
96 }
97 },
98 watch: {
99 tableData: {
100 handler: function (val, oldVal) {
101 let that = this
102 if (val.length == 0 || !val) {
103 that.tableDataList = _.cloneDeep([{
104 sqrmc: '',
105 dlrzjlx: '',
106 dlrzjh: '',
107 fr: ''
108 }])
109 } else {
110 that.tableDataList = _.cloneDeep(val)
111 }
112 }, 120 },
113 immediate: true, 121 gyfs: {
114 deep: true 122 handler (newVal, oldValue) {
123 let dataList = _.cloneDeep(this.qlrCommonTable)
124 if (newVal == '1') {
125 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
126 } else {
127 this.column = dataList
128 }
129 },
130 immediate: true
131 }
115 }, 132 },
116 gyfs: { 133 methods: {
117 handler (newVal, oldValue) { 134 updateDetail (value) {
118 let dataList = _.cloneDeep(this.qlrCommonTable) 135 this.tableDataList[this.dataIndex] = value
119 if (newVal == '1') { 136 this.key++
120 this.column = _.cloneDeep(dataList).slice(1, dataList.length) 137 this.$emit('upDateJtcyList', this.tableDataList)
121 } else {
122 this.column = dataList
123 }
124 }, 138 },
125 immediate: true
126 }
127 },
128 methods: {
129 updateDetail (value) {
130 this.tableDataList[this.dataIndex] = value
131 this.key++
132 this.$emit('upDateJtcyList', this.tableDataList)
133 },
134
135 // 新增
136 addClick () {
137 this.dialog = true
138 },
139 139
140 // 删除 140 // 新增
141 deleClick (index, row) { 141 addClick () {
142 this.tableData.splice(index, 1) 142 this.dialog = true
143 }, 143 },
144
145 // 删除
146 deleClick (index, row) {
147 this.tableData.splice(index, 1)
148 },
144 149
145 // 身份证读取 150 // 身份证读取
146 readClick () { }, 151 readClick () { },
147 152
148 // 修改 153 // 修改
149 editClick (index, row) { 154 editClick (index, row) {
150 console.log(row, 'rowrowrowrowrow'); 155 console.log(row, 'rowrowrowrowrow');
151 this.dataIndex = index 156 this.dataIndex = index
152 this.dialog = true 157 this.dialog = true
153 this.details = row 158 this.details = row
154 }, 159 },
155 160
156 queryViewClick () { 161 queryViewClick () {
157 this.dialog = true 162 this.dialog = true
163 }
158 } 164 }
159 } 165 }
160 }
161 </script> 166 </script>
162 <style scoped lang='scss'> 167 <style scoped lang='scss'>
163
164 </style> 168 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:28
5 -->
1 <template> 6 <template>
2 <dialogBox title="家庭成员信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" 7 <dialogBox title="家庭成员信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm"
3 @closeDialog="closeDialog"> 8 @closeDialog="closeDialog">
...@@ -101,105 +106,105 @@ ...@@ -101,105 +106,105 @@
101 </dialogBox> 106 </dialogBox>
102 </template> 107 </template>
103 <script> 108 <script>
104 import { mapGetters } from 'vuex' 109 import { mapGetters } from 'vuex'
105 export default { 110 export default {
106 props: { 111 props: {
107 value: { type: Boolean, default: false }, 112 value: { type: Boolean, default: false },
108 details: { type: Object, default: {} } 113 details: { type: Object, default: {} }
109 }, 114 },
110 computed: { 115 computed: {
111 ...mapGetters(["dictData"]), 116 ...mapGetters(["dictData"]),
112 }, 117 },
113 data () { 118 data () {
114 return { 119 return {
115 myValue: this.value, 120 myValue: this.value,
116 jtgx: [ 121 jtgx: [
117 {value:'0',label:'本人或户主'}, 122 { value: '0', label: '本人或户主' },
118 {value:'1',label:'配偶'}, 123 { value: '1', label: '配偶' },
119 {value:'2',label:'子'}, 124 { value: '2', label: '子' },
120 {value:'3',label:'女'}, 125 { value: '3', label: '女' },
121 {value:'4',label:'子孙、孙女、外孙子、外孙女'}, 126 { value: '4', label: '子孙、孙女、外孙子、外孙女' },
122 {value:'5',label:'父母'}, 127 { value: '5', label: '父母' },
123 {value:'6',label:'祖父母、外祖父母'}, 128 { value: '6', label: '祖父母、外祖父母' },
124 {value:'7',label:'兄、弟、姐、妹'}, 129 { value: '7', label: '兄、弟、姐、妹' },
125 {value:'8',label:'其他'}, 130 { value: '8', label: '其他' },
126 ],
127 ruleForm: {
128 qlrlx: '',
129 sqrmc: '',
130 zjzl: '',
131 zjh: '',
132 dh: '',
133 xb: '',
134 frmc: '',
135 gjdq: '',
136 szss: '',
137 dz: '',
138 yb: '',
139 fzjg: '',
140 dzyj: '',
141 qlbl: '',
142 gzdw: '',
143 dljg: '',
144 dlrxm: '',
145 dlrzjlx: '',
146 dlrzjh: ''
147 },
148 rules: {
149 qlrlx: [
150 { required: true, message: '权利人类型', trigger: 'change' }
151 ],
152 sqrmc: [
153 { required: true, message: '姓名/名称', trigger: 'blur' }
154 ],
155 zjzl: [
156 { required: true, message: '证件种类', trigger: 'change' }
157 ], 131 ],
158 zjh: [ 132 ruleForm: {
159 { required: true, message: '证件号', trigger: 'blur' } 133 qlrlx: '',
160 ] 134 sqrmc: '',
135 zjzl: '',
136 zjh: '',
137 dh: '',
138 xb: '',
139 frmc: '',
140 gjdq: '',
141 szss: '',
142 dz: '',
143 yb: '',
144 fzjg: '',
145 dzyj: '',
146 qlbl: '',
147 gzdw: '',
148 dljg: '',
149 dlrxm: '',
150 dlrzjlx: '',
151 dlrzjh: ''
152 },
153 rules: {
154 qlrlx: [
155 { required: true, message: '权利人类型', trigger: 'change' }
156 ],
157 sqrmc: [
158 { required: true, message: '姓名/名称', trigger: 'blur' }
159 ],
160 zjzl: [
161 { required: true, message: '证件种类', trigger: 'change' }
162 ],
163 zjh: [
164 { required: true, message: '证件号', trigger: 'blur' }
165 ]
166 }
161 } 167 }
162 }
163 },
164 watch: {
165 value (val) {
166 this.myValue = _.cloneDeep(val)
167 }, 168 },
168 details: { 169 watch: {
169 handler: function (val, oldVal) { 170 value (val) {
170 this.ruleForm = val 171 this.myValue = _.cloneDeep(val)
171 }, 172 },
172 deep: true 173 details: {
173 } 174 handler: function (val, oldVal) {
174 }, 175 this.ruleForm = val
175 methods: { 176 },
176 closeDialog () { 177 deep: true
177 this.$emit("input", false); 178 }
178 this.$refs['ruleForm'].resetFields();
179 }, 179 },
180 submitForm () { 180 methods: {
181 this.$emit("input", false); 181 closeDialog () {
182 this.$emit("updateDetail", _.cloneDeep(this.ruleForm)); 182 this.$emit("input", false);
183 // this.$refs['ruleForm'].validate((valid) => { 183 this.$refs['ruleForm'].resetFields();
184 // if (valid) { 184 },
185 // this.$message({ 185 submitForm () {
186 // message: '修改成功!', 186 this.$emit("input", false);
187 // type: 'success' 187 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
188 // }) 188 // this.$refs['ruleForm'].validate((valid) => {
189 // if (valid) {
190 // this.$message({
191 // message: '修改成功!',
192 // type: 'success'
193 // })
189 194
190 // } else { 195 // } else {
191 // this.$message.error('请完善必填项'); 196 // this.$message.error('请完善必填项');
192 // } 197 // }
193 // }) 198 // })
199 }
194 } 200 }
195 } 201 }
196 }
197 </script> 202 </script>
198 <style scoped lang="scss"> 203 <style scoped lang="scss">
199 .submit-button { 204 .submit-button {
200 text-align: center; 205 text-align: center;
201 height: 52px; 206 height: 52px;
202 padding-top: 10px; 207 padding-top: 10px;
203 background-color: #fff; 208 background-color: #fff;
204 } 209 }
205 </style> 210 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:48
5 -->
1 <template> 6 <template>
2 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData"> 7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData">
3 </lb-table> 8 </lb-table>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:46
5 -->
1 <template> 6 <template>
2 <div class="clxx"> 7 <div class="clxx">
3 <div class="left"> 8 <div class="left">
...@@ -36,497 +41,496 @@ ...@@ -36,497 +41,496 @@
36 </div> 41 </div>
37 </template> 42 </template>
38 <script> 43 <script>
39 import { mapGetters } from "vuex"; 44 import { mapGetters } from "vuex";
40 import clxxAddDialog from "./clxxAddDialog.vue"; 45 import clxxAddDialog from "./dialog/clxxAddDialog.vue";
41 import imagePreview from '@/views/components/imagePreview.vue' 46 import imagePreview from '@/views/components/imagePreview.vue'
42 import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; 47 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
43 export default { 48 export default {
44 components: { clxxAddDialog, imagePreview }, 49 components: { clxxAddDialog, imagePreview },
45 data () { 50 data () {
46 return { 51 return {
47 isDialog: false, 52 isDialog: false,
48 menuList: [ 53 menuList: [
49 { 54 {
50 id: "1", 55 id: "1",
51 label: "材料目录明细", 56 label: "材料目录明细",
52 },
53 {
54 id: "2",
55 label: "材料预览",
56 },
57 ],
58 iclass: "",
59 // 材料目录选中
60 treeCheckIndex: 0,
61 treeCheckId: "",
62 checkedId: "1",
63 column: [
64 {
65 width: "50",
66 renderHeader: (h, scope) => {
67 return (
68 <div>
69 {
70 this.$route.query.viewtype == 1 ? '序号' :
71 <i
72 class="el-icon-plus pointer"
73 onClick={() => {
74 this.handleAdd()
75 }}
76 ></i>
77 }
78 </div>
79 )
80 }, 57 },
81 render: (h, scope) => { 58 {
82 // 新建的材料,可删除 59 id: "2",
83 // v-show='scope.row.sfxjcl == 1' 60 label: "材料预览",
84 return ( 61 },
85 <div> 62 ],
86 { 63 iclass: "",
87 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 64 // 材料目录选中
88 <i 65 treeCheckIndex: 0,
89 class="el-icon-minus pointer" 66 treeCheckId: "",
90 67 checkedId: "1",
91 onClick={() => { 68 column: [
92 this.handleDelete(scope.$index, scope.row); 69 {
93 }} 70 width: "50",
94 ></i> 71 renderHeader: (h, scope) => {
95 }
96 </div>
97 )
98 }
99 },
100 {
101 prop: "isrequired",
102 label: "是否必选",
103 width: "50",
104 render: (h, scope) => {
105 if (scope.row.sfxjcl === "1") {
106 return ( 72 return (
107 <div> 73 <div>
108 <span>可选</span> 74 {
75 this.$route.query.viewtype == 1 ? '序号' :
76 <i
77 class="el-icon-plus pointer"
78 onClick={() => {
79 this.handleAdd()
80 }}
81 ></i>
82 }
109 </div> 83 </div>
110 ); 84 )
111 } 85 },
112 else { 86 render: (h, scope) => {
87 // 新建的材料,可删除
88 // v-show='scope.row.sfxjcl == 1'
113 return ( 89 return (
114 <div> 90 <div>
115 <span>必选</span> 91 {
92 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
93 <i
94 class="el-icon-minus pointer"
95
96 onClick={() => {
97 this.handleDelete(scope.$index, scope.row);
98 }}
99 ></i>
100 }
116 </div> 101 </div>
117 ); 102 )
118 } 103 }
119 }, 104 },
120 }, 105 {
121 { 106 prop: "isrequired",
122 prop: "sjmc", 107 label: "是否必选",
123 label: "材料名称", 108 width: "50",
124 }, 109 render: (h, scope) => {
125 { 110 if (scope.row.sfxjcl === "1") {
126 prop: "sjlx", 111 return (
127 label: "材料类型", 112 <div>
128 width: "80", 113 <span>可选</span>
129 render: (h, scope) => { 114 </div>
130 return ( 115 );
131 <div> 116 }
132 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span> 117 else {
133 </div> 118 return (
134 ); 119 <div>
120 <span>必选</span>
121 </div>
122 );
123 }
124 },
125 },
126 {
127 prop: "sjmc",
128 label: "材料名称",
135 }, 129 },
136 }, 130 {
137 { 131 prop: "sjlx",
138 prop: "sjsl", 132 label: "材料类型",
139 label: "份数", 133 width: "80",
140 width: "50" 134 render: (h, scope) => {
141 },
142 {
143 prop: "smzt",
144 label: "扫描状态",
145 width: "80",
146 render: (h, scope) => {
147 if (scope.row.children.length > 0) {
148 return ( 135 return (
149 <div> 136 <div>
150 <span>已扫描</span> 137 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span>
151 </div> 138 </div>
152 ); 139 );
153 } else { 140 },
141 },
142 {
143 prop: "sjsl",
144 label: "份数",
145 width: "50"
146 },
147 {
148 prop: "smzt",
149 label: "扫描状态",
150 width: "80",
151 render: (h, scope) => {
152 if (scope.row.children.length > 0) {
153 return (
154 <div>
155 <span>已扫描</span>
156 </div>
157 );
158 } else {
159 return (
160 <div>
161 <span>未扫描</span>
162 </div>
163 );
164 }
165 },
166 },
167 {
168 prop: "ys",
169 label: "扫描页数",
170 width: "50"
171 },
172 {
173 label: "操作",
174 width: "80",
175 render: (h, scope) => {
154 return ( 176 return (
155 <div> 177 <div>
156 <span>未扫描</span> 178 <el-button
179 type="text"
180 disabled={scope.$index == 0}
181 onClick={() => {
182 this.moveUpward(scope.$index, scope.row);
183 }}
184 >
185 上移
186 </el-button>
187 <el-button
188 type="text"
189 disabled={scope.$index + 1 == this.tableData.length}
190 onClick={() => {
191 this.moveDown(scope.$index, scope.row);
192 }}
193 >
194 下移
195 </el-button>
157 </div> 196 </div>
158 ); 197 );
159 } 198 },
160 }, 199 },
161 }, 200 ],
162 { 201 key: 0,
163 prop: "ys", 202 tableData: [],
164 label: "扫描页数", 203 previewImg: {
165 width: "50" 204 // 收件标识码
166 }, 205 bsmSj: '',
167 { 206 bsmSlsq: this.$parent.bsmSlsq,
168 label: "操作", 207 index: 0,
169 width: "80", 208 selectedIndex: 0,
170 render: (h, scope) => { 209 imgList: []
171 return ( 210 }
172 <div>
173 <el-button
174 type="text"
175 disabled={scope.$index == 0}
176 onClick={() => {
177 this.moveUpward(scope.$index, scope.row);
178 }}
179 >
180 上移
181 </el-button>
182 <el-button
183 type="text"
184 disabled={scope.$index + 1 == this.tableData.length}
185 onClick={() => {
186 this.moveDown(scope.$index, scope.row);
187 }}
188 >
189 下移
190 </el-button>
191 </div>
192 );
193 },
194 },
195 ],
196 key: 0,
197 tableData: [],
198 previewImg: {
199 // 收件标识码
200 bsmSj: '',
201 bsmSlsq: this.$parent.bsmSlsq,
202 index: 0,
203 selectedIndex: 0,
204 imgList: []
205 }
206 }
207 },
208 computed: {
209 ...mapGetters(["dictData"])
210 },
211 created () {
212 this.clmlInitList()
213 },
214 methods: {
215 // 自动预览
216 nextPriview () {
217 if (this.treeCheckIndex < this.tableData.length) {
218 this.treeCheckIndex++
219 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
220 this.previewImg.index = 0
221 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
222 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
223 } 211 }
224 }, 212 },
225 prevPriview () { 213 computed: {
226 if (this.treeCheckIndex >= 1) { 214 ...mapGetters(["dictData"])
227 this.treeCheckIndex--
228 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
229 this.previewImg.index = this.previewImg.imgList.length
230 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
231 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
232 }
233 }, 215 },
234 // 材料目录明细初始化 216 created () {
235 clmlInitList () { 217 this.clmlInitList()
236 return new Promise(resolve => {
237 this.unitData = this.$parent.unitData;
238 var formdata = new FormData();
239 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
240 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
241 InitClml(formdata).then((res) => {
242 if(res.result.code == 200){
243 resolve(res.code)
244 if (res.result.result && res.result.result.length > 0) {
245 this.tableData = res.result.result;
246 this.treeCheckId = this.tableData[0].bsmSj;
247 this.title = this.tableData[0].sjmc;
248 this.titleYs = 1;
249 this.titleNum = this.tableData[0].children.length;
250
251 this.previewImg.imgList = this.tableData[0]?.children;
252 this.previewImg.bsmSj = this.tableData[0]?.bsmSj;
253 }
254 }else{
255 this.$message.error(res.result.message)
256 }
257 })
258 })
259 }, 218 },
260 updateList (val) { 219 methods: {
261 let that = this 220 // 自动预览
262 if (val != null) { //删除最后一张图片时 val=null 221 nextPriview () {
263 this.tableData.forEach(item => { 222 if (this.treeCheckIndex < this.tableData.length) {
264 if (item.bsmSj === val.bsmSj) { 223 this.treeCheckIndex++
265 item.children = val.children 224 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
266 } 225 this.previewImg.index = 0
267 }) 226 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
268 this.previewImg.imgList = _.cloneDeep(val.children) 227 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
269 if (this.previewImg.index == this.previewImg.imgList.length) {
270 this.previewImg.index = this.previewImg.index - 1
271 } 228 }
272 } else { 229 },
273 this.previewImg.imgList = [] 230 prevPriview () {
274 this.tableData.forEach((item, index) => { 231 if (this.treeCheckIndex >= 1) {
275 if (this.treeCheckId == item.bsmSj) { 232 this.treeCheckIndex--
276 item.children = [] 233 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
277 that.treeCheckIndex = index 234 this.previewImg.index = this.previewImg.imgList.length
278 } 235 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
279 }) 236 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
280 } 237 }
238 },
239 // 材料目录明细初始化
240 clmlInitList () {
241 return new Promise(resolve => {
242 this.unitData = this.$parent.unitData;
243 var formdata = new FormData();
244 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
245 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
246 InitClml(formdata).then((res) => {
247 if (res.result.code == 200) {
248 resolve(res.code)
249 if (res.result.result && res.result.result.length > 0) {
250 this.tableData = res.result.result;
251 this.treeCheckId = this.tableData[0].bsmSj;
252 this.title = this.tableData[0].sjmc;
253 this.titleYs = 1;
254 this.titleNum = this.tableData[0].children.length;
281 255
282 }, 256 this.previewImg.imgList = this.tableData[0]?.children;
283 // 左侧菜单点击 257 this.previewImg.bsmSj = this.tableData[0]?.bsmSj;
284 menuClick (item) { 258 }
285 this.checkedId = item.id 259 } else {
286 }, 260 this.$message.error(res.result.message)
287 // 添加材料目录 261 }
288 handleAdd () {
289 this.isDialog = true;
290 },
291 // 上移
292 moveUpward (index, row) {
293 let obj = {
294 xh: row.xh,
295 bsmSlsq: row.bsmSlsq,
296 moveDirection: "UP",
297 };
298 // 接口待调
299 moveClml(obj).then(async (res) => {
300 if (res.code == 200) {
301 let res = await this.clmlInitList()
302 if (res == 200) this.$message({
303 message: '上移成功',
304 type: 'success'
305 }) 262 })
306 } else { 263 })
307 this.$message.error(res.message); 264 },
308 } 265 updateList (val) {
309 }) 266 let that = this
310 }, 267 if (val != null) { //删除最后一张图片时 val=null
311 // 下移 268 this.tableData.forEach(item => {
312 moveDown (index, row) { 269 if (item.bsmSj === val.bsmSj) {
313 let obj = { 270 item.children = val.children
314 xh: row.xh, 271 }
315 bsmSlsq: row.bsmSlsq,
316 moveDirection: "DOWN",
317 }
318 // 接口待调
319 moveClml(obj).then(async (res) => {
320 if (res.code == 200) {
321 let res = await this.clmlInitList()
322 if (res == 200) this.$message({
323 message: '下移成功',
324 type: 'success'
325 }) 272 })
273 this.previewImg.imgList = _.cloneDeep(val.children)
274 if (this.previewImg.index == this.previewImg.imgList.length) {
275 this.previewImg.index = this.previewImg.index - 1
276 }
326 } else { 277 } else {
327 this.$message.error(res.message); 278 this.previewImg.imgList = []
328 } 279 this.tableData.forEach((item, index) => {
329 }) 280 if (this.treeCheckId == item.bsmSj) {
330 }, 281 item.children = []
331 // 新增弹窗保存 282 that.treeCheckIndex = index
332 addSave (data) { 283 }
333 let obj = {
334 bsmSlsq: this.$parent.bsmSlsq,
335 isrequired: "1",
336 sjmc: data.clmc,
337 sjsl: 0,
338 smzt: '',
339 ys: 0,
340 sjlx: data.cllx,
341 sfxjcl: "1", // 是否必选
342 };
343 saveClml(obj).then(async (res) => {
344 if (res.code == 200) {
345 let res = await this.clmlInitList()
346 if (res == 200) this.$message({
347 message: "新增成功",
348 type: "success",
349 }) 284 })
350 } 285 }
351 }); 286
352 }, 287 },
353 // 材料目录删除 288 // 左侧菜单点击
354 handleDelete (index, row) { 289 menuClick (item) {
355 let that = this 290 this.checkedId = item.id
356 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 291 },
357 confirmButtonText: '确定', 292 // 添加材料目录
358 cancelButtonText: '取消', 293 handleAdd () {
359 type: 'warning' 294 this.isDialog = true;
360 }).then(() => { 295 },
361 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => { 296 // 上移
297 moveUpward (index, row) {
298 let obj = {
299 xh: row.xh,
300 bsmSlsq: row.bsmSlsq,
301 moveDirection: "UP",
302 };
303 // 接口待调
304 moveClml(obj).then(async (res) => {
362 if (res.code == 200) { 305 if (res.code == 200) {
363 let res = await that.clmlInitList() 306 let res = await this.clmlInitList()
364 if (res == 200) that.$message({ 307 if (res == 200) this.$message({
365 message: "删除成功", 308 message: '上移成功',
366 type: "success", 309 type: 'success'
367 }) 310 })
311 } else {
312 this.$message.error(res.message);
368 } 313 }
369 }) 314 })
370 }).catch(() => { 315 },
371 this.$message({ 316 // 下移
372 type: 'info', 317 moveDown (index, row) {
373 message: '已取消删除' 318 let obj = {
319 xh: row.xh,
320 bsmSlsq: row.bsmSlsq,
321 moveDirection: "DOWN",
322 }
323 // 接口待调
324 moveClml(obj).then(async (res) => {
325 if (res.code == 200) {
326 let res = await this.clmlInitList()
327 if (res == 200) this.$message({
328 message: '下移成功',
329 type: 'success'
330 })
331 } else {
332 this.$message.error(res.message);
333 }
374 }) 334 })
375 }) 335 },
376 }, 336 // 新增弹窗保存
377 // 材料目录点击选中 337 addSave (data) {
378 treeClick (item, index) { 338 let obj = {
379 this.previewImg.index = 0 339 bsmSlsq: this.$parent.bsmSlsq,
380 this.treeCheckId = item?.bsmSj 340 isrequired: "1",
381 this.treeCheckIndex = index 341 sjmc: data.clmc,
382 this.previewImg.imgList = item?.children 342 sjsl: 0,
383 this.previewImg.bsmSj = item?.bsmSj 343 smzt: '',
384 }, 344 ys: 0,
385 // 小图片点击 345 sjlx: data.cllx,
386 imgClick (item, index) { 346 sfxjcl: "1", // 是否必选
387 this.showImg = item; 347 };
388 this.titleYs = index + 1; 348 saveClml(obj).then(async (res) => {
389 }, 349 if (res.code == 200) {
390 // 字典 350 let res = await this.clmlInitList()
391 dicStatus (val, code) { 351 if (res == 200) this.$message({
392 let data = this.$store.getters.dictData[code], 352 message: "新增成功",
393 name = "暂无"; 353 type: "success",
394 if (data) { 354 })
395 data.map((item) => {
396 if (item.dcode == val) {
397 name = item.dname;
398 } 355 }
399 }); 356 });
400 return name; 357 },
401 } 358 // 材料目录删除
359 handleDelete (index, row) {
360 let that = this
361 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
362 confirmButtonText: '确定',
363 cancelButtonText: '取消',
364 type: 'warning'
365 }).then(() => {
366 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => {
367 if (res.code == 200) {
368 let res = await that.clmlInitList()
369 if (res == 200) that.$message({
370 message: "删除成功",
371 type: "success",
372 })
373 }
374 })
375 }).catch(() => {
376 this.$message({
377 type: 'info',
378 message: '已取消删除'
379 })
380 })
381 },
382 // 材料目录点击选中
383 treeClick (item, index) {
384 this.previewImg.index = 0
385 this.treeCheckId = item?.bsmSj
386 this.treeCheckIndex = index
387 this.previewImg.imgList = item?.children
388 this.previewImg.bsmSj = item?.bsmSj
389 },
390 // 小图片点击
391 imgClick (item, index) {
392 this.showImg = item;
393 this.titleYs = index + 1;
394 },
395 // 字典
396 dicStatus (val, code) {
397 let data = this.$store.getters.dictData[code],
398 name = "暂无";
399 if (data) {
400 data.map((item) => {
401 if (item.dcode == val) {
402 name = item.dname;
403 }
404 });
405 return name;
406 }
407 },
402 }, 408 },
403 }, 409 };
404 };
405 </script> 410 </script>
406 <style scoped lang='scss'> 411 <style scoped lang='scss'>
407 @import "~@/styles/mixin.scss"; 412 @import "~@/styles/mixin.scss";
408
409 .active {
410 background: $light-blue !important;
411 color: #fff;
412 }
413
414 .required {
415 font-size: 12px;
416 color: $pink;
417 float: left;
418 }
419 413
420 .cl_number { 414 .active {
421 float: right; 415 background: $light-blue !important;
422 } 416 color: #fff;
423 417 }
424 .clxx {
425 width: 100%;
426 display: flex;
427 padding-left: 5px;
428 height: calc(100vh - 125px);
429
430 .left {
431 display: flex;
432 flex-direction: column;
433 justify-content: space-between;
434 418
435 .item { 419 .required {
436 width: 28px; 420 font-size: 12px;
437 height: 49%; 421 color: $pink;
438 @include flex-center; 422 float: left;
439 background-color: #E4E7ED; 423 }
440 border-bottom-right-radius: 10px;
441 padding: 5px;
442 cursor: pointer;
443 transition: all 0.3s;
444 424
445 &:hover { 425 .cl_number {
446 @extend .active; 426 float: right;
447 }
448 }
449 } 427 }
450 428
451 .right { 429 .clxx {
452 width: 100%; 430 width: 100%;
453 height: 100%; 431 display: flex;
432 padding-left: 5px;
433 height: calc(100vh - 125px);
454 434
455 .clmlmx-box { 435 .left {
456 margin: 0 auto; 436 display: flex;
437 flex-direction: column;
438 justify-content: space-between;
457 439
458 .title { 440 .item {
459 text-align: center; 441 width: 28px;
460 height: 60px; 442 height: 49%;
461 line-height: 60px; 443 @include flex-center;
462 border: 1px solid #dfe6ec; 444 background-color: #e4e7ed;
463 font-size: 20px; 445 border-bottom-right-radius: 10px;
464 background: #81d3f81a; 446 padding: 5px;
465 margin-bottom: -1px; 447 cursor: pointer;
448 transition: all 0.3s;
449
450 &:hover {
451 @extend .active;
452 }
466 } 453 }
467 } 454 }
468 455
469 .clyl-box { 456 .right {
470 width: 100%; 457 width: 100%;
471 height: 100%; 458 height: 100%;
472 display: flex;
473
474 .menu-tree {
475 width: 20%;
476 min-width: 160px;
477 height: 100%;
478 margin-right: 10px;
479 border-right: 1px dotted #d9d9d9;
480 padding: 0 15px;
481 459
460 .clmlmx-box {
461 margin: 0 auto;
482 462
483 .item { 463 .title {
484 line-height: 30px;
485 padding-top: 5px;
486 border-bottom: 1px solid #e8e8e8;
487 font-size: 16px;
488 text-align: center; 464 text-align: center;
489 color: $light-blue; 465 height: 60px;
466 line-height: 60px;
467 border: 1px solid #dfe6ec;
468 font-size: 20px;
469 background: #81d3f81a;
470 margin-bottom: -1px;
471 }
472 }
490 473
491 .itemIcon { 474 .clyl-box {
492 float: right; 475 width: 100%;
493 line-height: 60px; 476 height: 100%;
494 cursor: pointer; 477 display: flex;
495 }
496 478
497 .child { 479 .menu-tree {
498 line-height: 32px; 480 width: 20%;
499 border-bottom: 1px solid #e8e8e8; 481 min-width: 160px;
500 padding-left: 10px; 482 height: 100%;
501 color: #6b6b6b; 483 margin-right: 10px;
502 cursor: pointer; 484 border-right: 1px dotted #d9d9d9;
503 box-sizing: border-box; 485 padding: 0 15px;
504 border-radius: 6px;
505 line-height: 20px;
506 transition: all 0.3s;
507 padding: 8px 0;
508 }
509 486
510 .child:hover { 487 .item {
488 line-height: 30px;
489 padding-top: 5px;
490 border-bottom: 1px solid #e8e8e8;
491 font-size: 16px;
492 text-align: center;
511 color: $light-blue; 493 color: $light-blue;
512 transform: scale(1.1);
513 }
514 494
515 .checked { 495 .itemIcon {
516 border: 1px solid $light-blue; 496 float: right;
517 color: $light-blue; 497 line-height: 60px;
498 cursor: pointer;
499 }
500
501 .child {
502 line-height: 32px;
503 border-bottom: 1px solid #e8e8e8;
504 padding-left: 10px;
505 color: #6b6b6b;
506 cursor: pointer;
507 box-sizing: border-box;
508 border-radius: 6px;
509 line-height: 20px;
510 transition: all 0.3s;
511 padding: 8px 0;
512 }
513
514 .child:hover {
515 color: $light-blue;
516 transform: scale(1.1);
517 }
518
519 .checked {
520 border: 1px solid $light-blue;
521 color: $light-blue;
522 }
518 } 523 }
519 } 524 }
520 }
521 525
522 .clyl-img { 526 .clyl-img {
523 width: 75%; 527 width: 75%;
524 height: 100%; 528 height: 100%;
525 background: #f3f4f7; 529 background: #f3f4f7;
526 margin: 0 auto; 530 margin: 0 auto;
527 position: relative; 531 position: relative;
532 }
528 } 533 }
529 } 534 }
530 } 535 }
531 }
532 </style> 536 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:38
5 -->
1 <template> 6 <template>
2 <div class="clxx"> 7 <div class="clxx">
3 <div class="right"> 8 <div class="right">
4 <!-- 材料预览 --> 9 <!-- 材料预览 -->
5 <div class="clyl-box"> 10 <div class="clyl-box">
6 <div class="menu-tree"> 11 <div class="menu-tree">
7 <el-button type="primary" native-type="submit" @click="viewDetail" style="width:100%;margin-top:10px;">查看明细</el-button> 12 <el-button type="primary" native-type="submit" @click="viewDetail" style="width:100%;margin-top:10px;">查看明细</el-button>
8 <div class="item"> 13 <div class="item">
9 材料目录({{tableData.length}}) 14 材料目录({{tableData.length}})
10 <div style="margin-top:10px"> 15 <div style="margin-top:10px">
...@@ -24,310 +29,310 @@ ...@@ -24,310 +29,310 @@
24 </div> 29 </div>
25 </div> 30 </div>
26 <clxxAddDialog v-model="isDialog" /> 31 <clxxAddDialog v-model="isDialog" />
27 <clxxDetailDialog v-model="detailDialog" :data="tableData"/> 32 <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> -->
28 </div> 33 </div>
29 </template> 34 </template>
30 <script> 35 <script>
31 import { mapGetters } from "vuex"; 36 import { mapGetters } from "vuex";
32 import clxxAddDialog from "./clxxAddDialog.vue"; 37 import clxxAddDialog from "./dialog/clxxAddDialog.vue";
33 import clxxDetailDialog from "./clxxDetailDialog.vue"; 38 import clxxDetailDialog from "./dialog/clxxDetailDialog.vue";
34 import imagePreview from '@/views/components/imagePreview.vue' 39 import imagePreview from '@/views/components/imagePreview.vue'
35 import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; 40 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
36 import { popupDialog } from "@/utils/popup.js"; 41 import { popupDialog } from "@/utils/popup.js";
37 export default { 42 export default {
38 components: { clxxAddDialog, imagePreview,clxxDetailDialog }, 43 components: { clxxAddDialog, imagePreview, clxxDetailDialog },
39 data () { 44 data () {
40 return { 45 return {
41 isDialog: false, 46 isDialog: false,
42 detailDialog: false, 47 iclass: "",
43 iclass: "", 48 // 材料目录选中
44 // 材料目录选中 49 treeCheckIndex: 0,
45 treeCheckIndex: 0, 50 treeCheckId: "",
46 treeCheckId: "", 51 key: 0,
47 key: 0, 52 tableData: [],
48 tableData: [], 53 previewImg: {
49 previewImg: { 54 // 收件标识码
50 // 收件标识码 55 bsmSj: '',
51 bsmSj: '', 56 bsmSlsq: this.$parent.bsmSlsq,
52 bsmSlsq: this.$parent.bsmSlsq, 57 index: 0,
53 index: 0, 58 selectedIndex: 0,
54 selectedIndex: 0, 59 imgList: []
55 imgList: [] 60 }
56 }
57 }
58 },
59 computed: {
60 ...mapGetters(["dictData"])
61 },
62 created () {
63 this.clmlInitList(1)
64 },
65 methods: {
66 // 自动预览
67 nextPriview () {
68 if (this.treeCheckIndex < this.tableData.length) {
69 this.treeCheckIndex++
70 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
71 this.previewImg.index = 0
72 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
73 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
74 } 61 }
75 }, 62 },
76 prevPriview () { 63 computed: {
77 if (this.treeCheckIndex >= 1) { 64 ...mapGetters(["dictData"])
78 this.treeCheckIndex--
79 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
80 this.previewImg.index = this.previewImg.imgList.length
81 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
82 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
83 }
84 }, 65 },
85 // 材料目录明细初始化 66 created () {
86 clmlInitList (type) { 67 this.clmlInitList(1)
87 //type 1:列表初始化 2:新增材料 68 },
88 return new Promise(resolve => { 69 methods: {
89 this.unitData = this.$parent.unitData; 70 // 自动预览
90 var formdata = new FormData(); 71 nextPriview () {
91 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); 72 if (this.treeCheckIndex < this.tableData.length) {
92 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 73 this.treeCheckIndex++
93 InitClml(formdata).then((res) => { 74 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
94 if(res.code == 200){ 75 this.previewImg.index = 0
95 resolve(res.code) 76 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
96 if (res.result && res.result.length > 0) { 77 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
97 this.tableData = res.result; 78 }
98 if(type == 1){ 79 },
99 this.treeClick(this.tableData[0],0); 80 prevPriview () {
100 }else{ 81 if (this.treeCheckIndex >= 1) {
101 //新增材料后刷新列表焦点置于新增的对象上 82 this.treeCheckIndex--
102 this.treeClick(this.tableData[this.tableData.length - 1],this.tableData.length - 1); 83 this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj
84 this.previewImg.index = this.previewImg.imgList.length
85 this.previewImg.imgList = this.tableData[this.treeCheckIndex].children
86 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
87 }
88 },
89 // 材料目录明细初始化
90 clmlInitList (type) {
91 //type 1:列表初始化 2:新增材料
92 return new Promise(resolve => {
93 this.unitData = this.$parent.unitData;
94 var formdata = new FormData();
95 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
96 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
97 InitClml(formdata).then((res) => {
98 if (res.code == 200) {
99 resolve(res.code)
100 if (res.result && res.result.length > 0) {
101 this.tableData = res.result;
102 if (type == 1) {
103 this.treeClick(this.tableData[0], 0);
104 } else {
105 //新增材料后刷新列表焦点置于新增的对象上
106 this.treeClick(this.tableData[this.tableData.length - 1], this.tableData.length - 1);
107 }
103 } 108 }
109 } else {
110 this.$message.error(res.message)
104 } 111 }
105 }else{ 112 })
106 this.$message.error(res.message)
107 }
108 })
109 })
110 },
111 setChecked(item){
112 this.treeCheckId = item.bsmSj;
113 this.title = item.sjmc;
114 this.titleYs = 1;
115 this.titleNum = item.children.length;
116 this.previewImg.imgList = item.children;
117 this.previewImg.bsmSj = item.bsmSj;
118 },
119 updateList (val) {
120 let that = this
121 if (val != null) { //删除最后一张图片时 val=null
122 this.tableData.forEach(item => {
123 if (item.bsmSj === val.bsmSj) {
124 item.children = val.children
125 }
126 }) 113 })
127 this.previewImg.imgList = _.cloneDeep(val.children) 114 },
128 if (this.previewImg.index == this.previewImg.imgList.length) { 115 setChecked (item) {
129 this.previewImg.index = this.previewImg.index - 1 116 this.treeCheckId = item.bsmSj;
130 } 117 this.title = item.sjmc;
131 } else { 118 this.titleYs = 1;
132 this.previewImg.imgList = [] 119 this.titleNum = item.children.length;
133 this.tableData.forEach((item, index) => { 120 this.previewImg.imgList = item.children;
134 if (this.treeCheckId == item.bsmSj) { 121 this.previewImg.bsmSj = item.bsmSj;
135 item.children = [] 122 },
136 that.treeCheckIndex = index 123 updateList (val) {
124 let that = this
125 if (val != null) { //删除最后一张图片时 val=null
126 this.tableData.forEach(item => {
127 if (item.bsmSj === val.bsmSj) {
128 item.children = val.children
129 }
130 })
131 this.previewImg.imgList = _.cloneDeep(val.children)
132 if (this.previewImg.index == this.previewImg.imgList.length) {
133 this.previewImg.index = this.previewImg.index - 1
137 } 134 }
138 }) 135 } else {
139 } 136 this.previewImg.imgList = []
140 137 this.tableData.forEach((item, index) => {
141 }, 138 if (this.treeCheckId == item.bsmSj) {
142 // 添加材料目录 139 item.children = []
143 handleAdd () { 140 that.treeCheckIndex = index
144 this.isDialog = true; 141 }
145 },
146 // 新增弹窗保存
147 addSave (data) {
148 let obj = {
149 bsmSlsq: this.$parent.bsmSlsq,
150 isrequired: "1",
151 sjmc: data.clmc,
152 sjsl: 0,
153 smzt: '',
154 ys: 0,
155 sjlx: data.cllx,
156 sfxjcl: "1", // 是否必选
157 };
158 saveClml(obj).then(async (res) => {
159 if (res.code == 200) {
160 let res = await this.clmlInitList(2)
161 if (res == 200) this.$message({
162 message: "新增成功",
163 type: "success",
164 }) 142 })
165 } 143 }
166 }); 144
167 }, 145 },
168 // 材料目录点击选中 146 // 添加材料目录
169 treeClick (item, index) { 147 handleAdd () {
170 this.previewImg.index = 0 148 this.isDialog = true;
171 this.treeCheckId = item?.bsmSj 149 },
172 this.treeCheckIndex = index 150 // 新增弹窗保存
173 this.previewImg.imgList = item?.children 151 addSave (data) {
174 this.previewImg.bsmSj = item?.bsmSj 152 let obj = {
175 }, 153 bsmSlsq: this.$parent.bsmSlsq,
176 // 小图片点击 154 isrequired: "1",
177 imgClick (item, index) { 155 sjmc: data.clmc,
178 this.showImg = item; 156 sjsl: 0,
179 this.titleYs = index + 1; 157 smzt: '',
180 }, 158 ys: 0,
181 // 字典 159 sjlx: data.cllx,
182 dicStatus (val, code) { 160 sfxjcl: "1", // 是否必选
183 let data = this.$store.getters.dictData[code], 161 };
184 name = "暂无"; 162 saveClml(obj).then(async (res) => {
185 if (data) { 163 if (res.code == 200) {
186 data.map((item) => { 164 let res = await this.clmlInitList(2)
187 if (item.dcode == val) { 165 if (res == 200) this.$message({
188 name = item.dname; 166 message: "新增成功",
167 type: "success",
168 })
189 } 169 }
190 }); 170 });
191 return name; 171 },
192 } 172 // 材料目录点击选中
193 }, 173 treeClick (item, index) {
194 //查看明细 174 this.previewImg.index = 0
195 viewDetail(){ 175 this.treeCheckId = item?.bsmSj
196 this.detailDialog = true; 176 this.treeCheckIndex = index
197 }, 177 this.previewImg.imgList = item?.children
198 //设置tableData 178 this.previewImg.bsmSj = item?.bsmSj
199 setTableData(tableData){ 179 },
200 this.$nextTick(res => { 180 // 小图片点击
201 this.tableData = tableData; 181 imgClick (item, index) {
182 this.showImg = item;
183 this.titleYs = index + 1;
184 },
185 // 字典
186 dicStatus (val, code) {
187 let data = this.$store.getters.dictData[code],
188 name = "暂无";
189 if (data) {
190 data.map((item) => {
191 if (item.dcode == val) {
192 name = item.dname
193 }
194 });
195 return name
196 }
197 },
198 //查看明细
199 viewDetail () {
200 this.$popupDialog("查看明细", "workflow/components/dialog/clxxDetailDialog", {
201 data: this.tableData
202 }, "60%")
203 },
204 //设置tableData
205 setTableData (tableData) {
206 this.$nextTick(res => {
207 this.tableData = tableData;
202 }) 208 })
209 },
203 }, 210 },
204 }, 211 };
205 };
206 </script> 212 </script>
207 <style scoped lang='scss'> 213 <style scoped lang='scss'>
208 @import "~@/styles/mixin.scss"; 214 @import "~@/styles/mixin.scss";
209
210 .active {
211 background: $light-blue !important;
212 color: #fff;
213 }
214
215 .required {
216 font-size: 12px;
217 color: $pink;
218 float: left;
219 }
220 215
221 .cl_number { 216 .active {
222 float: right; 217 background: $light-blue !important;
223 } 218 color: #fff;
224 219 }
225 .clxx {
226 width: 100%;
227 display: flex;
228 padding-left: 5px;
229 height: calc(100vh - 125px);
230
231 .left {
232 display: flex;
233 flex-direction: column;
234 justify-content: space-between;
235 220
236 .item { 221 .required {
237 width: 28px; 222 font-size: 12px;
238 height: 49%; 223 color: $pink;
239 @include flex-center; 224 float: left;
240 background-color: #E4E7ED; 225 }
241 border-bottom-right-radius: 10px;
242 padding: 5px;
243 cursor: pointer;
244 transition: all 0.3s;
245 226
246 &:hover { 227 .cl_number {
247 @extend .active; 228 float: right;
248 }
249 }
250 } 229 }
251 230
252 .right { 231 .clxx {
253 width: 100%; 232 width: 100%;
254 height: 100%; 233 display: flex;
234 padding-left: 5px;
235 height: calc(100vh - 125px);
236
237 .left {
238 display: flex;
239 flex-direction: column;
240 justify-content: space-between;
255 241
256 .clmlmx-box { 242 .item {
257 margin: 0 auto; 243 width: 28px;
244 height: 49%;
245 @include flex-center;
246 background-color: #e4e7ed;
247 border-bottom-right-radius: 10px;
248 padding: 5px;
249 cursor: pointer;
250 transition: all 0.3s;
258 251
259 .title { 252 &:hover {
260 text-align: center; 253 @extend .active;
261 height: 60px; 254 }
262 line-height: 60px;
263 border: 1px solid #dfe6ec;
264 font-size: 20px;
265 background: #81d3f81a;
266 margin-bottom: -1px;
267 } 255 }
268 } 256 }
269 257
270 .clyl-box { 258 .right {
271 width: 100%; 259 width: 100%;
272 height: 100%; 260 height: 100%;
273 display: flex;
274
275 .menu-tree {
276 width: 20%;
277 min-width: 160px;
278 height: 100%;
279 margin-right: 10px;
280 border-right: 1px dotted #d9d9d9;
281 padding: 0 15px;
282 261
262 .clmlmx-box {
263 margin: 0 auto;
283 264
284 .item { 265 .title {
285 line-height: 30px;
286 padding-top: 5px;
287 border-bottom: 1px solid #e8e8e8;
288 font-size: 16px;
289 text-align: center; 266 text-align: center;
290 color: $light-blue; 267 height: 60px;
268 line-height: 60px;
269 border: 1px solid #dfe6ec;
270 font-size: 20px;
271 background: #81d3f81a;
272 margin-bottom: -1px;
273 }
274 }
291 275
292 .itemIcon { 276 .clyl-box {
293 float: right; 277 width: 100%;
294 line-height: 60px; 278 height: 100%;
295 cursor: pointer; 279 display: flex;
296 }
297 280
298 .child { 281 .menu-tree {
299 line-height: 32px; 282 width: 20%;
300 border-bottom: 1px solid #e8e8e8; 283 min-width: 160px;
301 padding-left: 10px; 284 height: 100%;
302 color: #6b6b6b; 285 margin-right: 10px;
303 cursor: pointer; 286 border-right: 1px dotted #d9d9d9;
304 box-sizing: border-box; 287 padding: 0 15px;
305 border-radius: 6px;
306 line-height: 20px;
307 transition: all 0.3s;
308 padding: 8px 0;
309 }
310 288
311 .child:hover { 289 .item {
290 line-height: 30px;
291 padding-top: 5px;
292 border-bottom: 1px solid #e8e8e8;
293 font-size: 16px;
294 text-align: center;
312 color: $light-blue; 295 color: $light-blue;
313 transform: scale(1.1);
314 }
315 296
316 .checked { 297 .itemIcon {
317 border: 1px solid $light-blue; 298 float: right;
318 color: $light-blue; 299 line-height: 60px;
300 cursor: pointer;
301 }
302
303 .child {
304 line-height: 32px;
305 border-bottom: 1px solid #e8e8e8;
306 padding-left: 10px;
307 color: #6b6b6b;
308 cursor: pointer;
309 box-sizing: border-box;
310 border-radius: 6px;
311 line-height: 20px;
312 transition: all 0.3s;
313 padding: 8px 0;
314 }
315
316 .child:hover {
317 color: $light-blue;
318 transform: scale(1.1);
319 }
320
321 .checked {
322 border: 1px solid $light-blue;
323 color: $light-blue;
324 }
319 } 325 }
320 } 326 }
321 }
322 327
323 .clyl-img { 328 .clyl-img {
324 width: 75%; 329 width: 75%;
325 height: 100%; 330 height: 100%;
326 background: #f3f4f7; 331 background: #f3f4f7;
327 margin: 0 auto; 332 margin: 0 auto;
328 position: relative; 333 position: relative;
334 }
329 } 335 }
330 } 336 }
331 } 337 }
332 }
333 </style> 338 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:47
5 -->
1 <template> 6 <template>
2 <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" 7 <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm"
3 @closeDialog="closeDialog" :isButton="showButton"> 8 @closeDialog="closeDialog" :isButton="showButton">
...@@ -138,83 +143,83 @@ ...@@ -138,83 +143,83 @@
138 </dialogBox> 143 </dialogBox>
139 </template> 144 </template>
140 <script> 145 <script>
141 import { mapGetters } from "vuex"; 146 import { mapGetters } from "vuex";
142 export default { 147 export default {
143 props: { 148 props: {
144 value: { type: Boolean, default: false }, 149 value: { type: Boolean, default: false },
145 details: { type: Object, default: {} }, 150 details: { type: Object, default: {} },
146 showButton: {type: Boolean, default: false} 151 showButton: { type: Boolean, default: false }
147 }, 152 },
148 computed: { 153 computed: {
149 ...mapGetters(["dictData"]), 154 ...mapGetters(["dictData"]),
150 }, 155 },
151 data () { 156 data () {
152 return { 157 return {
153 myValue: this.value, 158 myValue: this.value,
154 ruleForm: { 159 ruleForm: {
155 sqrlx: "", 160 sqrlx: "",
156 sqrmc: "", 161 sqrmc: "",
157 zjzl: "", 162 zjzl: "",
158 zjh: "", 163 zjh: "",
159 dh: "", 164 dh: "",
160 xb: "", 165 xb: "",
161 frmc: "", 166 frmc: "",
162 gjdq: "", 167 gjdq: "",
163 szss: "", 168 szss: "",
164 txdz: "", 169 txdz: "",
165 yb: "", 170 yb: "",
166 fzjg: "", 171 fzjg: "",
167 dzyj: "", 172 dzyj: "",
168 qlbl: "", 173 qlbl: "",
169 gzdw: "", 174 gzdw: "",
170 dljg: "", 175 dljg: "",
171 dlrxm: "", 176 dlrxm: "",
172 dlrzjlx: "", 177 dlrzjlx: "",
173 dlrzjh: "", 178 dlrzjh: "",
179 },
180 rules: {
181 sqrlx: [{ required: true, message: "权利人类型", trigger: "change" }],
182 sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
183 zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
184 zjh: [{ required: true, message: "证件号", trigger: "blur" }],
185 },
186 };
187 },
188 watch: {
189 value (val) {
190 this.myValue = _.cloneDeep(val);
174 }, 191 },
175 rules: { 192 details: {
176 sqrlx: [{ required: true, message: "权利人类型", trigger: "change" }], 193 handler: function (val, oldVal) {
177 sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }], 194 this.ruleForm = val;
178 zjzl: [{ required: true, message: "证件种类", trigger: "change" }], 195 },
179 zjh: [{ required: true, message: "证件号", trigger: "blur" }], 196 deep: true,
180 }, 197 },
181 };
182 },
183 watch: {
184 value (val) {
185 this.myValue = _.cloneDeep(val);
186 }, 198 },
187 details: { 199 methods: {
188 handler: function (val, oldVal) { 200 closeDialog () {
189 this.ruleForm = val; 201 this.$emit("input", false);
202 this.$refs["ruleForm"].resetFields();
203 },
204 submitForm () {
205 this.$refs.ruleForm.validate((valid) => {
206 if (valid) {
207 this.$emit("input", false);
208 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
209 } else {
210 return false;
211 }
212 });
190 }, 213 },
191 deep: true,
192 },
193 },
194 methods: {
195 closeDialog () {
196 this.$emit("input", false);
197 this.$refs["ruleForm"].resetFields();
198 },
199 submitForm () {
200 this.$refs.ruleForm.validate((valid) => {
201 if (valid) {
202 this.$emit("input", false);
203 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
204 } else {
205 return false;
206 }
207 });
208 }, 214 },
209 }, 215 };
210 };
211 </script> 216 </script>
212 <style scoped lang="scss"> 217 <style scoped lang="scss">
213 @import "~@/styles/dialogBoxheader.scss"; 218 @import "~@/styles/dialogBoxheader.scss";
214 .submit-button { 219 .submit-button {
215 text-align: center; 220 text-align: center;
216 height: 52px; 221 height: 52px;
217 padding-top: 10px; 222 padding-top: 10px;
218 background-color: #fff; 223 background-color: #fff;
219 } 224 }
220 </style> 225 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-09 09:20:10
5 -->
1 <template> 6 <template>
2 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" 7 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
3 :isFullscreen="false"> 8 :isFullscreen="false">
...@@ -24,48 +29,52 @@ ...@@ -24,48 +29,52 @@
24 </template> 29 </template>
25 30
26 <script> 31 <script>
27 import { mapGetters } from "vuex"; 32 import { mapGetters } from "vuex";
28 export default { 33 export default {
29 props: { 34 props: {
30 value: { type: Boolean, default: false }, 35 value: { type: Boolean, default: false },
31 }, 36 },
32 data () { 37 data () {
33 return { 38 return {
34 myValue: this.value, 39 myValue: this.value,
35 ruleForm: { 40 ruleForm: {
36 cllx: "", 41 cllx: "",
37 clmc: "", 42 clmc: "",
38 }, 43 },
39 }; 44 };
40 }, 45 },
41 computed: { 46 computed: {
42 ...mapGetters(["dictData"]), 47 ...mapGetters(["dictData"]),
43 },
44 watch: {
45 value (val) {
46 this.myValue = val;
47 }, 48 },
48 }, 49 watch: {
49 methods: { 50 value (val) {
50 closeDialog () { 51 this.myValue = val;
51 this.$emit("input", false); 52 },
52 this.ruleForm = {
53 cllx: "",
54 clmc: "",
55 }
56 }, 53 },
57 handleSubmit () { 54 methods: {
58 this.$parent.addSave(this.ruleForm); 55 closeDialog () {
59 this.$emit("input", false); 56 this.$emit("input", false);
57 this.ruleForm = {
58 cllx: "",
59 clmc: "",
60 }
61 },
62 handleSubmit () {
63 this.$parent.addSave(this.ruleForm);
64 this.ruleForm = {
65 cllx: "",
66 clmc: "",
67 }
68 this.$emit("input", false);
69 },
60 }, 70 },
61 }, 71 };
62 };
63 </script> 72 </script>
64 <style scoped lang="scss"> 73 <style scoped lang="scss">
65 .submit-button { 74 .submit-button {
66 text-align: center; 75 text-align: center;
67 height: 52px; 76 height: 52px;
68 padding-top: 10px; 77 padding-top: 10px;
69 background-color: #fff; 78 background-color: #fff;
70 } 79 }
71 </style> 80 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:57
5 -->
1 <template> 6 <template>
2 <dialogBox title="材料明细" width="60%" v-model="value" @closeDialog="closeDialog" :isButton="false"> 7 <div class="clmlmx-box">
3 <div class="clxx"> 8 <div class="title">申请材料目录</div>
4 <div class="right"> 9 <lb-table :column="column" :key="key" :heightNumSetting="true" :pagination="false" :data="formData.data">
5 <!-- 材料目录明细 --> 10 </lb-table>
6 <div class="clmlmx-box"> 11 <div class="text-center">
7 <div class="title">申请材料目录</div> 12 <el-button @click="$popupCacel">取消</el-button>
8 <lb-table :column="column" :key="key" :heightNum="150" :pagination="false" :data="data">
9 </lb-table>
10 </div>
11 </div>
12 </div> 13 </div>
13 </dialogBox> 14 </div>
14 </template> 15 </template>
15 <script> 16 <script>
16 import { mapGetters } from "vuex"; 17 import store from '@/store/index.js'
17 import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; 18 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
18 export default { 19 export default {
19 components: { }, 20 props: {
20 props: { 21 formData: {
21 value: { type: Boolean, default: false }, 22 type: Object,
22 data: { type: Array, default: () => {} }, 23 default: () => {
23 }, 24 return {}
24 data () { 25 }
25 return { 26 }
26 isDialog: false, 27 },
27 iclass: "", 28 data () {
28 column: [ 29 return {
29 { 30 column: [
30 width: "50", 31 {
31 renderHeader: (h, scope) => { 32 width: "50",
32 return ( 33 label: '序号',
33 <div> 34 type: 'index'
34 {
35 ''
36 }
37 </div>
38 )
39 }, 35 },
40 render: (h, scope) => { 36 {
41 return ( 37 prop: "isrequired",
42 <div> 38 label: "是否必选",
43 { 39 width: "80",
44 this.$route.query.viewtype || scope.row.sfxjcl == '0' ? <span>{}</span> : 40 render: (h, scope) => {
45 <i class="el-icon-minus pointer" 41 if (scope.row.sfxjcl === "1") {
46 onClick={() => { 42 return (
47 this.handleDelete(scope.$index, scope.row); 43 <div>
48 }} 44 <span>可选</span>
49 ></i> 45 </div>
50 } 46 );
51 </div> 47 }
52 ) 48 else {
53 } 49 return (
54 }, 50 <div>
55 { 51 <span>必选</span>
56 width: "50", 52 </div>
57 label: '序号', 53 );
58 render: (h, scope) => { 54 }
59 return <span>{scope.$index + 1}</span> 55 },
60 }
61 },
62 {
63 prop: "isrequired",
64 label: "是否必选",
65 width: "50",
66 render: (h, scope) => {
67 if (scope.row.sfxjcl === "1") {
68 return (
69 <div>
70 <span>可选</span>
71 </div>
72 );
73 }
74 else {
75 return (
76 <div>
77 <span>必选</span>
78 </div>
79 );
80 }
81 }, 56 },
82 }, 57 {
83 { 58 prop: "sjmc",
84 prop: "sjmc", 59 label: "材料名称",
85 label: "材料名称",
86 },
87 {
88 prop: "sjlx",
89 label: "材料类型",
90 width: "80",
91 render: (h, scope) => {
92 return (
93 <div>
94 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span>
95 </div>
96 );
97 }, 60 },
98 }, 61 {
99 { 62 prop: "sjlx",
100 prop: "sjsl", 63 label: "材料类型",
101 label: "份数", 64 width: "80",
102 width: "50" 65 render: (h, scope) => {
103 },
104 {
105 prop: "smzt",
106 label: "扫描状态",
107 width: "80",
108 render: (h, scope) => {
109 if (scope.row.children && scope.row.children.length > 0) {
110 return (
111 <div>
112 <span>已扫描</span>
113 </div>
114 );
115 } else {
116 return ( 66 return (
117 <div> 67 <div>
118 <span>未扫描</span> 68 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span>
119 </div> 69 </div>
120 ); 70 );
121 } 71 },
122 }, 72 },
123 }, 73 {
124 { 74 prop: "sjsl",
125 label: "扫描页数", 75 label: "份数",
126 width: "50", 76 width: "50"
127 render: (h, scope) => { 77 },
128 if (scope.row.children && scope.row.children.length > 0) { 78 {
129 return ( 79 prop: "smzt",
130 <div> 80 label: "扫描状态",
131 <span>{scope.row.children.length}</span> 81 width: "80",
132 </div> 82 render: (h, scope) => {
133 ); 83 if (scope.row.children && scope.row.children.length > 0) {
134 } else { 84 return (
85 <div>
86 <span>已扫描</span>
87 </div>
88 );
89 } else {
90 return (
91 <div>
92 <span>未扫描</span>
93 </div>
94 );
95 }
96 },
97 },
98 {
99 label: "扫描页数",
100 width: "80",
101 render: (h, scope) => {
102 if (scope.row.children && scope.row.children.length > 0) {
103 return (
104 <div>
105 <span>{scope.row.children.length}</span>
106 </div>
107 );
108 } else {
109 return (
110 <div>
111 <span>0</span>
112 </div>
113 );
114 }
115 },
116 },
117 {
118 label: "操作",
119 width: "80",
120 render: (h, scope) => {
135 return ( 121 return (
136 <div> 122 <div>
137 <span>0</span> 123 <el-button
124 type="text"
125 disabled={scope.$index == 0}
126 onClick={() => {
127 this.moveUpward(scope.$index, scope.row);
128 }}
129 >
130 上移
131 </el-button>
132 <el-button
133 type="text"
134 disabled={scope.$index + 1 == this.tableData.length}
135 onClick={() => {
136 this.moveDown(scope.$index, scope.row);
137 }}
138 >
139 下移
140 </el-button>
138 </div> 141 </div>
139 ); 142 );
140 } 143 },
141 }, 144 },
142 }, 145 ],
143 { 146 key: 0,
144 label: "操作", 147 tableData: []
145 width: "80", 148 }
146 render: (h, scope) => {
147 return (
148 <div>
149 <el-button
150 type="text"
151 disabled={scope.$index == 0}
152 onClick={() => {
153 this.moveUpward(scope.$index, scope.row);
154 }}
155 >
156 上移
157 </el-button>
158 <el-button
159 type="text"
160 disabled={scope.$index + 1 == this.tableData.length}
161 onClick={() => {
162 this.moveDown(scope.$index, scope.row);
163 }}
164 >
165 下移
166 </el-button>
167 </div>
168 );
169 },
170 },
171 ],
172 key: 0,
173 tableData: [],
174 }
175 },
176 computed: {
177 ...mapGetters(["dictData"])
178 },
179 created () {
180
181 },
182 methods: {
183 // 材料目录明细初始化
184 clmlInitList () {
185 return new Promise(resolve => {
186 this.unitData = this.$parent.unitData;
187 var formdata = new FormData();
188 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
189 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
190 InitClml(formdata).then((res) => {
191 if(res.code == 200){
192 resolve(res.code)
193 if(res.result && res.result.length > 0){
194 this.data = res.result;
195 }else{
196 this.data = []
197 }
198 }else{
199 this.$message.error(res.message)
200 }
201 })
202 })
203 }, 149 },
204 // 上移 150 created () {
205 moveUpward (index, row) { 151 console.log(this.formData.data, 'formData');
206 let obj = {
207 xh: row.xh,
208 bsmSlsq: row.bsmSlsq,
209 moveDirection: "UP",
210 };
211 // 接口待调
212 moveClml(obj).then(async (res) => {
213 if (res.code == 200) {
214 let res = await this.clmlInitList()
215 if (res == 200) {
216 this.$message({
217 message: '上移成功',
218 type: 'success'
219 })
220 this.$parent.setTableData(this.data)
221 }
222 } else {
223 this.$message.error(res.message);
224 }
225 })
226 }, 152 },
227 // 下移 153 methods: {
228 moveDown (index, row) { 154 // 材料目录明细初始化
229 let obj = { 155 clmlInitList () {
230 xh: row.xh, 156 return new Promise(resolve => {
231 bsmSlsq: row.bsmSlsq, 157 this.unitData = this.$parent.unitData;
232 moveDirection: "DOWN", 158 var formdata = new FormData();
233 } 159 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
234 // 接口待调 160 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
235 moveClml(obj).then(async (res) => { 161 InitClml(formdata).then((res) => {
236 if (res.code == 200) { 162 if (res.code == 200) {
237 let res = await this.clmlInitList() 163 resolve(res.code)
238 if (res == 200) { 164 if (res.result && res.result.length > 0) {
165 this.data = res.result;
166 } else {
167 this.data = []
168 }
169 } else {
170 this.$message.error(res.message)
171 }
172 })
173 })
174 },
175 // 上移
176 moveUpward (index, row) {
177 let obj = {
178 xh: row.xh,
179 bsmSlsq: row.bsmSlsq,
180 moveDirection: "UP",
181 };
182 // 接口待调
183 moveClml(obj).then(async (res) => {
184 if (res.code == 200) {
185 let res = await this.clmlInitList()
186 if (res == 200) {
239 this.$message({ 187 this.$message({
240 message: '下移成功', 188 message: '上移成功',
241 type: 'success' 189 type: 'success'
242 }) 190 })
243 this.$parent.setTableData(this.data) 191 this.$parent.setTableData(this.data)
192 }
193 } else {
194 this.$message.error(res.message);
244 } 195 }
245 } else { 196 })
246 this.$message.error(res.message); 197 },
198 // 下移
199 moveDown (index, row) {
200 let obj = {
201 xh: row.xh,
202 bsmSlsq: row.bsmSlsq,
203 moveDirection: "DOWN",
247 } 204 }
248 }) 205 // 接口待调
249 }, 206 moveClml(obj).then(async (res) => {
250 // 材料目录删除
251 handleDelete (index, row) {
252 let that = this
253 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
254 confirmButtonText: '确定',
255 cancelButtonText: '取消',
256 type: 'warning'
257 }).then(() => {
258 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => {
259 if (res.code == 200) { 207 if (res.code == 200) {
260 let res = await that.clmlInitList() 208 let res = await this.clmlInitList()
261 if (res == 200) { 209 if (res == 200) {
262 that.$message({ 210 this.$message({
263 message: "删除成功", 211 message: '下移成功',
264 type: "success", 212 type: 'success'
265 }) 213 })
266 this.$parent.setTableData(this.data)
267 } 214 }
215 } else {
216 this.$message.error(res.message);
268 } 217 }
269 }) 218 })
270 }).catch(() => { 219 },
271 this.$message({ 220 // 材料目录删除
272 type: 'info', 221 handleDelete (index, row) {
273 message: '已取消删除' 222 let that = this
223 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
224 confirmButtonText: '确定',
225 cancelButtonText: '取消',
226 type: 'warning'
227 }).then(() => {
228 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => {
229 if (res.code == 200) {
230 let res = await that.clmlInitList()
231 if (res == 200) {
232 that.$message({
233 message: "删除成功",
234 type: "success",
235 })
236 // this.$parent.setTableData(this.data)
237 }
238 }
239 })
240 }).catch(() => {
241 this.$message({
242 type: 'info',
243 message: '已取消删除'
244 })
274 }) 245 })
275 }) 246 },
276 }, 247 // 字典
277 // 字典 248 dicStatus (val, code) {
278 dicStatus (val, code) { 249 let data = store.getters.dictData[code],
279 let data = this.$store.getters.dictData[code], 250 name = "暂无";
280 name = "暂无"; 251 if (data) {
281 if (data) { 252 data.map((item) => {
282 data.map((item) => { 253 if (item.dcode == val) {
283 if (item.dcode == val) { 254 name = item.dname;
284 name = item.dname; 255 }
285 } 256 });
286 }); 257 return name;
287 return name; 258 }
288 }
289 },
290 closeDialog(){
291 this.$emit("input", false);
292 },
293 },
294 };
295 </script>
296 <style scoped lang='scss'>
297 @import "~@/styles/mixin.scss";
298
299 .active {
300 background: $light-blue !important;
301 color: #fff;
302 }
303
304 .required {
305 font-size: 12px;
306 color: $pink;
307 float: left;
308 }
309
310 .cl_number {
311 float: right;
312 }
313
314 .clxx {
315 width: 100%;
316 display: flex;
317 padding-left: 5px;
318 height: calc(100vh - 125px);
319
320 .left {
321 display: flex;
322 flex-direction: column;
323 justify-content: space-between;
324
325 .item {
326 width: 28px;
327 height: 49%;
328 @include flex-center;
329 background-color: #E4E7ED;
330 border-bottom-right-radius: 10px;
331 padding: 5px;
332 cursor: pointer;
333 transition: all 0.3s;
334
335 &:hover {
336 @extend .active;
337 } 259 }
338 } 260 }
339 } 261 }
262 </script>
263 <style scoped lang='scss'>
264 @import "~@/styles/mixin.scss";
265 .clmlmx-box {
266 margin: 0 auto;
340 267
341 .right { 268 .title {
342 width: 100%; 269 text-align: center;
343 height: 100%; 270 height: 60px;
344 271 line-height: 60px;
345 .clmlmx-box { 272 border: 1px solid #dfe6ec;
346 margin: 0 auto; 273 font-size: 20px;
347 274 background: #81d3f81a;
348 .title { 275 margin-bottom: -1px;
349 text-align: center;
350 height: 60px;
351 line-height: 60px;
352 border: 1px solid #dfe6ec;
353 font-size: 20px;
354 background: #81d3f81a;
355 margin-bottom: -1px;
356 }
357 }
358
359 .clyl-box {
360 width: 100%;
361 height: 100%;
362 display: flex;
363
364 .menu-tree {
365 width: 20%;
366 min-width: 160px;
367 height: 100%;
368 margin-right: 10px;
369 border-right: 1px dotted #d9d9d9;
370 padding: 0 15px;
371
372
373 .item {
374 line-height: 30px;
375 padding-top: 5px;
376 border-bottom: 1px solid #e8e8e8;
377 font-size: 16px;
378 text-align: center;
379 color: $light-blue;
380
381 .itemIcon {
382 float: right;
383 line-height: 60px;
384 cursor: pointer;
385 }
386
387 .child {
388 line-height: 32px;
389 border-bottom: 1px solid #e8e8e8;
390 padding-left: 10px;
391 color: #6b6b6b;
392 cursor: pointer;
393 box-sizing: border-box;
394 border-radius: 6px;
395 line-height: 20px;
396 transition: all 0.3s;
397 padding: 8px 0;
398 }
399
400 .child:hover {
401 color: $light-blue;
402 transform: scale(1.1);
403 }
404
405 .checked {
406 border: 1px solid $light-blue;
407 color: $light-blue;
408 }
409 }
410 }
411
412 .clyl-img {
413 width: 75%;
414 height: 100%;
415 background: #f3f4f7;
416 margin: 0 auto;
417 position: relative;
418 }
419 } 276 }
420 } 277 }
421 }
422 </style> 278 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:02
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <el-button type="primary" native-type="submit" @click="openDialog">新增常用</el-button> 8 <el-button type="primary" native-type="submit" @click="openDialog">新增常用</el-button>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:09
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <div class="zsdy-content loadingtext"> 8 <div class="zsdy-content loadingtext">
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 10:53:49
5 -->
1 <template> 6 <template>
2 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> 7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
3 <el-row> 8 <el-row>
...@@ -53,7 +58,6 @@ ...@@ -53,7 +58,6 @@
53 </el-form-item> 58 </el-form-item>
54 </el-form> 59 </el-form>
55 </template> 60 </template>
56
57 <script> 61 <script>
58 import Vue from 'vue' 62 import Vue from 'vue'
59 import store from '@/store/index.js' 63 import store from '@/store/index.js'
...@@ -95,13 +99,13 @@ ...@@ -95,13 +99,13 @@
95 ], 99 ],
96 lzrdh: [ 100 lzrdh: [
97 { required: true, message: '请输入电话号码', trigger: 'blur' } 101 { required: true, message: '请输入电话号码', trigger: 'blur' }
98 ], 102 ]
99 }, 103 },
100 tableData: { 104 tableData: {
101 total: 0, 105 total: 0,
102 columns: datas.columns().lzgrid, 106 columns: datas.columns().lzgrid,
103 data: [], 107 data: []
104 }, 108 }
105 } 109 }
106 }, 110 },
107 mounted () { 111 mounted () {
...@@ -119,7 +123,6 @@ ...@@ -119,7 +123,6 @@
119 this.ruleForm.fzsj = res.result.fzsj 123 this.ruleForm.fzsj = res.result.fzsj
120 this.ruleForm.fzsl = res.result.fzsl 124 this.ruleForm.fzsl = res.result.fzsl
121 this.ruleForm.bdcqzList = res.result.list; 125 this.ruleForm.bdcqzList = res.result.list;
122
123 } 126 }
124 }) 127 })
125 }, 128 },
...@@ -154,3 +157,4 @@ ...@@ -154,3 +157,4 @@
154 @import "~@/styles/mixin.scss"; 157 @import "~@/styles/mixin.scss";
155 </style> 158 </style>
156 159
160
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:23
5 -->
1 <template> 6 <template>
2 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px">
3 <!-- 表单部分 --> 8 <!-- 表单部分 -->
...@@ -11,147 +16,147 @@ ...@@ -11,147 +16,147 @@
11 </template> 16 </template>
12 17
13 <script> 18 <script>
14 import { datas } from "../../javascript/zsyl.js"; 19 import { datas } from "../../javascript/zsyl.js";
15 import { getSlsqBdcqzList, bdcqzPreview } from "@/api/bdcqz.js" 20 import { getSlsqBdcqzList, bdcqzPreview } from "@/api/bdcqz.js"
16 export default { 21 export default {
17 name: "zsyl", 22 name: "zsyl",
18 components: { 23 components: {
19 },
20 props: {
21 formData: {
22 type: Object,
23 default: {}
24 }
25 },
26 data () {
27 return {
28 loading: false,
29 //印刷序列号集合
30 ysxlh: [],
31 //列名称对象
32 columns: [],
33 //选择的不动产权证文件
34 bdcqz: '',
35 //证书打开类型 是否需要展示打印按钮
36 isToPrint: false,
37 //tab切换栏数组
38 headTabBdcqz: [],
39 //tab选择绑定值
40 activeName: '',
41 //证书图片预览
42 previewImage: '',
43 ruleForm: {
44 bsmBdcqz: '',
45 szmc: '不动产权证书',
46 bdcqzlx: '',
47 szzh: '',
48 ysxlh: '',
49 },
50 }
51 },
52 mounted () {
53 this.columns = datas.columns();
54 if (this.formData.bdcqz) {
55 //从缮证进入
56 this.bdcqz = this.formData.bdcqz
57 } else {
58 //从按钮进入
59 this.getHeadTabBdcqz();
60 }
61 },
62 methods: {
63 //获取证书内容
64 getRowValue (code) {
65 var value = this.bdcqz[code];
66 return value;
67 }, 24 },
68 //获取受理申请下全部不动产权证 25 props: {
69 getHeadTabBdcqz () { 26 formData: {
70 this.loading = true 27 type: Object,
71 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 28 default: {}
72 if (res.code == 200) { 29 }
73 if (res.result && res.result.length > 0) {
74 this.activeName = res.result[0].bsmBdcqz
75 this.bdcqz = res.result[0]
76 this.headTabBdcqz = res.result
77 this.getBdcqzPreview();
78 } else {
79 this.loading = false
80 }
81 }
82
83 })
84 }, 30 },
85 //tab表头切换方法 31 data () {
86 handleClick (e) { 32 return {
87 this.bdcqz = this.headTabBdcqz[e.index - 0] 33 loading: false,
88 this.activeName = this.headTabBdcqz.bsmBdcqz 34 //印刷序列号集合
89 this.getBdcqzPreview(); 35 ysxlh: [],
36 //列名称对象
37 columns: [],
38 //选择的不动产权证文件
39 bdcqz: '',
40 //证书打开类型 是否需要展示打印按钮
41 isToPrint: false,
42 //tab切换栏数组
43 headTabBdcqz: [],
44 //tab选择绑定值
45 activeName: '',
46 //证书图片预览
47 previewImage: '',
48 ruleForm: {
49 bsmBdcqz: '',
50 szmc: '不动产权证书',
51 bdcqzlx: '',
52 szzh: '',
53 ysxlh: '',
54 },
55 }
90 }, 56 },
91 getBdcqzPreview () { 57 mounted () {
92 bdcqzPreview(this.bdcqz).then(res => { 58 this.columns = datas.columns();
93 this.loading = false 59 if (this.formData.bdcqz) {
94 let blob = new Blob([res]); 60 //从缮证进入
95 let url = window.URL.createObjectURL(blob); 61 this.bdcqz = this.formData.bdcqz
96 this.previewImage = url; 62 } else {
97 }) 63 //从按钮进入
64 this.getHeadTabBdcqz();
65 }
98 }, 66 },
67 methods: {
68 //获取证书内容
69 getRowValue (code) {
70 var value = this.bdcqz[code];
71 return value;
72 },
73 //获取受理申请下全部不动产权证
74 getHeadTabBdcqz () {
75 this.loading = true
76 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
77 if (res.code == 200) {
78 if (res.result && res.result.length > 0) {
79 this.activeName = res.result[0].bsmBdcqz
80 this.bdcqz = res.result[0]
81 this.headTabBdcqz = res.result
82 this.getBdcqzPreview();
83 } else {
84 this.loading = false
85 }
86 }
87
88 })
89 },
90 //tab表头切换方法
91 handleClick (e) {
92 this.bdcqz = this.headTabBdcqz[e.index - 0]
93 this.activeName = this.headTabBdcqz.bsmBdcqz
94 this.getBdcqzPreview();
95 },
96 getBdcqzPreview () {
97 bdcqzPreview(this.bdcqz).then(res => {
98 this.loading = false
99 let blob = new Blob([res]);
100 let url = window.URL.createObjectURL(blob);
101 this.previewImage = url;
102 })
103 },
104 }
99 } 105 }
100 }
101 </script> 106 </script>
102 <style scoped lang="scss"> 107 <style scoped lang="scss">
103 @import "~@/styles/mixin.scss"; 108 @import "~@/styles/mixin.scss";
104 109
105 .imgClass { 110 .imgClass {
106 display: inline-block; 111 display: inline-block;
107 height: auto; 112 height: auto;
108 max-width: 100%; 113 max-width: 100%;
109 } 114 }
110 115
111 .middle_padding { 116 .middle_padding {
112 padding-bottom: 10px; 117 padding-bottom: 10px;
113 } 118 }
114 119
115 .zsyl-button { 120 .zsyl-button {
116 text-align: center; 121 text-align: center;
117 margin-top: 20px; 122 margin-top: 20px;
118 123
119 .operation_button { 124 .operation_button {
120 width: 100px; 125 width: 100px;
121 border: 1px solid rgb(0, 121, 254); 126 border: 1px solid rgb(0, 121, 254);
122 } 127 }
123 128
124 .dy-button { 129 .dy-button {
125 color: white; 130 color: white;
126 background-color: rgb(0, 121, 254); 131 background-color: rgb(0, 121, 254);
132 }
127 } 133 }
128 }
129 134
130 .table-column { 135 .table-column {
131 border-spacing: 1px; 136 border-spacing: 1px;
132 width: 100%; 137 width: 100%;
133 138
134 tr td { 139 tr td {
135 border: 1px solid #ccc; 140 border: 1px solid #ccc;
136 text-align: center; 141 text-align: center;
137 height: 40px; 142 height: 40px;
138 padding: 4px; 143 padding: 4px;
139 font-size: 13px; 144 font-size: 13px;
140 background: rgb(251, 249, 229); 145 background: rgb(251, 249, 229);
146 }
141 } 147 }
142 }
143 148
144 .zsyl-title { 149 .zsyl-title {
145 background: #FAFBE5; 150 background: #fafbe5;
146 text-align: center; 151 text-align: center;
147 padding: 5px 0px; 152 padding: 5px 0px;
148 font-size: 20px; 153 font-size: 20px;
149 } 154 }
150 155
151 .no-data { 156 .no-data {
152 font-size: 18px; 157 font-size: 18px;
153 display: flex; 158 display: flex;
154 text-align: center; 159 text-align: center;
155 justify-content: center; 160 justify-content: center;
156 } 161 }
157 </style> 162 </style>
......
1 <!-- 1 <!--
2 功能:流程图 2 * @Description: 功能:流程图
3 作者:calliope 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:57
4 --> 5 -->
5 <template> 6 <template>
6 <div class='flowChart'> 7 <div class='flowChart'>
...@@ -9,19 +10,19 @@ ...@@ -9,19 +10,19 @@
9 </template> 10 </template>
10 <script> 11 <script>
11 12
12 export default { 13 export default {
13 props: { 14 props: {
14 formData: { 15 formData: {
15 type: String, 16 type: String,
16 default: '' 17 default: ''
18 }
17 } 19 }
18 } 20 }
19 }
20 </script> 21 </script>
21 <style scoped lang="scss"> 22 <style scoped lang="scss">
22 @import "~@/styles/mixin.scss"; 23 @import "~@/styles/mixin.scss";
23 24
24 .flowChart { 25 .flowChart {
25 margin: 20px 0; 26 margin: 20px 0;
26 } 27 }
27 </style> 28 </style>
...\ 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-05-04 10:29:45 4 * @LastEditTime: 2023-05-16 15:55:45
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
51 ysxlh: '', 51 ysxlh: '',
52 zsh: '', 52 zsh: '',
53 qlr: '', 53 qlr: '',
54 bsmSldy: '', 54 bsmSldy: ''
55 }, 55 },
56 tableData: { 56 tableData: {
57 total: 0, 57 total: 0,
58 columns: datas.columns().fzgrid, 58 columns: datas.columns().fzgrid,
59 data: [], 59 data: []
60 }, 60 },
61 dialogVisible: false 61 dialogVisible: false
62 } 62 }
...@@ -66,12 +66,12 @@ ...@@ -66,12 +66,12 @@
66 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 66 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
67 getCertificateList(this.ruleForm).then(res => { 67 getCertificateList(this.ruleForm).then(res => {
68 if (res.code === 200) { 68 if (res.code === 200) {
69 this.tableData.data = res.result; 69 this.tableData.data = res.result ? res.result : []
70 } 70 }
71 }) 71 })
72 }, 72 },
73 zslqClick () { 73 zslqClick () {
74 this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true); 74 this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true)
75 } 75 }
76 } 76 }
77 } 77 }
......
1 <!--
2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 14:39:07
5 -->
6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
8 <el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch">
9 <el-menu-item index="-1" key="-1" class="menus">
10 <div>{{ batchButtonName }}</div>
11 </el-menu-item>
12 </el-menu>
13 <div v-if="this.isShowdrawer">
14 <div class="title">
15 申请单元列表({{ unitData.length }})
16 <el-button type="text" class="batchDel" @click="handleBatchDel" v-if="unitData.length > 1">批量删除</el-button>
17 </div>
18 <el-menu :default-active="activeIndex" @select="unitClick">
19 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
20 <div>
21 <p>{{ item.bdcdyh }}</p>
22 <p class="title-detail">{{ item.zl }}</p>
23 </div>
24 <i class="el-icon-delete" v-if="unitData.length > 1" @click.stop="handleDel(item)"></i>
25 </el-menu-item>
26 </el-menu>
27 </div>
28 <div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
29 () => {
30 this.isShowdrawer = !this.isShowdrawer;
31 }
32 "></div>
33 <div class="map-drawer-expand map-drawer" v-else @click="
34 () => {
35 this.isShowdrawer = !this.isShowdrawer;
36 }
37 "></div>
38 </div>
39 </template>
40 <script>
41 import { leftMenu } from "@/api/fqsq.js"
42 import { deleteFlow } from "@/api/ywbl.js";
43 export default {
44 data () {
45 return {
46 //受理申请标识码
47 bsmSlsq: this.$route.query.bsmSlsq,
48 //当前流程所在环节
49 bestepid: this.$route.query.bestepid,
50 // 默认选中
51 activeIndex: '0',
52 // 折叠
53 isShowdrawer: true,
54 // 批量操作
55 showBatch: false,
56 //批量操作按钮名称
57 batchButtonName: '',
58 //左侧菜单数据集合
59 unitData: [],
60 // 设置表单传递数据
61 currentSelectProps: {}
62 }
63 },
64 mounted () {
65 this.loadBdcdylist();
66 },
67 methods: {
68 //读取申请单元信息
69 loadBdcdylist () {
70 var formdata = new FormData();
71 formdata.append("bsmSlsq", this.bsmSlsq);
72 formdata.append("bestepid", this.bestepid);
73 leftMenu(formdata).then((res) => {
74 if (res.code === 200 && res.result) {
75 this.unitData = res.result;
76 this.currentSelectProps = res.result[0];
77 this.$emit('getCurrentSelectProps', this.currentSelectProps);
78 this.judgeBatchShow();
79 if (this.showBatch) {
80 //满足批量查封/批量抵押按钮出现 即先展示批量表单
81 this.batchUnitClick();
82 } else {
83 //默认选择单元列表第一个
84 this.unitClick(0);
85 }
86 }
87 })
88 },
89 //批量按钮判断
90 judgeBatchShow () {
91 this.showBatch = false;
92 if (this.unitData.length > 1) {
93 let qllx = this.$route.query.sqywbm.substring(0, 3);
94 switch (qllx) {
95 case 'B39':
96 this.showBatch = true;
97 this.batchButtonName = '批量查封清单信息';
98 break;
99 case 'A37':
100 this.showBatch = true;
101 this.batchButtonName = '批量抵押';
102 break;
103 default:
104 this.batchButtonName = '批量操作';
105 }
106 }
107 },
108 /**
109 * @description: 删除左侧列表
110 * @param {*} item
111 * @author: renchao
112 */
113 handleDel (item) {
114 this.$confirm("确定要删除吗, 是否继续?", "提示", {
115 confirmButtonText: "确定",
116 cancelButtonText: "取消",
117 type: "warning",
118 })
119 .then(() => {
120 var formdata = new FormData();
121 formdata.append("bsmSldyList", item.bsmSldy.split(","));
122 formdata.append("bsmSlsq", this.bsmSlsq);
123 deleteFlow(formdata).then((res) => {
124 if (res.code == 200) {
125 this.$message.success("删除成功");
126 this.$parent.updateDialog();
127 } else {
128 this.$message.error(res.message);
129 }
130 });
131 })
132 .catch(() => {
133 this.$message({
134 type: "info",
135 message: "已取消删除",
136 });
137 });
138 },
139 //批量按钮点击事件
140 batchUnitClick () {
141 this.currentSelectProps.batchOperation = true;
142 this.activeIndex = "-1";
143 this.$parent.stepForm();
144 },
145 //批量操作
146 handleBatchDel () {
147 this.$popupDialog("批量删除", "workflow/components/batchDel", {
148 bsmSlsq: this.bsmSlsq,
149 dataList: this.unitData,
150 }, '50%', true)
151 },
152 //申请单元点击事件
153 unitClick (index) {
154 this.currentSelectProps = this.unitData[index];
155 this.currentSelectProps.batchOperation = false;
156 this.activeIndex = index.toString();
157 this.$parent.stepForm(index);
158 }
159 }
160 }
161 </script>
162 <style scoped lang='scss'>
163 @import "~@/styles/mixin.scss";
164 @import "../../workFrame.scss";
165 </style>
...\ No newline at end of file ...\ No newline at end of file
1 <!--
2 * @Description: workFrame左侧菜单列表-分割
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 16:32:02
5 -->
6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
8 <el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch">
9 <el-menu-item index="-1" key="-1" class="menus">
10 <div>{{ batchButtonName }}</div>
11 </el-menu-item>
12 </el-menu>
13 <div v-if="this.isShowdrawer">
14 <!-- 变更前单元 -->
15 <div class="title">
16 <b>变更前单元</b>/申请单元列表({{ aroundUnitData.length }})
17 </div>
18 <el-menu :default-active="activeIndex" @select="unitClick">
19 <el-menu-item v-for="(item, index) in aroundUnitData" :index="index.toString()" :key="index">
20 <div>
21 <p>{{ item.bdcdyh }}</p>
22 <p class="title-detail">{{ item.zl }}</p>
23 </div>
24 <i class="el-icon-delete" v-if="aroundUnitData.length > 1" @click.stop="handleDel(item)"></i>
25 </el-menu-item>
26 </el-menu>
27 <!-- 变更后单元 -->
28 <div class="title">
29 <b>变更后单元</b>/申请单元列表({{ afterUnitData.length }})
30 </div>
31 <el-menu :default-active="activeHIndex" @select="handleAfterunitClick">
32 <el-menu-item v-for="(item, index) in afterUnitData" :index="index.toString()" :key="index">
33 <div>
34 <p>{{ item.bdcdyh }}</p>
35 <p class="title-detail">{{ item.zl }}</p>
36 </div>
37 <i class="el-icon-delete" v-if="afterUnitData.length > 1" @click.stop="handleDel(item)"></i>
38 </el-menu-item>
39 </el-menu>
40 </div>
41 <div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
42 () => {
43 this.isShowdrawer = !this.isShowdrawer;
44 }
45 "></div>
46 <div class="map-drawer-expand map-drawer" v-else @click="
47 () => {
48 this.isShowdrawer = !this.isShowdrawer;
49 }
50 "></div>
51 </div>
52 </template>
53 <script>
54 import { leftMenu } from "@/api/fqsq.js"
55 import { deleteFlow } from "@/api/ywbl.js";
56 export default {
57 data () {
58 return {
59 //受理申请标识码
60 bsmSlsq: this.$route.query.bsmSlsq,
61 //当前流程所在环节
62 bestepid: this.$route.query.bestepid,
63 // 变更前单元默认选中
64 activeIndex: '0',
65 // 变更后单元默认选中
66 activeHIndex: '-1',
67 // 折叠
68 isShowdrawer: true,
69 // 批量操作
70 showBatch: false,
71 //批量操作按钮名称
72 batchButtonName: '',
73 //左侧菜单数据集合-变更前单元
74 aroundUnitData: [],
75 //左侧菜单数据集合-变更后单元
76 afterUnitData: [],
77 // 设置表单传递数据
78 currentSelectProps: {}
79 }
80 },
81 mounted () {
82 this.loadBdcdylist();
83 },
84 methods: {
85 //读取申请单元信息
86 loadBdcdylist () {
87 var formdata = new FormData();
88 formdata.append("bsmSlsq", this.bsmSlsq);
89 formdata.append("bestepid", this.bestepid);
90 leftMenu(formdata).then((res) => {
91 if (res.code === 200 && res.result) {
92 this.aroundUnitData = res.result.filter(item => item.bglx == '1')
93 this.afterUnitData = res.result.filter(item => item.bglx == '2')
94 this.currentSelectProps = res.result[0];
95 this.$emit('getCurrentSelectProps', this.currentSelectProps);
96 this.judgeBatchShow();
97 if (this.showBatch) {
98 //满足批量查封/批量抵押按钮出现 即先展示批量表单
99 this.batchUnitClick();
100 } else {
101 //默认选择单元列表第一个
102 this.unitClick(0);
103 }
104 }
105 })
106 },
107 //批量按钮判断
108 judgeBatchShow () {
109 this.showBatch = false;
110 if (this.afterUnitData.length > 1) {
111 let qllx = this.$route.query.sqywbm.substring(0, 3);
112 switch (qllx) {
113 case 'B39':
114 this.showBatch = true;
115 this.batchButtonName = '批量查封清单信息';
116 break;
117 case 'A37':
118 this.showBatch = true;
119 this.batchButtonName = '批量抵押';
120 break;
121 default:
122 this.batchButtonName = '批量操作';
123 }
124 }
125 },
126 /**
127 * @description: 删除左侧列表
128 * @param {*} item
129 * @author: renchao
130 */
131 handleDel (item) {
132 this.$confirm("确定要删除吗, 是否继续?", "提示", {
133 confirmButtonText: "确定",
134 cancelButtonText: "取消",
135 type: "warning",
136 })
137 .then(() => {
138 var formdata = new FormData();
139 formdata.append("bsmSldyList", item.bsmSldy.split(","));
140 formdata.append("bsmSlsq", this.bsmSlsq);
141 deleteFlow(formdata).then((res) => {
142 if (res.code == 200) {
143 this.$message.success("删除成功");
144 this.$parent.updateDialog();
145 } else {
146 this.$message.error(res.message);
147 }
148 });
149 })
150 .catch(() => {
151 this.$message({
152 type: "info",
153 message: "已取消删除",
154 });
155 });
156 },
157 //批量按钮点击事件
158 batchUnitClick () {
159 this.currentSelectProps.batchOperation = true;
160 this.activeIndex = "-1";
161 this.$parent.stepForm();
162 },
163 //申请单元点击事件
164 unitClick (index) {
165 this.activeHIndex = '-1'
166 this.currentSelectProps = this.aroundUnitData[index];
167 this.currentSelectProps.batchOperation = false;
168 this.activeIndex = index.toString();
169 this.$parent.stepForm(index);
170 },
171 handleAfterunitClick (index) {
172 this.activeIndex = '-1'
173 this.currentSelectProps = this.afterUnitData[index];
174 this.currentSelectProps.batchOperation = false;
175 this.activeHIndex = index.toString();
176 this.$parent.stepForm(index);
177 }
178 }
179 }
180 </script>
181 <style scoped lang='scss'>
182 @import "~@/styles/mixin.scss";
183 @import "../../workFrame.scss";
184 </style>
...\ No newline at end of file ...\ No newline at end of file
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:15
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <div class="process-viewer"> 8 <div class="process-viewer">
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:20
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
......
1 <!-- 1 <!--
2 功能:审批意见 2 * @Description: 功能:审批意见
3 作者:calliope 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:24
4 --> 5 -->
5 <template> 6 <template>
6 <div class='spyj loadingtext'> 7 <div class='spyj loadingtext'>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:35
5 -->
1 <template> 6 <template>
2 <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData"> 7 <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData">
3 </lb-table> 8 </lb-table>
4 </template> 9 </template>
5 <script> 10 <script>
6 import addQlr from './dialog/addQlr.vue' 11 import addQlr from './dialog/addQlr.vue'
7 import { mapGetters } from 'vuex' 12 import { mapGetters } from 'vuex'
8 export default { 13 export default {
9 components: { 14 components: {
10 addQlr 15 addQlr
11 }, 16 },
12 computed: { 17 computed: {
13 ...mapGetters(["dictData"]), 18 ...mapGetters(["dictData"]),
14 }, 19 },
15 props: { 20 props: {
16 tableData: { 21 tableData: {
17 type: Array, 22 type: Array,
18 default: function () { 23 default: function () {
19 return [] 24 return []
25 }
26 },
27 gyfs: {
28 type: String,
29 default: '1'
20 } 30 }
21 }, 31 },
22 gyfs: { 32 data () {
23 type: String, 33 return {
24 default: '1' 34 key: 0,
25 } 35 dataIndex: 0,
26 }, 36 dialog: false,
27 data () { 37 details: {},
28 return { 38 tableDataList: [],
29 key: 0, 39 qlrCommonTable: [
30 dataIndex: 0, 40 {
31 dialog: false, 41 width: '50',
32 details: {}, 42 renderHeader: (h, scope) => {
33 tableDataList: [], 43 return <div> {
34 qlrCommonTable: [ 44 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i>
35 { 45 }
36 width: '50', 46 </div>
37 renderHeader: (h, scope) => { 47 },
38 return <div> { 48 render: (h, scope) => {
39 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 49 return (
50 <div>
51 {
52 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i>
54 }
55 </div>
56 )
40 } 57 }
41 </div>
42 }, 58 },
43 render: (h, scope) => { 59 {
44 return ( 60 prop: "sqrmc",
45 <div> 61 label: "姓名/名称"
46 { 62 },
47 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 63 {
48 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 64 prop: "zjzl",
49 } 65 label: "证件种类"
50 </div> 66 },
51 ) 67 {
68 prop: "zjh",
69 label: "证件号"
70 },
71 {
72 prop: "dh",
73 label: "联系电话"
74 },
75 {
76 prop: "frmc",
77 label: "法人"
78 },
79 {
80 label: '操作',
81 render: (h, scope) => {
82 return (
83 <div>
84 {
85 <el-button icon="el-icon-view" type="text" onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button>
86 }
87 </div>
88 )
89 }
52 } 90 }
53 }, 91 ],
54 { 92 column: this.qlrCommonTable
55 prop: "sqrmc", 93 }
56 label: "姓名/名称" 94 },
57 }, 95 watch: {
58 { 96 tableData: {
59 prop: "zjzl", 97 handler: function (val, oldVal) {
60 label: "证件种类" 98 let that = this
61 }, 99 if (val.length == 0 || !val) {
62 { 100 that.tableDataList = _.cloneDeep([{
63 prop: "zjh", 101 sqrmc: '',
64 label: "证件号" 102 dlrzjlx: '',
65 }, 103 dlrzjh: '',
66 { 104 fr: ''
67 prop: "dh", 105 }])
68 label: "联系电话" 106 } else {
69 }, 107 that.tableDataList = _.cloneDeep(val)
70 {
71 prop: "frmc",
72 label: "法人"
73 },
74 {
75 label: '操作',
76 render: (h, scope) => {
77 return (
78 <div>
79 {
80 <el-button icon="el-icon-view" type="text" onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button>
81 }
82 </div>
83 )
84 } 108 }
85 } 109 },
86 ], 110 immediate: true,
87 column: this.qlrCommonTable 111 deep: true
88 }
89 },
90 watch: {
91 tableData: {
92 handler: function (val, oldVal) {
93 let that = this
94 if (val.length == 0 || !val) {
95 that.tableDataList = _.cloneDeep([{
96 sqrmc: '',
97 dlrzjlx: '',
98 dlrzjh: '',
99 fr: ''
100 }])
101 } else {
102 that.tableDataList = _.cloneDeep(val)
103 }
104 }, 112 },
105 immediate: true, 113 gyfs: {
106 deep: true 114 handler (newVal, oldValue) {
115 let dataList = _.cloneDeep(this.qlrCommonTable)
116 if (newVal == '1') {
117 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
118 } else if ((newVal == '2')) {
119 this.column = dataList
120 } else {
121 this.column = _.cloneDeep(dataList)
122 this.column.splice(
123 2, 0, {
124 prop: "fs",
125 label: "份数"
126 })
127 }
128 },
129 immediate: true
130 }
107 }, 131 },
108 gyfs: { 132 methods: {
109 handler (newVal, oldValue) { 133 updateDetail (value) {
110 let dataList = _.cloneDeep(this.qlrCommonTable) 134 this.tableDataList[this.dataIndex] = value
111 if (newVal == '1') { 135 this.key++
112 this.column = _.cloneDeep(dataList).slice(1, dataList.length) 136 this.$emit('upDateQlrxxList', this.tableDataList)
113 } else if ((newVal == '2')) {
114 this.column = dataList
115 } else {
116 this.column = _.cloneDeep(dataList)
117 this.column.splice(
118 2, 0, {
119 prop: "fs",
120 label: "份数"
121 })
122 }
123 }, 137 },
124 immediate: true 138 // 添加
125 } 139 handleAdd () {
126 }, 140 this.dialog = true
127 methods: { 141 },
128 updateDetail (value) { 142 // 减
129 this.tableDataList[this.dataIndex] = value 143 handleMinus (index, row) {
130 this.key++ 144 this.tableData.splice(index, 1)
131 this.$emit('upDateQlrxxList', this.tableDataList) 145 },
132 }, 146 // 身份证读取
133 // 添加 147 readClick () { },
134 handleAdd () { 148 // 修改
135 this.dialog = true 149 handleEdit (index, row) {
136 }, 150 console.log(row, 'rowrowrowrowrow');
137 // 减 151 this.dataIndex = index
138 handleMinus (index, row) { 152 this.dialog = true
139 this.tableData.splice(index, 1) 153 this.details = row
140 }, 154 },
141 // 身份证读取 155 handleView () {
142 readClick () { }, 156 this.dialog = true
143 // 修改 157 }
144 handleEdit (index, row) {
145 console.log(row, 'rowrowrowrowrow');
146 this.dataIndex = index
147 this.dialog = true
148 this.details = row
149 },
150 handleView () {
151 this.dialog = true
152 } 158 }
153 } 159 }
154 }
155 </script> 160 </script>
156 <style scoped lang='scss'> 161 <style scoped lang='scss'>
157
158 </style> 162 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:45
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <div class="invalid-title"> 8 <div class="invalid-title">
...@@ -9,77 +14,74 @@ ...@@ -9,77 +14,74 @@
9 v-model="stopMessage" 14 v-model="stopMessage"
10 placeholder="请输入终止原因" 15 placeholder="请输入终止原因"
11 type="textarea" 16 type="textarea"
12 :rows="4" 17 :rows="4"></el-input>
13 ></el-input>
14 <el-button style="float: right">取消</el-button> 18 <el-button style="float: right">取消</el-button>
15 <el-button type="primary" @click="onSubmit" style="float: right" 19 <el-button type="primary" @click="onSubmit" style="float: right">退件</el-button>
16 >退件</el-button
17 >
18 </div> 20 </div>
19 </template> 21 </template>
20 22
21 <script> 23 <script>
22 import { stopTask } from "@/api/fqsq.js"; 24 import { stopTask } from "@/api/fqsq.js";
23 export default { 25 export default {
24 props: { 26 props: {
25 formData: { 27 formData: {
26 type: Object, 28 type: Object,
27 default: {}, 29 default: {},
30 },
28 }, 31 },
29 }, 32 data () {
30 data() { 33 return {
31 return { 34 stopMessage: "",
32 stopMessage: "", 35 };
33 };
34 },
35 methods: {
36 onSubmit() {
37 stopTask({
38 bsmSlsq: this.formData.bsmSlsq,
39 bestepid: this.formData.bestepid,
40 stopMessage: this.stopMessage,
41 }).then((res) => {
42 this.$message.success("终止成功");
43 setTimeout(() => {
44 // window.opener.location.reload(); //刷新父窗口
45 if (window.opener && window.opener.getBpageList) {
46 window.opener.getBpageList();
47 } else {
48 window.opener.frames[0].getBpageList();
49 }
50 window.close();
51 this.$emit("input", false);
52 }, 1000);
53 });
54 }, 36 },
55 }, 37 methods: {
56 }; 38 onSubmit () {
39 stopTask({
40 bsmSlsq: this.formData.bsmSlsq,
41 bestepid: this.formData.bestepid,
42 stopMessage: this.stopMessage,
43 }).then((res) => {
44 this.$message.success("终止成功");
45 setTimeout(() => {
46 // window.opener.location.reload(); //刷新父窗口
47 if (window.opener && window.opener.getBpageList) {
48 window.opener.getBpageList();
49 } else {
50 window.opener.frames[0].getBpageList();
51 }
52 window.close();
53 this.$emit("input", false);
54 }, 1000);
55 });
56 },
57 },
58 };
57 </script> 59 </script>
58 <style scoped lang="scss"> 60 <style scoped lang="scss">
59 @import "~@/styles/mixin.scss"; 61 @import "~@/styles/mixin.scss";
60 .invalid-title { 62 .invalid-title {
61 display: flex; 63 display: flex;
62 align-content: center; 64 align-content: center;
65
66 .invalid-icon {
67 color: rgb(254, 148, 0);
68 font-size: 34px;
69 margin-right: 10px;
70 }
63 71
64 .invalid-icon { 72 .invalid-body {
65 color: rgb(254, 148, 0); 73 line-height: 40px;
66 font-size: 34px; 74 margin-bottom: 10px;
67 margin-right: 10px; 75 }
68 } 76 }
69 77
70 .invalid-body { 78 .invalid-reson {
71 line-height: 40px;
72 margin-bottom: 10px; 79 margin-bottom: 10px;
73 } 80 }
74 }
75 81
76 .invalid-reson { 82 .dialog-footer {
77 margin-bottom: 10px; 83 margin-top: 10px;
78 } 84 display: flex;
79 85 justify-content: flex-end;
80 .dialog-footer { 86 }
81 margin-top: 10px;
82 display: flex;
83 justify-content: flex-end;
84 }
85 </style> 87 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:49
5 -->
1 <template> 6 <template>
2 <div class="szxx"> 7 <div class="szxx">
3 <el-card class="box-card" v-for="(item, index) in tableData" :key="index"> 8 <el-card class="box-card" v-for="(item, index) in tableData" :key="index">
...@@ -44,7 +49,7 @@ ...@@ -44,7 +49,7 @@
44 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> 49 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button>
45 </div> 50 </div>
46 <div class="text" v-else> 51 <div class="text" v-else>
47 <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印({{ item.szcs 52 <el-button class="operation_button" type="text" @click="openZsylDialog(item, 2)">证书打印1{{ item.szcs
48 }}</el-button> 53 }}</el-button>
49 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button> 54 <el-button class="operation_button" type="text" @click="openRecordPop(item)">缮证记录</el-button>
50 </div> 55 </div>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:57
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <!-- 表单部分 --> 8 <!-- 表单部分 -->
...@@ -9,14 +14,12 @@ ...@@ -9,14 +14,12 @@
9 v-for="(item, index) in dataList" 14 v-for="(item, index) in dataList"
10 class="listDetail" 15 class="listDetail"
11 :key="index" 16 :key="index"
12 @click="changeSelectItem(item)" 17 @click="changeSelectItem(item)">
13 >
14 <p class="icon"> 18 <p class="icon">
15 <el-radio 19 <el-radio
16 v-model="selectActivity" 20 v-model="selectActivity"
17 :label="item.activityId" 21 :label="item.activityId"
18 @change="changeSelectItem(item)" 22 @change="changeSelectItem(item)"></el-radio>
19 ></el-radio>
20 </p> 23 </p>
21 <p>{{ item.activityName }}</p> 24 <p>{{ item.activityName }}</p>
22 <p v-for="(child, childIndex) in item.userInfos" :key="childIndex"> 25 <p v-for="(child, childIndex) in item.userInfos" :key="childIndex">
...@@ -30,8 +33,7 @@ ...@@ -30,8 +33,7 @@
30 class="textArea" 33 class="textArea"
31 type="textarea" 34 type="textarea"
32 v-model="outstepopinion" 35 v-model="outstepopinion"
33 placeholder="请输入退回意见" 36 placeholder="请输入退回意见"></el-input>
34 ></el-input>
35 </el-form-item> 37 </el-form-item>
36 <el-form-item> 38 <el-form-item>
37 <el-button style="float:right" @click="cancelBack">取消</el-button> 39 <el-button style="float:right" @click="cancelBack">取消</el-button>
...@@ -44,104 +46,104 @@ ...@@ -44,104 +46,104 @@
44 46
45 <script> 47 <script>
46 48
47 import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js" 49 import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js"
48 import { popupCacel } from "@/utils/popup.js"; 50 import { popupCacel } from "@/utils/popup.js";
49 51
50 export default { 52 export default {
51 props: { 53 props: {
52 formData: { 54 formData: {
53 type: Object, 55 type: Object,
54 default: {}, 56 default: {},
57 },
55 }, 58 },
56 }, 59 data () {
57 data() { 60 return {
58 return { 61 selectActivity: "",
59 selectActivity: "", 62 dataList: [],
60 dataList: [], 63 outstepopinion: "",
61 outstepopinion: "", 64 selectItem: {},
62 selectItem: {}, 65 };
63 };
64 },
65 created() {
66 this.getBackNode();
67 },
68 methods: {
69 onSubmit() {
70 this.selectItem.outstepopinion = this.outstepopinion;
71 sendBackTask({
72 bsmSlsq: this.formData.bsmSlsq,
73 backNodeList: [this.selectItem],
74 }).then((res) => {
75 this.$message.success("退回成功");
76 setTimeout(() => {
77 // window.opener.location.reload(); //刷新父窗口
78 if (window.opener && window.opener.getBpageList) {
79 window.opener.getBpageList();
80 } else {
81 window.opener.frames[0].getBpageList();
82 }
83 window.close();
84 this.$emit("input", false);
85 }, 1000);
86 });
87 }, 66 },
88 changeSelectItem(item) { 67 created () {
89 this.selectItem = item; 68 this.getBackNode();
90 this.selectActivity = item.activityId;
91 }, 69 },
92 //获取可回退环节信息 70 methods: {
93 getBackNode() { 71 onSubmit () {
94 getTaskBackNode(this.formData).then((res) => { 72 this.selectItem.outstepopinion = this.outstepopinion;
95 if (res.code == 200) { 73 sendBackTask({
96 this.dataList = res.result; 74 bsmSlsq: this.formData.bsmSlsq,
97 if (res.result) { 75 backNodeList: [this.selectItem],
98 this.selectActivity = res.result[0].activityId; 76 }).then((res) => {
99 this.selectItem = res.result[0]; 77 this.$message.success("退回成功");
78 setTimeout(() => {
79 // window.opener.location.reload(); //刷新父窗口
80 if (window.opener && window.opener.getBpageList) {
81 window.opener.getBpageList();
82 } else {
83 window.opener.frames[0].getBpageList();
84 }
85 window.close();
86 this.$emit("input", false);
87 }, 1000);
88 });
89 },
90 changeSelectItem (item) {
91 this.selectItem = item;
92 this.selectActivity = item.activityId;
93 },
94 //获取可回退环节信息
95 getBackNode () {
96 getTaskBackNode(this.formData).then((res) => {
97 if (res.code == 200) {
98 this.dataList = res.result;
99 if (res.result) {
100 this.selectActivity = res.result[0].activityId;
101 this.selectItem = res.result[0];
102 }
100 } 103 }
101 } 104 });
102 }); 105 },
103 },
104 106
105 cancelBack(){ 107 cancelBack () {
106 popupCacel(); 108 popupCacel();
109 }
107 } 110 }
108 } 111 }
109 }
110 </script> 112 </script>
111 <style scoped lang="scss"> 113 <style scoped lang="scss">
112 @import "~@/styles/mixin.scss"; 114 @import "~@/styles/mixin.scss";
113
114 .listDetail {
115 display: flex;
116 align-items: center;
117 width: 100%;
118 115
119 p { 116 .listDetail {
120 line-height: 30px; 117 display: flex;
121 height: 30px; 118 align-items: center;
122 @include flex-center;
123 flex: 1;
124 width: 100%; 119 width: 100%;
125 border: 1px solid rgb(233, 235, 237);
126 margin-top: -1px;
127 margin-left: -1px;
128 }
129 120
130 .icon { 121 p {
131 flex: 0 0 60px; 122 line-height: 30px;
123 height: 30px;
124 @include flex-center;
125 flex: 1;
126 width: 100%;
127 border: 1px solid rgb(233, 235, 237);
128 margin-top: -1px;
129 margin-left: -1px;
130 }
131
132 .icon {
133 flex: 0 0 60px;
134 }
132 } 135 }
133 }
134 136
135 .title { 137 .title {
136 margin-bottom: 10px; 138 margin-bottom: 10px;
137 } 139 }
138 140
139 .textArea { 141 .textArea {
140 /deep/.el-textarea__inner { 142 /deep/.el-textarea__inner {
141 min-height: 90px !important; 143 min-height: 90px !important;
144 }
145 }
146 /deep/.el-radio .el-radio__label {
147 display: none;
142 } 148 }
143 }
144 /deep/.el-radio .el-radio__label {
145 display: none;
146 }
147 </style> 149 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:01
5 -->
1 <template> 6 <template>
2 <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog" 7 <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog"
3 v-model="value"> 8 v-model="value">
...@@ -19,50 +24,50 @@ ...@@ -19,50 +24,50 @@
19 </template> 24 </template>
20 25
21 <script> 26 <script>
22 import { completeTask, getNextLinkInfo } from "@/api/fqsq.js" 27 import { completeTask, getNextLinkInfo } from "@/api/fqsq.js"
23 export default { 28 export default {
24 components: { 29 components: {
25 },
26 props: {
27 value: { type: Boolean, default: false },
28 queryForm: { type: Object, default: false }
29 },
30 data () {
31 return {
32 tableData: {},
33 usernames: '',
34 }
35 },
36 methods: {
37 tablelistFn () {
38 getNextLinkInfo(this.queryForm).then(res => {
39 if (res.code === 200) {
40 this.tableData = res.result
41 if (res.result.usernames) {
42 this.usernames = String(res.result.usernames)
43 }
44 }
45 })
46 }, 30 },
47 submitForm () { 31 props: {
48 completeTask(this.queryForm).then(res => { 32 value: { type: Boolean, default: false },
49 if (res.code === 200) { 33 queryForm: { type: Object, default: false }
50 this.$message.success('转件成功')
51 setTimeout(() => {
52 window.opener = null;
53 window.open("about:blank", "_self");
54 window.close();
55 this.$emit('input', false)
56 }, 1000);
57 }
58 })
59 }, 34 },
60 closeDialog () { 35 data () {
61 this.$emit("input", false); 36 return {
37 tableData: {},
38 usernames: '',
39 }
62 }, 40 },
41 methods: {
42 tablelistFn () {
43 getNextLinkInfo(this.queryForm).then(res => {
44 if (res.code === 200) {
45 this.tableData = res.result
46 if (res.result.usernames) {
47 this.usernames = String(res.result.usernames)
48 }
49 }
50 })
51 },
52 submitForm () {
53 completeTask(this.queryForm).then(res => {
54 if (res.code === 200) {
55 this.$message.success('转件成功')
56 setTimeout(() => {
57 window.opener = null;
58 window.open("about:blank", "_self");
59 window.close();
60 this.$emit('input', false)
61 }, 1000);
62 }
63 })
64 },
65 closeDialog () {
66 this.$emit("input", false);
67 },
68 }
63 } 69 }
64 }
65 </script> 70 </script>
66 <style scoped lang="scss"> 71 <style scoped lang="scss">
67 @import "~@/styles/mixin.scss"; 72 @import "~@/styles/mixin.scss";
68 </style> 73 </style>
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:38:37
5 */
1 //流程环节操作按钮 6 //流程环节操作按钮
2 export function getForm (tabName, djywbm) { 7 export function getForm (tabName, djywbm) {
3 let form; 8 let form;
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:38:57
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:03
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
...@@ -40,12 +45,12 @@ class data extends filter { ...@@ -40,12 +45,12 @@ class data extends filter {
40 { 45 {
41 label: "是否作废", 46 label: "是否作废",
42 render: (h, scope) => { 47 render: (h, scope) => {
43 if(scope.row.sfzf == '0'){ 48 if (scope.row.sfzf == '0') {
44 return <div></div> 49 return <div></div>
45 }else{ 50 } else {
46 return <div>已作废</div> 51 return <div>已作废</div>
47 }
48 } 52 }
53 }
49 }, 54 },
50 { 55 {
51 prop: "bz", 56 prop: "bz",
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:07
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 class data extends filter { 7 class data extends filter {
3 constructor() { 8 constructor() {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 15:01:31
5 */
1 import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; 6 import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
2 import { getPrintTemplateByCode } from "@/api/system"; 7 import { getPrintTemplateByCode } from "@/api/system";
3 import { getPrintApplicationInfo } from "@/api/fqsq"; 8 import { getPrintApplicationInfo } from "@/api/fqsq";
...@@ -5,14 +10,12 @@ import { uploadUndo } from "@/api/clxx"; ...@@ -5,14 +10,12 @@ import { uploadUndo } from "@/api/clxx";
5 import { deleteFlow } from "@/api/ywbl"; 10 import { deleteFlow } from "@/api/ywbl";
6 import { getLodop } from "@/utils/LodopFuncs" 11 import { getLodop } from "@/utils/LodopFuncs"
7 import { 12 import {
8 leftMenu,
9 stepExpandInfo, 13 stepExpandInfo,
10 record, 14 record,
11 completeTask, 15 completeTask,
12 getNextLinkInfo, 16 getNextLinkInfo,
13 } from "@/api/fqsq.js"; 17 } from "@/api/fqsq.js";
14 import { mapGetters } from 'vuex' 18 import { mapGetters } from 'vuex'
15 import { log } from "bpmn-js-token-simulation";
16 export default { 19 export default {
17 data () { 20 data () {
18 return { 21 return {
...@@ -28,6 +31,8 @@ export default { ...@@ -28,6 +31,8 @@ export default {
28 rightButtonList: [], 31 rightButtonList: [],
29 //批量按钮名称 32 //批量按钮名称
30 batchButtonName: '', 33 batchButtonName: '',
34 // 受理申请信息
35 slsq: {}
31 } 36 }
32 }, 37 },
33 computed: { 38 computed: {
...@@ -37,55 +42,14 @@ export default { ...@@ -37,55 +42,14 @@ export default {
37 isRefresh: { 42 isRefresh: {
38 handler (newVal, oldVal) { 43 handler (newVal, oldVal) {
39 if (newVal) this.loadBdcdylist() 44 if (newVal) this.loadBdcdylist()
40 } 45 },
46 immediate: true
41 } 47 }
42 }, 48 },
43 mounted () { 49 mounted () {
44 this.flowInitParam(); 50 this.flowInitParam();
45 this.loadBdcdylist();
46 }, 51 },
47 methods: { 52 methods: {
48 //读取申请单元信息
49 loadBdcdylist () {
50 var formdata = new FormData();
51 formdata.append("bsmSlsq", this.bsmSlsq);
52 formdata.append("bestepid", this.bestepid);
53 leftMenu(formdata).then((res) => {
54 if (res.code === 200) {
55 if (res.result) {
56 this.unitData = res.result;
57 this.currentSelectProps = res.result[0];
58 this.judgeBatchShow();
59 if (this.showBatch) {
60 //满足批量查封/批量抵押按钮出现 即先展示批量表单
61 this.batchUnitClick();
62 } else {
63 //默认选择单元列表第一个
64 this.unitClick(0);
65 }
66 }
67 }
68 });
69 },
70 //批量按钮判断
71 judgeBatchShow () {
72 this.showBatch = false;
73 if (this.unitData.length > 1) {
74 let qllx = this.$route.query.sqywbm.substring(0, 3);
75 switch (qllx) {
76 case 'B39':
77 this.showBatch = true;
78 this.batchButtonName = '批量查封清单信息';
79 break;
80 case 'A37':
81 this.showBatch = true;
82 this.batchButtonName = '批量抵押';
83 break;
84 default:
85 this.batchButtonName = '批量操作';
86 }
87 }
88 },
89 //加载流程初始参数 53 //加载流程初始参数
90 flowInitParam () { 54 flowInitParam () {
91 var formdata = new FormData(); 55 var formdata = new FormData();
...@@ -95,8 +59,9 @@ export default { ...@@ -95,8 +59,9 @@ export default {
95 if (res.code === 200) { 59 if (res.code === 200) {
96 this.leftButtonList = res.result.button; 60 this.leftButtonList = res.result.button;
97 this.rightButtonList = res.result.operation; 61 this.rightButtonList = res.result.operation;
62 this.slsq = res.result.slsq
98 } 63 }
99 }); 64 })
100 }, 65 },
101 //流程环节操作按钮 66 //流程环节操作按钮
102 operation (item) { 67 operation (item) {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:38:51
5 */
1 import { getForm } from "../flowform"; 6 import { getForm } from "../flowform";
2 import { getHomeNoticeList } from "@/api/user.js" 7 import { getHomeNoticeList } from "@/api/user.js"
3 export default { 8 export default {
4 data () { 9 data () {
5 return { 10 return {
6 noticeList: [], 11 noticeList: []
7 } 12 }
8 }, 13 },
9 created () { 14 created () {
10 this.getHomeNotice() 15 this.getHomeNotice()
11 }, 16 },
12 mounted () { 17 mounted () {
13 let that = this
14 window.addEventListener('message', function (messageEvent) { 18 window.addEventListener('message', function (messageEvent) {
15 that.getHomeNotice() 19 this.getHomeNotice()
16 }, false) 20 }, false)
17 }, 21 },
18 methods: { 22 methods: {
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 53
54 ul { 54 ul {
55 position: relative; 55 position: relative;
56 height: calc(100vh - 120px); 56 // height: calc(100vh - 120px);
57 overflow-y: auto; 57 overflow-y: auto;
58 58
59 .xian { 59 .xian {
...@@ -157,13 +157,13 @@ ...@@ -157,13 +157,13 @@
157 } 157 }
158 158
159 .map-drawer-expand { 159 .map-drawer-expand {
160 background: url("../../image/right.png"); 160 background: url("~@/image/right.png");
161 background-size: cover; 161 background-size: cover;
162 right: 0%; 162 right: 0%;
163 } 163 }
164 164
165 .map-drawer-click { 165 .map-drawer-click {
166 background: url("../../image/left.png"); 166 background: url("~@/image/left.png");
167 background-size: cover; 167 background-size: cover;
168 left: 0%; 168 left: 0%;
169 } 169 }
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-22 09:45:59
5 -->
1 <template> 6 <template>
2 <div class="container"> 7 <div class="container">
3 <!-- 顶部内容框 --> 8 <!-- 顶部内容框 -->
...@@ -20,39 +25,9 @@ ...@@ -20,39 +25,9 @@
20 </div> 25 </div>
21 <!-- 内容框架 --> 26 <!-- 内容框架 -->
22 <div class="containerFrame"> 27 <div class="containerFrame">
23 <!-- 左侧菜单栏 --> 28 <!-- 左侧菜单栏 区分业务-->
24 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 29 <segmentMenu v-if="slsq.djqxbm == 'A0320099' || slsq.djqxbm == 'A0330099'" @getCurrentSelectProps="getCurrentSelectProps" />
25 <el-menu :default-active="activeIndex" @select="batchUnitClick" class="title-batch" v-if="showBatch"> 30 <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" />
26 <el-menu-item index="-1" key="-1" class="menus">
27 <div>{{ batchButtonName }}</div>
28 </el-menu-item>
29 </el-menu>
30 <div v-if="this.isShowdrawer">
31 <div class="title">
32 申请单元列表({{ unitData.length }})
33 <el-button type="text" class="batchDel" @click="handleBatchDel" v-if="unitData.length > 1">批量删除</el-button>
34 </div>
35 <el-menu :default-active="activeIndex" @select="unitClick">
36 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
37 <div>
38 <p>{{ item.bdcdyh }}</p>
39 <p class="title-detail">{{ item.zl }}</p>
40 </div>
41 <i class="el-icon-delete" v-if="unitData.length > 1" @click.stop="handleDel(item)"></i>
42 </el-menu-item>
43 </el-menu>
44 </div>
45 <div class="map-drawer-click map-drawer" v-if="!isShowdrawer" @click="
46 () => {
47 this.isShowdrawer = !this.isShowdrawer;
48 }
49 "></div>
50 <div class="map-drawer-expand map-drawer" v-else @click="
51 () => {
52 this.isShowdrawer = !this.isShowdrawer;
53 }
54 "></div>
55 </div>
56 <div class="leftCon"> 31 <div class="leftCon">
57 <!-- 分屏左侧预览 --> 32 <!-- 分屏左侧预览 -->
58 <div v-if="splitScreen" class="splitScreen-con"> 33 <div v-if="splitScreen" class="splitScreen-con">
...@@ -79,174 +54,141 @@ ...@@ -79,174 +54,141 @@
79 </div> 54 </div>
80 </template> 55 </template>
81 <style scoped lang="scss"> 56 <style scoped lang="scss">
82 @import "~@/styles/mixin.scss"; 57 @import "~@/styles/mixin.scss";
83 @import "./workFrame.scss"; 58 @import "./workFrame.scss";
84 </style> 59 </style>
85 <script> 60 <script>
86 import { mapGetters } from 'vuex' 61 import { mapGetters } from 'vuex'
87 import WorkFlow from "./mixin/index"; 62 import WorkFlow from "./mixin/index"
88 import publicFlow from "./mixin/public.js"; 63 import publicFlow from "./mixin/public.js"
89 import { getStepFormInfo } from "@/api/fqsq.js"; 64 import { getStepFormInfo } from "@/api/fqsq.js"
90 import { getForm } from "./flowform"; 65 import { getForm } from "./flowform"
91 import NoticeBar from "@/components/NoticeBar/index"; 66 import NoticeBar from "@/components/NoticeBar/index"
92 import { deleteFlow, unClaimTask } from "@/api/ywbl.js"; 67 import { unClaimTask } from "@/api/ywbl.js"
93 import ProcessViewer from "./components/processViewer.vue"; 68 import ProcessViewer from "./components/processViewer.vue"
94 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 69 // 引入左侧菜单
95 export default { 70 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"
96 components: { 71 // 引入左侧菜单
97 selectBdc, 72 import segmentMenu from "./components/leftmenu/segmentMenu.vue"
98 NoticeBar, 73 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"
99 ProcessViewer, 74 export default {
100 }, 75 components: {
101 mixins: [WorkFlow, publicFlow], 76 selectBdc,
102 data () { 77 NoticeBar,
103 return { 78 ProcessViewer,
104 isDialog: false, 79 ordinaryMenu,
105 // 折叠 80 segmentMenu
106 isShowdrawer: true,
107 // 默认选中
108 activeIndex: "0",
109 //受理申请标识码
110 bsmSlsq: this.$route.query.bsmSlsq,
111 //当前流程所在环节
112 bestepid: this.$route.query.bestepid,
113 //设置那个表单选中
114 tabName: "",
115 //设置那个表单选择
116 currentSelectTab: {},
117 //表单集合
118 tabList: [],
119 //选择加载哪一个组件
120 componentTag: "",
121 //设置表单传递数据
122 currentSelectProps: {},
123 //材料分屏表单
124 clxxForm: "",
125 //材料信息选择卡索引
126 clxxIndex: "",
127 //材料信息选项卡对象
128 clxxTab: {},
129 //页面监听时间
130 _beforeUnload_time: "",
131 //批量操作
132 showBatch: false,
133 //批量操作按钮名称
134 batchButtonName: "",
135 };
136 },
137 computed: {
138 ...mapGetters(['isRefresh'])
139 },
140 watch: {
141 isRefresh: {
142 handler (newVal, oldVal) {
143 if (newVal) this.updateDialog()
144 }
145 }
146 },
147 mounted () {
148 //添加页面监听事件
149 window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e));
150 window.addEventListener("unload", (e) => this.unloadHandler(e));
151 },
152 destroyed () {
153 window.removeEventListener("beforeunload", (e) =>
154 this.beforeunloadHandler(e)
155 );
156 window.removeEventListener("unload", (e) => this.unloadHandler(e));
157 },
158 methods: {
159 beforeunloadHandler () {
160 this._beforeUnload_time = new Date().getTime();
161 }, 81 },
162 unloadHandler (e) { 82 mixins: [WorkFlow, publicFlow],
163 this._gap_time = new Date().getTime() - this._beforeUnload_time; 83 data () {
164 //判断是窗口关闭还是刷新 84 return {
165 if (this._gap_time <= 10) { 85 isDialog: false,
166 //取消认领 86 //受理申请标识码
167 unClaimTask(this.bsmSlsq, this.bestepid); 87 bsmSlsq: this.$route.query.bsmSlsq,
88 //当前流程所在环节
89 bestepid: this.$route.query.bestepid,
90 //设置那个表单选中
91 tabName: "",
92 //设置那个表单选择
93 currentSelectTab: {},
94 //表单集合
95 tabList: [],
96 //选择加载哪一个组件
97 componentTag: "",
98 //设置表单传递数据
99 currentSelectProps: {},
100 //材料分屏表单
101 clxxForm: "",
102 //材料信息选择卡索引
103 clxxIndex: "",
104 //材料信息选项卡对象
105 clxxTab: {},
106 //页面监听时间
107 _beforeUnload_time: ""
168 } 108 }
169 }, 109 },
170 changeLoadIndex () { 110 computed: {
171 this.loadIndex++; 111 ...mapGetters(['isRefresh'])
172 }, 112 },
173 closeDialog () { 113 watch: {
174 this.myValue = false; 114 isRefresh: {
115 handler (newVal, oldVal) {
116 if (newVal) this.updateDialog()
117 }
118 }
175 }, 119 },
176 // 更新列表 120 mounted () {
177 updateDialog () { 121 //添加页面监听事件
178 this.loadBdcdylist(); 122 window.addEventListener("beforeunload", (e) => this.beforeunloadHandler(e));
123 window.addEventListener("unload", (e) => this.unloadHandler(e));
179 }, 124 },
180 // 删除左侧列表 125 destroyed () {
181 handleDel (item) { 126 window.removeEventListener("beforeunload", (e) =>
182 this.$confirm("确定要删除吗, 是否继续?", "提示", { 127 this.beforeunloadHandler(e)
183 confirmButtonText: "确定", 128 );
184 cancelButtonText: "取消", 129 window.removeEventListener("unload", (e) => this.unloadHandler(e));
185 type: "warning",
186 })
187 .then(() => {
188 var formdata = new FormData();
189 formdata.append("bsmSldyList", item.bsmSldy.split(","));
190 formdata.append("bsmSlsq", this.bsmSlsq);
191 deleteFlow(formdata).then((res) => {
192 if (res.code == 200) {
193 this.$message.success("删除成功");
194 this.loadBdcdylist();
195 } else {
196 this.$message.error(res.message);
197 }
198 });
199 })
200 .catch(() => {
201 this.$message({
202 type: "info",
203 message: "已取消删除",
204 });
205 });
206 }, 130 },
207 //申请单元点击事件 131 methods: {
208 stepForm (index) { 132 getCurrentSelectProps (val) {
209 getStepFormInfo(this.currentSelectProps).then((res) => { 133 this.currentSelectProps = val
210 if (res.code === 200) { 134 },
211 this.fresh++; 135 beforeunloadHandler () {
212 //获取单元对应的所有表单信息 136 this._beforeUnload_time = new Date().getTime();
213 this.tabList = res.result; 137 },
214 //默认加载第一个表单信息 138 unloadHandler (e) {
215 this.tabName = res.result[0].value; 139 this._gap_time = new Date().getTime() - this._beforeUnload_time;
216 //批量操作无分屏按钮 140 //判断是窗口关闭还是刷新
217 if (index != null) { 141 if (this._gap_time <= 10) {
218 //处理分屏材料信息 142 //取消认领
219 let that = this; 143 unClaimTask(this.bsmSlsq, this.bestepid);
220 this.tabList.forEach(function (item, index) { 144 }
221 if (item.value == "clxx") { 145 },
222 that.clxxIndex = index; 146 changeLoadIndex () {
223 that.clxxForm = getForm(item.value, that.$route.query.sqywbm); 147 this.loadIndex++;
224 that.clxxTab = item; 148 },
225 } 149 /**
226 }); 150 * @description: 更新列表
151 * @author: renchao
152 */
153 updateDialog () {
154 this.loadBdcdylist();
155 },
156 //申请单元点击事件
157 stepForm (index) {
158 getStepFormInfo(this.currentSelectProps).then((res) => {
159 if (res.code === 200) {
160 this.fresh++;
161 //获取单元对应的所有表单信息
162 this.tabList = res.result;
163 //默认加载第一个表单信息
164 this.tabName = res.result[0].value;
165 //批量操作无分屏按钮
166 if (index != null) {
167 //处理分屏材料信息
168 let that = this;
169 this.tabList.forEach(function (item, index) {
170 if (item.value == "clxx") {
171 that.clxxIndex = index;
172 that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
173 that.clxxTab = item;
174 }
175 })
176 }
227 } 177 }
178 })
179 },
180 openDialog () {
181 this.$store.dispatch('user/refreshPage', false)
182 let data = JSON.parse(localStorage.getItem('ywbl'))
183 let title
184 if (data?.sqywmc) {
185 title = "申请业务:" + data?.sqywmc
186 } else {
187 title = "申请业务:" + data?.djywmc
228 } 188 }
229 }); 189 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
230 }, 190 }
231 //申请单元点击事件
232 unitClick (index) {
233 this.currentSelectProps = this.unitData[index];
234 this.currentSelectProps.batchOperation = false;
235 this.activeIndex = index.toString();
236 this.stepForm(index);
237 },
238 //批量按钮点击事件
239 batchUnitClick () {
240 this.currentSelectProps.batchOperation = true;
241 this.activeIndex = "-1";
242 this.stepForm();
243 },
244 openDialog () {
245 let data = JSON.parse(localStorage.getItem('ywbl'))
246 let title = "申请业务:" + data.sqywmc;
247 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
248 } 191 }
249 } 192 }
250 }
251 </script> 193 </script>
252 194
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 11:03:17
5 -->
1 <template> 6 <template>
2 <div class="container"> 7 <div class="container">
3 <!-- 顶部内容框 --> 8 <!-- 顶部内容框 -->
...@@ -185,7 +190,7 @@ ...@@ -185,7 +190,7 @@
185 this.$confirm("确定要删除吗, 是否继续?", "提示", { 190 this.$confirm("确定要删除吗, 是否继续?", "提示", {
186 confirmButtonText: "确定", 191 confirmButtonText: "确定",
187 cancelButtonText: "取消", 192 cancelButtonText: "取消",
188 type: "warning", 193 type: "warning"
189 }) 194 })
190 .then(() => { 195 .then(() => {
191 deleteFlow(formdata).then((res) => { 196 deleteFlow(formdata).then((res) => {
...@@ -204,9 +209,9 @@ ...@@ -204,9 +209,9 @@
204 .catch(() => { 209 .catch(() => {
205 this.$message({ 210 this.$message({
206 type: "info", 211 type: "info",
207 message: "已取消删除", 212 message: "已取消删除"
208 }); 213 })
209 }); 214 })
210 }, 215 },
211 //读取申请单元信息 216 //读取申请单元信息
212 loadBdcdylist () { 217 loadBdcdylist () {
...@@ -219,7 +224,7 @@ ...@@ -219,7 +224,7 @@
219 this.currentSelectProps = res.result[0]; 224 this.currentSelectProps = res.result[0];
220 this.unitClick(0); 225 this.unitClick(0);
221 } 226 }
222 }); 227 })
223 }, 228 },
224 //申请单元点击事件 229 //申请单元点击事件
225 unitClick (index) { 230 unitClick (index) {
...@@ -233,8 +238,9 @@ ...@@ -233,8 +238,9 @@
233 //默认加载第一个表单信息 238 //默认加载第一个表单信息
234 this.tabName = res.result[0].value; 239 this.tabName = res.result[0].value;
235 } 240 }
236 }); 241 })
237 }, 242 }
238 }, 243 }
239 }; 244 }
240 </script> 245 </script>
246
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:27
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <el-row :gutter="20"> 8 <el-row :gutter="20">
4 <el-col :span="12"> 9 <el-col :span="12">
5 <el-card class="box-card"> 10 <el-card class="box-card">
6 <div slot="header" class="clearfix"> 11 <div slot="header" class="clearfix">
7 <span class="font-border">CPU</span> 12 <span class="font-border">CPU</span>
8 </div> 13 </div>
9 <div class="flex-display"> 14 <div class="flex-display">
10 <div class="width-50 font-border">属性</div> 15 <div class="width-50 font-border">属性</div>
11 <div class="font-border"></div> 16 <div class="font-border"></div>
12 </div> 17 </div>
13 <div class="flex-display"> 18 <div class="flex-display">
14 <div class="width-50">核心数</div> 19 <div class="width-50">核心数</div>
15 <div>{{serverData.xtjkCpu.cpuNum}}</div> 20 <div>{{serverData.xtjkCpu.cpuNum}}</div>
16 </div> 21 </div>
17 <div class="flex-display"> 22 <div class="flex-display">
18 <div class="width-50">用户使用率</div> 23 <div class="width-50">用户使用率</div>
19 <div>{{serverData.xtjkCpu.used}}%</div> 24 <div>{{serverData.xtjkCpu.used}}%</div>
20 </div> 25 </div>
21 <div class="flex-display"> 26 <div class="flex-display">
22 <div class="width-50">系统使用率</div> 27 <div class="width-50">系统使用率</div>
23 <div>{{serverData.xtjkCpu.sys}}%</div> 28 <div>{{serverData.xtjkCpu.sys}}%</div>
24 </div> 29 </div>
25 <div class="flex-display"> 30 <div class="flex-display">
26 <div class="width-50">当前空闲率</div> 31 <div class="width-50">当前空闲率</div>
27 <div>{{serverData.xtjkCpu.free}}%</div> 32 <div>{{serverData.xtjkCpu.free}}%</div>
28 </div> 33 </div>
29 </el-card> 34 </el-card>
30 </el-col> 35 </el-col>
31 <el-col :span="12"> 36 <el-col :span="12">
32 <el-card class="box-card"> 37 <el-card class="box-card">
33 <div slot="header" class="clearfix"> 38 <div slot="header" class="clearfix">
34 <span class="font-border">内存</span> 39 <span class="font-border">内存</span>
35 </div> 40 </div>
36 <div class="flex-display"> 41 <div class="flex-display">
37 <div class="width-33 font-border">属性</div> 42 <div class="width-33 font-border">属性</div>
38 <div class="width-33 font-border">内存</div> 43 <div class="width-33 font-border">内存</div>
39 <div class="font-border">JVM</div> 44 <div class="font-border">JVM</div>
40 </div> 45 </div>
41 <div class="flex-display"> 46 <div class="flex-display">
42 <div class="width-33">总内存</div> 47 <div class="width-33">总内存</div>
43 <div class="width-33">{{serverData.xtjkMem.total}}G</div> 48 <div class="width-33">{{serverData.xtjkMem.total}}G</div>
44 <div>{{serverData.xtjkJvm.total}}M</div> 49 <div>{{serverData.xtjkJvm.total}}M</div>
45 </div> 50 </div>
46 <div class="flex-display"> 51 <div class="flex-display">
47 <div class="width-33">已用内存</div> 52 <div class="width-33">已用内存</div>
48 <div class="width-33">{{serverData.xtjkMem.used}}G</div> 53 <div class="width-33">{{serverData.xtjkMem.used}}G</div>
49 <div>{{serverData.xtjkJvm.used}}M</div> 54 <div>{{serverData.xtjkJvm.used}}M</div>
50 </div> 55 </div>
51 <div class="flex-display"> 56 <div class="flex-display">
52 <div class="width-33">剩余内存</div> 57 <div class="width-33">剩余内存</div>
53 <div class="width-33">{{serverData.xtjkMem.free}}G</div> 58 <div class="width-33">{{serverData.xtjkMem.free}}G</div>
54 <div>{{serverData.xtjkJvm.free}}M</div> 59 <div>{{serverData.xtjkJvm.free}}M</div>
55 </div> 60 </div>
56 <div class="flex-display"> 61 <div class="flex-display">
57 <div class="width-33">使用率</div> 62 <div class="width-33">使用率</div>
58 <div class="width-33" v-if="serverData.xtjkMem.usage > 80" style="color:red">{{serverData.xtjkMem.usage}}%</div> 63 <div class="width-33" v-if="serverData.xtjkMem.usage > 80" style="color:red">{{serverData.xtjkMem.usage}}%</div>
59 <div class="width-33" v-else>{{serverData.xtjkMem.usage}}%</div> 64 <div class="width-33" v-else>{{serverData.xtjkMem.usage}}%</div>
60 <div>{{serverData.xtjkJvm.usage}}%</div> 65 <div>{{serverData.xtjkJvm.usage}}%</div>
61 </div> 66 </div>
62 </el-card> 67 </el-card>
63 </el-col> 68 </el-col>
64 </el-row> 69 </el-row>
65 <el-row :gutter="20"> 70 <el-row :gutter="20">
66 <el-col :span="24"> 71 <el-col :span="24">
67 <el-card class="box-card"> 72 <el-card class="box-card">
68 <div slot="header" class="clearfix"> 73 <div slot="header" class="clearfix">
69 <span class=" font-border">服务器信息</span> 74 <span class=" font-border">服务器信息</span>
70 </div> 75 </div>
71 <div class="flex-display"> 76 <div class="flex-display">
72 <div class="width-25 font-border">服务器名称</div> 77 <div class="width-25 font-border">服务器名称</div>
73 <div class="width-25">{{serverData.xtjkSys.computerName}}</div> 78 <div class="width-25">{{serverData.xtjkSys.computerName}}</div>
74 <div class="width-25 font-border">操作系统</div> 79 <div class="width-25 font-border">操作系统</div>
75 <div>{{serverData.xtjkSys.osName}}</div> 80 <div>{{serverData.xtjkSys.osName}}</div>
76 </div> 81 </div>
77 <div class="flex-display"> 82 <div class="flex-display">
78 <div class="width-25 font-border">服务器IP</div> 83 <div class="width-25 font-border">服务器IP</div>
79 <div class="width-25">{{serverData.xtjkSys.computerIp}}</div> 84 <div class="width-25">{{serverData.xtjkSys.computerIp}}</div>
80 <div class="width-25 font-border">系统架构</div> 85 <div class="width-25 font-border">系统架构</div>
81 <div>{{serverData.xtjkSys.osArch}}</div> 86 <div>{{serverData.xtjkSys.osArch}}</div>
82 </div> 87 </div>
83 </el-card> 88 </el-card>
84 </el-col> 89 </el-col>
85 </el-row> 90 </el-row>
86 <el-row :gutter="20"> 91 <el-row :gutter="20">
87 <el-col :span="24"> 92 <el-col :span="24">
88 <el-card class="box-card"> 93 <el-card class="box-card">
89 <div slot="header" class="clearfix"> 94 <div slot="header" class="clearfix">
90 <span class=" font-border">Java虚拟机信息</span> 95 <span class=" font-border">Java虚拟机信息</span>
91 </div> 96 </div>
92 <div class="flex-display"> 97 <div class="flex-display">
93 <div class="width-25 font-border">Java名称</div> 98 <div class="width-25 font-border">Java名称</div>
94 <div class="width-25">{{serverData.xtjkJvm.name}}</div> 99 <div class="width-25">{{serverData.xtjkJvm.name}}</div>
95 <div class="width-25 font-border">Java版本</div> 100 <div class="width-25 font-border">Java版本</div>
96 <div>{{serverData.xtjkJvm.version}}</div> 101 <div>{{serverData.xtjkJvm.version}}</div>
97 </div> 102 </div>
98 <div class="flex-display"> 103 <div class="flex-display">
99 <div class="width-25 font-border">启动时间</div> 104 <div class="width-25 font-border">启动时间</div>
100 <div class="width-25">{{serverData.xtjkJvm.startTime}}</div> 105 <div class="width-25">{{serverData.xtjkJvm.startTime}}</div>
101 <div class="width-25 font-border">运行时长</div> 106 <div class="width-25 font-border">运行时长</div>
102 <div>{{serverData.xtjkJvm.runTime}}</div> 107 <div>{{serverData.xtjkJvm.runTime}}</div>
103 </div> 108 </div>
104 <div class="flex-display"> 109 <div class="flex-display">
105 <div class="width-25 font-border">安装路径</div> 110 <div class="width-25 font-border">安装路径</div>
106 <div>{{serverData.xtjkJvm.home}}</div> 111 <div>{{serverData.xtjkJvm.home}}</div>
107 </div> 112 </div>
108 <div class="flex-display"> 113 <div class="flex-display">
109 <div class="width-25 font-border">项目路径</div> 114 <div class="width-25 font-border">项目路径</div>
110 <div>{{serverData.xtjkSys.userDir}}</div> 115 <div>{{serverData.xtjkSys.userDir}}</div>
111 </div> 116 </div>
112 </el-card> 117 </el-card>
113 </el-col> 118 </el-col>
114 </el-row> 119 </el-row>
115 <el-row :gutter="20"> 120 <el-row :gutter="20">
116 <el-col :span="24"> 121 <el-col :span="24">
117 <el-card class="box-card"> 122 <el-card class="box-card">
118 <div slot="header" class="clearfix"> 123 <div slot="header" class="clearfix">
119 <span class=" font-border">磁盘信息</span> 124 <span class=" font-border">磁盘信息</span>
120 </div> 125 </div>
121 <div> 126 <div>
122 <el-table :data="serverData.sysFiles" stripe style="width: 100%"> 127 <el-table :data="serverData.sysFiles" stripe style="width: 100%">
123 <el-table-column prop="dirName" label="盘符路径" width="180"></el-table-column> 128 <el-table-column prop="dirName" label="盘符路径" width="180"></el-table-column>
124 <el-table-column prop="sysTypeName" label="文件系统" width="180"></el-table-column> 129 <el-table-column prop="sysTypeName" label="文件系统" width="180"></el-table-column>
125 <el-table-column prop="typeName" label="盘符类型"></el-table-column> 130 <el-table-column prop="typeName" label="盘符类型"></el-table-column>
126 <el-table-column prop="total" label="总大小"></el-table-column> 131 <el-table-column prop="total" label="总大小"></el-table-column>
127 <el-table-column label="可用大小"> 132 <el-table-column label="可用大小">
128 <template slot-scope="scope"> 133 <template slot-scope="scope">
129 <div v-if="scope.row.free < '20 GB'" style="color:red">{{scope.row.free}}</div> 134 <div v-if="scope.row.free < '20 GB'" style="color:red">{{scope.row.free}}</div>
130 <div v-else>{{scope.row.free}}</div> 135 <div v-else>{{scope.row.free}}</div>
131 </template> 136 </template>
132 </el-table-column> 137 </el-table-column>
133 <el-table-column prop="used" label="已用大小"></el-table-column> 138 <el-table-column prop="used" label="已用大小"></el-table-column>
134 <el-table-column prop="usage" label="已用百分比"></el-table-column> 139 <el-table-column prop="usage" label="已用百分比"></el-table-column>
135 </el-table> 140 </el-table>
136 </div> 141 </div>
137 </el-card> 142 </el-card>
138 </el-col> 143 </el-col>
139 </el-row> 144 </el-row>
140 </div> 145 </div>
141 </template> 146 </template>
142 <script> 147 <script>
143 import table from "@/utils/mixin/table" 148 import table from "@/utils/mixin/table"
144 import { getServerInfo } from "@/api/xtjk.js" 149 import { getServerInfo } from "@/api/xtjk.js"
145 export default { 150 export default {
146 name: "zjjk", 151 name: "zjjk",
147 components: { }, 152 components: {},
148 mixins: [table], 153 mixins: [table],
149 mounted () { 154 mounted () {
150 //sendThis(this); 155 //sendThis(this);
151 },
152 computed: {
153 },
154 data () {
155 return {
156 serverData: {}
157 };
158 },
159 methods: {
160 // 列表渲染接口
161 queryClick () {
162 getServerInfo().then(res => {
163 if (res.code === 200) {
164 this.serverData = res.result
165 }
166 })
167 }, 156 },
168 } 157 computed: {
169 }; 158 },
159 data () {
160 return {
161 serverData: {}
162 };
163 },
164 methods: {
165 // 列表渲染接口
166 queryClick () {
167 getServerInfo().then(res => {
168 if (res.code === 200) {
169 this.serverData = res.result
170 }
171 })
172 },
173 }
174 };
170 </script> 175 </script>
171 <style scoped lang="scss"> 176 <style scoped lang="scss">
172 @import "~@/styles/public.scss"; 177 @import "~@/styles/public.scss";
173 .box-card{ 178 .box-card {
174 margin: 5px 10px 10px 5px; 179 margin: 5px 10px 10px 5px;
175 } 180 }
176 .flex-display { 181 .flex-display {
177 display: flex; 182 display: flex;
178 margin-bottom: 10px; 183 margin-bottom: 10px;
179 border-bottom: 1px solid #e6ebf5; 184 border-bottom: 1px solid #e6ebf5;
180 } 185 }
181 .width-50 { 186 .width-50 {
182 width: 50%; 187 width: 50%;
183 padding-bottom: 10px; 188 padding-bottom: 10px;
184 } 189 }
185 .width-33 { 190 .width-33 {
186 width: 33%; 191 width: 33%;
187 padding-bottom: 10px; 192 padding-bottom: 10px;
188 } 193 }
189 .width-25 { 194 .width-25 {
190 width: 25%; 195 width: 25%;
191 padding-bottom: 10px; 196 padding-bottom: 10px;
192 } 197 }
193 .font-border { 198 .font-border {
194 font-weight: bolder; 199 font-weight: bolder;
195 } 200 }
196 </style> 201 </style>
197 202
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:32
5 -->
1 <template> 6 <template>
2 <div class="clxx"> 7 <div class="clxx">
3 <div class="left"> 8 <div class="left">
...@@ -36,472 +41,472 @@ ...@@ -36,472 +41,472 @@
36 </div> 41 </div>
37 </template> 42 </template>
38 <script> 43 <script>
39 import { mapGetters } from "vuex"; 44 import { mapGetters } from "vuex";
40 import clxxAddDialog from "./clxxAddDialog.vue"; 45 import clxxAddDialog from "./clxxAddDialog.vue";
41 import imagePreview from '@/views/components/imagePreview.vue' 46 import imagePreview from '@/views/components/imagePreview.vue'
42 import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; 47 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
43 export default { 48 export default {
44 components: { clxxAddDialog, imagePreview }, 49 components: { clxxAddDialog, imagePreview },
45 data () { 50 data () {
46 return { 51 return {
47 isDialog: false, 52 isDialog: false,
48 menuList: [ 53 menuList: [
49 { 54 {
50 id: "1", 55 id: "1",
51 label: "材料目录明细", 56 label: "材料目录明细",
52 }, 57 },
53 { 58 {
54 id: "2", 59 id: "2",
55 label: "材料预览", 60 label: "材料预览",
56 },
57 ],
58 menuOpen: true,
59 iclass: "itemIcon el-icon-caret-bottom",
60 treeCheckId: "",
61 checkedId: "1",
62 column: [
63 {
64 width: "35",
65 renderHeader: (h, scope) => {
66 return (
67 <i
68 class="el-icon-plus pointer"
69 onClick={() => {
70 this.handleAdd()
71 }}
72 ></i>
73 );
74 }, 61 },
75 render: (h, scope) => { 62 ],
76 // 新建的材料,可删除 63 menuOpen: true,
77 if (scope.row.sfxjcl === "1") { 64 iclass: "itemIcon el-icon-caret-bottom",
65 treeCheckId: "",
66 checkedId: "1",
67 column: [
68 {
69 width: "35",
70 renderHeader: (h, scope) => {
78 return ( 71 return (
79 <i 72 <i
80 class="el-icon-minus pointer" 73 class="el-icon-plus pointer"
81 onClick={() => { 74 onClick={() => {
82 this.handleDelete(scope.$index, scope.row); 75 this.handleAdd()
83 }} 76 }}
84 ></i> 77 ></i>
85 ); 78 );
86 } 79 },
80 render: (h, scope) => {
81 // 新建的材料,可删除
82 if (scope.row.sfxjcl === "1") {
83 return (
84 <i
85 class="el-icon-minus pointer"
86 onClick={() => {
87 this.handleDelete(scope.$index, scope.row);
88 }}
89 ></i>
90 );
91 }
92 },
87 }, 93 },
88 }, 94 {
89 { 95 width: "35",
90 width: "35", 96 label: "序号",
91 label: "序号", 97 type: "index",
92 type: "index",
93 },
94 {
95 prop: "isrequired",
96 label: "是否必选",
97 width: "50",
98 render: (h, scope) => {
99 if (scope.row.sfxjcl === "1") {
100 return (
101 <div>
102 <span>可选</span>
103 </div>
104 );
105 }
106 else {
107 return (
108 <div>
109 <span>必选</span>
110 </div>
111 );
112 }
113 }, 98 },
114 }, 99 {
115 { 100 prop: "isrequired",
116 prop: "sjmc", 101 label: "是否必选",
117 label: "材料名称", 102 width: "50",
118 }, 103 render: (h, scope) => {
119 { 104 if (scope.row.sfxjcl === "1") {
120 prop: "sjlx", 105 return (
121 label: "材料类型", 106 <div>
122 width: "80", 107 <span>可选</span>
123 render: (h, scope) => { 108 </div>
124 return ( 109 );
125 <div> 110 }
126 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span> 111 else {
127 </div> 112 return (
128 ); 113 <div>
114 <span>必选</span>
115 </div>
116 );
117 }
118 },
119 },
120 {
121 prop: "sjmc",
122 label: "材料名称",
129 }, 123 },
130 }, 124 {
131 { 125 prop: "sjlx",
132 prop: "sjsl", 126 label: "材料类型",
133 label: "份数", 127 width: "80",
134 width: "50" 128 render: (h, scope) => {
135 },
136 {
137 prop: "smzt",
138 label: "扫描状态",
139 width: "80",
140 render: (h, scope) => {
141 if (scope.row.children.length > 0) {
142 return ( 129 return (
143 <div> 130 <div>
144 <span>已扫描</span> 131 <span>{this.dicStatus(scope.row.sjlx, "A40")}</span>
145 </div> 132 </div>
146 ); 133 );
147 } else { 134 },
135 },
136 {
137 prop: "sjsl",
138 label: "份数",
139 width: "50"
140 },
141 {
142 prop: "smzt",
143 label: "扫描状态",
144 width: "80",
145 render: (h, scope) => {
146 if (scope.row.children.length > 0) {
147 return (
148 <div>
149 <span>已扫描</span>
150 </div>
151 );
152 } else {
153 return (
154 <div>
155 <span>未扫描</span>
156 </div>
157 );
158 }
159 },
160 },
161 {
162 prop: "ys",
163 label: "扫描页数",
164 width: "50"
165 },
166 {
167 label: "操作",
168 width: "80",
169 render: (h, scope) => {
148 return ( 170 return (
149 <div> 171 <div>
150 <span>未扫描</span> 172 <el-button
173 type="text"
174 disabled={scope.$index == 0}
175 onClick={() => {
176 this.moveUpward(scope.$index, scope.row);
177 }}
178 >
179 上移
180 </el-button>
181 <el-button
182 type="text"
183 disabled={scope.$index + 1 == this.tableData.length}
184 onClick={() => {
185 this.moveDown(scope.$index, scope.row);
186 }}
187 >
188 下移
189 </el-button>
151 </div> 190 </div>
152 ); 191 );
153 } 192 },
154 }, 193 },
155 }, 194 ],
156 { 195 key: 0,
157 prop: "ys", 196 tableData: [],
158 label: "扫描页数", 197 previewImg: {
159 width: "50" 198 // 收件标识码
160 }, 199 bsmSj: '',
161 { 200 bsmSlsq: this.$parent.bsmSlsq,
162 label: "操作", 201 index: 0,
163 width: "80", 202 selectedIndex: 0,
164 render: (h, scope) => { 203 imgList: [
165 return ( 204 {
166 <div> 205 fjurl: 'https://img2.baidu.com/it/u=2955521104,3257476296&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1111'
167 <el-button 206 }
168 type="text" 207 ]
169 disabled={scope.$index == 0}
170 onClick={() => {
171 this.moveUpward(scope.$index, scope.row);
172 }}
173 >
174 上移
175 </el-button>
176 <el-button
177 type="text"
178 disabled={scope.$index + 1 == this.tableData.length}
179 onClick={() => {
180 this.moveDown(scope.$index, scope.row);
181 }}
182 >
183 下移
184 </el-button>
185 </div>
186 );
187 },
188 },
189 ],
190 key: 0,
191 tableData: [],
192 previewImg: {
193 // 收件标识码
194 bsmSj: '',
195 bsmSlsq: this.$parent.bsmSlsq,
196 index: 0,
197 selectedIndex: 0,
198 imgList: [
199 {
200 fjurl: 'https://img2.baidu.com/it/u=2955521104,3257476296&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1111'
201 }
202 ]
203 }
204 }
205 },
206 computed: {
207 ...mapGetters(["dictData"]),
208 },
209 created () {
210 this.clmlInitList()
211 },
212 methods: {
213 // 材料目录明细初始化
214 clmlInitList () {
215 return new Promise(resolve => {
216 this.unitData = this.$parent.unitData;
217 var formdata = new FormData();
218 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
219 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
220 clmlInit(formdata).then((res) => {
221 resolve(res.code)
222 if (res.result.result && res.result.result.length > 0) {
223 this.tableData = res.result.result;
224 this.treeCheckId = this.tableData[0].bsmSj;
225 this.title = this.tableData[0].sjmc;
226 this.titleYs = 1;
227 this.titleNum = this.tableData[0].children.length;
228
229 this.previewImg.imgList = this.tableData[0]?.children;
230 this.previewImg.bsmSj = this.tableData[0]?.bsmSj;
231 }
232 })
233 })
234 },
235 updateList (val) {
236 this.tableData.forEach(item => {
237 if (item.bsmSj === val.bsmSj) {
238 item.children = val.children
239 } 208 }
240 })
241 this.previewImg.imgList = _.cloneDeep(val.children)
242 if (this.previewImg.index == this.previewImg.imgList.length) {
243 this.previewImg.index = this.previewImg.index - 1
244 } 209 }
245 }, 210 },
246 // 左侧菜单点击 211 computed: {
247 menuClick (item) { 212 ...mapGetters(["dictData"]),
248 this.checkedId = item.id
249 }, 213 },
250 // 添加材料目录 214 created () {
251 handleAdd () { 215 this.clmlInitList()
252 this.isDialog = true;
253 }, 216 },
254 // 上移 217 methods: {
255 moveUpward (index, row) { 218 // 材料目录明细初始化
256 let obj = { 219 clmlInitList () {
257 xh: row.xh, 220 return new Promise(resolve => {
258 bsmSlsq: row.bsmSlsq, 221 this.unitData = this.$parent.unitData;
259 moveDirection: "UP", 222 var formdata = new FormData();
260 }; 223 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
261 // 接口待调 224 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
262 moveClml(obj).then(async (res) => { 225 clmlInit(formdata).then((res) => {
263 if (res.code == 200) { 226 resolve(res.code)
264 let res = await this.clmlInitList() 227 if (res.result.result && res.result.result.length > 0) {
265 if (res == 200) this.$message({ 228 this.tableData = res.result.result;
266 message: '上移成功', 229 this.treeCheckId = this.tableData[0].bsmSj;
267 type: 'success' 230 this.title = this.tableData[0].sjmc;
268 }) 231 this.titleYs = 1;
269 } else { 232 this.titleNum = this.tableData[0].children.length;
270 this.$message.error(res.message); 233
271 } 234 this.previewImg.imgList = this.tableData[0]?.children;
272 }) 235 this.previewImg.bsmSj = this.tableData[0]?.bsmSj;
273 }, 236 }
274 // 下移
275 moveDown (index, row) {
276 let obj = {
277 xh: row.xh,
278 bsmSlsq: row.bsmSlsq,
279 moveDirection: "DOWN",
280 }
281 // 接口待调
282 moveClml(obj).then(async (res) => {
283 if (res.code == 200) {
284 let res = await this.clmlInitList()
285 if (res == 200) this.$message({
286 message: '下移成功',
287 type: 'success'
288 })
289 } else {
290 this.$message.error(res.message);
291 }
292 })
293 },
294 // 新增弹窗保存
295 addSave (data) {
296 let obj = {
297 bsmSlsq: this.$parent.bsmSlsq,
298 isrequired: "1",
299 sjmc: data.clmc,
300 sjsl: 0,
301 smzt: '',
302 ys: 0,
303 sjlx: data.cllx,
304 sfxjcl: "1", // 是否必选
305 };
306 saveClml(obj).then(async (res) => {
307 if (res.code == 200) {
308 let res = await this.clmlInitList()
309 if (res == 200) this.$message({
310 message: "新增成功",
311 type: "success",
312 }) 237 })
238 })
239 },
240 updateList (val) {
241 this.tableData.forEach(item => {
242 if (item.bsmSj === val.bsmSj) {
243 item.children = val.children
244 }
245 })
246 this.previewImg.imgList = _.cloneDeep(val.children)
247 if (this.previewImg.index == this.previewImg.imgList.length) {
248 this.previewImg.index = this.previewImg.index - 1
313 } 249 }
314 }); 250 },
315 }, 251 // 左侧菜单点击
316 // 材料目录删除 252 menuClick (item) {
317 handleDelete (index, row) { 253 this.checkedId = item.id
318 let that = this 254 },
319 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 255 // 添加材料目录
320 confirmButtonText: '确定', 256 handleAdd () {
321 cancelButtonText: '取消', 257 this.isDialog = true;
322 type: 'warning' 258 },
323 }).then(() => { 259 // 上移
324 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => { 260 moveUpward (index, row) {
261 let obj = {
262 xh: row.xh,
263 bsmSlsq: row.bsmSlsq,
264 moveDirection: "UP",
265 };
266 // 接口待调
267 moveClml(obj).then(async (res) => {
325 if (res.code == 200) { 268 if (res.code == 200) {
326 let res = await that.clmlInitList() 269 let res = await this.clmlInitList()
327 if (res == 200) that.$message({ 270 if (res == 200) this.$message({
328 message: "删除成功", 271 message: '上移成功',
329 type: "success", 272 type: 'success'
330 }) 273 })
274 } else {
275 this.$message.error(res.message);
331 } 276 }
332 }) 277 })
333 }).catch(() => { 278 },
334 this.$message({ 279 // 下移
335 type: 'info', 280 moveDown (index, row) {
336 message: '已取消删除' 281 let obj = {
282 xh: row.xh,
283 bsmSlsq: row.bsmSlsq,
284 moveDirection: "DOWN",
285 }
286 // 接口待调
287 moveClml(obj).then(async (res) => {
288 if (res.code == 200) {
289 let res = await this.clmlInitList()
290 if (res == 200) this.$message({
291 message: '下移成功',
292 type: 'success'
293 })
294 } else {
295 this.$message.error(res.message);
296 }
337 }) 297 })
338 }) 298 },
339 }, 299 // 新增弹窗保存
340 // 材料目录关闭收起 300 addSave (data) {
341 iconClick () { 301 let obj = {
342 this.menuOpen = !this.menuOpen; 302 bsmSlsq: this.$parent.bsmSlsq,
343 if (this.menuOpen) { 303 isrequired: "1",
344 this.iclass = "itemIcon el-icon-caret-bottom close"; 304 sjmc: data.clmc,
345 } else { 305 sjsl: 0,
346 this.iclass = "itemIcon el-icon-caret-bottom open"; 306 smzt: '',
347 } 307 ys: 0,
348 }, 308 sjlx: data.cllx,
349 // 材料目录点击选中 309 sfxjcl: "1", // 是否必选
350 treeClick (item) { 310 };
351 this.treeCheckId = item.bsmSj; 311 saveClml(obj).then(async (res) => {
352 this.previewImg.imgList = item?.children; 312 if (res.code == 200) {
353 this.previewImg.bsmSj = item?.bsmSj; 313 let res = await this.clmlInitList()
354 }, 314 if (res == 200) this.$message({
355 // 小图片点击 315 message: "新增成功",
356 imgClick (item, index) { 316 type: "success",
357 this.showImg = item; 317 })
358 this.titleYs = index + 1;
359 },
360 // 字典
361 dicStatus (val, code) {
362 let data = this.$store.getters.dictData[code],
363 name = "暂无";
364 if (data) {
365 data.map((item) => {
366 if (item.dcode == val) {
367 name = item.dname;
368 } 318 }
369 }); 319 });
370 return name; 320 },
371 } 321 // 材料目录删除
322 handleDelete (index, row) {
323 let that = this
324 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
325 confirmButtonText: '确定',
326 cancelButtonText: '取消',
327 type: 'warning'
328 }).then(() => {
329 deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => {
330 if (res.code == 200) {
331 let res = await that.clmlInitList()
332 if (res == 200) that.$message({
333 message: "删除成功",
334 type: "success",
335 })
336 }
337 })
338 }).catch(() => {
339 this.$message({
340 type: 'info',
341 message: '已取消删除'
342 })
343 })
344 },
345 // 材料目录关闭收起
346 iconClick () {
347 this.menuOpen = !this.menuOpen;
348 if (this.menuOpen) {
349 this.iclass = "itemIcon el-icon-caret-bottom close";
350 } else {
351 this.iclass = "itemIcon el-icon-caret-bottom open";
352 }
353 },
354 // 材料目录点击选中
355 treeClick (item) {
356 this.treeCheckId = item.bsmSj;
357 this.previewImg.imgList = item?.children;
358 this.previewImg.bsmSj = item?.bsmSj;
359 },
360 // 小图片点击
361 imgClick (item, index) {
362 this.showImg = item;
363 this.titleYs = index + 1;
364 },
365 // 字典
366 dicStatus (val, code) {
367 let data = this.$store.getters.dictData[code],
368 name = "暂无";
369 if (data) {
370 data.map((item) => {
371 if (item.dcode == val) {
372 name = item.dname;
373 }
374 });
375 return name;
376 }
377 },
372 }, 378 },
373 }, 379 };
374 };
375 </script> 380 </script>
376 <style scoped lang='scss'> 381 <style scoped lang='scss'>
377 @import "~@/styles/mixin.scss"; 382 @import "~@/styles/mixin.scss";
378 383
379 .active { 384 .active {
380 background: $light-blue !important; 385 background: $light-blue !important;
381 color: #fff; 386 color: #fff;
382 }
383
384 .clxx {
385 width: 100%;
386 display: flex;
387 padding-left: 5px;
388 height: calc(100vh - 125px);
389
390 .left {
391 display: flex;
392 flex-direction: column;
393 justify-content: space-between;
394
395 .item {
396 width: 28px;
397 height: 49%;
398 @include flex-center;
399 background-color: #E4E7ED;
400 border-bottom-right-radius: 10px;
401 padding: 5px;
402 cursor: pointer;
403 transition: all 0.3s;
404
405 &:hover {
406 @extend .active;
407 }
408 }
409 } 387 }
410 388
411 .right { 389 .clxx {
412 width: 100%; 390 width: 100%;
413 height: 100%; 391 display: flex;
392 padding-left: 5px;
393 height: calc(100vh - 125px);
394
395 .left {
396 display: flex;
397 flex-direction: column;
398 justify-content: space-between;
414 399
415 .clmlmx-box { 400 .item {
416 margin: 0 auto; 401 width: 28px;
402 height: 49%;
403 @include flex-center;
404 background-color: #e4e7ed;
405 border-bottom-right-radius: 10px;
406 padding: 5px;
407 cursor: pointer;
408 transition: all 0.3s;
417 409
418 .title { 410 &:hover {
419 text-align: center; 411 @extend .active;
420 height: 60px; 412 }
421 line-height: 60px;
422 border: 1px solid #dfe6ec;
423 font-size: 20px;
424 background: #81d3f81a;
425 margin-bottom: -1px;
426 } 413 }
427 } 414 }
428 415
429 .clyl-box { 416 .right {
430 width: 100%; 417 width: 100%;
431 height: 100%; 418 height: 100%;
432 display: flex;
433 419
434 .menu-tree { 420 .clmlmx-box {
435 width: 20%; 421 margin: 0 auto;
436 min-width: 160px;
437 height: 100%;
438 margin-right: 10px;
439 border-right: 1px dotted #d9d9d9;
440 padding: 0 15px;
441 422
442 .item { 423 .title {
424 text-align: center;
443 height: 60px; 425 height: 60px;
444 line-height: 60px; 426 line-height: 60px;
445 border-bottom: 1px solid #e8e8e8; 427 border: 1px solid #dfe6ec;
446 font-size: 16px; 428 font-size: 20px;
447 color: #4a4a4a; 429 background: #81d3f81a;
430 margin-bottom: -1px;
431 }
432 }
433
434 .clyl-box {
435 width: 100%;
436 height: 100%;
437 display: flex;
438
439 .menu-tree {
440 width: 20%;
441 min-width: 160px;
442 height: 100%;
443 margin-right: 10px;
444 border-right: 1px dotted #d9d9d9;
445 padding: 0 15px;
448 446
449 .itemIcon { 447 .item {
450 float: right; 448 height: 60px;
451 line-height: 60px; 449 line-height: 60px;
452 cursor: pointer; 450 border-bottom: 1px solid #e8e8e8;
453 } 451 font-size: 16px;
452 color: #4a4a4a;
454 453
455 @keyframes open { 454 .itemIcon {
456 100% { 455 float: right;
457 transform: rotate(180deg); 456 line-height: 60px;
457 cursor: pointer;
458 } 458 }
459 }
460 459
461 @keyframes close { 460 @keyframes open {
462 0% { 461 100% {
463 transform: rotate(180deg); 462 transform: rotate(180deg);
463 }
464 } 464 }
465 465
466 100% { 466 @keyframes close {
467 transform: rotate(-0deg); 467 0% {
468 transform: rotate(180deg);
469 }
470
471 100% {
472 transform: rotate(-0deg);
473 }
468 } 474 }
469 }
470 475
471 .open { 476 .open {
472 animation: open 0.5s; 477 animation: open 0.5s;
473 animation-fill-mode: both; 478 animation-fill-mode: both;
474 } 479 }
475 480
476 .close { 481 .close {
477 animation: close 0.5s; 482 animation: close 0.5s;
478 animation-fill-mode: both; 483 animation-fill-mode: both;
479 } 484 }
480 485
481 .child { 486 .child {
482 line-height: 36px; 487 line-height: 36px;
483 border-bottom: 1px solid #e8e8e8; 488 border-bottom: 1px solid #e8e8e8;
484 padding-left: 10px; 489 padding-left: 10px;
485 color: #6b6b6b; 490 color: #6b6b6b;
486 cursor: pointer; 491 cursor: pointer;
487 box-sizing: border-box; 492 box-sizing: border-box;
488 } 493 }
489 494
490 .checked { 495 .checked {
491 border-radius: 6px; 496 border-radius: 6px;
492 border: 1px solid #4083f9; 497 border: 1px solid #4083f9;
498 }
493 } 499 }
494 } 500 }
495 }
496 501
497 .clyl-img { 502 .clyl-img {
498 width: 75%; 503 width: 75%;
499 height: 100%; 504 height: 100%;
500 background: #f3f4f7; 505 background: #f3f4f7;
501 margin: 0 auto; 506 margin: 0 auto;
502 position: relative; 507 position: relative;
508 }
503 } 509 }
504 } 510 }
505 } 511 }
506 }
507 </style> 512 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:38
5 -->
1 <template> 6 <template>
2 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" 7 <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit"
3 :isFullscreen="false"> 8 :isFullscreen="false">
...@@ -24,44 +29,44 @@ ...@@ -24,44 +29,44 @@
24 </template> 29 </template>
25 30
26 <script> 31 <script>
27 import { mapGetters } from "vuex"; 32 import { mapGetters } from "vuex";
28 export default { 33 export default {
29 props: { 34 props: {
30 value: { type: Boolean, default: false }, 35 value: { type: Boolean, default: false },
31 }, 36 },
32 data () { 37 data () {
33 return { 38 return {
34 myValue: this.value, 39 myValue: this.value,
35 ruleForm: { 40 ruleForm: {
36 cllx: "", 41 cllx: "",
37 clmc: "", 42 clmc: "",
38 }, 43 },
39 }; 44 };
40 }, 45 },
41 computed: { 46 computed: {
42 ...mapGetters(["dictData"]), 47 ...mapGetters(["dictData"]),
43 },
44 watch: {
45 value (val) {
46 this.myValue = val;
47 }, 48 },
48 }, 49 watch: {
49 methods: { 50 value (val) {
50 closeDialog () { 51 this.myValue = val;
51 this.$emit("input", false); 52 },
52 }, 53 },
53 handleSubmit () { 54 methods: {
54 this.$parent.addSave(this.ruleForm); 55 closeDialog () {
55 this.$emit("input", false); 56 this.$emit("input", false);
57 },
58 handleSubmit () {
59 this.$parent.addSave(this.ruleForm);
60 this.$emit("input", false);
61 },
56 }, 62 },
57 }, 63 };
58 };
59 </script> 64 </script>
60 <style scoped lang="scss"> 65 <style scoped lang="scss">
61 .submit-button { 66 .submit-button {
62 text-align: center; 67 text-align: center;
63 height: 52px; 68 height: 52px;
64 padding-top: 10px; 69 padding-top: 10px;
65 background-color: #fff; 70 background-color: #fff;
66 } 71 }
67 </style> 72 </style>
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:40
5 */
1 export default { 6 export default {
2 data() { 7 data () {
3 return { 8 return {
4 isSearch: false, 9 isSearch: false,
5 searchList: [], 10 searchList: [],
...@@ -9,12 +14,12 @@ export default { ...@@ -9,12 +14,12 @@ export default {
9 methods: { 14 methods: {
10 // 点击高级查询弹出查询弹框 15 // 点击高级查询弹出查询弹框
11 16
12 moreQueryClick() { 17 moreQueryClick () {
13 this.isSearch = true 18 this.isSearch = true
14 19
15 }, 20 },
16 // 查询事件 21 // 查询事件
17 handleSelect(bs, mc, code) { 22 handleSelect (bs, mc, code) {
18 this.dictData[bs].forEach(item => { 23 this.dictData[bs].forEach(item => {
19 if (item.dcode == this.queryForm[code]) { 24 if (item.dcode == this.queryForm[code]) {
20 this.searchForm[mc] = item.dname 25 this.searchForm[mc] = item.dname
...@@ -22,7 +27,7 @@ export default { ...@@ -22,7 +27,7 @@ export default {
22 }) 27 })
23 }, 28 },
24 // 清空单个表单 29 // 清空单个表单
25 handleEmpty(el) { 30 handleEmpty (el) {
26 for (var i = 0; i < this.searchList.length; i++) { 31 for (var i = 0; i < this.searchList.length; i++) {
27 if (el == this.searchList[i].zdm) { 32 if (el == this.searchList[i].zdm) {
28 this.searchList.splice(i, 1) 33 this.searchList.splice(i, 1)
...@@ -44,7 +49,7 @@ export default { ...@@ -44,7 +49,7 @@ export default {
44 }, 49 },
45 // 删除单个查询条件 50 // 删除单个查询条件
46 51
47 handelItem(item, index) { 52 handelItem (item, index) {
48 let obj = { 53 let obj = {
49 ywlymc: 'ywly', 54 ywlymc: 'ywly',
50 qllxmc: 'qllx', 55 qllxmc: 'qllx',
...@@ -60,7 +65,7 @@ export default { ...@@ -60,7 +65,7 @@ export default {
60 } 65 }
61 this.searchForm[item.zdm] = '' 66 this.searchForm[item.zdm] = ''
62 }, 67 },
63 iterationData() { 68 iterationData () {
64 let obj = { 69 let obj = {
65 ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', 70 ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称',
66 qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间' 71 qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间'
...@@ -70,13 +75,13 @@ export default { ...@@ -70,13 +75,13 @@ export default {
70 if (value) return { name: obj[name], value, zdm: name } 75 if (value) return { name: obj[name], value, zdm: name }
71 }).filter(Boolean) 76 }).filter(Boolean)
72 }, 77 },
73 getSearch(val) { 78 getSearch (val) {
74 this.otherForm = val 79 this.otherForm = val
75 this.iterationData() 80 this.iterationData()
76 this.queryClick() 81 this.queryClick()
77 }, 82 },
78 // 清空查询条件 83 // 清空查询条件
79 hanldeCleanAll() { 84 hanldeCleanAll () {
80 this.searchForm = {} 85 this.searchForm = {}
81 this.queryForm = { 86 this.queryForm = {
82 ywly: "", 87 ywly: "",
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:49
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <div class="from-clues-header"> 8 <div class="from-clues-header">
...@@ -66,7 +71,7 @@ ...@@ -66,7 +71,7 @@
66 </el-col> 71 </el-col>
67 <el-col :span="6"> 72 <el-col :span="6">
68 <el-form-item label="坐落"> 73 <el-form-item label="坐落">
69 <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100"> 74 <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100">
70 </el-input> 75 </el-input>
71 </el-form-item> 76 </el-form-item>
72 </el-col> 77 </el-col>
...@@ -101,6 +106,7 @@ ...@@ -101,6 +106,7 @@
101 import { datas, sendThis } from "./dbxdata"; 106 import { datas, sendThis } from "./dbxdata";
102 import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl"; 107 import { searchTaskToDo, deleteFlow, claimTask } from "@/api/ywbl";
103 import { judgeUserTaskPermission } from "@/api/fqsq"; 108 import { judgeUserTaskPermission } from "@/api/fqsq";
109 import { log } from 'bpmn-js-token-simulation';
104 export default { 110 export default {
105 name: "dbx", 111 name: "dbx",
106 components: { searchBox }, 112 components: { searchBox },
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:55
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:00
5 -->
1 <template> 6 <template>
2 <div class="slxx"> 7 <div class="slxx">
3 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag" 8 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:10
5 -->
1 <template> 6 <template>
2 <div class="slxx"> 7 <div class="slxx">
3 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag" 8 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
...@@ -199,78 +204,78 @@ ...@@ -199,78 +204,78 @@
199 </div> 204 </div>
200 </template> 205 </template>
201 <script> 206 <script>
202 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 207 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
203 import { BatchInit, saveData } from "@/api/workflow/cfdjFlow.js"; 208 import { BatchInit, saveData } from "@/api/workflow/cfdjFlow.js";
204 import { mapGetters } from "vuex"; 209 import { mapGetters } from "vuex";
205 export default { 210 export default {
206 data () { 211 data () {
207 return { 212 return {
208 disabled: true, 213 disabled: true,
209 flagTop: this.flag ? "top" : "", 214 flagTop: this.flag ? "top" : "",
210 rules: {}, 215 rules: {},
211 //传递参数 216 //传递参数
212 propsParam: {}, 217 propsParam: {},
213 //页面数据 218 //页面数据
214 ruleForm: {}, 219 ruleForm: {},
215 //是否可编辑 220 //是否可编辑
216 ableEdit: false, 221 ableEdit: false,
217 //是否为解封 222 //是否为解封
218 isJfOperation: false, 223 isJfOperation: false,
219 }; 224 };
220 }, 225 },
221 async created () { 226 async created () {
222 this.propsParam = this.$attrs; 227 this.propsParam = this.$attrs;
223 this.ableEdit = this.$parent.showBatch; 228 this.ableEdit = this.$parent.showBatch;
224 if (this.propsParam.djlx == '400') { 229 if (this.propsParam.djlx == '400') {
225 this.isJfOperation = true; 230 this.isJfOperation = true;
226 }
227 var formdata = new FormData();
228 formdata.append("bsmSldy", this.propsParam.bsmSldy);
229 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
230 formdata.append("djlx", this.propsParam.djlx);
231 BatchInit(formdata).then((res) => {
232 if (res.code === 200 && res.result) {
233 this.ruleForm = res.result
234 } 231 }
235 }); 232 var formdata = new FormData();
236 }, 233 formdata.append("bsmSldy", this.propsParam.bsmSldy);
237 watch: { 234 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
235 formdata.append("djlx", this.propsParam.djlx);
236 BatchInit(formdata).then((res) => {
237 if (res.code === 200 && res.result) {
238 this.ruleForm = res.result
239 }
240 });
241 },
242 watch: {
238 243
239 },
240 components: { sqrViewTable },
241 props: {
242 flag: {
243 type: Boolean,
244 default: false,
245 }, 244 },
246 fetch: { 245 components: { sqrViewTable },
247 type: Boolean, 246 props: {
248 default: false, 247 flag: {
248 type: Boolean,
249 default: false,
250 },
251 fetch: {
252 type: Boolean,
253 default: false,
254 },
255 },
256 computed: {
257 ...mapGetters(["dictData"]),
249 }, 258 },
250 },
251 computed: {
252 ...mapGetters(["dictData"]),
253 },
254 259
255 methods: { 260 methods: {
256 onSubmit () { 261 onSubmit () {
257 saveData(this.ruleForm).then((res) => { 262 saveData(this.ruleForm).then((res) => {
258 if (res.code === 200) { 263 if (res.code === 200) {
259 this.$message.success('保存成功'); 264 this.$message.success('保存成功');
260 } 265 }
261 }); 266 });
267 },
268 changeCflx (e) {
269 let cflxItem = {}
270 cflxItem = this.dictData['A32'].find((item) => {
271 return item.dcode == e
272 })
273 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
274 }
262 }, 275 },
263 changeCflx (e) { 276 };
264 let cflxItem = {}
265 cflxItem = this.dictData['A32'].find((item) => {
266 return item.dcode == e
267 })
268 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
269 }
270 },
271 };
272 </script> 277 </script>
273 <style scoped lang='scss'> 278 <style scoped lang='scss'>
274 @import "~@/styles/public.scss"; 279 @import "~@/styles/public.scss";
275 @import "~@/styles/slxx/slxx.scss"; 280 @import "~@/styles/slxx/slxx.scss";
276 </style> 281 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:15
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 --> 7 <!-- 受理信息 -->
3 <div class="slxx"> 8 <div class="slxx">
...@@ -242,79 +247,79 @@ ...@@ -242,79 +247,79 @@
242 </div> 247 </div>
243 </template> 248 </template>
244 <script> 249 <script>
245 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 250 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
246 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 251 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
247 import { mapGetters } from "vuex"; 252 import { mapGetters } from "vuex";
248 export default { 253 export default {
249 mounted () { 254 mounted () {
250 this.propsParam = this.$attrs; 255 this.propsParam = this.$attrs;
251 var formdata = new FormData(); 256 var formdata = new FormData();
252 this.$startLoading(); 257 this.$startLoading();
253 formdata.append("bsmSldy", this.propsParam.bsmSldy); 258 formdata.append("bsmSldy", this.propsParam.bsmSldy);
254 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 259 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
255 formdata.append("djlx", this.propsParam.djlx); 260 formdata.append("djlx", this.propsParam.djlx);
256 Init(formdata).then((res) => { 261 Init(formdata).then((res) => {
257 if (res.code === 200 && res.result) { 262 if (res.code === 200 && res.result) {
258 this.ruleForm = res.result; 263 this.ruleForm = res.result;
259 this.$endLoading(); 264 this.$endLoading();
260 this.ruleForm.diyaq.sfczjzhxz = "0"; 265 this.ruleForm.diyaq.sfczjzhxz = "0";
261 }
262 })
263 },
264 components: { qlrCommonTable },
265 computed: {
266 ...mapGetters(["dictData", "flag"]),
267 },
268 data () {
269 return {
270 disabled: true,
271 czrOptions: [],
272 ruleForm: {
273 slywxx: {},
274 qlxxold: {},
275 diyaq: {},
276 gyfs: "",
277 },
278 //传递参数
279 propsParam: {},
280 rules: {},
281 };
282 },
283 methods: {
284 onSubmitClick () {
285 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
286 if (res.code === 200) {
287 this.$message({
288 showClose: true,
289 message: "保存成功!",
290 type: "success",
291 });
292 } else {
293 this.$message({
294 showClose: true,
295 message: res.message,
296 type: "error",
297 });
298 } 266 }
299 }); 267 })
300 }, 268 },
301 269 components: { qlrCommonTable },
302 // 更新权利人信息 270 computed: {
303 upDateQlrxxList (val) { 271 ...mapGetters(["dictData", "flag"]),
304 if (!_.isEqual(val, this.ruleForm.qlrList)) { 272 },
305 this.ruleForm.qlrList = _.cloneDeep(val); 273 data () {
306 } 274 return {
275 disabled: true,
276 czrOptions: [],
277 ruleForm: {
278 slywxx: {},
279 qlxxold: {},
280 diyaq: {},
281 gyfs: "",
282 },
283 //传递参数
284 propsParam: {},
285 rules: {},
286 };
307 }, 287 },
308 // 更新义务人信息 288 methods: {
309 upDateYwrxxList (val) { 289 onSubmitClick () {
310 if (!_.isEqual(val, this.ruleForm.ywrList)) { 290 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
311 this.ruleForm.ywrList = _.cloneDeep(val); 291 if (res.code === 200) {
292 this.$message({
293 showClose: true,
294 message: "保存成功!",
295 type: "success",
296 });
297 } else {
298 this.$message({
299 showClose: true,
300 message: res.message,
301 type: "error",
302 });
303 }
304 });
305 },
306
307 // 更新权利人信息
308 upDateQlrxxList (val) {
309 if (!_.isEqual(val, this.ruleForm.qlrList)) {
310 this.ruleForm.qlrList = _.cloneDeep(val);
311 }
312 },
313 // 更新义务人信息
314 upDateYwrxxList (val) {
315 if (!_.isEqual(val, this.ruleForm.ywrList)) {
316 this.ruleForm.ywrList = _.cloneDeep(val);
317 }
312 } 318 }
313 } 319 }
314 } 320 };
315 };
316 </script> 321 </script>
317 <style scoped lang='scss'> 322 <style scoped lang='scss'>
318 @import "~@/styles/public.scss"; 323 @import "~@/styles/public.scss";
319 @import "~@/styles/slxx/slxx.scss"; 324 @import "~@/styles/slxx/slxx.scss";
320 </style> 325 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:19
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 --> 7 <!-- 受理信息 -->
3 <div class="slxx"> 8 <div class="slxx">
...@@ -146,7 +151,6 @@ ...@@ -146,7 +151,6 @@
146 </el-col> 151 </el-col>
147 </el-row> 152 </el-row>
148 153
149
150 <el-row> 154 <el-row>
151 <el-col :span="24"> 155 <el-col :span="24">
152 <el-form-item label="担保范围:"> 156 <el-form-item label="担保范围:">
...@@ -239,74 +243,74 @@ ...@@ -239,74 +243,74 @@
239 </div> 243 </div>
240 </template> 244 </template>
241 <script> 245 <script>
242 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 246 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
243 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 247 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
244 import { mapGetters } from "vuex"; 248 import { mapGetters } from "vuex";
245 export default { 249 export default {
246 mounted () { 250 mounted () {
247 this.propsParam = this.$attrs; 251 this.propsParam = this.$attrs;
248 var formdata = new FormData(); 252 var formdata = new FormData();
249 this.$startLoading(); 253 this.$startLoading();
250 formdata.append("bsmSldy", this.propsParam.bsmSldy); 254 formdata.append("bsmSldy", this.propsParam.bsmSldy);
251 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 255 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
252 formdata.append("djlx", this.propsParam.djlx); 256 formdata.append("djlx", this.propsParam.djlx);
253 Init(formdata).then((res) => { 257 Init(formdata).then((res) => {
254 if (res.code === 200 && res.result) { 258 if (res.code === 200 && res.result) {
255 this.ruleForm = res.result; 259 this.ruleForm = res.result;
256 this.$endLoading(); 260 this.$endLoading();
257 this.ruleForm.diyaq.sfczjzhxz = "0"; 261 this.ruleForm.diyaq.sfczjzhxz = "0";
258 }
259 });
260 },
261 components: { qlrCommonTable },
262 computed: {
263 ...mapGetters(["dictData", "flag"]),
264 },
265 data () {
266 return {
267 disabled: true,
268 czrOptions: [],
269 ruleForm: {
270 slywxx: {},
271 qlxxold: {},
272 diyaq: {},
273 gyfs: "",
274 },
275 //传递参数
276 propsParam: {},
277 rules: {},
278 };
279 },
280 methods: {
281 onSubmitClick () {
282 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
283 if (res.code === 200) {
284 this.$message({
285 showClose: true,
286 message: "保存成功!",
287 type: "success",
288 });
289 } else {
290 this.$message({
291 showClose: true,
292 message: res.message,
293 type: "error",
294 });
295 } 262 }
296 }); 263 });
297 }, 264 },
298 // 更新权利人信息 265 components: { qlrCommonTable },
299 upDateQlrxxList (val) { 266 computed: {
300 this.ruleForm.qlrList = _.cloneDeep(val); 267 ...mapGetters(["dictData", "flag"]),
268 },
269 data () {
270 return {
271 disabled: true,
272 czrOptions: [],
273 ruleForm: {
274 slywxx: {},
275 qlxxold: {},
276 diyaq: {},
277 gyfs: "",
278 },
279 //传递参数
280 propsParam: {},
281 rules: {},
282 };
301 }, 283 },
302 // 更新义务人信息 284 methods: {
303 upDateYwrxxList (val) { 285 onSubmitClick () {
304 this.ruleForm.ywrList = _.cloneDeep(val); 286 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
287 if (res.code === 200) {
288 this.$message({
289 showClose: true,
290 message: "保存成功!",
291 type: "success",
292 });
293 } else {
294 this.$message({
295 showClose: true,
296 message: res.message,
297 type: "error",
298 });
299 }
300 });
301 },
302 // 更新权利人信息
303 upDateQlrxxList (val) {
304 this.ruleForm.qlrList = _.cloneDeep(val);
305 },
306 // 更新义务人信息
307 upDateYwrxxList (val) {
308 this.ruleForm.ywrList = _.cloneDeep(val);
309 }
305 } 310 }
306 } 311 }
307 }
308 </script> 312 </script>
309 <style scoped lang='scss'> 313 <style scoped lang='scss'>
310 @import "~@/styles/public.scss"; 314 @import "~@/styles/public.scss";
311 @import "~@/styles/slxx/slxx.scss"; 315 @import "~@/styles/slxx/slxx.scss";
312 </style> 316 </style>
......
1 <!--
2 * @Description: 受理信息
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:23
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 -->
3 <div class="slxx"> 7 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 8 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
5 label-width="120px"> 9 label-width="120px">
...@@ -202,143 +206,143 @@ ...@@ -202,143 +206,143 @@
202 </div> 206 </div>
203 </template> 207 </template>
204 <script> 208 <script>
205 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 209 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
206 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; 210 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
207 import { mapGetters } from "vuex"; 211 import { mapGetters } from "vuex";
208 export default { 212 export default {
209 created () { 213 created () {
210 this.propsParam = this.$attrs; 214 this.propsParam = this.$attrs;
211 var formdata = new FormData(); 215 var formdata = new FormData();
212 formdata.append("bsmSldy", this.propsParam.bsmSldy); 216 formdata.append("bsmSldy", this.propsParam.bsmSldy);
213 formdata.append("djlx", this.propsParam.djlx); 217 formdata.append("djlx", this.propsParam.djlx);
214 Init(formdata).then((res) => { 218 Init(formdata).then((res) => {
215 if (res.code === 200 && res.result) { 219 if (res.code === 200 && res.result) {
216 this.ruleForm = { 220 this.ruleForm = {
217 ...res.result, 221 ...res.result,
218 ...res.result.qlxxdatas, 222 ...res.result.qlxxdatas,
223 }
219 } 224 }
220 } 225 });
221 });
222 },
223 components: { qlrCommonTable },
224 computed: {
225 ...mapGetters(["dictData", "flag"]),
226 },
227 data () {
228 return {
229 disabled: true,
230 tdytOption: [],
231 czrOptions: [],
232 ruleForm: {},
233 //传递参数
234 propsParam: this.$attrs,
235 rules: {},
236 };
237 },
238 methods: {
239 // 更新权利人信息
240 upDateQlrxxList (val) {
241 this.ruleForm.qlrList = _.cloneDeep(val);
242 }, 226 },
243 showCZInfo () { 227 components: { qlrCommonTable },
244 console.log(this.ruleForm.slywxx.gyfs); 228 computed: {
229 ...mapGetters(["dictData", "flag"]),
245 }, 230 },
246 // 更新权利人信息 231 data () {
247 upDateYwrxxList (val) { 232 return {
248 this.ruleForm.ywrList = _.cloneDeep(val); 233 disabled: true,
234 tdytOption: [],
235 czrOptions: [],
236 ruleForm: {},
237 //传递参数
238 propsParam: this.$attrs,
239 rules: {},
240 };
249 }, 241 },
250 onSubmit () { 242 methods: {
251 saveBatchData(this.ruleForm).then((res) => { 243 // 更新权利人信息
252 if (res.code === 200) { 244 upDateQlrxxList (val) {
253 this.$message({ 245 this.ruleForm.qlrList = _.cloneDeep(val);
254 showClose: true, 246 },
255 message: "保存成功!", 247 showCZInfo () {
256 type: "success", 248 console.log(this.ruleForm.slywxx.gyfs);
257 }); 249 },
258 } else { 250 // 更新权利人信息
259 this.$message({ 251 upDateYwrxxList (val) {
260 showClose: true, 252 this.ruleForm.ywrList = _.cloneDeep(val);
261 message: res.message, 253 },
262 type: "error", 254 onSubmit () {
263 }); 255 saveBatchData(this.ruleForm).then((res) => {
264 } 256 if (res.code === 200) {
265 }); 257 this.$message({
258 showClose: true,
259 message: "保存成功!",
260 type: "success",
261 });
262 } else {
263 this.$message({
264 showClose: true,
265 message: res.message,
266 type: "error",
267 });
268 }
269 });
270 },
266 }, 271 },
267 }, 272 };
268 };
269 </script> 273 </script>
270 <style scoped lang='scss'> 274 <style scoped lang='scss'>
271 @import "~@/styles/public.scss"; 275 @import "~@/styles/public.scss";
272 276
273 /deep/.el-form { 277 /deep/.el-form {
274 display: flex; 278 display: flex;
275 flex-direction: column; 279 flex-direction: column;
276 height: calc(100vh - 130px); 280 height: calc(100vh - 130px);
277 } 281 }
278 282
279 /deep/.el-form-item__label { 283 /deep/.el-form-item__label {
280 padding: 0; 284 padding: 0;
281 } 285 }
282 286
283 /deep/.el-radio { 287 /deep/.el-radio {
284 margin-right: 10px; 288 margin-right: 10px;
285 } 289 }
286 290
287 /deep/.el-select { 291 /deep/.el-select {
288 width: 100%; 292 width: 100%;
289 } 293 }
290 294
291 /deep/.el-form-item { 295 /deep/.el-form-item {
292 margin-bottom: 8px; 296 margin-bottom: 8px;
293 } 297 }
294 298
295 .marginBot0 { 299 .marginBot0 {
296 margin-bottom: 0 !important; 300 margin-bottom: 0 !important;
297 } 301 }
298 302
299 .slxx { 303 .slxx {
300 box-sizing: border-box; 304 box-sizing: border-box;
301 } 305 }
302 306
303 .slxx_con { 307 .slxx_con {
304 flex: 1; 308 flex: 1;
305 height: 100%; 309 height: 100%;
306 background-color: #ffffff; 310 background-color: #ffffff;
307 overflow-y: auto; 311 overflow-y: auto;
308 padding-right: 3px; 312 padding-right: 3px;
309 overflow-x: hidden; 313 overflow-x: hidden;
310 } 314 }
311 315
312 .submit_btn { 316 .submit_btn {
313 height: 50px; 317 height: 50px;
314 } 318 }
315 319
316 .slxx_title { 320 .slxx_title {
317 border-bottom: 1px solid $borderColor; 321 border-bottom: 1px solid $borderColor;
318 padding-left: 10px; 322 padding-left: 10px;
319 padding-bottom: 5px; 323 padding-bottom: 5px;
320 margin-bottom: 10px; 324 margin-bottom: 10px;
321 margin-top: 5px; 325 margin-top: 5px;
322 font-size: 16px; 326 font-size: 16px;
323 font-weight: 500; 327 font-weight: 500;
324 color: #4a4a4a; 328 color: #4a4a4a;
325 } 329 }
326 330
327 .btn { 331 .btn {
328 text-align: center; 332 text-align: center;
329 padding-top: 10px; 333 padding-top: 10px;
330 height: 36px; 334 height: 36px;
331 background-color: #ffffff; 335 background-color: #ffffff;
332 padding: 5px 0; 336 padding: 5px 0;
333 } 337 }
334 338
335 .textArea { 339 .textArea {
336 /deep/.el-textarea__inner { 340 /deep/.el-textarea__inner {
337 min-height: 90px !important; 341 min-height: 90px !important;
342 }
338 } 343 }
339 }
340 344
341 /deep/.el-form-item__label { 345 /deep/.el-form-item__label {
342 padding-bottom: 0px; 346 padding-bottom: 0px;
343 } 347 }
344 </style> 348 </style>
......
1 <!--
2 * @Description: 受理信息
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:30
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 -->
3 <div class="slxx"> 7 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 8 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
5 label-width="120px"> 9 label-width="120px">
...@@ -186,183 +190,183 @@ ...@@ -186,183 +190,183 @@
186 </div> 190 </div>
187 </template> 191 </template>
188 <script> 192 <script>
189 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 193 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
190 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; 194 import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
191 import { mapGetters } from "vuex"; 195 import { mapGetters } from "vuex";
192 export default { 196 export default {
193 async created () { 197 async created () {
194 this.propsParam = this.$attrs; 198 this.propsParam = this.$attrs;
195 var formdata = new FormData(); 199 var formdata = new FormData();
196 formdata.append("bsmSldy", this.propsParam.bsmSldy); 200 formdata.append("bsmSldy", this.propsParam.bsmSldy);
197 formdata.append("djlx", this.propsParam.djlx); 201 formdata.append("djlx", this.propsParam.djlx);
198 Init(formdata).then((res) => { 202 Init(formdata).then((res) => {
199 if (res.code === 200 && res.result) { 203 if (res.code === 200 && res.result) {
200 this.ruleForm = { 204 this.ruleForm = {
201 ...res.result, 205 ...res.result,
202 ...res.result.zdjbxxdatas, 206 ...res.result.zdjbxxdatas,
203 ...res.result.qlxxdatas, 207 ...res.result.qlxxdatas,
204 ...res.result.jsydsyqdatas, 208 ...res.result.jsydsyqdatas,
205 }; 209 };
206 } 210 }
207 }); 211 });
208 },
209 components: { qlrCommonTable },
210 computed: {
211 ...mapGetters(["dictData", "flag"]),
212 },
213 data () {
214 return {
215 disabled: true,
216 tdytOption: [],
217 czrOptions: [],
218 ruleForm: {
219 ywh: "",
220 slry: "",
221 slsj: "",
222 qllx: "",
223 djlx: "",
224 djqx: "",
225 // 宗地代码
226 zddm: "",
227 bdcdyh: "",
228 qlxzmc: "",
229 qlrxx: [],
230 // 自然幢号
231 zrzh: "",
232 // 户不动产单元号
233 hbdcdyh: '',
234 djzt: '',
235 // 图幅丘幢号
236 tfqzh: '',
237 zl: '',
238 // 房屋用途
239 fwyt: '',
240 fwxz: '',
241 fwjg: '',
242 // 权利人信息
243 gyfs: "1",
244 // 是否分别持证
245 sffbcz: "",
246 // 持证人
247 czr: "",
248 djyy: ''
249 },
250 //传递参数
251 propsParam: {},
252 rules: {},
253 };
254 },
255 methods: {
256 dataSelectClick () {
257 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
258 {
259 formData: {
260 bsmSldy: this.propsParam.bsmSldy,
261 qllx: this.propsParam.qllx
262 }
263 });
264 }, 212 },
265 // 更新权利人信息 213 components: { qlrCommonTable },
266 upDateQlrxxList (val) { 214 computed: {
267 this.ruleForm.qlrList = _.cloneDeep(val); 215 ...mapGetters(["dictData", "flag"]),
268 }, 216 },
269 // 更新权利人信息 217 data () {
270 upDateYwrxxList (val) { 218 return {
271 this.ruleForm.ywrList = _.cloneDeep(val); 219 disabled: true,
220 tdytOption: [],
221 czrOptions: [],
222 ruleForm: {
223 ywh: "",
224 slry: "",
225 slsj: "",
226 qllx: "",
227 djlx: "",
228 djqx: "",
229 // 宗地代码
230 zddm: "",
231 bdcdyh: "",
232 qlxzmc: "",
233 qlrxx: [],
234 // 自然幢号
235 zrzh: "",
236 // 户不动产单元号
237 hbdcdyh: '',
238 djzt: '',
239 // 图幅丘幢号
240 tfqzh: '',
241 zl: '',
242 // 房屋用途
243 fwyt: '',
244 fwxz: '',
245 fwjg: '',
246 // 权利人信息
247 gyfs: "1",
248 // 是否分别持证
249 sffbcz: "",
250 // 持证人
251 czr: "",
252 djyy: ''
253 },
254 //传递参数
255 propsParam: {},
256 rules: {},
257 };
272 }, 258 },
273 259 methods: {
274 onSubmit () { 260 dataSelectClick () {
275 saveBatchData(this.ruleForm).then((res) => { 261 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
276 if (res.code === 200) { 262 {
277 this.$message({ 263 formData: {
278 showClose: true, 264 bsmSldy: this.propsParam.bsmSldy,
279 message: "保存成功!", 265 qllx: this.propsParam.qllx
280 type: "success", 266 }
281 });
282 } else {
283 this.$message({
284 showClose: true,
285 message: res.message,
286 type: "error",
287 }); 267 });
288 } 268 },
289 }); 269 // 更新权利人信息
270 upDateQlrxxList (val) {
271 this.ruleForm.qlrList = _.cloneDeep(val);
272 },
273 // 更新权利人信息
274 upDateYwrxxList (val) {
275 this.ruleForm.ywrList = _.cloneDeep(val);
276 },
277
278 onSubmit () {
279 saveBatchData(this.ruleForm).then((res) => {
280 if (res.code === 200) {
281 this.$message({
282 showClose: true,
283 message: "保存成功!",
284 type: "success",
285 });
286 } else {
287 this.$message({
288 showClose: true,
289 message: res.message,
290 type: "error",
291 });
292 }
293 });
294 },
290 }, 295 },
291 }, 296 };
292 };
293 </script> 297 </script>
294 <style scoped lang='scss'> 298 <style scoped lang='scss'>
295 @import "~@/styles/public.scss"; 299 @import "~@/styles/public.scss";
296 300
297 /deep/.el-form { 301 /deep/.el-form {
298 display: flex; 302 display: flex;
299 flex-direction: column; 303 flex-direction: column;
300 height: calc(100vh - 130px); 304 height: calc(100vh - 130px);
301 } 305 }
302 306
303 /deep/.el-form-item__label { 307 /deep/.el-form-item__label {
304 padding: 0; 308 padding: 0;
305 } 309 }
306 310
307 /deep/.el-radio { 311 /deep/.el-radio {
308 margin-right: 10px; 312 margin-right: 10px;
309 } 313 }
310 314
311 /deep/.el-select { 315 /deep/.el-select {
312 width: 100%; 316 width: 100%;
313 } 317 }
314 318
315 /deep/.el-form-item { 319 /deep/.el-form-item {
316 margin-bottom: 8px; 320 margin-bottom: 8px;
317 } 321 }
318 322
319 .marginBot0 { 323 .marginBot0 {
320 margin-bottom: 0 !important; 324 margin-bottom: 0 !important;
321 } 325 }
322 326
323 .slxx { 327 .slxx {
324 box-sizing: border-box; 328 box-sizing: border-box;
325 } 329 }
326 330
327 .slxx_con { 331 .slxx_con {
328 flex: 1; 332 flex: 1;
329 height: 100%; 333 height: 100%;
330 background-color: #ffffff; 334 background-color: #ffffff;
331 overflow-y: auto; 335 overflow-y: auto;
332 padding-right: 3px; 336 padding-right: 3px;
333 overflow-x: hidden; 337 overflow-x: hidden;
334 } 338 }
335 339
336 .submit_btn { 340 .submit_btn {
337 height: 50px; 341 height: 50px;
338 } 342 }
339 343
340 .slxx_title { 344 .slxx_title {
341 border-bottom: 1px solid $borderColor; 345 border-bottom: 1px solid $borderColor;
342 padding-left: 10px; 346 padding-left: 10px;
343 padding-bottom: 5px; 347 padding-bottom: 5px;
344 margin-bottom: 10px; 348 margin-bottom: 10px;
345 margin-top: 5px; 349 margin-top: 5px;
346 font-size: 16px; 350 font-size: 16px;
347 font-weight: 500; 351 font-weight: 500;
348 color: #4a4a4a; 352 color: #4a4a4a;
349 } 353 }
350 354
351 .btn { 355 .btn {
352 text-align: center; 356 text-align: center;
353 padding-top: 10px; 357 padding-top: 10px;
354 height: 36px; 358 height: 36px;
355 background-color: #ffffff; 359 background-color: #ffffff;
356 padding: 5px 0; 360 padding: 5px 0;
357 } 361 }
358 362
359 .textArea { 363 .textArea {
360 /deep/.el-textarea__inner { 364 /deep/.el-textarea__inner {
361 min-height: 90px !important; 365 min-height: 90px !important;
366 }
362 } 367 }
363 }
364 368
365 /deep/.el-form-item__label { 369 /deep/.el-form-item__label {
366 padding-bottom: 0px; 370 padding-bottom: 0px;
367 } 371 }
368 </style> 372 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:41
5 -->
1 <template> 6 <template>
2 <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" 7 <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }"
3 style="overflow-y:scroll;"> 8 style="overflow-y:scroll;">
4 <div class="tableBox" > 9 <div class="tableBox">
5 <div class="title"> 10 <div class="title">
6 <span>{{ title }}</span> 11 <span>{{ title }}</span>
7 </div> 12 </div>
...@@ -12,7 +17,7 @@ ...@@ -12,7 +17,7 @@
12 <td>变更前</td> 17 <td>变更前</td>
13 <td>变更后</td> 18 <td>变更后</td>
14 </tr> 19 </tr>
15 <tr v-for="(item, colindex) in columns" :key="colindex"> 20 <tr v-for="(item, colindex) in columns" :key="colindex">
16 <td> 21 <td>
17 {{ item.label }} 22 {{ item.label }}
18 </td> 23 </td>
...@@ -23,8 +28,7 @@ ...@@ -23,8 +28,7 @@
23 row.qszt == '2' ? 'lishi' : '', 28 row.qszt == '2' ? 'lishi' : '',
24 row.qszt == '0' ? 'linshi' : '', 29 row.qszt == '0' ? 'linshi' : '',
25 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 30 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
26 ]" 31 ]">
27 >
28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
29 正在办理 33 正在办理
30 </div> 34 </div>
...@@ -42,73 +46,73 @@ ...@@ -42,73 +46,73 @@
42 </template> 46 </template>
43 47
44 <script> 48 <script>
45 import {getFdcqLSInfo} from "@/api/registerBook.js"; 49 import { getFdcqLSInfo } from "@/api/registerBook.js";
46 import { datas } from "@/views/registerBook/qlxxFormData.js"; 50 import { datas } from "@/views/registerBook/qlxxFormData.js";
47 51
48 export default { 52 export default {
49 data() { 53 data () {
50 return { 54 return {
51 title: "房地产权登记信息(独幢、层、套、间房屋)", 55 title: "房地产权登记信息(独幢、层、套、间房屋)",
52 qsztList: datas.columns().qsztList, 56 qsztList: datas.columns().qsztList,
53 checkList: datas.columns().checkList, 57 checkList: datas.columns().checkList,
54 //传递参数 58 //传递参数
55 propsParam: this.$attrs, 59 propsParam: this.$attrs,
56 //列表数据 60 //列表数据
57 tableData: [], 61 tableData: [],
58 //空列值个数 62 //空列值个数
59 emptycolNum: 1, 63 emptycolNum: 1,
60 //列名称对象 64 //列名称对象
61 columns: datas.columns().FDCQ2, 65 columns: datas.columns().FDCQ2,
62 tdColumns: datas.columns().JSYDSYQ 66 tdColumns: datas.columns().JSYDSYQ
63 67
64 }; 68 };
65 }, 69 },
66 created() { 70 created () {
67 this.loadData(); 71 this.loadData();
68 }, 72 },
69 mounted() { 73 mounted () {
70 this.timeLineHeight = document.documentElement.clientHeight - 210;
71 window.onresize = () => {
72 this.timeLineHeight = document.documentElement.clientHeight - 210; 74 this.timeLineHeight = document.documentElement.clientHeight - 210;
73 }; 75 window.onresize = () => {
74 }, 76 this.timeLineHeight = document.documentElement.clientHeight - 210;
75 methods: { 77 };
76 loadData() { 78 },
77 var formdata = new FormData(); 79 methods: {
78 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); 80 loadData () {
79 formdata.append("qllx", this.propsParam.formData.qllx); 81 var formdata = new FormData();
80 getFdcqLSInfo(formdata).then((res) => { 82 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
81 if (res.code === 200) { 83 formdata.append("qllx", this.propsParam.formData.qllx);
82 this.tableData = res.result; 84 getFdcqLSInfo(formdata).then((res) => {
83 if (this.tableData.length < datas.columns().emptycolNum) { 85 if (res.code === 200) {
84 this.emptycolNum = 86 this.tableData = res.result;
85 datas.columns().emptycolNum - this.tableData.length; 87 if (this.tableData.length < datas.columns().emptycolNum) {
86 } else { 88 this.emptycolNum =
87 this.emptycolNum = 0; 89 datas.columns().emptycolNum - this.tableData.length;
90 } else {
91 this.emptycolNum = 0;
92 }
88 } 93 }
94 });
95 },
96 checkChange () {
97 if (this.checkList.length === 0) {
98 this.tableData = [];
99 this.emptycolNum = datas.columns().emptycolNum;
100 } else {
101 this.loadData();
89 } 102 }
90 }); 103 },
91 }, 104 getQsztName (code) {
92 checkChange() { 105 let name = "";
93 if (this.checkList.length === 0) { 106 for (let item of this.qsztList) {
94 this.tableData = []; 107 if (item.value == code) {
95 this.emptycolNum = datas.columns().emptycolNum; 108 name = item.label;
96 } else { 109 break;
97 this.loadData(); 110 }
98 }
99 },
100 getQsztName(code) {
101 let name = "";
102 for (let item of this.qsztList) {
103 if (item.value == code) {
104 name = item.label;
105 break;
106 } 111 }
107 } 112 return name;
108 return name; 113 },
109 }, 114 },
110 }, 115 };
111 };
112 </script> 116 </script>
113 117
114 <style lang="scss" scoped> 118 <style lang="scss" scoped>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:21
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 --> 7 <!-- 受理信息 -->
3 <div class="slxx"> 8 <div class="slxx">
...@@ -173,75 +178,14 @@ ...@@ -173,75 +178,14 @@
173 </div> 178 </div>
174 </template> 179 </template>
175 <script> 180 <script>
176 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 181 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
177 import { Init } from "@/api/workflow/fwsyqFlow.js"; 182 import { Init } from "@/api/workflow/fwsyqFlow.js";
178 import { mapGetters } from "vuex"; 183 import { mapGetters } from "vuex";
179 export default { 184 export default {
180 async created () { 185 async created () {
181 this.propsParam = this.$attrs; 186 this.propsParam = this.$attrs;
182 var formdata = new FormData();
183 formdata.append("bsmSldy", this.propsParam.bsmSldy);
184 Init(formdata).then((res) => {
185 if (res.code === 200 && res.result) {
186 this.ruleForm = {
187 ...res.result,
188 ...res.result.zdjbxxdatas,
189 ...res.result.qlxxdatas,
190 ...res.result.jsydsyqdatas,
191 };
192 }
193 });
194 },
195 components: { qlrCommonTable },
196 computed: {
197 ...mapGetters(["dictData", "flag"]),
198 },
199 data () {
200 return {
201 disabled: true,
202 tdytOption: [],
203 czrOptions: [],
204 ruleForm: {
205 ywh: "",
206 slry: "",
207 slsj: "",
208 qllx: "",
209 djlx: "",
210 djqx: "",
211 // 宗地代码
212 zddm: "",
213 bdcdyh: "",
214 qlxzmc: "",
215 qlrxx: [],
216 // 自然幢号
217 zrzh: "",
218 // 户不动产单元号
219 hbdcdyh: '',
220 djzt: '',
221 // 图幅丘幢号
222 tfqzh: '',
223 zl: '',
224 // 房屋用途
225 fwyt: '',
226 fwxz: '',
227 fwjg: '',
228 // 权利人信息
229 gyfs: "1",
230 // 是否分别持证
231 sffbcz: "",
232 // 持证人
233 czr: "",
234 djyy: ''
235 },
236 //传递参数
237 propsParam: {},
238 rules: {},
239 };
240 },
241 methods: {
242 list (bsmSldy) {
243 var formdata = new FormData(); 187 var formdata = new FormData();
244 formdata.append("bsmSldy", bsmSldy); 188 formdata.append("bsmSldy", this.propsParam.bsmSldy);
245 Init(formdata).then((res) => { 189 Init(formdata).then((res) => {
246 if (res.code === 200 && res.result) { 190 if (res.code === 200 && res.result) {
247 this.ruleForm = { 191 this.ruleForm = {
...@@ -253,89 +197,150 @@ export default { ...@@ -253,89 +197,150 @@ export default {
253 } 197 }
254 }); 198 });
255 }, 199 },
256 onSubmit () { 200 components: { qlrCommonTable },
257 fristReg(this.ruleForm).then((res) => { 201 computed: {
258 if (res.code === 200 && res.result) { 202 ...mapGetters(["dictData", "flag"]),
259 console.log(res); 203 },
260 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 204 data () {
261 } 205 return {
262 }); 206 disabled: true,
207 tdytOption: [],
208 czrOptions: [],
209 ruleForm: {
210 ywh: "",
211 slry: "",
212 slsj: "",
213 qllx: "",
214 djlx: "",
215 djqx: "",
216 // 宗地代码
217 zddm: "",
218 bdcdyh: "",
219 qlxzmc: "",
220 qlrxx: [],
221 // 自然幢号
222 zrzh: "",
223 // 户不动产单元号
224 hbdcdyh: '',
225 djzt: '',
226 // 图幅丘幢号
227 tfqzh: '',
228 zl: '',
229 // 房屋用途
230 fwyt: '',
231 fwxz: '',
232 fwjg: '',
233 // 权利人信息
234 gyfs: "1",
235 // 是否分别持证
236 sffbcz: "",
237 // 持证人
238 czr: "",
239 djyy: ''
240 },
241 //传递参数
242 propsParam: {},
243 rules: {},
244 };
263 }, 245 },
264 }, 246 methods: {
265 }; 247 list (bsmSldy) {
248 var formdata = new FormData();
249 formdata.append("bsmSldy", bsmSldy);
250 Init(formdata).then((res) => {
251 if (res.code === 200 && res.result) {
252 this.ruleForm = {
253 ...res.result,
254 ...res.result.zdjbxxdatas,
255 ...res.result.qlxxdatas,
256 ...res.result.jsydsyqdatas,
257 };
258 }
259 });
260 },
261 onSubmit () {
262 fristReg(this.ruleForm).then((res) => {
263 if (res.code === 200 && res.result) {
264 console.log(res);
265 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
266 }
267 });
268 },
269 },
270 };
266 </script> 271 </script>
267 <style scoped lang='scss'> 272 <style scoped lang='scss'>
268 @import "~@/styles/public.scss"; 273 @import "~@/styles/public.scss";
269 274
270 /deep/.el-form { 275 /deep/.el-form {
271 display: flex; 276 display: flex;
272 flex-direction: column; 277 flex-direction: column;
273 height: calc(100vh - 130px); 278 height: calc(100vh - 130px);
274 } 279 }
275 280
276 /deep/.el-form-item__label { 281 /deep/.el-form-item__label {
277 padding: 0; 282 padding: 0;
278 } 283 }
279 284
280 /deep/.el-radio { 285 /deep/.el-radio {
281 margin-right: 10px; 286 margin-right: 10px;
282 } 287 }
283 288
284 /deep/.el-select { 289 /deep/.el-select {
285 width: 100%; 290 width: 100%;
286 } 291 }
287 292
288 /deep/.el-form-item { 293 /deep/.el-form-item {
289 margin-bottom: 8px; 294 margin-bottom: 8px;
290 } 295 }
291 296
292 .marginBot0 { 297 .marginBot0 {
293 margin-bottom: 0 !important; 298 margin-bottom: 0 !important;
294 } 299 }
295 300
296 .slxx { 301 .slxx {
297 box-sizing: border-box; 302 box-sizing: border-box;
298 } 303 }
299 304
300 .slxx_con { 305 .slxx_con {
301 flex: 1; 306 flex: 1;
302 height: 100%; 307 height: 100%;
303 background-color: #ffffff; 308 background-color: #ffffff;
304 overflow-y: auto; 309 overflow-y: auto;
305 padding-right: 3px; 310 padding-right: 3px;
306 overflow-x: hidden; 311 overflow-x: hidden;
307 } 312 }
308 313
309 .submit_btn { 314 .submit_btn {
310 height: 50px; 315 height: 50px;
311 } 316 }
312 317
313 .slxx_title { 318 .slxx_title {
314 border-bottom: 1px solid $borderColor; 319 border-bottom: 1px solid $borderColor;
315 padding-left: 10px; 320 padding-left: 10px;
316 padding-bottom: 5px; 321 padding-bottom: 5px;
317 margin-bottom: 10px; 322 margin-bottom: 10px;
318 margin-top: 5px; 323 margin-top: 5px;
319 font-size: 16px; 324 font-size: 16px;
320 font-weight: 500; 325 font-weight: 500;
321 color: #4a4a4a; 326 color: #4a4a4a;
322 } 327 }
323 328
324 .btn { 329 .btn {
325 text-align: center; 330 text-align: center;
326 padding-top: 10px; 331 padding-top: 10px;
327 height: 36px; 332 height: 36px;
328 background-color: #ffffff; 333 background-color: #ffffff;
329 padding: 5px 0; 334 padding: 5px 0;
330 } 335 }
331 336
332 .textArea { 337 .textArea {
333 /deep/.el-textarea__inner { 338 /deep/.el-textarea__inner {
334 min-height: 90px !important; 339 min-height: 90px !important;
340 }
335 } 341 }
336 }
337 342
338 /deep/.el-form-item__label { 343 /deep/.el-form-item__label {
339 padding-bottom: 0px; 344 padding-bottom: 0px;
340 } 345 }
341 </style> 346 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:26
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 --> 7 <!-- 受理信息 -->
3 <div class="slxx"> 8 <div class="slxx">
...@@ -201,6 +206,7 @@ ...@@ -201,6 +206,7 @@
201 Init(formdata).then((res) => { 206 Init(formdata).then((res) => {
202 this.$nextTick(() => { 207 this.$nextTick(() => {
203 that.ruleForm = res.result; 208 that.ruleForm = res.result;
209 console.log(that.ruleForm, 'that.ruleFormthat.ruleFormthat.ruleForm');
204 that.$endLoading(); 210 that.$endLoading();
205 that.isShow = true; 211 that.isShow = true;
206 this.czrOptions = this.ruleForm.qlrList; 212 this.czrOptions = this.ruleForm.qlrList;
...@@ -260,14 +266,16 @@ ...@@ -260,14 +266,16 @@
260 //是否分别持证 266 //是否分别持证
261 if (this.ruleForm.slywxx.sqfbcz == '1') { //是 267 if (this.ruleForm.slywxx.sqfbcz == '1') { //是
262 this.ruleForm.qlrList.forEach((item, index) => { 268 this.ruleForm.qlrList.forEach((item, index) => {
263 item.sfczr = "1"; 269 item.sfczr = "1"
264 }); 270 });
265 } else { 271 } else {
266 this.ruleForm.qlrList.forEach((item, index) => { 272 this.ruleForm.qlrList.forEach((item, index) => {
267 if (item.zjh == this.ruleForm.czr) { 273 if (item.zjh == this.ruleForm.czr) {
268 item.sfczr = "1"; 274 item.sfczr = "1"
275 } else {
276 item.sfczr = "0"
269 } 277 }
270 }); 278 })
271 } 279 }
272 } 280 }
273 281
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:45:28
5 -->
1 <template> 6 <template>
2 <!-- 受理信息 --> 7 <!-- 受理信息 -->
3 <div class="slxx"> 8 <div class="slxx">
...@@ -182,82 +187,87 @@ ...@@ -182,82 +187,87 @@
182 </div> 187 </div>
183 </template> 188 </template>
184 <script> 189 <script>
185 import { mapGetters } from "vuex"; 190 import { mapGetters } from "vuex";
186 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 191 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
187 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 192 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
188 export default { 193 export default {
189 mounted () { 194 mounted () {
190 this.propsParam = this.$attrs; 195 this.propsParam = this.$attrs;
191 var formdata = new FormData(); 196 var formdata = new FormData();
192 this.$startLoading(); 197 this.$startLoading();
193 formdata.append("bsmSldy", this.propsParam.bsmSldy); 198 formdata.append("bsmSldy", this.propsParam.bsmSldy);
194 formdata.append("djlx", this.propsParam.djlx); 199 formdata.append("djlx", this.propsParam.djlx);
195 Init(formdata).then((res) => { 200 Init(formdata).then((res) => {
196 if (res.code === 200 && res.result) { 201 if (res.code === 200 && res.result) {
197 this.ruleForm = res.result; 202 this.ruleForm = res.result;
198 this.$endLoading(); 203 this.$endLoading();
199 }
200 });
201 },
202 components: { qlrCommonTable },
203 computed: {
204 ...mapGetters(["dictData", "flag"])
205 },
206 data () {
207 return {
208 disabled: true,
209 czrOptions: [],
210 ruleForm: {},
211 //传递参数
212 propsParam: {},
213 rules: {},
214 };
215 },
216 methods: {
217 // 更新权利人信息
218 upDateQlrxxList (val) {
219 this.ruleForm.qlrList = _.cloneDeep(val);
220 },
221 onSubmit () {
222 saveData(this.ruleForm).then((res) => {
223 if (res.code === 200) {
224 this.$message({
225 showClose: true,
226 message: "保存成功!",
227 type: "success",
228 });
229 } else {
230 this.$message({
231 showClose: true,
232 message: res.message,
233 type: "error",
234 });
235 } 204 }
236 }); 205 });
237 }, 206 },
238 compare () { 207 components: { qlrCommonTable },
239 this.$popup({ 208 computed: {
240 titleStyle: "left", 209 ...mapGetters(["dictData", "flag"])
241 title: "土地变化情况比对", // 弹窗标题 210 },
242 editItem: "registerBook/jsydsyq", // 弹窗内容 211 data () {
243 formData: this.propsParam, 212 return {
244 width: "1220px", 213 disabled: true,
245 height: "790px", 214 czrOptions: [],
246 // cancelText: '取消摆烂', // 右边按钮文本 215 ruleForm: {
247 // confirmText: '确定点击', //左边按钮文本 216 slywxx: {},
248 cancel: () => { 217 qlxx: {},
249 console.log("取消回调"); 218 zdjbxx: {},
250 }, 219 jsydsyq: {}
251 confirm: () => {
252 console.log("确认回调");
253 }, 220 },
254 }); 221 //传递参数
255 } 222 propsParam: {},
256 }, 223 rules: {},
224 };
225 },
226 methods: {
227 // 更新权利人信息
228 upDateQlrxxList (val) {
229 this.ruleForm.qlrList = _.cloneDeep(val);
230 },
231 onSubmit () {
232 saveData(this.ruleForm).then((res) => {
233 if (res.code === 200) {
234 this.$message({
235 showClose: true,
236 message: "保存成功!",
237 type: "success",
238 });
239 } else {
240 this.$message({
241 showClose: true,
242 message: res.message,
243 type: "error",
244 });
245 }
246 });
247 },
248 compare () {
249 this.$popup({
250 titleStyle: "left",
251 title: "土地变化情况比对", // 弹窗标题
252 editItem: "registerBook/jsydsyq", // 弹窗内容
253 formData: this.propsParam,
254 width: "1220px",
255 height: "790px",
256 // cancelText: '取消摆烂', // 右边按钮文本
257 // confirmText: '确定点击', //左边按钮文本
258 cancel: () => {
259 console.log("取消回调");
260 },
261 confirm: () => {
262 console.log("确认回调");
263 },
264 });
265 }
266 },
257 267
258 }; 268 };
259 </script> 269 </script>
260 <style scoped lang='scss'> 270 <style scoped lang='scss'>
261 @import "~@/styles/public.scss"; 271 @import "~@/styles/public.scss";
262 @import "~@/styles/slxx/slxx.scss"; 272 @import "~@/styles/slxx/slxx.scss";
263 </style> 273 </style>
......
...@@ -55,15 +55,15 @@ ...@@ -55,15 +55,15 @@
55 </el-row> 55 </el-row>
56 </el-form> 56 </el-form>
57 </div> 57 </div>
58 <div class="from-clues-content"> 58 <div class="from-clues-content loadingtext">
59 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" 59 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange" 60 :current-page.sync="pageData.currentPage" :total="zrztableData.total" @size-change="handleSizeChange"
61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns" 61 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="zrztableData.columns"
62 :data="zrztableData.data"> 62 :data="zrztableData.data">
63 </lb-table> 63 </lb-table>
64 </div> 64 </div>
65 <div class="submit_button"> 65 <div class="submit_button">
66 <el-button @click="closeDialog">取消</el-button> 66 <el-button @click="$popupCacel">取消</el-button>
67 <el-button type="primary" plain @click="submitForm">发起申请</el-button> 67 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
68 </div> 68 </div>
69 </div> 69 </div>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
72 <el-form :model="querydzForm" ref="querydzForm" label-width="110px"> 72 <el-form :model="querydzForm" ref="querydzForm" label-width="110px">
73 <el-row> 73 <el-row>
74 <el-col :span="7"> 74 <el-col :span="7">
75 <el-form-item label="宗地代码11"> 75 <el-form-item label="宗地代码">
76 <el-input placeholder="请输入宗地代码" v-model="querydzForm.zddm" clearable> 76 <el-input placeholder="请输入宗地代码" v-model="querydzForm.zddm" clearable>
77 </el-input> 77 </el-input>
78 </el-form-item> 78 </el-form-item>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 </el-form> 107 </el-form>
108 </div> 108 </div>
109 <div class="from-clues-content loadingtext"> 109 <div class="from-clues-content loadingtext">
110 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" 110 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="400"
111 :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" 111 :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange"
112 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" 112 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns"
113 :data="dztableData.data"> 113 :data="dztableData.data">
...@@ -121,10 +121,10 @@ ...@@ -121,10 +121,10 @@
121 </div> 121 </div>
122 </template> 122 </template>
123 <script> 123 <script>
124 import Vue from 'vue'
124 import store from '@/store/index.js' 125 import store from '@/store/index.js'
125 //国有建设用地使用权/房屋使用权 126 //国有建设用地使用权/房屋使用权
126 import { datas, sendThis } from "../javascript/fwsyq.js"; 127 import { datas, sendThis } from "../javascript/fwsyq.js";
127 // import { datasduo, sendThisduo } from "../javascript/fwsyqduo.js";
128 import table from "@/utils/mixin/table"; 128 import table from "@/utils/mixin/table";
129 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 129 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
130 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js"; 130 import { selectScBdcdy, startBusinessFlow, choiceBdcdy, selectOtherH, selectZrz, selectDz } from "@/api/ywbl.js";
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
199 } else { 199 } else {
200 //从办理框架选择不动产单元进入 200 //从办理框架选择不动产单元进入
201 //房屋首次办理选择不动产需找出对应自然幢下未选择的户 201 //房屋首次办理选择不动产需找出对应自然幢下未选择的户
202 this.queryzrzForm.bsmSlsq = this.$route.query.bsmSlsq; 202 this.queryzrzForm.bsmSlsq = Vue.prototype.$currentRoute.query.bsmSlsq;
203 selectOtherH({ ...this.queryzrzForm, ...this.pageData }).then((res) => { 203 selectOtherH({ ...this.queryzrzForm, ...this.pageData }).then((res) => {
204 this.$endLoading(); 204 this.$endLoading();
205 if (res.code === 200) { 205 if (res.code === 200) {
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
241 }) 241 })
242 } else { 242 } else {
243 choiceBdcdy({ 243 choiceBdcdy({
244 bsmSlsq: this.$route.query.bsmSlsq, 244 bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq,
245 bdcdysz: this.bdcdysz 245 bdcdysz: this.bdcdysz
246 }).then(res => { 246 }).then(res => {
247 if (res.code == 200) { 247 if (res.code == 200) {
...@@ -268,6 +268,8 @@ ...@@ -268,6 +268,8 @@
268 width: '85%', 268 width: '85%',
269 formData: { 269 formData: {
270 bsm: item.bsm, 270 bsm: item.bsm,
271 zrzbsm: item.bsm,
272 zdbsm: item.zdbsm,
271 bsmSqyw: this.bsmSqyw, 273 bsmSqyw: this.bsmSqyw,
272 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", 274 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
273 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", 275 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
8 methods: { 8 methods: {
9 //点击行选中或取消复选框 9 //点击行选中或取消复选框
10 handleRowClick (row, column, event) { 10 handleRowClick (row, column, event) {
11 (this.$refs.table.toggleRowSelection(row)) 11 this.$refs.table.toggleRowSelection(row)
12 }, 12 },
13 jump (data, type) { 13 jump (data, type) {
14 const { href } = Router.resolve( 14 const { href } = Router.resolve(
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 </el-col> 12 </el-col>
13 <el-col :span="10"> 13 <el-col :span="10">
14 <el-form-item label="坐落"> 14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> 15 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 </el-col> 12 </el-col>
13 <el-col :span="10"> 13 <el-col :span="10">
14 <el-form-item label="坐落"> 14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> 15 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
77 methods: { 77 methods: {
78 queryClick () { 78 queryClick () {
79 this.$startLoading(); 79 this.$startLoading();
80 selectAllHInfo({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectAllHInfo({ "zrzbsm":this.sqywInfo.zrzbsm,...this.queryForm, ...this.pageData }).then((res) => {
81 this.$endLoading(); 81 this.$endLoading();
82 if (res.code === 200) { 82 if (res.code === 200) {
83 let { total, records } = res.result; 83 let { total, records } = res.result;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 </el-col> 19 </el-col>
20 <el-col :span="8"> 20 <el-col :span="8">
21 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
22 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> 22 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
23 </el-input> 23 </el-input>
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
106 if (!this.isJump) { 106 if (!this.isJump) {
107 this.jump(res.result, this.sqywInfo.djywbm); 107 this.jump(res.result, this.sqywInfo.djywbm);
108 } else { 108 } else {
109 this.$popupCacel()
109 store.dispatch('user/refreshPage', true); 110 store.dispatch('user/refreshPage', true);
110 } 111 }
111 } else { 112 } else {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 </el-col> 26 </el-col>
27 <el-col :span="10"> 27 <el-col :span="10">
28 <el-form-item label="坐落"> 28 <el-form-item label="坐落">
29 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> 29 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
30 </el-input> 30 </el-input>
31 </el-form-item> 31 </el-form-item>
32 </el-col> 32 </el-col>
......
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row>
7 <el-col :span="8">
8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width100">
10 </el-input>
11 </el-form-item>
12 </el-col>
13 <el-col :span="10">
14 <el-form-item label="不动产权证号">
15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100">
16 </el-input>
17 </el-form-item>
18 </el-col>
19 </el-row>
20 <el-row>
21 <el-col :span="8">
22 <el-form-item label="权利人">
23 <el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width100">
24 </el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="10">
28 <el-form-item label="坐落">
29 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
30 </el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="6" class="btnColRight">
34 <el-form-item>
35 <el-button type="primary" @click="resetForm(true)">重置</el-button>
36 <el-button type="primary" @click="handleSearch">查询</el-button>
37 </el-form-item>
38 </el-col>
39 </el-row>
40 </el-form>
41 </div>
42 <!-- 表格 -->
43 <div class="from-clues-content loadingtext">
44 分割合并前权利信息
45 <lb-table ref="table" @row-click="handleRowClick" heightNumSetting :pagination=false
46 :column="tableData.columns" :data="tableData.data">
47 </lb-table>
48 </div>
49 <div class="from-clues-content loadingtext">
50 分割合并后宗地信息
51 <lb-table ref="table" :pagination=false :calcHeight="500" :column="tableData.columns1"
52 :data="tableData.datastwo">
53 </lb-table>
54 </div>
55 <div class="submit_button">
56 <el-button @click="$popupCacel">取消</el-button>
57 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
58 </div>
59 </div>
60 </template>
61 <script>
62 //首次登记
63 import store from '@/store/index.js'
64 import { datas, datastwo, sendThis } from "../javascript/selectJsydsyq.js";
65 import { defaultParameters } from "../javascript/publicDefaultPar.js";
66 import table from "@/utils/mixin/table";
67 import jump from "./mixin/jump";
68 import { startBusinessFlow, selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMergeLast } from "@/api/ywbl.js";
69 export default {
70 mixins: [table, jump],
71 props: {
72 isJump: { type: Boolean, default: false },
73 sqywInfo: { type: Object, default: () => { } },
74 },
75 data () {
76 return {
77 queryForm: defaultParameters.defaultParameters(),
78 // 表格数据
79 tableData: {
80 columns: [{
81 label: '选择',
82 width: '50px',
83 render: (h, scope) => {
84 return (
85 <div class="orgColumn">
86 <el-radio v-model={this.radioVal} label={scope.row.bhqkbsm}>
87 &ensp;
88 </el-radio>
89 </div>
90 )
91 }
92 },].concat(datas.columns()),
93 data: [],
94 columns1: datastwo.columns1(),
95 datastwo: []
96 },
97 bdcdysz: [],
98 radioVal: ""
99 }
100 },
101 mounted () {
102 sendThis(this)
103 },
104 methods: {
105 // 单选事件
106 close () {
107 this.queryForm.bhqkbsm = this.radioVal
108 selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => {
109 this.$endLoading();
110 if (res.code === 200) {
111 this.tableData.datastwo = res.result
112 this.tableData.datastwo.forEach(item => {
113 item.bglx = '2'
114 })
115 this.bdcdysz = [this.bdcdysz[0], ...this.tableData.datastwo]
116 }
117 })
118 },
119 queryClick () {
120 this.$startLoading();
121 this.queryForm.sqywbm = this.sqywInfo.djywbm;
122 selectJsydQlxxSplitMergeBefore({ ...this.queryForm, ...this.pageData }).then((res) => {
123 this.$endLoading();
124 if (res.code === 200) {
125 this.tableData.data = res.result
126 }
127 });
128 },
129 handleRowClick (val) {
130 this.radioVal = val.bhqkbsm
131 let obj = val
132 obj.bsmSsql = val.bsmQlxx;
133 obj.ybdcqzsh = val.bdcqzh;
134 obj.bglx = '1';
135
136 this.bdcdysz[0] = obj
137 this.close()
138 },
139 submitForm () {
140 startBusinessFlow({
141 bsmSqyw: this.sqywInfo.parentid,
142 bdcdysz: this.bdcdysz,
143 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
144 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
145 }).then((res) => {
146 if (res.code == 200) {
147 this.$message({
148 showClose: true,
149 message: "发起申请成功",
150 type: "success",
151 });
152 if (!this.isJump) {
153 this.jump(res.result, this.sqywInfo.djywbm);
154 } else {
155 store.dispatch('user/refreshPage', true);
156 }
157 } else {
158 this.$message.error(res.message)
159 }
160 })
161 },
162 openBook (row) {
163 var param = {
164 bdcdyid: row.bdcdyid,
165 qllx: row.qllx,
166 bdcdyh: row.bdcdyh,
167 bsmQlxx: row.bsmQlxx,
168 };
169 this.$popup("登记簿详情", "registerBook/djbFrame", {
170 formData: param
171 })
172 }
173 }
174 }
175 </script>
176 <style scoped lang="scss">
177 @import "~@/styles/mixin.scss";
178 @import "~@/styles/public.scss";
179 </style>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 </el-col> 12 </el-col>
13 <el-col :span="10"> 13 <el-col :span="10">
14 <el-form-item label="坐落"> 14 <el-form-item label="坐落">
15 <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> 15 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 </el-col> 19 </el-col>
20 <el-col :span="6"> 20 <el-col :span="6">
21 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> 22 <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
23 </el-input> 23 </el-input>
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 </el-col> 19 </el-col>
20 <el-col :span="6"> 20 <el-col :span="6">
21 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> 22 <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
23 </el-input> 23 </el-input>
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 </el-col> 19 </el-col>
20 <el-col :span="6"> 20 <el-col :span="6">
21 <el-form-item label="坐落"> 21 <el-form-item label="坐落">
22 <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> 22 <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px">
23 </el-input> 23 </el-input>
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <div class="right-title">常办业务列表</div> 19 <div class="right-title">常办业务列表</div>
20 <ul> 20 <ul>
21 <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in collectList" :key="index" 21 <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in collectList" :key="index"
22 @dblclick="dblclick(collectList, index)" @click="selectSqywClick(collectList, index)"> 22 @dblclick="dblclick(collectList, index, item)" @click="selectSqywClick(collectList, index)">
23 <p v-if="item.nodetype == 'djqx'">{{ item.djywmc }}<br>{{ item.nodename }}</p> 23 <p v-if="item.nodetype == 'djqx'">{{ item.djywmc }}<br>{{ item.nodename }}</p>
24 <dt v-else>{{ item.djywmc }}</dt> 24 <dt v-else>{{ item.djywmc }}</dt>
25 <p class="active" @click.stop="handleCollection(item)"> 25 <p class="active" @click.stop="handleCollection(item)">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
37 <div class="right-type el-card box-card is-always-shadow"> 37 <div class="right-type el-card box-card is-always-shadow">
38 <div class="right-title">登记类型</div> 38 <div class="right-title">登记类型</div>
39 <ul class="type-content"> 39 <ul class="type-content">
40 <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index)" 40 <li :class="item.selected ? 'cactive' : ''" @dblclick="item.sffqlc == 1 && dblclick(djlxList, index, item)"
41 @click="selectSqywClick(djlxList, index)" v-for="(item, index) in djlxList" :key="index"> 41 @click="selectSqywClick(djlxList, index)" v-for="(item, index) in djlxList" :key="index">
42 <p> 42 <p>
43 {{ item.nodename }} 43 {{ item.nodename }}
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <div class="right-title">登记情形</div> 53 <div class="right-title">登记情形</div>
54 <ul> 54 <ul>
55 <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" 55 <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index"
56 @dblclick="dblclick(djqxList, index)" @click="selectSqywClick(djqxList, index)"> 56 @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)">
57 <dt>{{ item.nodename }}</dt> 57 <dt>{{ item.nodename }}</dt>
58 <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> 58 <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)">
59 <i class="el-icon-star-off"></i> 59 <i class="el-icon-star-off"></i>
...@@ -69,206 +69,207 @@ ...@@ -69,206 +69,207 @@
69 </div> 69 </div>
70 </template> 70 </template>
71 <script> 71 <script>
72 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" 72 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
73 export default { 73 export default {
74 data () { 74 data () {
75 return { 75 return {
76 //申请业务类型集合 76 //申请业务类型集合
77 sqywlxList: [ 77 sqywlxList: [
78 { name: "常办业务", type: "collect" }, 78 { name: "常办业务", type: "collect" },
79 { name: "一并申请", type: "together" }, 79 { name: "一并申请", type: "together" },
80 { name: "登记簿补录", type: "amend" } 80 { name: "登记簿补录", type: "amend" }
81 ], 81 ],
82 //类型默认选择常办业务 82 //类型默认选择常办业务
83 selectType: "collect", 83 selectType: "collect",
84 //堆叠框选中第一个 84 //堆叠框选中第一个
85 activeNames: ['1'], 85 activeNames: ['1'],
86 //收藏业务集合 86 //收藏业务集合
87 collectList: [], 87 collectList: [],
88 //申请权利类型集合 88 //申请权利类型集合
89 sqywQllxList: [], 89 sqywQllxList: [],
90 //登记类型集合 90 //登记类型集合
91 djlxList: [], 91 djlxList: [],
92 //申请权利类型集合 92 //申请权利类型集合
93 djqxList: [], 93 djqxList: [],
94 //选中业务的参数 94 //选中业务的参数
95 selectParam: {}, 95 selectParam: {},
96 //选择按钮显示或隐藏 96 //选择按钮显示或隐藏
97 btnDisabled: true, 97 btnDisabled: true,
98 }
99 },
100 created () {
101 this.getDataList();
102 },
103 methods: {
104 getDataList () {
105 //获取收藏信息集合
106 getCollectBiz().then(res => {
107 this.collectList = res.result;
108 this.collectList.forEach(item => {
109 this.$set(item, 'selected', false);
110 });
111 });
112 //获取申请权利信息集合
113 getleftMenu().then(res => {
114 this.sqywQllxList = res.result;
115 })
116 },
117 //申请业务类型菜单事件
118 sqywlxClick (item) {
119 this.btnDisabled = true;
120 this.selectType = item.type;
121 this.sqywQllxList.forEach(item => {
122 if (item.check) item.check = false;
123 })
124 },
125 //权利类型菜单事件
126 qllxClick (index) {
127 this.btnDisabled = true;
128 this.sqywQllxList.forEach(item => {
129 if (item.check) item.check = false;
130 })
131 this.sqywQllxList[index].check = true;
132 this.selectType = "apply";
133 this.djlxList = [];
134 this.djqxList = [];
135 this.getNextNode(this.sqywQllxList[index].bsmSqyw);
136 },
137 //选择申请业务事件
138 selectSqywClick (data, index) {
139 data.forEach(item => {
140 item.selected = false;
141 });
142 data[index].selected = true;
143 if (data[index].sffqlc == "1") {
144 this.selectParam = data[index];
145 this.btnDisabled = false;
146 } else {
147 this.btnDisabled = true;
148 this.getNextNode(data[index].bsmSqyw);
149 } 98 }
150 }, 99 },
151 //获取下个节点类型数据 100 created () {
152 getNextNode (bsmSqyw) { 101 this.getDataList();
153 getNextNode(bsmSqyw).then(res => { 102 },
154 if (res.result.djqx) { 103 methods: {
155 this.djqxList = res.result.djqx; 104 getDataList () {
156 this.djqxList.forEach(item => { 105 //获取收藏信息集合
157 this.$set(item, 'selected', false); 106 getCollectBiz().then(res => {
158 }); 107 this.collectList = res.result;
159 } 108 this.collectList.forEach(item => {
160 if (res.result.djlx) {
161 this.djlxList = res.result.djlx;
162 this.djlxList.forEach(item => {
163 this.$set(item, 'selected', false); 109 this.$set(item, 'selected', false);
164 }); 110 });
111 });
112 //获取申请权利信息集合
113 getleftMenu().then(res => {
114 this.sqywQllxList = res.result;
115 })
116 },
117 //申请业务类型菜单事件
118 sqywlxClick (item) {
119 this.btnDisabled = true;
120 this.selectType = item.type;
121 this.sqywQllxList.forEach(item => {
122 if (item.check) item.check = false;
123 })
124 },
125 //权利类型菜单事件
126 qllxClick (index) {
127 this.btnDisabled = true;
128 this.sqywQllxList.forEach(item => {
129 if (item.check) item.check = false;
130 })
131 this.sqywQllxList[index].check = true;
132 this.selectType = "apply";
133 this.djlxList = [];
134 this.djqxList = [];
135 this.getNextNode(this.sqywQllxList[index].bsmSqyw);
136 },
137 //选择申请业务事件
138 selectSqywClick (data, index) {
139 data.forEach(item => {
140 item.selected = false;
141 });
142 data[index].selected = true;
143 if (data[index].sffqlc == "1") {
144 this.selectParam = data[index];
145 this.btnDisabled = false;
146 } else {
147 this.btnDisabled = true;
148 this.getNextNode(data[index].bsmSqyw);
165 } 149 }
166 }) 150 },
167 }, 151 //获取下个节点类型数据
168 //双击事件 152 getNextNode (bsmSqyw) {
169 dblclick (data, index) { 153 getNextNode(bsmSqyw).then(res => {
170 this.selectSqywClick(data, index); 154 if (res.result.djqx) {
171 this.dialogClick(); 155 this.djqxList = res.result.djqx;
172 }, 156 this.djqxList.forEach(item => {
173 //打开弹框内容 157 this.$set(item, 'selected', false);
174 dialogClick () { 158 });
175 this.openDialog(); 159 }
176 }, 160 if (res.result.djlx) {
177 //收藏操作 161 this.djlxList = res.result.djlx;
178 handleCollection (item) { 162 this.djlxList.forEach(item => {
179 let that = this 163 this.$set(item, 'selected', false);
180 if (item.userCollect == '2') { 164 });
181 addCollectBiz(item.bsmSqyw).then(res => {
182 if (res.code == 200) {
183 item.userCollect = '1'
184 that.$message({
185 message: '收藏成功!',
186 type: 'success'
187 })
188 that.getDataList()
189 } 165 }
190 }) 166 })
191 } else { 167 },
192 this.$confirm('此操作将取消收藏, 是否继续?', '提示', { 168 //双击事件
193 confirmButtonText: '确定', 169 dblclick (data, index, item) {
194 cancelButtonText: '取消', 170 localStorage.setItem('ywbl', JSON.stringify(item));
195 type: 'warning' 171 this.selectSqywClick(data, index);
196 }).then(() => { 172 this.dialogClick();
197 deleteCollectBiz(item.bsmSqyw).then(res => { 173 },
174 //打开弹框内容
175 dialogClick () {
176 this.openDialog();
177 },
178 //收藏操作
179 handleCollection (item) {
180 let that = this
181 if (item.userCollect == '2') {
182 addCollectBiz(item.bsmSqyw).then(res => {
198 if (res.code == 200) { 183 if (res.code == 200) {
199 item.userCollect = '2' 184 item.userCollect = '1'
200 that.$message({ 185 that.$message({
201 message: '取消收藏成功!', 186 message: '收藏成功!',
202 type: 'success' 187 type: 'success'
203 }) 188 })
204 that.getDataList() 189 that.getDataList()
205 } 190 }
206 }) 191 })
192 } else {
193 this.$confirm('此操作将取消收藏, 是否继续?', '提示', {
194 confirmButtonText: '确定',
195 cancelButtonText: '取消',
196 type: 'warning'
197 }).then(() => {
198 deleteCollectBiz(item.bsmSqyw).then(res => {
199 if (res.code == 200) {
200 item.userCollect = '2'
201 that.$message({
202 message: '取消收藏成功!',
203 type: 'success'
204 })
205 that.getDataList()
206 }
207 })
208 })
209 }
210 },
211 handleSelect (item) {
212 this.busList.forEach(item => {
213 item.cselect = false
214 })
215 item.cselect = !item.cselect
216 },
217 // 登记类型
218 handleDjlxSelect (item) {
219 this.djlxList.forEach(item => {
220 item.cselect = false
207 }) 221 })
208 }
209 },
210 handleSelect (item) {
211 this.busList.forEach(item => {
212 item.cselect = false
213 })
214 item.cselect = !item.cselect
215 },
216 // 登记类型
217 handleDjlxSelect (item) {
218 this.djlxList.forEach(item => {
219 item.cselect = false
220 })
221 this.btnDisabled = true
222 item.cselect = true;
223 this.djqxObj = item;
224 if (item.sffqlc == '1') {
225 this.btnDisabled = false
226 this.bsmSqyw = item.bsmSqyw
227 this.djywbm = item.djywbm;
228 } else {
229 this.getNextNode(item.bsmSqyw, false)
230 }
231 this.djqxList = []
232 },
233 handleDjqxItem (item) {
234 this.djlxList.forEach(item => {
235 item.cselect = false
236 })
237 if (item.sffqlc == 1) {
238 this.djywbm = item.djywbm
239 this.bsmSqyw = item.bsmSqyw
240 item.cselect = true
241 this.openDialog()
242 this.btnDisabled = true 222 this.btnDisabled = true
223 item.cselect = true;
224 this.djqxObj = item;
225 if (item.sffqlc == '1') {
226 this.btnDisabled = false
227 this.bsmSqyw = item.bsmSqyw
228 this.djywbm = item.djywbm;
229 } else {
230 this.getNextNode(item.bsmSqyw, false)
231 }
232 this.djqxList = []
233 },
234 handleDjqxItem (item) {
235 this.djlxList.forEach(item => {
236 item.cselect = false
237 })
238 if (item.sffqlc == 1) {
239 this.djywbm = item.djywbm
240 this.bsmSqyw = item.bsmSqyw
241 item.cselect = true
242 this.openDialog()
243 this.btnDisabled = true
244 }
245 },
246 handleSelectItem (item, list) {
247 this.handleSelectYw(item, list)
248 this.openDialog()
249 },
250 // 选择不动产信息
251 bthSelectClick () {
252 this.openDialog()
253 },
254 openDialog () {
255 let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
256 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%")
257 },
258 loadView (view) {
259 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
243 } 260 }
244 },
245 handleSelectItem (item, list) {
246 this.handleSelectYw(item, list)
247 this.openDialog()
248 },
249 // 选择不动产信息
250 bthSelectClick () {
251 this.openDialog()
252 },
253 openDialog () {
254 let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
255 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%")
256 },
257 loadView (view) {
258 return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
259 } 261 }
260 } 262 }
261 }
262 </script> 263 </script>
263 <style scoped lang='scss'> 264 <style scoped lang='scss'>
264 @import "~@/styles/mixin.scss"; 265 @import "~@/styles/mixin.scss";
265 @import './ywsq.scss'; 266 @import "./ywsq.scss";
266 267
267 /deep/.el-collapse-item__content { 268 /deep/.el-collapse-item__content {
268 padding-bottom: 0; 269 padding-bottom: 0;
269 } 270 }
270 271
271 /deep/.el-collapse-item__wrap { 272 /deep/.el-collapse-item__wrap {
272 border-bottom: none; 273 border-bottom: none;
273 } 274 }
274 </style> 275 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:36:52
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:36:58
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:01
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
...@@ -13,11 +18,11 @@ class data extends filter { ...@@ -13,11 +18,11 @@ class data extends filter {
13 { 18 {
14 type: 'selection', 19 type: 'selection',
15 label: '全选', 20 label: '全选',
16 width: '30', 21 width: '50',
17 selectable: this.selected 22 selectable: this.selected
18 }, 23 },
19 { 24 {
20 label: '序号1', 25 label: '序号',
21 type: 'index', 26 type: 'index',
22 width: '50', 27 width: '50',
23 render: (h, scope) => { 28 render: (h, scope) => {
...@@ -68,6 +73,7 @@ class data extends filter { ...@@ -68,6 +73,7 @@ class data extends filter {
68 { 73 {
69 prop: "jzwmc", 74 prop: "jzwmc",
70 label: "建筑物名称", 75 label: "建筑物名称",
76 minWidth: '80'
71 }, 77 },
72 { 78 {
73 label: "土地/房屋性质", 79 label: "土地/房屋性质",
...@@ -130,11 +136,11 @@ class data extends filter { ...@@ -130,11 +136,11 @@ class data extends filter {
130 { 136 {
131 type: 'selection', 137 type: 'selection',
132 label: '全选', 138 label: '全选',
133 width: '30', 139 width: '50',
134 selectable: this.selected 140 selectable: this.selected
135 }, 141 },
136 { 142 {
137 label: '序号2', 143 label: '序号',
138 type: 'index', 144 type: 'index',
139 width: '50', 145 width: '50',
140 render: (h, scope) => { 146 render: (h, scope) => {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:05
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:08
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:14
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:18
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
...@@ -62,19 +67,19 @@ class data extends filter { ...@@ -62,19 +67,19 @@ class data extends filter {
62 label: "不动产单元号", 67 label: "不动产单元号",
63 }, 68 },
64 { 69 {
65 prop: "fwxz", 70 prop: "fwxzmc",
66 label: "房屋性质", 71 label: "房屋性质",
67 }, 72 },
68 { 73 {
69 prop: "fwjgmc", 74 prop: "showfwjg",
70 label: "房屋结构", 75 label: "房屋结构",
71 }, 76 },
72 { 77 {
73 prop: "mj", 78 prop: "jzmj",
74 label: "面积", 79 label: "面积",
75 }, 80 },
76 { 81 {
77 prop: "showTdyt", 82 prop: "showFwyt",
78 label: "用途", 83 label: "用途",
79 }, 84 },
80 { 85 {
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:22
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:24
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
4 const sendThis = (_this) => { 9 const sendThis = (_this) => {
5 vm = _this 10 vm = _this
6 } 11 }
12 // const sendThiss= (_this) => {
13 // vm1 = _this
14 // }
7 class data extends filter { 15 class data extends filter {
8 constructor() { 16 constructor() {
9 super() 17 super()
...@@ -11,11 +19,6 @@ class data extends filter { ...@@ -11,11 +19,6 @@ class data extends filter {
11 columns () { 19 columns () {
12 return [ 20 return [
13 { 21 {
14 type: 'selection',
15 label: '全选',
16 selectable: this.selected
17 },
18 {
19 label: '序号', 22 label: '序号',
20 type: 'index', 23 type: 'index',
21 width: '50', 24 width: '50',
...@@ -105,10 +108,89 @@ class data extends filter { ...@@ -105,10 +108,89 @@ class data extends filter {
105 ] 108 ]
106 } 109 }
107 110
111 }
112 class datatwo extends filter {
113 constructor() {
114 super()
115 }
116
117 columns1 () {
118 return [
119 {
120 label: '序号',
121 type: 'index',
122 width: '50',
123 render: (h, scope) => {
124 return (
125 <div>
126 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
127 </div>
128 )
129 }
130 },
131 {
132 label: "状态",
133 render: (h, scope) => {
134 return (
135 <div>
136 {/* <a v-on:click="doSomething"></a> */}
137 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
138 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
139 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
140 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
141 <span v-show={scope.row.cfzt == 1}>,已查封</span>
142 <span v-show={scope.row.diyizt == 1}>,已地役</span>
143 <span v-show={scope.row.yyzt == 1}>,异议中</span>
144 <span v-show={scope.row.xzzt == 1}>,已限制</span>
145 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
146 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
147 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
148 </div>
149 )
150 }
151 },
152 {
153 prop: "qllxmc",
154 label: "权利类型",
155 },
156 {
157 prop: "zddm",
158 label: "宗地代码",
159 },
160 {
161 prop: "bdcdyh",
162 label: "不动产单元号",
163 minWidth: '110'
164 },
165 {
166 prop: "qlxzmc",
167 label: "权利性质",
168 },
169 {
170 prop: "mj",
171 label: "宗地面积(㎡)",
172 },
173 {
174 prop: "qlsdfsmc",
175 label: "权利设定方式",
176 },
177 {
178 prop: "ytmc",
179 label: "土地用途",
180 },
181 {
182 prop: "zl",
183 label: "坐落",
184 minWidth: '110'
185 },
186 ]
187 }
108 188
109 } 189 }
110 let datas = new data() 190 let datas = new data()
191 let datastwo = new datatwo ()
111 export { 192 export {
112 datas, 193 datas,
194 datastwo ,
113 sendThis 195 sendThis
114 } 196 }
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:39
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:47
5 */
1 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
2 let vm = null 7 let vm = null
3 8
......
1 export function queueDjywmc(djywbm) { 1 export function queueDjywmc(djywbm, djqxbm) {
2 console.log(djqxbm);
3 if (djqxbm == "A0320099" || djqxbm == "A0330099") {
4 return "selectJsydsyqSplitMerge";
5 }
2 let vm = null; 6 let vm = null;
3 switch (djywbm) { 7 switch (djywbm) {
4 case "A03100"://建设用地使用权(首次登记) 8 case "A03100"://建设用地使用权(首次登记)
...@@ -26,7 +30,7 @@ export function queueDjywmc(djywbm) { ...@@ -26,7 +30,7 @@ export function queueDjywmc(djywbm) {
26 case "A04200": 30 case "A04200":
27 case "A04300": 31 case "A04300":
28 case "A04400": 32 case "A04400":
29 vm="selectFwsyq"; 33 vm = "selectFwsyq";
30 break; 34 break;
31 case "A23100"://农用地使用权(首次登记) 35 case "A23100"://农用地使用权(首次登记)
32 case "A09100"://土地经营权(首次登记) 36 case "A09100"://土地经营权(首次登记)
...@@ -50,19 +54,19 @@ export function queueDjywmc(djywbm) { ...@@ -50,19 +54,19 @@ export function queueDjywmc(djywbm) {
50 vm = "cfdj"; 54 vm = "cfdj";
51 break; 55 break;
52 case "B40100"://预告首次 56 case "B40100"://预告首次
53 vm ="selectYgdj100"; 57 vm = "selectYgdj100";
54 break; 58 break;
55 case "B40200"://预告转移 59 case "B40200"://预告转移
56 case "B40300"://预告变更 60 case "B40300"://预告变更
57 case "B40400"://预告注销 61 case "B40400"://预告注销
58 case "B41100": //预告抵押首次 62 case "B41100": //预告抵押首次
59 vm ="selectYgdj200"; 63 vm = "selectYgdj200";
60 break; 64 break;
61 case "B41200": //预告抵押转移 65 case "B41200": //预告抵押转移
62 case "B41300": //预告抵押变更 66 case "B41300": //预告抵押变更
63 case "B41400": //预告抵押注销 67 case "B41400": //预告抵押注销
64 vm ="selectYgdy"; 68 vm = "selectYgdy";
65 break; 69 break;
66 default: 70 default:
67 vm = "selecBdcql"; 71 vm = "selecBdcql";
68 break; 72 break;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description: 选择不动产单元号
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-17 16:06:24 4 * @LastEditTime: 2023-05-18 10:59:48[文件:bdcdj-index.html]
5 --> 5 -->
6 <template> 6 <template>
7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false" 7 <component :is="router" :sqywInfo="formData.sqywInfo" :isJump="formData.isJump ? formData.isJump : false"
8 @updateDialog="updateDialog" /> 8 @updateDialog="updateDialog" />
9 </template> 9 </template>
10 <script> 10 <script>
11 import { queueDjywmc } from "./slectBdcdata.js"; 11 import { queueDjywmc } from "./javascript/slectBdcdata.js";
12 export default { 12 export default {
13 props: { 13 props: {
14 formData: { 14 formData: {
15 type: Object, 15 type: Object,
16 default: () => { } 16 default: () => { }
17 } 17 }
18 },
19 data () {
20 return {
21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 }, 18 },
40 updateDialog () { 19 data () {
41 this.$popupCacel() 20 return {
42 this.$emit("updateDialog", true); 21 title: "",
22 router: ""
23 }
24 },
25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm,this.formData?.sqywInfo?.nodecode || this.formData?.nodecode);
28 this.router = this.loadView(view);
29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm);
31 this.router = this.loadView(view);
32 }
33 },
34 methods: {
35 loadView (view) {
36 console.log(view, 'view');
37 return (r) =>
38 require.ensure([], () => r(require(`./components/${view}.vue`)));
39 },
40 updateDialog () {
41 this.$popupCacel()
42 this.$emit("updateDialog", true)
43 }
43 } 44 }
44 } 45 }
45 }
46 </script> 46 </script>
47 <style scoped lang="scss"> 47 <style scoped lang="scss">
48 @import "~@/styles/mixin.scss"; 48 @import "~@/styles/mixin.scss";
49 @import "~@/styles/public.scss"; 49 @import "~@/styles/public.scss";
50 50
51 /deep/.submit_button { 51 /deep/.submit_button {
52 text-align: center; 52 text-align: center;
53 padding: 10px; 53 padding: 10px;
54 margin: 10px; 54 margin: 10px;
55 } 55 }
56 </style> 56 </style>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
63 </el-col> 63 </el-col>
64 <el-col :span="5"> 64 <el-col :span="5">
65 <el-form-item label="坐落"> 65 <el-form-item label="坐落">
66 <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100"> 66 <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100">
67 </el-input> 67 </el-input>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
...@@ -80,82 +80,82 @@ ...@@ -80,82 +80,82 @@
80 </div> 80 </div>
81 </template> 81 </template>
82 <script> 82 <script>
83 import { mapGetters } from 'vuex' 83 import { mapGetters } from 'vuex'
84 import table from "@/utils/mixin/table"; 84 import table from "@/utils/mixin/table";
85 import { datas, sendThis } from "./jdcxdata"; 85 import { datas, sendThis } from "./jdcxdata";
86 import { getJdcxBysearch } from "@/api/zhcx.js" 86 import { getJdcxBysearch } from "@/api/zhcx.js"
87 export default { 87 export default {
88 name: "jdcx", 88 name: "jdcx",
89 components: {}, 89 components: {},
90 mixins: [table], 90 mixins: [table],
91 mounted () { 91 mounted () {
92 sendThis(this); 92 sendThis(this);
93 }, 93 },
94 computed: { 94 computed: {
95 ...mapGetters(['dictData']) 95 ...mapGetters(['dictData'])
96 },
97 data () {
98 return {
99 queryForm: {
100 ywly: "",
101 qllx: "",
102 djlx: "",
103 ywh: "",
104 },
105 // pageData: {
106 // currentPage: 1,
107 // pageSize: 10,
108 // total: 0,
109 // },
110 tableData: {
111 total: 0,
112 columns: datas.columns(),
113 data: []
114 }
115 }
116 },
117 methods: {
118 // 初始化数据
119 queryClick () {
120 this.$startLoading()
121 getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
122 this.$endLoading()
123 if (res.code === 200) {
124 let { total, records } = res.result
125 // let str = ''
126 // records.forEach(item => {
127 // if (item.userNameList.length != 0) {
128 // str = String(item.userNameList)
129 // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')'
130 // }
131 // if (item.qlrmc.length != 0) {
132 // item.qlrmcStr = String(item.qlrmc)
133 // }
134 // if (item.ywrmc.length != 0) {
135 // item.ywrmcStr = String(item.ywrmc)
136 // }
137 // if (item.zlList.length != 0) {
138 // item.zlStr = String(item.zlList)
139 // }
140 // })
141 // this.pageData.total = total;
142 // this.tableData.data = records
143 this.tableData.total = total ? total : 0;
144 this.tableData.data = records ? records : [];
145 }
146 })
147 }, 96 },
148 handleSort (name, sort) { 97 data () {
149 console.log(name, sort); 98 return {
99 queryForm: {
100 ywly: "",
101 qllx: "",
102 djlx: "",
103 ywh: "",
104 },
105 // pageData: {
106 // currentPage: 1,
107 // pageSize: 10,
108 // total: 0,
109 // },
110 tableData: {
111 total: 0,
112 columns: datas.columns(),
113 data: []
114 }
115 }
150 }, 116 },
151 openDialog (item) { 117 methods: {
152 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') 118 // 初始化数据
153 // window.open(href, '_blank'); 119 queryClick () {
154 window.open(href, `urlname${item.bsmSlsq}`); 120 this.$startLoading()
121 getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
122 this.$endLoading()
123 if (res.code === 200) {
124 let { total, records } = res.result
125 // let str = ''
126 // records.forEach(item => {
127 // if (item.userNameList.length != 0) {
128 // str = String(item.userNameList)
129 // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')'
130 // }
131 // if (item.qlrmc.length != 0) {
132 // item.qlrmcStr = String(item.qlrmc)
133 // }
134 // if (item.ywrmc.length != 0) {
135 // item.ywrmcStr = String(item.ywrmc)
136 // }
137 // if (item.zlList.length != 0) {
138 // item.zlStr = String(item.zlList)
139 // }
140 // })
141 // this.pageData.total = total;
142 // this.tableData.data = records
143 this.tableData.total = total ? total : 0;
144 this.tableData.data = records ? records : [];
145 }
146 })
147 },
148 handleSort (name, sort) {
149 console.log(name, sort);
150 },
151 openDialog (item) {
152 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
153 // window.open(href, '_blank');
154 window.open(href, `urlname${item.bsmSlsq}`);
155 }
155 } 156 }
156 } 157 }
157 }
158 </script> 158 </script>
159 <style scoped lang="scss"> 159 <style scoped lang="scss">
160 @import "~@/styles/public.scss"; 160 @import "~@/styles/public.scss";
161 </style> 161 </style>
......
...@@ -8,7 +8,7 @@ class data extends filter { ...@@ -8,7 +8,7 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 columns () { 11 columns() {
12 return [ 12 return [
13 { 13 {
14 label: '序号', 14 label: '序号',
...@@ -38,6 +38,21 @@ class data extends filter { ...@@ -38,6 +38,21 @@ class data extends filter {
38 } 38 }
39 }, 39 },
40 { 40 {
41 prop: "lzrxm",
42 label: "领取人",
43 width: '100'
44 },
45 {
46 prop: "fzsj",
47 label: "领取时间",
48 width: '140'
49 },
50 {
51 prop: "ywh",
52 label: "业务号",
53 width: '100'
54 },
55 {
41 label: "证书内容", 56 label: "证书内容",
42 width: '80', 57 width: '80',
43 render: (h, scope) => { 58 render: (h, scope) => {
...@@ -49,6 +64,11 @@ class data extends filter { ...@@ -49,6 +64,11 @@ class data extends filter {
49 } 64 }
50 }, 65 },
51 { 66 {
67 prop: "ysxlh",
68 label: "印刷序列号",
69 width: '100'
70 },
71 {
52 label: "权利类型", 72 label: "权利类型",
53 prop: "qllx", 73 prop: "qllx",
54 }, 74 },
...@@ -58,22 +78,14 @@ class data extends filter { ...@@ -58,22 +78,14 @@ class data extends filter {
58 minWidth: '110' 78 minWidth: '110'
59 }, 79 },
60 { 80 {
61 prop: "ysxlh", 81 prop: "qlr",
62 label: "印刷序列号", 82 label: "权利人",
63 },
64 {
65 prop: "lzrxm",
66 label: "领取人",
67 },
68 {
69 prop: "fzsj",
70 label: "领取时间",
71 width: '140'
72 }, 83 },
73 { 84 {
74 prop: "ywh", 85 prop: "ywr",
75 label: "业务号" 86 label: "义务人",
76 }, 87 },
88
77 { 89 {
78 prop: "bdcdyh", 90 prop: "bdcdyh",
79 label: "不动产单元号", 91 label: "不动产单元号",
......
...@@ -6,7 +6,6 @@ function resolve (dir) { ...@@ -6,7 +6,6 @@ function resolve (dir) {
6 return path.join(__dirname, dir) 6 return path.join(__dirname, dir)
7 } 7 }
8 8
9 const name = defaultSettings.title
10 const port = process.env.port || process.env.npm_config_port || 8888 // dev port 9 const port = process.env.port || process.env.npm_config_port || 8888 // dev port
11 10
12 // All configuration item explanations can be find in https://cli.vuejs.org/config/ 11 // All configuration item explanations can be find in https://cli.vuejs.org/config/
...@@ -49,7 +48,7 @@ module.exports = { ...@@ -49,7 +48,7 @@ module.exports = {
49 } 48 }
50 }, 49 },
51 css: { 50 css: {
52 extract: false, // 是否使用css分离插件 ExtractTextPlugin 51 extract: true, // 是否使用css分离插件 ExtractTextPlugin
53 sourceMap: false, // 开启 CSS source maps? 52 sourceMap: false, // 开启 CSS source maps?
54 loaderOptions: { 53 loaderOptions: {
55 sass: { 54 sass: {
...@@ -60,7 +59,10 @@ module.exports = { ...@@ -60,7 +59,10 @@ module.exports = {
60 }, 59 },
61 // configureWebpack通过操作对象的形式,来修改默认的webpack配置 60 // configureWebpack通过操作对象的形式,来修改默认的webpack配置
62 configureWebpack: { 61 configureWebpack: {
63 name: name, 62 optimization: {
63 usedExports: true,
64 minimize: true
65 },
64 entry: { 66 entry: {
65 app: './src/main.js' 67 app: './src/main.js'
66 }, 68 },
...@@ -69,12 +71,11 @@ module.exports = { ...@@ -69,12 +71,11 @@ module.exports = {
69 '@': resolve('src') 71 '@': resolve('src')
70 } 72 }
71 }, 73 },
72 devtool: '#eval-source-map' //测试 74 devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false
73 }, 75 },
74 // chainWebpack通过链式编程的形式,来修改默认的webpack配置 76 // chainWebpack通过链式编程的形式,来修改默认的webpack配置
75 chainWebpack (config) { 77 chainWebpack (config) {
76 // it can improve the speed of the first screen, it is recommended to turn on preload 78 // it can improve the speed of the first screen, it is recommended to turn on preload
77 // it can improve the speed of the first screen, it is recommended to turn on preload
78 config.plugin('preload').tap(() => [ 79 config.plugin('preload').tap(() => [
79 { 80 {
80 rel: 'preload', 81 rel: 'preload',
...@@ -84,7 +85,6 @@ module.exports = { ...@@ -84,7 +85,6 @@ module.exports = {
84 include: 'initial' 85 include: 'initial'
85 } 86 }
86 ]) 87 ])
87
88 // when there are many pages, it will cause too many meaningscss requests 88 // when there are many pages, it will cause too many meaningscss requests
89 config.plugins.delete('prefetch') 89 config.plugins.delete('prefetch')
90 config.module 90 config.module
......