Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
8d9b7830
提交
8d9b7830
编写于
6月 29, 2020
作者:
bo.dang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改外部用户成员管理初始化数据和解散圈子提示
上级
6f74b0f9
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
26 行增加
和
9 行删除
+26
-9
organzation.vue
src/components/yqrange/organzation.vue
+21
-5
yq-range.vue
src/views/yqrange/yq-range.vue
+5
-4
未找到文件。
src/components/yqrange/organzation.vue
浏览文件 @
8d9b7830
...
@@ -130,7 +130,8 @@
...
@@ -130,7 +130,8 @@
let
circleId
=
this
.
formData
.
id
;
let
circleId
=
this
.
formData
.
id
;
this
.
getRegionOption
();
this
.
getRegionOption
();
this
.
listLevels
();
this
.
listLevels
();
this
.
getOrganization
();
// this.getOrganization();
// this.searchOrganization();
this
.
activeName
=
"second"
;
this
.
activeName
=
"second"
;
this
.
formOrganization
.
pageNum
=
1
;
this
.
formOrganization
.
pageNum
=
1
;
this
.
formOrganization
.
name
=
""
;
this
.
formOrganization
.
name
=
""
;
...
@@ -173,8 +174,9 @@
...
@@ -173,8 +174,9 @@
vm
.
optionsRegion
=
operationData
.
setRegionOption3
(
vm
.
optionsRegion
=
operationData
.
setRegionOption3
(
res
.
data
.
provinceList
res
.
data
.
provinceList
);
);
this
.
getOrganization
();
}
}
}
else
{
}
else
{
this
.
$message
(
res
.
message
);
this
.
$message
(
res
.
message
);
}
}
...
@@ -230,7 +232,7 @@
...
@@ -230,7 +232,7 @@
if
(
setList
.
length
>
0
)
{
if
(
setList
.
length
>
0
)
{
let
req
=
{
let
req
=
{
ids
:
setList
,
ids
:
setList
,
project
Id
:
this
.
circleId
,
circle
Id
:
this
.
circleId
,
type
:
typeStatus
type
:
typeStatus
};
};
openLoading
(
vm
);
openLoading
(
vm
);
...
@@ -292,9 +294,23 @@
...
@@ -292,9 +294,23 @@
//查询机构列表
//查询机构列表
getOrganization
()
{
getOrganization
()
{
let
idType
=
localStorage
.
getItem
(
"storageIdType"
);
let
idType
=
localStorage
.
getItem
(
"storageIdType"
);
let
administrativeIdItem
=
""
;
// 如果是外部用户(2),只能看到所在省份的数据
if
(
idType
==
2
){
let
optionRegionArray
=
new
Array
();
optionRegionArray
.
push
(
this
.
optionsRegion
[
0
].
provinceId
);
administrativeIdItem
=
operationData
.
setAdministrativeId
(
optionRegionArray
);
}
console
.
log
(
administrativeIdItem
);
// let administrativeIdItem = "";
let
req
=
{
let
req
=
{
circleId
:
this
.
circleId
,
circleId
:
this
.
circleId
,
districtIds
:
""
,
districtIds
:
administrativeIdItem
,
orgLevel
:
""
,
orgLevel
:
""
,
orgName
:
this
.
formOrganization
.
name
,
orgName
:
this
.
formOrganization
.
name
,
pageNo
:
this
.
formOrganization
.
pageNum
,
pageNo
:
this
.
formOrganization
.
pageNum
,
...
@@ -419,4 +435,4 @@
...
@@ -419,4 +435,4 @@
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
src/views/yqrange/yq-range.vue
浏览文件 @
8d9b7830
...
@@ -114,9 +114,10 @@ export default {
...
@@ -114,9 +114,10 @@ export default {
initPrivilege
(){
initPrivilege
(){
let
idType
=
localStorage
.
getItem
(
'storageIdType'
);
let
idType
=
localStorage
.
getItem
(
'storageIdType'
);
if
(
idType
==
null
||
idType
==
""
){
// if(idType == null || idType == ""){
idType
=
1
;
// idType = 2;
}
// localStorage.setItem('storageIdType', idType);
// }
this
.
searchForm
.
userType
=
idType
;
this
.
searchForm
.
userType
=
idType
;
// 内部用户:运营人员
// 内部用户:运营人员
...
@@ -279,7 +280,7 @@ export default {
...
@@ -279,7 +280,7 @@ export default {
},
},
//解散圈子
//解散圈子
deleteRange
(
row
)
{
deleteRange
(
row
)
{
this
.
$confirm
(
`
确定解散“
${
row
.
name
}
”吗?`
,
'解散后圈子内的动态/直播等内容将不会保存
'
,
{
this
.
$confirm
(
`
解散后圈子内的动态/直播等内容将不会保存`
,
'确定解散“${row.name}”吗?
'
,
{
confirmButtonText
:
'解散'
,
confirmButtonText
:
'解散'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录