Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
729f20ae
提交
729f20ae
编写于
6月 29, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev-yqLive-20200611' into dev-yqLive-20200611
上级
763a7066
1a7e07cf
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
4 行删除
+11
-4
organzation.vue
src/components/yqrange/organzation.vue
+3
-0
create-range.vue
src/views/yqrange/create-range.vue
+8
-4
未找到文件。
src/components/yqrange/organzation.vue
浏览文件 @
729f20ae
...
@@ -103,6 +103,7 @@
...
@@ -103,6 +103,7 @@
totalOrganization
:
10
,
totalOrganization
:
10
,
pageSizeOrganization
:
2
,
pageSizeOrganization
:
2
,
activeName
:
""
,
activeName
:
""
,
selectionList
:
""
,
formOrganization
:
{
formOrganization
:
{
name
:
""
,
name
:
""
,
administrativeId
:
"0"
,
administrativeId
:
"0"
,
...
@@ -186,6 +187,7 @@
...
@@ -186,6 +187,7 @@
},
},
//机构table中勾选一个
//机构table中勾选一个
selectOrganization
(
selection
,
row
)
{
selectOrganization
(
selection
,
row
)
{
this
.
selectionList
=
selection
;
console
.
log
(
"select"
,
selection
,
row
);
console
.
log
(
"select"
,
selection
,
row
);
let
flag
=
false
;
let
flag
=
false
;
for
(
let
i
=
0
;
i
<
selection
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
selection
.
length
;
i
++
)
{
...
@@ -212,6 +214,7 @@
...
@@ -212,6 +214,7 @@
},
},
//机构table中勾选一排
//机构table中勾选一排
selectAllOrganization
(
selection
)
{
selectAllOrganization
(
selection
)
{
this
.
selectionList
=
selection
;
let
setList
=
[];
let
setList
=
[];
let
selectList
=
[];
let
selectList
=
[];
for
(
let
i
=
0
;
i
<
vm
.
tableOrganization
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
vm
.
tableOrganization
.
length
;
i
++
)
{
...
...
src/views/yqrange/create-range.vue
浏览文件 @
729f20ae
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</base-info>
</base-info>
</div>
</div>
<div
class=
"second-step"
v-else-if=
"active === 1"
>
<div
class=
"second-step"
v-else-if=
"active === 1"
>
<organzation
:formData=
"formData"
></organzation>
<organzation
:formData=
"formData"
ref=
"org"
></organzation>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -85,6 +85,10 @@
...
@@ -85,6 +85,10 @@
//完成
//完成
complete
()
{
complete
()
{
if
(
this
.
$refs
.
org
.
selectionList
==
null
||
this
.
$refs
.
org
.
selectionList
==
""
){
this
.
$message
.
warning
(
'请选择机构'
);
return
;
}
console
.
log
(
this
.
formData
.
id
);
console
.
log
(
this
.
formData
.
id
);
let
req
=
{
let
req
=
{
circleId
:
this
.
formData
.
id
,
circleId
:
this
.
formData
.
id
,
...
@@ -140,8 +144,8 @@
...
@@ -140,8 +144,8 @@
vm
.
formData
.
id
=
res
.
data
;
vm
.
formData
.
id
=
res
.
data
;
this
.
active
=
1
;
this
.
active
=
1
;
this
.
stepData
=
[
false
,
true
];
this
.
stepData
=
[
false
,
true
];
}
else
{
}
else
{
//
//
}
}
...
@@ -203,4 +207,4 @@
...
@@ -203,4 +207,4 @@
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录