Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
28d0a40d
提交
28d0a40d
编写于
4月 26, 2019
作者:
xinxu.wang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-followUp-20190312' into 'release_followup'
Dev follow up 20190312 See merge request !21
上级
2788d4c2
cc671780
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
6 行删除
+21
-6
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+20
-5
record-list.vue
src/views/followup/record-manage/record-list.vue
+1
-1
未找到文件。
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
28d0a40d
...
...
@@ -13,6 +13,7 @@
<div
class=
"add-time-content"
>
<div
class=
"time-line-scroll special-control-class"
>
<el-tabs
v-model=
"activeTab"
type=
"card"
@
tab-remove=
"deleteTimeNode"
:closable=
"tabClosable()"
:before-leave=
"checkHasChoseComent"
>
<!--:before-leave="checkHasChoseComent"-->
<el-tab-pane
v-for=
"(itemTimeForm, index) in setTimeNodeList"
...
...
@@ -174,7 +175,7 @@
type
:
[{
required
:
true
,
message
:
'请选择随访方式'
,
trigger
:
'change'
}],
},
isSelectCartoon
:
false
,
activeTab
:
0
,
activeTab
:
'0'
,
activeComentId
:
''
,
markOptions
:
[],
followTypeList
:
[],
...
...
@@ -187,6 +188,7 @@
activeResourceId
:
''
,
errMsg
:
''
,
timeIsRepeat
:
false
,
hasData
:
false
,
}
},
props
:
{
...
...
@@ -210,7 +212,7 @@
// 初始化 固定模板或者修改计划 的时间节点
standedTimeNodeList
(
val
){
if
(
this
.
isStandedTemplate
||
this
.
planId
){
this
.
activeTab
=
0
+
'
'
;
// this.activeTab = '0
';
this
.
setTimeNodeList
=
val
;
this
.
$forceUpdate
();
}
...
...
@@ -220,7 +222,7 @@
// console.log('activeResourceId=',this.activeResourceId)
if
(
parseFloat
(
val
)
>=
0
){
if
(
val
!==
this
.
activeResourceId
){
this
.
activeTab
=
0
+
'
'
;
this
.
activeTab
=
'0
'
;
this
.
setTimeNodeList
=
this
.
standedTimeNodeList
;
this
.
$forceUpdate
();
if
(
this
.
isStandedTemplate
){
// 系统固定模板
...
...
@@ -233,7 +235,7 @@
}
},
setTimeNodeList
(
val
){
this
.
setTimeNodeList
=
val
;
//
this.setTimeNodeList = val;
if
(
this
.
setTimeNodeList
.
length
>
0
){
this
.
timeUnit
=
this
.
setTimeNodeList
[
0
].
timeUnit
// 这里操作时间节点的数据
...
...
@@ -277,7 +279,13 @@
});
this
.
$forceUpdate
();
this
.
choseTimeUit
(
this
.
setTimeNodeList
[
0
].
timeUnit
);
this
.
activeTab
=
this
.
setTimeNodeList
.
length
-
1
+
''
;
if
(
!
this
.
hasData
){
this
.
$nextTick
(()
=>
{
this
.
activeTab
=
this
.
setTimeNodeList
.
length
-
1
+
''
;
this
.
hasData
=
true
;
})
}
// this.activeTab = this.setTimeNodeList.length - 1 + '';
}
},
...
...
@@ -379,6 +387,9 @@
// 保存 校验通过后,排序 + 发送请求
// 新增成功之后
this
.
setTimeNodeList
=
this
.
sortKey
(
this
.
setTimeNodeList
,
'timeNo'
,
this
.
setTimeNodeList
[
this
.
activeTab
].
timeNo
);
this
.
$nextTick
(()
=>
{
this
.
activeTab
=
this
.
setTimeNodeList
.
length
-
1
+
''
;
})
this
.
$emit
(
'addListenSave'
,{
status
:
true
,
setTimeNodeList
:
this
.
setTimeNodeList
...
...
@@ -410,6 +421,10 @@
this
.
activeTab
=
newTabName
;
// 新增成功之后
this
.
setTimeNodeList
=
this
.
sortKey
(
this
.
setTimeNodeList
,
'timeNo'
,
this
.
setTimeNodeList
[
this
.
activeTab
].
timeNo
);
this
.
$nextTick
(()
=>
{
this
.
activeTab
=
this
.
setTimeNodeList
.
length
-
1
+
''
;
})
}
else
{
this
.
$message
({
message
:
this
.
errMsg
,
...
...
src/views/followup/record-manage/record-list.vue
浏览文件 @
28d0a40d
...
...
@@ -62,7 +62,7 @@
<span
:class=
"scope.row.status == 1 ? 'status-span': ''"
>
{{
scope
.
row
.
status
|
statusFileter
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
min-width=
"2
6
0"
>
<el-table-column
label=
"操作"
fixed=
"right"
align=
"center"
min-width=
"2
1
0"
>
<
template
slot-scope=
"scope"
>
<el-button
class=
"btn-right-class"
type=
"text"
@
click=
"editRow(scope.row)"
>
随访录入
</el-button>
|
<el-button
class=
"btn-right-class"
type=
"text"
@
click=
"changeStatusRow(scope.row)"
>
变更随访状态
</el-button>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录