style:区县接入
Showing
1 changed file
with
18 additions
and
14 deletions
... | @@ -38,21 +38,25 @@ let mixin = { | ... | @@ -38,21 +38,25 @@ let mixin = { |
38 | }, | 38 | }, |
39 | // 详情 | 39 | // 详情 |
40 | handleEdit (row) { | 40 | handleEdit (row) { |
41 | let Title = '' | 41 | if (row.rectypeName) { |
42 | this.dicData['A21'].map(item => { | 42 | this.title = row.rectypeName |
43 | if (item.DCODE == row.DJLX || item.DCODE == row.djlx) { | 43 | } else { |
44 | Title = item.DNAME | 44 | let Title = '' |
45 | return | 45 | this.dicData['A21'].map(item => { |
46 | } | 46 | if (item.DCODE == row.DJLX || item.DCODE == row.djlx) { |
47 | }) | 47 | Title = item.DNAME |
48 | return | ||
49 | } | ||
50 | }) | ||
48 | 51 | ||
49 | this.dicData['A8'].map(item => { | 52 | this.dicData['A8'].map(item => { |
50 | if (item.DCODE == row.QLLX || item.DCODE == row.qllx) { | 53 | if (item.DCODE == row.QLLX || item.DCODE == row.qllx) { |
51 | Title += '-' + item.DNAME | 54 | Title += '-' + item.DNAME |
52 | return | 55 | return |
53 | } | 56 | } |
54 | }) | 57 | }) |
55 | this.title = Title | 58 | this.title = Title |
59 | } | ||
56 | this.$refs.editLog.isShow(row); | 60 | this.$refs.editLog.isShow(row); |
57 | }, | 61 | }, |
58 | // // 重置表单 | 62 | // // 重置表单 | ... | ... |
-
Please register or sign in to post a comment