Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
033b24ad
提交
033b24ad
编写于
7月 16, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
勾选状态
上级
6c242d7a
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
46 行删除
+11
-46
data-alignment.vue
src/views/learning/data-alignment.vue
+7
-45
item-list.vue
src/views/learning/item-list.vue
+4
-1
未找到文件。
src/views/learning/data-alignment.vue
浏览文件 @
033b24ad
...
@@ -174,9 +174,15 @@ export default {
...
@@ -174,9 +174,15 @@ export default {
},
},
created
()
{
created
()
{
vm
=
this
;
vm
=
this
;
this
.
search
();
//
this.search();
console
.
log
(
vm
.
dialogData
);
console
.
log
(
vm
.
dialogData
);
},
},
mounted
:
function
()
{
//父组件传值
this
.
$on
(
"search"
,
()
=>
{
this
.
search
();
});
},
methods
:
{
methods
:
{
// 将选中行放入数组
// 将选中行放入数组
handleSelectionChange
(
rows
)
{
handleSelectionChange
(
rows
)
{
...
@@ -209,50 +215,6 @@ export default {
...
@@ -209,50 +215,6 @@ export default {
this
.
$emit
(
"closeDialog"
);
this
.
$emit
(
"closeDialog"
);
},
},
search
()
{
search
()
{
this
.
tableData
=
[
{
id
:
1
,
name
:
"张医生"
,
joinStatus
:
1
,
record
:
1
,
progress
:
"谈西社区卫生服务站"
,
desk
:
"全科"
,
rank
:
"一甲"
,
province
:
"河北省"
,
city
:
"石家庄市"
,
district
:
"长安区"
,
address
:
"建北街道"
,
radio
:
"1"
},
{
id
:
2
,
name
:
"汤医生"
,
joinStatus
:
2
,
record
:
1
,
progress
:
"谈西社区卫生服务站"
,
desk
:
"全科"
,
rank
:
"一甲"
,
province
:
"河北省"
,
city
:
"石家庄市"
,
district
:
"长安区"
,
address
:
"建北街道"
,
radio
:
"1"
},
{
id
:
3
,
name
:
"谢医生"
,
joinStatus
:
2
,
record
:
1
,
progress
:
"上海卫生局"
,
desk
:
"全科"
,
rank
:
"一甲"
,
province
:
"河北省"
,
city
:
"石家庄市"
,
district
:
"长安区"
,
address
:
"建北街道"
,
radio
:
"1"
}
];
let
req
=
{
let
req
=
{
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
2
,
pageSize
:
2
,
...
...
src/views/learning/item-list.vue
浏览文件 @
033b24ad
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</el-dialog>
</el-dialog>
<el-dialog
title
:visible
.
sync=
"dialogUpdate"
width=
"90%"
center
>
<el-dialog
title
:visible
.
sync=
"dialogUpdate"
width=
"90%"
center
>
<!--
<el-button
@
click=
"dialogUpdate = false"
>
取 消
</el-button>
-->
<!--
<el-button
@
click=
"dialogUpdate = false"
>
取 消
</el-button>
-->
<data-alignment
@
closeDialog=
"dialogUpdate = false"
:dialogData=
"dialogData"
></data-alignment>
<data-alignment
ref=
"childAlignment"
@
closeDialog=
"dialogUpdate = false"
:dialogData=
"dialogData"
></data-alignment>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</div>
...
@@ -444,6 +444,9 @@ export default {
...
@@ -444,6 +444,9 @@ export default {
changeDate
()
{
changeDate
()
{
this
.
setDialogData
();
this
.
setDialogData
();
this
.
dialogUpdate
=
true
;
this
.
dialogUpdate
=
true
;
this
.
$nextTick
(
function
()
{
this
.
$refs
.
childAlignment
.
$emit
(
"search"
);
});
}
}
}
}
};
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录