增加注释
Showing
14 changed files
with
249 additions
and
11 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:28 | 4 | * @LastEditTime: 2023-07-19 09:52:28 |
5 | --> | 5 | --> |
... | @@ -96,6 +96,10 @@ | ... | @@ -96,6 +96,10 @@ |
96 | this.loadData(); | 96 | this.loadData(); |
97 | }, | 97 | }, |
98 | methods: { | 98 | methods: { |
99 | /** | ||
100 | * @description: loadData | ||
101 | * @author: renchao | ||
102 | */ | ||
99 | loadData () { | 103 | loadData () { |
100 | if (this.$parent.addRepairRecord) { | 104 | if (this.$parent.addRepairRecord) { |
101 | this.columns.unshift({ prop: "cz", label: "操作" }); | 105 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -120,6 +124,10 @@ | ... | @@ -120,6 +124,10 @@ |
120 | } | 124 | } |
121 | }); | 125 | }); |
122 | }, | 126 | }, |
127 | /** | ||
128 | * @description: checkChange | ||
129 | * @author: renchao | ||
130 | */ | ||
123 | checkChange () { | 131 | checkChange () { |
124 | if (this.checkList.length === 0) { | 132 | if (this.checkList.length === 0) { |
125 | this.tableData = []; | 133 | this.tableData = []; |
... | @@ -128,6 +136,11 @@ | ... | @@ -128,6 +136,11 @@ |
128 | this.loadData(); | 136 | this.loadData(); |
129 | } | 137 | } |
130 | }, | 138 | }, |
139 | /** | ||
140 | * @description: getQsztName | ||
141 | * @param {*} code | ||
142 | * @author: renchao | ||
143 | */ | ||
131 | getQsztName (code) { | 144 | getQsztName (code) { |
132 | let name = ""; | 145 | let name = ""; |
133 | for (let item of this.qsztList) { | 146 | for (let item of this.qsztList) { |
... | @@ -139,6 +152,12 @@ | ... | @@ -139,6 +152,12 @@ |
139 | return name; | 152 | return name; |
140 | }, | 153 | }, |
141 | // 新增一条补录信息 | 154 | // 新增一条补录信息 |
155 | /** | ||
156 | * @description: 新增一条补录信息 | ||
157 | * @param {*} row | ||
158 | * @param {*} del | ||
159 | * @author: renchao | ||
160 | */ | ||
142 | editDialog (row, del) { | 161 | editDialog (row, del) { |
143 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 162 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
144 | confirmButtonText: "确定", | 163 | confirmButtonText: "确定", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:37 | 4 | * @LastEditTime: 2023-07-19 09:52:37 |
5 | --> | 5 | --> |
... | @@ -90,6 +90,10 @@ | ... | @@ -90,6 +90,10 @@ |
90 | this.loadData(); | 90 | this.loadData(); |
91 | }, | 91 | }, |
92 | methods: { | 92 | methods: { |
93 | /** | ||
94 | * @description: loadData | ||
95 | * @author: renchao | ||
96 | */ | ||
93 | loadData () { | 97 | loadData () { |
94 | if (this.$parent.addRepairRecord) { | 98 | if (this.$parent.addRepairRecord) { |
95 | this.columns.unshift({ prop: "cz", label: "操作" }); | 99 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -114,6 +118,10 @@ | ... | @@ -114,6 +118,10 @@ |
114 | } | 118 | } |
115 | }); | 119 | }); |
116 | }, | 120 | }, |
121 | /** | ||
122 | * @description: checkChange | ||
123 | * @author: renchao | ||
124 | */ | ||
117 | checkChange () { | 125 | checkChange () { |
118 | if (this.checkList.length === 0) { | 126 | if (this.checkList.length === 0) { |
119 | this.tableData = []; | 127 | this.tableData = []; |
... | @@ -122,6 +130,11 @@ | ... | @@ -122,6 +130,11 @@ |
122 | this.loadData(); | 130 | this.loadData(); |
123 | } | 131 | } |
124 | }, | 132 | }, |
133 | /** | ||
134 | * @description: getQsztName | ||
135 | * @param {*} code | ||
136 | * @author: renchao | ||
137 | */ | ||
125 | getQsztName (code) { | 138 | getQsztName (code) { |
126 | let name = ""; | 139 | let name = ""; |
127 | for (let item of this.qsztList) { | 140 | for (let item of this.qsztList) { |
... | @@ -133,6 +146,12 @@ | ... | @@ -133,6 +146,12 @@ |
133 | return name; | 146 | return name; |
134 | }, | 147 | }, |
135 | // 新增一条补录信息 | 148 | // 新增一条补录信息 |
149 | /** | ||
150 | * @description: 新增一条补录信息 | ||
151 | * @param {*} row | ||
152 | * @param {*} del | ||
153 | * @author: renchao | ||
154 | */ | ||
136 | editDialog (row, del) { | 155 | editDialog (row, del) { |
137 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 156 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
138 | confirmButtonText: "确定", | 157 | confirmButtonText: "确定", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:46 | 4 | * @LastEditTime: 2023-07-19 09:52:46 |
5 | --> | 5 | --> |
... | @@ -45,6 +45,10 @@ | ... | @@ -45,6 +45,10 @@ |
45 | this.loadData(); | 45 | this.loadData(); |
46 | }, | 46 | }, |
47 | methods: { | 47 | methods: { |
48 | /** | ||
49 | * @description: loadData | ||
50 | * @author: renchao | ||
51 | */ | ||
48 | loadData () { | 52 | loadData () { |
49 | getBdcqljqtsx({ | 53 | getBdcqljqtsx({ |
50 | bdcdyid: this.formData.bdcdyid, | 54 | bdcdyid: this.formData.bdcdyid, |
... | @@ -66,9 +70,21 @@ | ... | @@ -66,9 +70,21 @@ |
66 | bsmQlxx: this.formData.bsmQlxx, | 70 | bsmQlxx: this.formData.bsmQlxx, |
67 | }; | 71 | }; |
68 | }, | 72 | }, |
73 | /** | ||
74 | * @description: handleNodeClick | ||
75 | * @param {*} data | ||
76 | * @param {*} node | ||
77 | * @param {*} elem | ||
78 | * @author: renchao | ||
79 | */ | ||
69 | handleNodeClick (data, node, elem) { | 80 | handleNodeClick (data, node, elem) { |
70 | this.loadComponent(data.form); | 81 | this.loadComponent(data.form); |
71 | }, | 82 | }, |
83 | /** | ||
84 | * @description: loadComponent | ||
85 | * @param {*} form | ||
86 | * @author: renchao | ||
87 | */ | ||
72 | loadComponent (form) { | 88 | loadComponent (form) { |
73 | console.log(form, 'formformformform'); | 89 | console.log(form, 'formformformform'); |
74 | this.componentTag = (r) => | 90 | this.componentTag = (r) => | ... | ... |
... | @@ -39,6 +39,12 @@ var qlxxPage = [ | ... | @@ -39,6 +39,12 @@ var qlxxPage = [ |
39 | ]; | 39 | ]; |
40 | 40 | ||
41 | //组装登记簿树形结构 | 41 | //组装登记簿树形结构 |
42 | /** | ||
43 | * @description: 组装登记簿树形结构 | ||
44 | * @param {*} qlxxData | ||
45 | * @param {*} bdcdyh | ||
46 | * @author: renchao | ||
47 | */ | ||
42 | export function loadTreeData(qlxxData, bdcdyh) { | 48 | export function loadTreeData(qlxxData, bdcdyh) { |
43 | let treedata = []; | 49 | let treedata = []; |
44 | //加载封面 | 50 | //加载封面 |
... | @@ -65,6 +71,13 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -65,6 +71,13 @@ export function loadTreeData(qlxxData, bdcdyh) { |
65 | } | 71 | } |
66 | 72 | ||
67 | //获取权利类型、不动产单元类型对应的树形节点信息 | 73 | //获取权利类型、不动产单元类型对应的树形节点信息 |
74 | /** | ||
75 | * @description: 不动产单元类型对应的树形节点信息 | ||
76 | * @param {*} qllx | ||
77 | * @param {*} qlxx | ||
78 | * @param {*} bdcdylx | ||
79 | * @author: renchao | ||
80 | */ | ||
68 | export function getNode(qllx, qlxx, bdcdylx) { | 81 | export function getNode(qllx, qlxx, bdcdylx) { |
69 | let node; | 82 | let node; |
70 | for (var i = 0; i < qlxxPage.length; i++) { | 83 | for (var i = 0; i < qlxxPage.length; i++) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:59 | 4 | * @LastEditTime: 2023-07-19 09:52:59 |
5 | --> | 5 | --> |
... | @@ -53,12 +53,21 @@ | ... | @@ -53,12 +53,21 @@ |
53 | }, | 53 | }, |
54 | methods: { | 54 | methods: { |
55 | // 截取字符的方法 | 55 | // 截取字符的方法 |
56 | /** | ||
57 | * @description: 截取字符的方法 | ||
58 | * @param {*} obj | ||
59 | * @author: renchao | ||
60 | */ | ||
56 | getCaption (obj) { | 61 | getCaption (obj) { |
57 | let index = obj.lastIndexOf("="); | 62 | let index = obj.lastIndexOf("="); |
58 | obj = obj.substring(index + 1, obj.length); | 63 | obj = obj.substring(index + 1, obj.length); |
59 | return obj | 64 | return obj |
60 | }, | 65 | }, |
61 | // 通过不动产业务号获取参数 | 66 | // 通过不动产业务号获取参数 |
67 | /** | ||
68 | * @description: 通过不动产业务号获取参数 | ||
69 | * @author: renchao | ||
70 | */ | ||
62 | getdata () { | 71 | getdata () { |
63 | this.queryForm = { | 72 | this.queryForm = { |
64 | bdcdyh: this.getCaption(window.location.href), | 73 | bdcdyh: this.getCaption(window.location.href), |
... | @@ -84,6 +93,12 @@ | ... | @@ -84,6 +93,12 @@ |
84 | }, | 93 | }, |
85 | 94 | ||
86 | // 获取不动产信息 | 95 | // 获取不动产信息 |
96 | /** | ||
97 | * @description: 获取不动产信息 | ||
98 | * @param {*} a | ||
99 | * @param {*} b | ||
100 | * @author: renchao | ||
101 | */ | ||
87 | loadBdcdylist (a, b) { | 102 | loadBdcdylist (a, b) { |
88 | var formdata = new FormData(); | 103 | var formdata = new FormData(); |
89 | formdata.append("bsmSlsq", a); | 104 | formdata.append("bsmSlsq", a); |
... | @@ -97,6 +112,10 @@ | ... | @@ -97,6 +112,10 @@ |
97 | } | 112 | } |
98 | }); | 113 | }); |
99 | }, | 114 | }, |
115 | /** | ||
116 | * @description: loadData | ||
117 | * @author: renchao | ||
118 | */ | ||
100 | loadData () { | 119 | loadData () { |
101 | getBdcqljqtsx({ | 120 | getBdcqljqtsx({ |
102 | bdcdyid: this.currentSelectProps.bdcdyid, | 121 | bdcdyid: this.currentSelectProps.bdcdyid, |
... | @@ -121,9 +140,21 @@ | ... | @@ -121,9 +140,21 @@ |
121 | /* | 140 | /* |
122 | 点击登记簿菜单 | 141 | 点击登记簿菜单 |
123 | */ | 142 | */ |
143 | /** | ||
144 | * @description: 点击登记簿菜单 | ||
145 | * @param {*} data | ||
146 | * @param {*} node | ||
147 | * @param {*} elem | ||
148 | * @author: renchao | ||
149 | */ | ||
124 | handleNodeClick (data, node, elem) { | 150 | handleNodeClick (data, node, elem) { |
125 | this.loadComponent(data.form); | 151 | this.loadComponent(data.form); |
126 | }, | 152 | }, |
153 | /** | ||
154 | * @description: loadComponent | ||
155 | * @param {*} form | ||
156 | * @author: renchao | ||
157 | */ | ||
127 | loadComponent (form) { | 158 | loadComponent (form) { |
128 | this.componentTag = (r) => | 159 | this.componentTag = (r) => |
129 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 160 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:42 | 4 | * @LastEditTime: 2023-07-19 09:52:42 |
5 | --> | 5 | --> |
... | @@ -52,6 +52,10 @@ | ... | @@ -52,6 +52,10 @@ |
52 | this.loadData(); | 52 | this.loadData(); |
53 | }, | 53 | }, |
54 | methods: { | 54 | methods: { |
55 | /** | ||
56 | * @description: loadData | ||
57 | * @author: renchao | ||
58 | */ | ||
55 | loadData () { | 59 | loadData () { |
56 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 60 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
57 | if (res.code === 200) { | 61 | if (res.code === 200) { | ... | ... |
... | @@ -80,6 +80,10 @@ | ... | @@ -80,6 +80,10 @@ |
80 | this.loadData(); | 80 | this.loadData(); |
81 | }, | 81 | }, |
82 | methods: { | 82 | methods: { |
83 | /** | ||
84 | * @description: loadData | ||
85 | * @author: renchao | ||
86 | */ | ||
83 | loadData () { | 87 | loadData () { |
84 | if (this.$parent.addRepairRecord) { | 88 | if (this.$parent.addRepairRecord) { |
85 | this.columns.unshift({ | 89 | this.columns.unshift({ |
... | @@ -106,6 +110,10 @@ | ... | @@ -106,6 +110,10 @@ |
106 | } | 110 | } |
107 | }); | 111 | }); |
108 | }, | 112 | }, |
113 | /** | ||
114 | * @description: checkChange | ||
115 | * @author: renchao | ||
116 | */ | ||
109 | checkChange () { | 117 | checkChange () { |
110 | if (this.checkList.length === 0) { | 118 | if (this.checkList.length === 0) { |
111 | this.tableData = []; | 119 | this.tableData = []; |
... | @@ -114,6 +122,11 @@ | ... | @@ -114,6 +122,11 @@ |
114 | this.loadData(); | 122 | this.loadData(); |
115 | } | 123 | } |
116 | }, | 124 | }, |
125 | /** | ||
126 | * @description: getQsztName | ||
127 | * @param {*} code | ||
128 | * @author: renchao | ||
129 | */ | ||
117 | getQsztName (code) { | 130 | getQsztName (code) { |
118 | let name = ""; | 131 | let name = ""; |
119 | for (let item of this.qsztList) { | 132 | for (let item of this.qsztList) { |
... | @@ -125,6 +138,12 @@ | ... | @@ -125,6 +138,12 @@ |
125 | return name; | 138 | return name; |
126 | }, | 139 | }, |
127 | // 新增一条补录信息 | 140 | // 新增一条补录信息 |
141 | /** | ||
142 | * @description: 新增一条补录信息 | ||
143 | * @param {*} row | ||
144 | * @param {*} del | ||
145 | * @author: renchao | ||
146 | */ | ||
128 | editDialog (row, del) { | 147 | editDialog (row, del) { |
129 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 148 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
130 | confirmButtonText: '确定', | 149 | confirmButtonText: '确定', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:08 | 4 | * @LastEditTime: 2023-07-19 15:01:08 |
5 | --> | 5 | --> |
... | @@ -96,6 +96,10 @@ | ... | @@ -96,6 +96,10 @@ |
96 | this.loadData(); | 96 | this.loadData(); |
97 | }, | 97 | }, |
98 | methods: { | 98 | methods: { |
99 | /** | ||
100 | * @description: loadData | ||
101 | * @author: renchao | ||
102 | */ | ||
99 | loadData () { | 103 | loadData () { |
100 | if (this.$parent.addRepairRecord) { | 104 | if (this.$parent.addRepairRecord) { |
101 | this.columns.unshift({ prop: "cz", label: "操作" }); | 105 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -119,6 +123,10 @@ | ... | @@ -119,6 +123,10 @@ |
119 | } | 123 | } |
120 | }); | 124 | }); |
121 | }, | 125 | }, |
126 | /** | ||
127 | * @description: checkChange | ||
128 | * @author: renchao | ||
129 | */ | ||
122 | checkChange () { | 130 | checkChange () { |
123 | if (this.checkList.length === 0) { | 131 | if (this.checkList.length === 0) { |
124 | this.tableData = []; | 132 | this.tableData = []; |
... | @@ -127,6 +135,11 @@ | ... | @@ -127,6 +135,11 @@ |
127 | this.loadData(); | 135 | this.loadData(); |
128 | } | 136 | } |
129 | }, | 137 | }, |
138 | /** | ||
139 | * @description: getQsztName | ||
140 | * @param {*} code | ||
141 | * @author: renchao | ||
142 | */ | ||
130 | getQsztName (code) { | 143 | getQsztName (code) { |
131 | let name = ""; | 144 | let name = ""; |
132 | for (let item of this.qsztList) { | 145 | for (let item of this.qsztList) { |
... | @@ -138,6 +151,12 @@ | ... | @@ -138,6 +151,12 @@ |
138 | return name; | 151 | return name; |
139 | }, | 152 | }, |
140 | // 新增一条补录信息 | 153 | // 新增一条补录信息 |
154 | /** | ||
155 | * @description: 新增一条补录信息 | ||
156 | * @param {*} row | ||
157 | * @param {*} del | ||
158 | * @author: renchao | ||
159 | */ | ||
141 | editDialog (row, del) { | 160 | editDialog (row, del) { |
142 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 161 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
143 | confirmButtonText: "确定", | 162 | confirmButtonText: "确定", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:40 | 4 | * @LastEditTime: 2023-07-19 15:01:40 |
5 | --> | 5 | --> |
... | @@ -85,6 +85,10 @@ | ... | @@ -85,6 +85,10 @@ |
85 | this.loadData(); | 85 | this.loadData(); |
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
88 | /** | ||
89 | * @description: loadData | ||
90 | * @author: renchao | ||
91 | */ | ||
88 | loadData () { | 92 | loadData () { |
89 | 93 | ||
90 | if (this.$parent.addRepairRecord) { | 94 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:03:14 | 4 | * @LastEditTime: 2023-07-19 15:03:14 |
5 | --> | 5 | --> |
... | @@ -128,6 +128,10 @@ | ... | @@ -128,6 +128,10 @@ |
128 | this.loadData(); | 128 | this.loadData(); |
129 | }, | 129 | }, |
130 | methods: { | 130 | methods: { |
131 | /** | ||
132 | * @description: loadData | ||
133 | * @author: renchao | ||
134 | */ | ||
131 | loadData () { | 135 | loadData () { |
132 | if (this.$parent.addRepairRecord) { | 136 | if (this.$parent.addRepairRecord) { |
133 | this.columns.unshift({ | 137 | this.columns.unshift({ |
... | @@ -154,6 +158,10 @@ | ... | @@ -154,6 +158,10 @@ |
154 | } | 158 | } |
155 | }); | 159 | }); |
156 | }, | 160 | }, |
161 | /** | ||
162 | * @description: checkChange | ||
163 | * @author: renchao | ||
164 | */ | ||
157 | checkChange () { | 165 | checkChange () { |
158 | if (this.checkList.length === 0) { | 166 | if (this.checkList.length === 0) { |
159 | this.tableData = []; | 167 | this.tableData = []; |
... | @@ -162,6 +170,10 @@ | ... | @@ -162,6 +170,10 @@ |
162 | this.loadData(); | 170 | this.loadData(); |
163 | } | 171 | } |
164 | }, | 172 | }, |
173 | /** | ||
174 | * @description: getQsztName | ||
175 | * @author: renchao | ||
176 | */ | ||
165 | getQsztName (code) { | 177 | getQsztName (code) { |
166 | let name = ""; | 178 | let name = ""; |
167 | for (let item of this.qsztList) { | 179 | for (let item of this.qsztList) { |
... | @@ -173,6 +185,12 @@ | ... | @@ -173,6 +185,12 @@ |
173 | return name; | 185 | return name; |
174 | }, | 186 | }, |
175 | // 新增一条补录信息 | 187 | // 新增一条补录信息 |
188 | /** | ||
189 | * @description: 新增一条补录信息 | ||
190 | * @param {*} row | ||
191 | * @param {*} del | ||
192 | * @author: renchao | ||
193 | */ | ||
176 | editDialog (row, del) { | 194 | editDialog (row, del) { |
177 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 195 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
178 | confirmButtonText: '确定', | 196 | confirmButtonText: '确定', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:03:56 | 4 | * @LastEditTime: 2023-07-19 15:03:56 |
5 | --> | 5 | --> |
... | @@ -85,6 +85,10 @@ | ... | @@ -85,6 +85,10 @@ |
85 | this.loadData(); | 85 | this.loadData(); |
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
88 | /** | ||
89 | * @description: loadData | ||
90 | * @author: renchao | ||
91 | */ | ||
88 | loadData () { | 92 | loadData () { |
89 | 93 | ||
90 | if (this.$parent.addRepairRecord) { | 94 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:04:07 | 4 | * @LastEditTime: 2023-07-19 15:04:07 |
5 | --> | 5 | --> |
... | @@ -84,6 +84,10 @@ | ... | @@ -84,6 +84,10 @@ |
84 | this.loadData(); | 84 | this.loadData(); |
85 | }, | 85 | }, |
86 | methods: { | 86 | methods: { |
87 | /** | ||
88 | * @description: loadData | ||
89 | * @author: renchao | ||
90 | */ | ||
87 | loadData () { | 91 | loadData () { |
88 | // 判断是否在登记簿补录调的子页面 | 92 | // 判断是否在登记簿补录调的子页面 |
89 | if (this.$parent.addRepairRecord) { | 93 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:04:15 | 4 | * @LastEditTime: 2023-07-19 15:04:15 |
5 | --> | 5 | --> |
... | @@ -84,6 +84,10 @@ | ... | @@ -84,6 +84,10 @@ |
84 | this.loadData(); | 84 | this.loadData(); |
85 | }, | 85 | }, |
86 | methods: { | 86 | methods: { |
87 | /** | ||
88 | * @description: loadData | ||
89 | * @author: renchao | ||
90 | */ | ||
87 | loadData () { | 91 | loadData () { |
88 | if (this.$parent.addRepairRecord) { | 92 | if (this.$parent.addRepairRecord) { |
89 | this.columns.unshift({ | 93 | this.columns.unshift({ |
... | @@ -111,6 +115,10 @@ | ... | @@ -111,6 +115,10 @@ |
111 | } | 115 | } |
112 | }); | 116 | }); |
113 | }, | 117 | }, |
118 | /** | ||
119 | * @description: checkChange | ||
120 | * @author: renchao | ||
121 | */ | ||
114 | checkChange () { | 122 | checkChange () { |
115 | if (this.checkList.length === 0) { | 123 | if (this.checkList.length === 0) { |
116 | this.tableData = []; | 124 | this.tableData = []; |
... | @@ -119,6 +127,11 @@ | ... | @@ -119,6 +127,11 @@ |
119 | this.loadData(); | 127 | this.loadData(); |
120 | } | 128 | } |
121 | }, | 129 | }, |
130 | /** | ||
131 | * @description: getQsztName | ||
132 | * @param {*} code | ||
133 | * @author: renchao | ||
134 | */ | ||
122 | getQsztName (code) { | 135 | getQsztName (code) { |
123 | let name = ""; | 136 | let name = ""; |
124 | for (let item of this.qsztList) { | 137 | for (let item of this.qsztList) { |
... | @@ -130,6 +143,12 @@ | ... | @@ -130,6 +143,12 @@ |
130 | return name; | 143 | return name; |
131 | }, | 144 | }, |
132 | // 新增一条补录信息 | 145 | // 新增一条补录信息 |
146 | /** | ||
147 | * @description: 新增一条补录信息 | ||
148 | * @param {*} row | ||
149 | * @param {*} del | ||
150 | * @author: renchao | ||
151 | */ | ||
133 | editDialog (row, del) { | 152 | editDialog (row, del) { |
134 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 153 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
135 | confirmButtonText: '确定', | 154 | confirmButtonText: '确定', | ... | ... |
... | @@ -192,6 +192,10 @@ | ... | @@ -192,6 +192,10 @@ |
192 | this.loadData() | 192 | this.loadData() |
193 | }, | 193 | }, |
194 | methods: { | 194 | methods: { |
195 | /** | ||
196 | * @description: loadData | ||
197 | * @author: renchao | ||
198 | */ | ||
195 | loadData () { | 199 | loadData () { |
196 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 200 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
197 | if (res.code === 200) { | 201 | if (res.code === 200) { | ... | ... |
-
Please register or sign in to post a comment