From dc590d026e1130a98c70181fb65f8ed09414e787 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 14 七月 2023 17:48:11 +0800 Subject: [PATCH] 1、主要解决获取当前用户信息等问题,使用AuthUtil来进行获取,对生成token等信息进行了修改增加。 --- Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js index 8ae347a..bce29b0 100644 --- a/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js +++ b/Source/UBCS-WEB/src/const/code/classifyTreeOptionDialog.js @@ -6,7 +6,7 @@ lazy: true, treeLoad: function (node, resolve) { // const parentId = (node.level === 0) ? 0 : node.data.id; - treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false,}).then( res=> { + treeTopCodeClassify({"queryAllLevel": true,"loadType": "all","multipleSelect": false}).then( res=> { resolve(res.data.map(classifyitem => { let item = { "hasChildren": false, @@ -15,6 +15,7 @@ "parentId": 0, "title": classifyitem.text, "value": classifyitem.oid, + "btmTypeOid": classifyitem.attributes.btmTypeOid, } return { ...item, -- Gitblit v1.9.3