Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
8115f0db
提交
8115f0db
编写于
9月 27, 2021
作者:
jq
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
选择复原
上级
db733e0c
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
8 行删除
+21
-8
table-set-component.vue
src/components/list/table-set-component.vue
+8
-0
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+13
-8
未找到文件。
src/components/list/table-set-component.vue
浏览文件 @
8115f0db
...
@@ -256,6 +256,12 @@
...
@@ -256,6 +256,12 @@
return
[];
return
[];
},
},
},
},
saveTableData
:
{
type
:
Array
,
default
()
{
return
[];
},
},
searchParam
:
{
searchParam
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{},
default
:
()
=>
{},
...
@@ -285,11 +291,13 @@
...
@@ -285,11 +291,13 @@
watch
:
{
watch
:
{
},
},
mounted
()
{
mounted
()
{
this
.
showTableData
=
this
.
saveTableData
;
},
},
methods
:
{
methods
:
{
// 获取展示的tab
// 获取展示的tab
updateTableProps
(
newdata
)
{
updateTableProps
(
newdata
)
{
this
.
showTableData
=
newdata
;
this
.
showTableData
=
newdata
;
this
.
$emit
(
'getTableData'
,
newdata
);
},
},
reFeach
()
{
reFeach
()
{
this
.
isFreash
=
false
;
this
.
isFreash
=
false
;
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
8115f0db
...
@@ -277,6 +277,7 @@
...
@@ -277,6 +277,7 @@
</span>
</span>
</div>
</div>
<table-set-component
<table-set-component
v-if=
"saveFresh"
:menu-type=
"searchParam.menuType"
:menu-type=
"searchParam.menuType"
:loading=
"loading"
:loading=
"loading"
:table-data=
"tableData"
:table-data=
"tableData"
...
@@ -284,7 +285,7 @@
...
@@ -284,7 +285,7 @@
:table-height=
"tableHeight"
:table-height=
"tableHeight"
:total-rows=
"totalRows"
:total-rows=
"totalRows"
:multiple-selection
.
sync=
"multipleSelection"
:multiple-selection
.
sync=
"multipleSelection"
@
handleClick=
"handleClick
"
:save-table-data=
"saveTableData
"
@
sortfunc=
"sortfunc"
@
sortfunc=
"sortfunc"
@
witeDiagnose=
"witeDiagnose"
@
witeDiagnose=
"witeDiagnose"
@
changeRun=
"changeRun"
@
changeRun=
"changeRun"
...
@@ -304,6 +305,7 @@
...
@@ -304,6 +305,7 @@
@
setOffice=
"setOffice"
@
setOffice=
"setOffice"
@
handleSizeChange=
"handleSizeChange"
@
handleSizeChange=
"handleSizeChange"
@
handleCurrentChange=
"handleCurrentChange"
@
handleCurrentChange=
"handleCurrentChange"
@
getTableData=
"getTableData"
/>
/>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
...
@@ -386,6 +388,7 @@
...
@@ -386,6 +388,7 @@
let
vm
=
null
;
let
vm
=
null
;
import
{
updateDiagnosis
}
from
'../../../utils/diagnosis'
;
import
{
updateDiagnosis
}
from
'../../../utils/diagnosis'
;
import
{
base64decode
}
from
'../../../utils/utils.js'
;
import
{
base64decode
}
from
'../../../utils/utils.js'
;
import
{
DIAGNOS_LIST_NEW
}
from
'@/utils/GeneralData/diagnosis-list-new'
;
import
{
import
{
TYPE_LIST
,
TYPE_LIST
,
IS_FLLOW
,
IS_FLLOW
,
...
@@ -430,7 +433,7 @@
...
@@ -430,7 +433,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
isFrea
sh
:
true
,
saveFre
sh
:
true
,
isUp
:
false
,
isUp
:
false
,
endFlag
:
false
,
endFlag
:
false
,
beginFlag
:
false
,
beginFlag
:
false
,
...
@@ -494,7 +497,7 @@
...
@@ -494,7 +497,7 @@
doctorId
:
0
,
doctorId
:
0
,
operateUserID
:
''
,
operateUserID
:
''
,
triageDepartmentId
:
0
,
triageDepartmentId
:
0
,
saveTableData
:
DIAGNOS_LIST_NEW
,
pickerOptions1
:
{
pickerOptions1
:
{
disabledDate
:
(
time
)
=>
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>
new
Date
().
getTime
();
// 减去一天的时间代表可以选择同一天;
return
time
.
getTime
()
>
new
Date
().
getTime
();
// 减去一天的时间代表可以选择同一天;
...
@@ -533,6 +536,9 @@
...
@@ -533,6 +536,9 @@
clearInterval
(
this
.
timer
);
clearInterval
(
this
.
timer
);
},
},
methods
:
{
methods
:
{
getTableData
(
val
)
{
this
.
saveTableData
=
val
||
[];
},
selectToggle
()
{
selectToggle
()
{
this
.
isUp
=
!
this
.
isUp
;
this
.
isUp
=
!
this
.
isUp
;
},
},
...
@@ -573,7 +579,6 @@
...
@@ -573,7 +579,6 @@
this
.
searchParam
.
status
=
''
;
this
.
searchParam
.
status
=
''
;
this
.
Raw_tabpaneList
=
[];
this
.
Raw_tabpaneList
=
[];
this
.
getTabs
().
then
((
res
)
=>
{
this
.
getTabs
().
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
)
{
if
(
res
)
{
this
.
getsearch
();
this
.
getsearch
();
}
}
...
@@ -668,8 +673,6 @@
...
@@ -668,8 +673,6 @@
},
},
// tab切换
// tab切换
handleClick
(
val
)
{
handleClick
(
val
)
{
console
.
log
(
'changeTableDatachangeTableData'
,
val
);
console
.
log
(
'this.fromType'
,
this
.
fromType
);
for
(
let
i
=
0
;
i
<
this
.
tabpaneList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
tabpaneList
.
length
;
i
++
)
{
if
(
this
.
tabpaneList
[
i
].
active
==
val
.
paneName
)
{
if
(
this
.
tabpaneList
[
i
].
active
==
val
.
paneName
)
{
this
.
tabpaneList
[
i
].
isdot
=
false
;
this
.
tabpaneList
[
i
].
isdot
=
false
;
...
@@ -710,8 +713,11 @@
...
@@ -710,8 +713,11 @@
delete
this
.
searchParam
.
hasToFollowReason
;
delete
this
.
searchParam
.
hasToFollowReason
;
}
}
}
}
this
.
getsearch
();
this
.
getsearch
();
this
.
saveFresh
=
false
;
this
.
$nextTick
(()
=>
{
this
.
saveFresh
=
true
;
});
},
},
// 初始化时间
// 初始化时间
...
@@ -770,7 +776,6 @@
...
@@ -770,7 +776,6 @@
search
(
isTabs
)
{
search
(
isTabs
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
if
(
!
isTabs
)
{
if
(
!
isTabs
)
{
console
.
log
(
'isTabs'
,
isTabs
);
this
.
getTabs
();
this
.
getTabs
();
}
}
this
.
initTime
();
this
.
initTime
();
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录