style:区县接入
Showing
1 changed file
with
16 additions
and
14 deletions
... | @@ -87,6 +87,8 @@ | ... | @@ -87,6 +87,8 @@ |
87 | :data="tableData.data"> | 87 | :data="tableData.data"> |
88 | </lb-table> | 88 | </lb-table> |
89 | </div> | 89 | </div> |
90 | <!-- 编辑 --> | ||
91 | <dataDetails ref="editLog" /> | ||
90 | </div> | 92 | </div> |
91 | </template> | 93 | </template> |
92 | 94 | ||
... | @@ -97,10 +99,16 @@ import data from "./data"; | ... | @@ -97,10 +99,16 @@ import data from "./data"; |
97 | // 引入table混入方法 | 99 | // 引入table混入方法 |
98 | import tableMixin from "@/mixins/tableMixin.js"; | 100 | import tableMixin from "@/mixins/tableMixin.js"; |
99 | import { getReceiveDataReportPage } from "@/api/sbbwcx.js"; | 101 | import { getReceiveDataReportPage } from "@/api/sbbwcx.js"; |
102 | // 引入详情弹框 | ||
103 | import dataDetails from "@/components/dataDetails/edit-dialog"; | ||
100 | export default { | 104 | export default { |
101 | name: "jsbwcx", | 105 | name: "jsbwcx", |
102 | mixins: [tableMixin], | 106 | mixins: [tableMixin], |
103 | data() { | 107 | // 注册组件 |
108 | components: { | ||
109 | dataDetails, | ||
110 | }, | ||
111 | data () { | ||
104 | return { | 112 | return { |
105 | // 开始结束日期限制 | 113 | // 开始结束日期限制 |
106 | pickerOptionsStart: { | 114 | pickerOptionsStart: { |
... | @@ -194,7 +202,7 @@ export default { | ... | @@ -194,7 +202,7 @@ export default { |
194 | }, | 202 | }, |
195 | methods: { | 203 | methods: { |
196 | // 初始化数据 | 204 | // 初始化数据 |
197 | queryClick() { | 205 | queryClick () { |
198 | getReceiveDataReportPage({ ...this.form, ...this.pageData }).then((res) => { | 206 | getReceiveDataReportPage({ ...this.form, ...this.pageData }).then((res) => { |
199 | if (res.code === 200) { | 207 | if (res.code === 200) { |
200 | let { total, records } = res.result; | 208 | let { total, records } = res.result; |
... | @@ -204,23 +212,17 @@ export default { | ... | @@ -204,23 +212,17 @@ export default { |
204 | }); | 212 | }); |
205 | }, | 213 | }, |
206 | // 重置 | 214 | // 重置 |
207 | resetForm() { | 215 | resetForm () { |
208 | this.$refs.ruleForm.resetFields(); | 216 | this.$refs.ruleForm.resetFields(); |
209 | }, | 217 | }, |
210 | featchData() { | 218 | featchData () { |
211 | this.queryClick(); | 219 | this.queryClick(); |
212 | }, | 220 | }, |
213 | // 详情 | 221 | // 详情 |
214 | handleEdit() { | 222 | handleEdit (row) { |
215 | this.$popupDialog( | 223 | this.$refs.editLog.isShow(row); |
216 | "业务报文", | 224 | } |
217 | "components/JsonEditor/index", | 225 | } |
218 | {}, | ||
219 | "50%", | ||
220 | "320px" | ||
221 | ); | ||
222 | }, | ||
223 | }, | ||
224 | }; | 226 | }; |
225 | </script> | 227 | </script> |
226 | <style scoped lang="scss"> | 228 | <style scoped lang="scss"> | ... | ... |
-
Please register or sign in to post a comment