mirror of
https://github.com/yangzongzhuan/RuoYi-Vue3.git
synced 2025-09-01 18:34:26 +00:00
新增用户默认初始化密码
This commit is contained in:
@@ -26,6 +26,7 @@ import elementIcons from '@/components/SvgIcon/svgicon'
|
|||||||
import './permission' // permission control
|
import './permission' // permission control
|
||||||
|
|
||||||
import { useDict } from '@/utils/dict'
|
import { useDict } from '@/utils/dict'
|
||||||
|
import { getConfigKey } from "@/api/system/config"
|
||||||
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
|
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
|
||||||
|
|
||||||
// 分页组件
|
// 分页组件
|
||||||
@@ -52,6 +53,7 @@ app.config.globalProperties.parseTime = parseTime
|
|||||||
app.config.globalProperties.resetForm = resetForm
|
app.config.globalProperties.resetForm = resetForm
|
||||||
app.config.globalProperties.handleTree = handleTree
|
app.config.globalProperties.handleTree = handleTree
|
||||||
app.config.globalProperties.addDateRange = addDateRange
|
app.config.globalProperties.addDateRange = addDateRange
|
||||||
|
app.config.globalProperties.getConfigKey = getConfigKey
|
||||||
app.config.globalProperties.selectDictLabel = selectDictLabel
|
app.config.globalProperties.selectDictLabel = selectDictLabel
|
||||||
app.config.globalProperties.selectDictLabels = selectDictLabels
|
app.config.globalProperties.selectDictLabels = selectDictLabels
|
||||||
|
|
||||||
|
@@ -533,6 +533,11 @@ function submitForm() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
getDeptTree()
|
onMounted(() => {
|
||||||
getList()
|
getDeptTree()
|
||||||
|
getList()
|
||||||
|
proxy.getConfigKey("sys.user.initPassword").then(response => {
|
||||||
|
initPassword.value = response.msg
|
||||||
|
})
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user