style:系统管理
Showing
3 changed files
with
8 additions
and
8 deletions
This diff is collapsed.
Click to expand it.
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-04-11 10:49:40 | ||
| 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 | ||
| ... | @@ -32,7 +37,6 @@ class data extends filter { | ... | @@ -32,7 +37,6 @@ class data extends filter { |
| 32 | }, | 37 | }, |
| 33 | { | 38 | { |
| 34 | label: "是否允许修改", | 39 | label: "是否允许修改", |
| 35 | width: '110', | ||
| 36 | render: (h, scope) => { | 40 | render: (h, scope) => { |
| 37 | return ( | 41 | return ( |
| 38 | <div> | 42 | <div> |
| ... | @@ -47,9 +51,7 @@ class data extends filter { | ... | @@ -47,9 +51,7 @@ class data extends filter { |
| 47 | }, | 51 | }, |
| 48 | { | 52 | { |
| 49 | label: '操作', | 53 | label: '操作', |
| 50 | width: '150', | 54 | width: '80', |
| 51 | align: 'center', | ||
| 52 | fixed: 'right', | ||
| 53 | render: (h, scope) => { | 55 | render: (h, scope) => { |
| 54 | return ( | 56 | return ( |
| 55 | <div> | 57 | <div> |
| ... | @@ -64,7 +66,6 @@ class data extends filter { | ... | @@ -64,7 +66,6 @@ class data extends filter { |
| 64 | } | 66 | } |
| 65 | ] | 67 | ] |
| 66 | } | 68 | } |
| 67 | |||
| 68 | } | 69 | } |
| 69 | let datas = new data() | 70 | let datas = new data() |
| 70 | export { | 71 | export { | ... | ... |
| ... | @@ -30,7 +30,6 @@ | ... | @@ -30,7 +30,6 @@ |
| 30 | :column="tableData.columns" :data="tableData.data"> | 30 | :column="tableData.columns" :data="tableData.data"> |
| 31 | </lb-table> | 31 | </lb-table> |
| 32 | </div> | 32 | </div> |
| 33 | <editDialog v-model="isDialog" :details="details" /> | ||
| 34 | </div> | 33 | </div> |
| 35 | </template> | 34 | </template> |
| 36 | <script> | 35 | <script> |
| ... | @@ -49,7 +48,6 @@ export default { | ... | @@ -49,7 +48,6 @@ export default { |
| 49 | }, | 48 | }, |
| 50 | data () { | 49 | data () { |
| 51 | return { | 50 | return { |
| 52 | isDialog: false, | ||
| 53 | details: { | 51 | details: { |
| 54 | bsmDict: '', | 52 | bsmDict: '', |
| 55 | isenable: 1, | 53 | isenable: 1, |
| ... | @@ -103,11 +101,12 @@ export default { | ... | @@ -103,11 +101,12 @@ export default { |
| 103 | }); | 101 | }); |
| 104 | }); | 102 | }); |
| 105 | }, | 103 | }, |
| 104 | // 修改 | ||
| 106 | editClick (row, val) { | 105 | editClick (row, val) { |
| 107 | this.details.rowData = row | 106 | this.details.rowData = row |
| 108 | this.details.isenable = val | 107 | this.details.isenable = val |
| 109 | this.details.bsmDict = row.bsmDict | 108 | this.details.bsmDict = row.bsmDict |
| 110 | this.isDialog = true | 109 | this.$popupDialog("字典信息", "system/dictionaries/components/editDialog", this.details) |
| 111 | } | 110 | } |
| 112 | } | 111 | } |
| 113 | } | 112 | } | ... | ... |
-
Please register or sign in to post a comment