正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -191,7 +191,7 @@ | @@ -191,7 +191,7 @@ | ||
| 191 | 191 | ||
| 192 | <script> | 192 | <script> |
| 193 | import { listData, getData, delData, addData, updateData } from "@/api/system/dict/data"; | 193 | import { listData, getData, delData, addData, updateData } from "@/api/system/dict/data"; |
| 194 | -import { listType, getType } from "@/api/system/dict/type"; | 194 | +import { optionselect as getDictOptionselect, getType } from "@/api/system/dict/type"; |
| 195 | 195 | ||
| 196 | export default { | 196 | export default { |
| 197 | name: "Data", | 197 | name: "Data", |
| @@ -287,8 +287,8 @@ export default { | @@ -287,8 +287,8 @@ export default { | ||
| 287 | }, | 287 | }, |
| 288 | /** 查询字典类型列表 */ | 288 | /** 查询字典类型列表 */ |
| 289 | getTypeList() { | 289 | getTypeList() { |
| 290 | - listType().then(response => { | ||
| 291 | - this.typeOptions = response.rows; | 290 | + getDictOptionselect().then(response => { |
| 291 | + this.typeOptions = response.data; | ||
| 292 | }); | 292 | }); |
| 293 | }, | 293 | }, |
| 294 | /** 查询字典数据列表 */ | 294 | /** 查询字典数据列表 */ |
-
请 注册 或 登录 后发表评论