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
提交
9151ffb2
提交
9151ffb2
编写于
4月 17, 2024
作者:
xinglee23
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: bugfix
上级
af7d58c2
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
173 行增加
和
174 行删除
+173
-174
.env.development.local
.env.development.local
+1
-1
table-set-component.vue
src/components/list/table-set-component.vue
+171
-172
vue.config.js
vue.config.js
+1
-1
未找到文件。
.env.development.local
浏览文件 @
9151ffb2
...
...
@@ -17,4 +17,4 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2
#本地token
VUE_APP_TOKEN=
B638EE700AD348B8B432E7DF53A48E87
VUE_APP_TOKEN=
26D1BA0C935C4C92BB5BB33EF61D4AD9
src/components/list/table-set-component.vue
浏览文件 @
9151ffb2
...
...
@@ -222,10 +222,9 @@
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"callAssistant(scope.row
,
)"
@
click=
"callAssistant(scope.row)"
>
{{
scope
.
row
.
consultRoadType
==
2
?
'呼叫居民'
:
'呼叫助诊医生'
}}
{{
scope
.
row
.
consultRoadType
==
2
?
'呼叫居民'
:
'呼叫助诊医生'
}}
</el-button>
</
template
>
</el-table-column>
...
...
@@ -250,181 +249,181 @@
</template>
<
script
>
import
{
DIAGNOS_LIST_NEW
}
from
'@/utils/GeneralData/diagnosis-list-new'
;
import
TabSet
from
'@/components/common/tab-set'
;
export
default
{
components
:
{
TabSet
,
},
props
:
{
menuType
:
{
type
:
Number
,
default
:
1
,
},
loading
:
{
type
:
Boolean
,
default
:
false
,
},
tableData
:
{
type
:
Array
,
default
()
{
return
[];
},
},
saveTableData
:
{
type
:
Array
,
default
()
{
return
[];
},
},
searchParam
:
{
type
:
Object
,
default
:
()
=>
{},
},
totalRows
:
{
type
:
Number
,
default
:
0
,
},
tableHeight
:
{
type
:
Number
,
default
:
500
,
},
multipleSelection
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
},
},
import
{
DIAGNOS_LIST_NEW
}
from
'@/utils/GeneralData/diagnosis-list-new'
;
import
TabSet
from
'@/components/common/tab-set'
;
export
default
{
components
:
{
TabSet
,
},
props
:
{
menuType
:
{
type
:
Number
,
default
:
1
,
},
data
()
{
return
{
dtTableData
:
DIAGNOS_LIST_NEW
,
showTableData
:
DIAGNOS_LIST_NEW
,
isFreash
:
true
,
};
},
watch
:
{},
mounted
()
{
this
.
showTableData
=
this
.
saveTableData
;
},
methods
:
{
// 获取展示的tab
updateTableProps
(
newdata
)
{
this
.
showTableData
=
newdata
;
this
.
$emit
(
'getTableData'
,
newdata
);
},
reFeach
()
{
this
.
isFreash
=
false
;
this
.
$nextTick
(()
=>
{
this
.
isFreash
=
true
;
});
loading
:
{
type
:
Boolean
,
default
:
false
,
},
tableData
:
{
type
:
Array
,
default
()
{
return
[];
},
// 选中的数据
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
$emit
(
'update:multipleSelection'
,
this
.
multipleSelection
);
},
saveTableData
:
{
type
:
Array
,
default
()
{
return
[];
},
sortfunc
(
data
)
{
this
.
$emit
(
'sortfunc'
,
data
);
},
searchParam
:
{
type
:
Object
,
default
:
()
=>
{},
},
totalRows
:
{
type
:
Number
,
default
:
0
,
},
tableHeight
:
{
type
:
Number
,
default
:
500
,
},
multipleSelection
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
},
showBtn
(
row
,
...
arr
)
{
return
arr
.
includes
(
row
.
status
);
},
},
data
()
{
return
{
dtTableData
:
DIAGNOS_LIST_NEW
,
showTableData
:
DIAGNOS_LIST_NEW
,
isFreash
:
true
,
};
},
watch
:
{},
mounted
()
{
this
.
showTableData
=
this
.
saveTableData
;
},
methods
:
{
// 获取展示的tab
updateTableProps
(
newdata
)
{
this
.
showTableData
=
newdata
;
this
.
$emit
(
'getTableData'
,
newdata
);
},
reFeach
()
{
this
.
isFreash
=
false
;
this
.
$nextTick
(()
=>
{
this
.
isFreash
=
true
;
});
},
// 选中的数据
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
$emit
(
'update:multipleSelection'
,
this
.
multipleSelection
);
},
sortfunc
(
data
)
{
this
.
$emit
(
'sortfunc'
,
data
);
},
showBtn
(
row
,
...
arr
)
{
return
arr
.
includes
(
row
.
status
);
// return true;
},
// 分页
handleSizeChange
(
value
)
{
this
.
$emit
(
'handleSizeChange'
,
value
);
},
handleCurrentChange
(
value
)
{
this
.
$emit
(
'handleCurrentChange'
,
value
);
},
// 设为待问诊
witeDiagnose
(
row
)
{
this
.
$emit
(
'witeDiagnose'
,
row
);
},
// 更换运营
changeRun
(
row
)
{
this
.
$emit
(
'changeRun'
,
row
);
},
// 查看详情 \编辑
goDetail
(
row
,
flag
)
{
this
.
$emit
(
'goDetail'
,
row
,
flag
);
},
// 取消/退款
cancelRefund
(
row
)
{
this
.
$emit
(
'cancelRefund'
,
row
);
},
// 设为稍后跟进
witeGo
(
row
)
{
this
.
$emit
(
'witeGo'
,
row
);
},
// 申请取消
applyCancel
(
row
)
{
this
.
$emit
(
'applyCancel'
,
row
);
},
// 设为待匹配医生
waitMatchDot
(
row
)
{
this
.
$emit
(
'waitMatchDot'
,
row
);
},
// 修改科室
updateDepartId
(
row
)
{
this
.
$emit
(
'updateDepartId'
,
row
);
},
// 发送消息
sendMessage
(
row
)
{
this
.
$emit
(
'sendMessage'
,
row
);
},
// 加入问诊
joinDiagnose
(
row
)
{
this
.
$emit
(
'joinDiagnose'
,
row
);
},
// 匹配运营
// matchRun(row) {
// this.$emit("matchRun", row);
// },
// 设为待分诊
// waitDiagnose(row) {
// this.$emit("waitDiagnose", row);
// },
// 设为待协调医生
waitHzeDot
(
row
)
{
this
.
$emit
(
'waitHzeDot'
,
row
);
},
// 设为待确认时间
waitMatchTime
(
row
)
{
this
.
$emit
(
'waitMatchTime'
,
row
);
},
// 设为待确认时间
changeTimeNew
(
row
)
{
this
.
$emit
(
'waitMatchTime'
,
row
,
true
);
},
// 重新匹配医生
reMatchDot
(
row
,
type
)
{
this
.
$emit
(
'reMatchDot'
,
row
,
type
);
},
// 修改时间
changeTime
(
row
)
{
this
.
$emit
(
'changeTime'
,
row
);
},
// 发起问诊
// call(row) {
// this.$emit("call", row);
// },
// 设为已完成
doneHandle
(
row
)
{
this
.
$emit
(
'doneHandle'
,
row
);
},
goEdite
(
row
)
{
this
.
$emit
(
'goEdite'
,
row
);
},
setOffice
(
value
)
{
this
.
$emit
(
'setOffice'
,
value
);
},
callAssistant
(
row
)
{
this
.
$emit
(
'callAssistant'
,
row
);
}
},
};
// 分页
handleSizeChange
(
value
)
{
this
.
$emit
(
'handleSizeChange'
,
value
);
},
handleCurrentChange
(
value
)
{
this
.
$emit
(
'handleCurrentChange'
,
value
);
},
// 设为待问诊
witeDiagnose
(
row
)
{
this
.
$emit
(
'witeDiagnose'
,
row
);
},
// 更换运营
changeRun
(
row
)
{
this
.
$emit
(
'changeRun'
,
row
);
},
// 查看详情 \编辑
goDetail
(
row
,
flag
)
{
this
.
$emit
(
'goDetail'
,
row
,
flag
);
},
// 取消/退款
cancelRefund
(
row
)
{
this
.
$emit
(
'cancelRefund'
,
row
);
},
// 设为稍后跟进
witeGo
(
row
)
{
this
.
$emit
(
'witeGo'
,
row
);
},
// 申请取消
applyCancel
(
row
)
{
this
.
$emit
(
'applyCancel'
,
row
);
},
// 设为待匹配医生
waitMatchDot
(
row
)
{
this
.
$emit
(
'waitMatchDot'
,
row
);
},
// 修改科室
updateDepartId
(
row
)
{
this
.
$emit
(
'updateDepartId'
,
row
);
},
// 发送消息
sendMessage
(
row
)
{
this
.
$emit
(
'sendMessage'
,
row
);
},
// 加入问诊
joinDiagnose
(
row
)
{
this
.
$emit
(
'joinDiagnose'
,
row
);
},
// 匹配运营
// matchRun(row) {
// this.$emit("matchRun", row);
// },
// 设为待分诊
// waitDiagnose(row) {
// this.$emit("waitDiagnose", row);
// },
// 设为待协调医生
waitHzeDot
(
row
)
{
this
.
$emit
(
'waitHzeDot'
,
row
);
},
// 设为待确认时间
waitMatchTime
(
row
)
{
this
.
$emit
(
'waitMatchTime'
,
row
);
},
// 设为待确认时间
changeTimeNew
(
row
)
{
this
.
$emit
(
'waitMatchTime'
,
row
,
true
);
},
// 重新匹配医生
reMatchDot
(
row
,
type
)
{
this
.
$emit
(
'reMatchDot'
,
row
,
type
);
},
// 修改时间
changeTime
(
row
)
{
this
.
$emit
(
'changeTime'
,
row
);
},
// 发起问诊
call
(
row
)
{
this
.
$emit
(
'call'
,
row
);
},
// 设为已完成
doneHandle
(
row
)
{
this
.
$emit
(
'doneHandle'
,
row
);
},
goEdite
(
row
)
{
this
.
$emit
(
'goEdite'
,
row
);
},
setOffice
(
value
)
{
this
.
$emit
(
'setOffice'
,
value
);
},
callAssistant
(
row
)
{
this
.
$emit
(
'callAssistant'
,
row
);
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
vue.config.js
浏览文件 @
9151ffb2
...
...
@@ -70,7 +70,7 @@ module.exports = {
port
:
8080
,
proxy
:
{
'/proxy'
:
{
target
:
'https://
dev
-sc.yunqueyi.com/'
,
target
:
'https://
test1
-sc.yunqueyi.com/'
,
ws
:
false
,
changeOrigin
:
true
,
secure
:
true
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录