style:宗地基本信息
Showing
5 changed files
with
121 additions
and
104 deletions
This diff is collapsed.
Click to expand it.
... | @@ -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 | qlsdfs}}</td> |
43 | <td>容积率</td> | 43 | <td>容积率</td> |
44 | <td>{{ zdjbxx.rjl }}</td> | 44 | <td>{{ zdjbxx.rjl }}</td> |
45 | </tr> | 45 | </tr> |
... | @@ -122,79 +122,87 @@ | ... | @@ -122,79 +122,87 @@ |
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 | qlsdfs: function (value) { |
181 | }, | 180 | const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value)); |
182 | methods: { | 181 | if (foundItem) { |
183 | loadData () { | 182 | console.log(foundItem.dname, 'foundItem.dname'); |
184 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 183 | return foundItem.dname; |
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 | } | 184 | } |
192 | }); | 185 | } |
186 | }, | ||
187 | created () { | ||
188 | this.loadData(); | ||
189 | }, | ||
190 | methods: { | ||
191 | loadData () { | ||
192 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
193 | if (res.code === 200) { | ||
194 | this.zdjbxx = res.result.zdjbxx; | ||
195 | this.zdbhqks = res.result.zdbhqkList; | ||
196 | if (this.zdbhqks != null && this.zdbhqks.length > 0) { | ||
197 | this.showGroup = true; | ||
198 | } | ||
199 | } | ||
200 | }); | ||
201 | }, | ||
193 | }, | 202 | }, |
194 | }, | 203 | }; |
195 | }; | ||
196 | </script> | 204 | </script> |
197 | 205 | ||
198 | <style lang="scss" scoped> | 206 | <style lang="scss" scoped> |
199 | @import "~@/styles/tablecss.scss"; | 207 | @import "~@/styles/tablecss.scss"; |
200 | </style> | 208 | </style> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
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> | ... | ... |
-
Please register or sign in to post a comment