@@ -13,110 +14,56 @@
-
+
+
-
-
发现
-
最新
+
+
最新
星标
稍后看
-
任意门
-
收件箱
+
+
我的收藏
工具箱
-
RSS订阅
-
标签管理
-
垃圾桶
-
导入书签
+
+
标签管理
+
垃圾桶
+
意见反馈
-
-
工具箱
-
个人中心
+
小工具
+
更多设置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -232,10 +174,8 @@
-
-
@@ -247,9 +187,7 @@
import {listMenu, getMenu, delMenu, addMenu, updateMenu, exportMenu} from "@/api/bookmark/menu";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
- // import "../ztree/jquery-1.4.4.min.js"
import "../ztree/jquery.ztree.core.js"
- // import "../ztree/demo.css"
import "../ztree/zTreeStyle.css"
import "../ztree/jquery.ztree.exedit.js"
import {listMenuByUserId,listByMenuId} from "@/api/bookmark/menu";
@@ -784,10 +722,6 @@
addHoverDom: function (treeId, treeNode) {
var confCount = $("." + treeNode.tId + "_sz").length;
- // console.log("进入addHoverDom:统计"+treeNode.tId+"_sz 的数量:"+confCount);
- // console.log("进入addHoverDom:treeId"+treeNode.tId+"_sz 的数量:"+confCount);
- // console.log("进入addHoverDom:统计"+treeNode.tId+"_sz 的数量:"+confCount);
- // console.log("进入addHoverDom:统计"+treeNode.bookmarkCount+"_sz 的数量:"+confCount);
if (confCount > 0) return;
$("." + treeNode.tId + "_sz").unbind().remove();
$("." + treeNode.tId + "_count").unbind().remove();
@@ -882,38 +816,77 @@
that.isShowZtree = !that.isShowZtree;
},
- /**跳转导入页面**/
- importHtml: function () {
- this.$router.push({
- path: "/importHtml",
- })
-
- }, /**跳转测试页面**/
- ceshi: function () {
- this.$router.push({
- path: "/ceshi",
- })
-
- },
- /**跳转NqQuillEdit测试页面**/
- NqEdit: function () {
- this.$router.push({
- path: "/nqEdit",
- })
- },
- /** 工具箱**/
- gotool() {
+ goRouter: function (e) {
+ var flag=e;
var that = this;
- that.$router.push({
- path: "/tool",
- })
- },
- /** 个人中心**/
- goUser() {
- var that = this;
- that.$router.push({
- path: "/profile",
- })
+ switch (flag) {
+ case 1:
+ that.$router.push({
+ path: "/profile",
+ })
+ break;
+ case 2:
+ //工具箱
+ that.$router.push({
+ path: "/tool",
+ })
+ break;
+ case 3:
+ // 跳转NqQuillEdit测试页面
+ that.$router.push({
+ path: "/nqEdit",
+ })
+ break;
+ case 4:
+ //跳转测试页面
+ that.$router.push({
+ path: "/ceshi",
+ })
+ break;
+ case 5:
+ //导入页面
+ that.$router.push({
+ path: "/importHtml",
+ })
+ break;
+ case 6:
+ //回收站
+ that.$router.push({
+ path: "/content",
+ query: {
+ menuId: 'RECYCLE'
+ }
+ })
+ break;
+ case 7:
+ //用户标签
+ that.$router.push({
+ path: "/userTagAll",
+ })
+ break;
+ case 8:
+ //全部书签
+ that.$router.push({
+ path: "/content",
+ query: {
+ menuId: 'BOOKMARK'
+ }
+ })
+ break;
+ case 9:
+ //个人中心
+ that.$router.push({
+ path: "/bkindex",
+ })
+ break;
+ default:
+ that.$router.push({
+ path: "/content",
+ query: {
+ menuId: 'BOOKMARK'
+ }
+ })
+ }
},
editBookmark: function (e) {
this.reset();
@@ -927,7 +900,6 @@
this.title = "修改书签菜单";
});
-
//阻止冒泡事件
if (e && e.stopPropagation)
//因此它支持W3C的stopPropagation()方法
@@ -940,19 +912,16 @@
//删除书签目录
deleteMmenu(menuId) {
-
this.$confirm('是否删除此目录菜单?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
delMenu(menuId).then(response => {
- // if(){}
this.$message({
type: 'success',
message: '删除成功!'
});
-
this.open = false;
// this.refreshParentNode();
});
@@ -962,40 +931,7 @@
message: '已取消删除'
});
});
-
-
},
- // 全部书签
- goBookmarkList() {
- var that = this;
- that.$router.push({
- path: "/content",
- query: {
- menuId: 'BOOKMARK'
- }
- })
-
- },
-
- /** 回收站**/
- gorecycle() {
- var that = this;
- that.$router.push({
- path: "/content",
- query: {
- menuId: 'RECYCLE'
- }
- })
- },
- /** 用户书签**/
- goUserTagAll() {
- var that = this;
- that.$router.push({
- path: "/userTagAll",
- })
- },
-
-
},
@@ -1006,7 +942,6 @@
this.$message('click on item ' + command);
},
-
}
diff --git a/ruoyi-ui/src/views/system/user/profile/bkindex.vue b/ruoyi-ui/src/views/system/user/profile/bkindex.vue
new file mode 100644
index 000000000..b1042de29
--- /dev/null
+++ b/ruoyi-ui/src/views/system/user/profile/bkindex.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+ 个人信息
+
+
+
+
+
+
+ 基本资料
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/system/user/profile/index.vue b/ruoyi-ui/src/views/system/user/profile/index.vue
index aa8d9e614..8993cab7c 100644
--- a/ruoyi-ui/src/views/system/user/profile/index.vue
+++ b/ruoyi-ui/src/views/system/user/profile/index.vue
@@ -1,91 +1,91 @@
-
-
-
-
-
-
- 个人信息
-
-
-
-
-
-
-
- 基本资料
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 个人信息
+
+
+
+
+
+
+
+ 基本资料
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
index 0b1780d9b..ec6bff21c 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -1,78 +1,78 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 男
- 女
-
-
-
- 保存
- 关闭
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+ 关闭
+
+
+
+
+