Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
eee5efff
提交
eee5efff
编写于
9月 03, 2020
作者:
kai.wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
联调添加人员接口
上级
82b1f04d
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
28 行删除
+34
-28
addMember.vue
src/components/yqrange/member-management/addMember.vue
+0
-2
renyaun.vue
src/components/yqrange/member-management/renyaun.vue
+31
-3
admin-manage.vue
src/views/yqrange/admin-manage.vue
+3
-23
未找到文件。
src/components/yqrange/member-management/addMember.vue
浏览文件 @
eee5efff
...
@@ -133,7 +133,6 @@ export default {
...
@@ -133,7 +133,6 @@ export default {
},
},
created
()
{
created
()
{
vm
=
this
;
vm
=
this
;
vm
.
circleId
=
vm
.
getUrlSearch
(
window
.
location
.
href
,
"circleId"
);
},
},
async
mounted
()
{
async
mounted
()
{
this
.
clear
()
this
.
clear
()
...
@@ -311,7 +310,6 @@ export default {
...
@@ -311,7 +310,6 @@ export default {
},
},
// 通过check改变展示的已选中的数据列表
// 通过check改变展示的已选中的数据列表
checkToList
(
type
,
item
)
{
checkToList
(
type
,
item
)
{
debugger
if
(
type
)
{
if
(
type
)
{
if
(
Array
.
isArray
(
item
))
{
if
(
Array
.
isArray
(
item
))
{
this
.
allSelect
=
this
.
unique
([...
this
.
allSelect
,...
item
])
this
.
allSelect
=
this
.
unique
([...
this
.
allSelect
,...
item
])
...
...
src/components/yqrange/member-management/renyaun.vue
浏览文件 @
eee5efff
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<div
class=
"organization"
>
<div
class=
"organization"
>
<el-row
type=
"flex"
class=
"row-bg"
align=
"middle"
>
<el-row
type=
"flex"
class=
"row-bg"
align=
"middle"
>
<el-col
:span=
"4"
class=
"add-organization"
>
<el-col
:span=
"4"
class=
"add-organization"
>
<i
class=
"el-icon-circle-plus-outline"
></i>
<i
class=
"el-icon-circle-plus-outline"
@
click=
"dialogMemberFn()"
></i>
<i
class=
"text"
>
添加人员
</i>
<i
class=
"text"
@
click=
"dialogMemberFn()"
>
添加人员
</i>
</el-col>
</el-col>
<el-col
:span=
"20"
class=
"organization-search"
>
<el-col
:span=
"20"
class=
"organization-search"
>
<el-form
:inline=
"true"
:model=
"formOrganization"
class=
"demo-form-inline"
>
<el-form
:inline=
"true"
:model=
"formOrganization"
class=
"demo-form-inline"
>
...
@@ -59,6 +59,19 @@
...
@@ -59,6 +59,19 @@
:current-page=
"formOrganization.pageNum"
:page-sizes=
"[10, 20, 40]"
:page-size=
"formOrganization.pageSize"
:current-page=
"formOrganization.pageNum"
:page-sizes=
"[10, 20, 40]"
:page-size=
"formOrganization.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalPeople"
></el-pagination>
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalPeople"
></el-pagination>
</div>
</div>
<el-dialog
title=
"添加人员"
:visible
.
sync=
"dialogOrg"
width=
"80%"
top=
"5vh"
:before-close=
"handleClose"
>
<add-member
:circleId=
'circleId'
:roleType=
'roleType'
@
addPeople=
"addPeople"
@
handleClose=
"handleClose"
>
</add-member>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -67,8 +80,12 @@ import * as operationData from "@/utils/operation";
...
@@ -67,8 +80,12 @@ import * as operationData from "@/utils/operation";
import
{
openLoading
,
closeLoading
}
from
"@/utils/utils"
;
import
{
openLoading
,
closeLoading
}
from
"@/utils/utils"
;
import
{
doUpload
,
getFilePath
}
from
"@/utils/qiniu-util"
;
import
{
doUpload
,
getFilePath
}
from
"@/utils/qiniu-util"
;
import
{
mpRelSearch
,
mprDeleteOrg
}
from
'@/utils/yqrange/memberApi'
;
import
{
mpRelSearch
,
mprDeleteOrg
}
from
'@/utils/yqrange/memberApi'
;
import
addMember
from
'./addMember.vue'
let
vm
=
null
;
let
vm
=
null
;
export
default
{
export
default
{
components
:
{
addMember
},
props
:
{
props
:
{
circleId
:
{
circleId
:
{
type
:
Number
|
String
,
type
:
Number
|
String
,
...
@@ -137,7 +154,8 @@ export default {
...
@@ -137,7 +154,8 @@ export default {
source
:
0
,
source
:
0
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
}
},
dialogOrg
:
false
}
}
},
},
created
()
{
created
()
{
...
@@ -245,6 +263,16 @@ export default {
...
@@ -245,6 +263,16 @@ export default {
},
},
setPleTotal
()
{
setPleTotal
()
{
this
.
$emit
(
'setPleTotal'
,
this
.
totalPeople
)
this
.
$emit
(
'setPleTotal'
,
this
.
totalPeople
)
},
dialogMemberFn
()
{
this
.
dialogOrg
=
true
},
handleClose
()
{
this
.
dialogOrg
=
false
},
addPeople
()
{
this
.
dialogOrg
=
false
this
.
initRange
()
}
}
}
}
}
}
...
...
src/views/yqrange/admin-manage.vue
浏览文件 @
eee5efff
...
@@ -67,19 +67,7 @@
...
@@ -67,19 +67,7 @@
></el-pagination>
></el-pagination>
</div>
</div>
</div>
</div>
<el-dialog
title=
"添加人员"
:visible
.
sync=
"dialogOrg"
width=
"80%"
top=
"5vh"
:before-close=
"handleClose"
>
<check-org
:circleId=
'circleId'
:roleType=
'roleType'
@
addOrg=
"addPeople"
@
handleClose=
"handleClose"
>
</check-org>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -88,19 +76,17 @@ import { mapGetters } from "vuex";
...
@@ -88,19 +76,17 @@ import { mapGetters } from "vuex";
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
*
as
commonUtil
from
"../../utils/utils"
;
import
*
as
commonUtil
from
"../../utils/utils"
;
import
*
as
operationData
from
"../../utils/operation"
;
import
*
as
operationData
from
"../../utils/operation"
;
import
checkOrg
from
'../../components/yqrange/member-management/addMember.vue'
let
vm
=
null
;
let
vm
=
null
;
export
default
{
export
default
{
components
:
{
components
:
{
BreadCrumb
,
BreadCrumb
checkOrg
},
},
data
()
{
data
()
{
return
{
return
{
curmbFirst
:
"云鹊小圈"
,
curmbFirst
:
"云鹊小圈"
,
curmbSecond
:
"设置管理员"
,
curmbSecond
:
"设置管理员"
,
circleId
:
""
,
circleId
:
""
,
dialogOrg
:
true
,
formInline
:
{
formInline
:
{
region
:
[
"0"
],
region
:
[
"0"
],
administrativeId
:
""
,
administrativeId
:
""
,
...
@@ -316,12 +302,6 @@ export default {
...
@@ -316,12 +302,6 @@ export default {
console
.
log
(
`当前页:
${
val
}
`
);
console
.
log
(
`当前页:
${
val
}
`
);
this
.
formInline
.
pageNo
=
val
;
this
.
formInline
.
pageNo
=
val
;
this
.
search
();
this
.
search
();
},
handleClose
()
{
this
.
dialogOrg
=
false
},
addPeople
()
{
this
.
dialogOrg
=
false
}
}
}
}
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录