Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
5da5296c
提交
5da5296c
authored
2月 08, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
项目不人员切换组织
父级
1ea6c48a
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
+4
-2
common/config.js
+1
-1
pages/mine/changeOrg/changeOrg.vue
+3
-1
没有找到文件。
common/config.js
View file @
5da5296c
...
@@ -8,8 +8,8 @@ const $config = {
...
@@ -8,8 +8,8 @@ const $config = {
pageSize
:
20
,
pageSize
:
20
,
isPage
:
1
,
isPage
:
1
,
smsCfg
:
"industry"
,
smsCfg
:
"industry"
,
// base: "https://test-console-api.hzdingmao.com",
// base: "https://dev-console-api.hzdingmao.com",
// base: "https://dev-console-api.hzdingmao.com",
// base: "https://test-console-api.hzdingmao.com",
base
:
"https://console-api.hibuilding.cn"
,
base
:
"https://console-api.hibuilding.cn"
,
// gtrBase:"https://cwcd-h5.huizhucloud.com",//测试
// gtrBase:"https://cwcd-h5.huizhucloud.com",//测试
gtrBase
:
"https://gdt-front-mobile.hibuilding.cn"
,
//生产
gtrBase
:
"https://gdt-front-mobile.hibuilding.cn"
,
//生产
...
...
pages/mine/changeOrg/changeOrg.vue
View file @
5da5296c
...
@@ -81,7 +81,9 @@
...
@@ -81,7 +81,9 @@
var
list
=
result
.
data
.
list
var
list
=
result
.
data
.
list
if
(
list
&&
list
.
length
>
0
)
{
if
(
list
&&
list
.
length
>
0
)
{
if
(
getApp
().
globalData
.
userInfo
.
user
.
dept_type
==
2
)
{
//项目级
if
(
getApp
().
globalData
.
userInfo
.
user
.
dept_type
==
2
)
{
//项目级
this
.
trees
=
list
[
0
].
children_list
this
.
trees
=
list
[
0
].
children_list
.
filter
(
item
=>
item
.
dept_no
==
getApp
().
globalData
.
userInfo
.
user
.
dept_no
)
}
else
{
}
else
{
if
(
list
[
0
].
no
==
'001'
)
{
if
(
list
[
0
].
no
==
'001'
)
{
this
.
trees
=
list
[
0
].
children_list
this
.
trees
=
list
[
0
].
children_list
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment