fix: 自测问题修复,功能完善。
This commit is contained in:
@@ -174,7 +174,7 @@ function submit() {
|
||||
updateData(form).then(() => {
|
||||
proxy.$refs['uToast'].show({
|
||||
message: '修改成功', complete() {
|
||||
uni.navigateTo({ url: `/pages_mine/pages/system/dictData/list?dictType=${form.dictType}` })
|
||||
uni.navigateBack()
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -182,7 +182,7 @@ function submit() {
|
||||
addData(form).then(() => {
|
||||
proxy.$refs['uToast'].show({
|
||||
message: '新增成功', complete() {
|
||||
uni.navigateTo({ url: `/pages_mine/pages/system/dictData/list?dictType=${form.dictType}` })
|
||||
uni.navigateBack()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 悬停按钮返回工作台-->
|
||||
<suspend></suspend>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -39,28 +41,10 @@ const systemGridList = ref([
|
||||
])
|
||||
|
||||
function navigateTo(path) {
|
||||
// 字典管理、登录日志、用户管理、岗位管理、部门管理、操作日志、菜单管理、角色管理、参数配置、通知公告、定时任务已开发完成,可以跳转
|
||||
if (path === '/pages_mine/pages/system/dict/list' ||
|
||||
path === '/pages_mine/pages/system/logininfor/list' ||
|
||||
path === '/pages_mine/pages/system/user/list' ||
|
||||
path === '/pages_mine/pages/system/post/list' ||
|
||||
path === '/pages_mine/pages/system/dept/list' ||
|
||||
path === '/pages_mine/pages/system/operlog/list' ||
|
||||
path === '/pages_mine/pages/system/menu/list' ||
|
||||
path === '/pages_mine/pages/system/role/list' ||
|
||||
path === '/pages_mine/pages/system/config/list' ||
|
||||
path === '/pages_mine/pages/system/notice/list' ||
|
||||
path === '/pages_mine/pages/system/job/list') {
|
||||
uni.navigateTo({
|
||||
url: path
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '功能开发中',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user