From feebf68645a0c91e07c7eadeb04ae970001f1fc1 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 31 十月 2022 22:53:44 +0800 Subject: [PATCH] 单兵设备、音柱 --- src/views/systemSetting/baseSetting/role/createUser/index.vue | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/views/systemSetting/baseSetting/role/createUser/index.vue b/src/views/systemSetting/baseSetting/role/createUser/index.vue index e967385..442819b 100644 --- a/src/views/systemSetting/baseSetting/role/createUser/index.vue +++ b/src/views/systemSetting/baseSetting/role/createUser/index.vue @@ -34,6 +34,7 @@ </div> </template> <script> +import { getTypeList } from '@/utils/helper' export default { data() { const validateNickname = (rule, value, callback) => { @@ -113,15 +114,8 @@ this.refresh(); }, // 鑾峰彇瑙掕壊绫诲瀷 - getRoleTypeList(){ - this.$axios({ - method:'get', - url:'sccg/dict/query_role_type', - }) - .then(res=>{ - console.log(res); - this.typeList = res.data; - }) + async getRoleTypeList(){ + this.typeList = await getTypeList(1,'09'); } }, props: ['refresh'] -- Gitblit v1.8.0