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
提交
199898a6
提交
199898a6
编写于
12月 03, 2021
作者:
qian.jie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
医助管理修改
上级
60022c16
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
45 行增加
和
25 行删除
+45
-25
workbench.js
src/api/workbench.js
+3
-2
department-doctor.vue
src/components/common/department-doctor.vue
+1
-1
operation.vue
src/views/IM/diagnosis-admin/operation.vue
+18
-9
workbench-new.vue
src/views/IM/diagnosis-admin/workbench-new.vue
+23
-13
未找到文件。
src/api/workbench.js
浏览文件 @
199898a6
...
@@ -10,8 +10,9 @@ export const doctorListAnd = async(data) => {
...
@@ -10,8 +10,9 @@ export const doctorListAnd = async(data) => {
export
const
doctorListRest
=
async
(
data
)
=>
{
export
const
doctorListRest
=
async
(
data
)
=>
{
return
request
({
return
request
({
url
:
`diagnose/admin/diagnose/reset/operate/doctorList/
${
data
.
uid
}
`
,
url
:
'diagnose/admin/diagnose/reset/operate/doctorList'
,
method
:
'get'
,
method
:
'post'
,
data
:
data
});
});
};
};
export
const
conditionUpdate
=
async
(
data
)
=>
{
export
const
conditionUpdate
=
async
(
data
)
=>
{
...
...
src/components/common/department-doctor.vue
浏览文件 @
199898a6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
:label=
"itemChild.doctorId"
:label=
"itemChild.doctorId"
:disabled=
"itemChild.disabled"
:disabled=
"itemChild.disabled"
>
>
{{
itemChild
.
doctorName
+
' '
}}{{
' '
+
itemChild
.
doctorId
}}
{{
itemChild
.
doctorName
+
' '
}}{{
' '
+
itemChild
.
doctorId
}}
</el-checkbox>
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-tab-pane>
</el-tab-pane>
...
...
src/views/IM/diagnosis-admin/operation.vue
浏览文件 @
199898a6
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
v-for=
"(item, index) in adminList"
v-for=
"(item, index) in adminList"
:key=
"index"
:key=
"index"
class=
"checkbox-item"
class=
"checkbox-item"
@
change=
"((val)=>
{setResert(val,item)})"
>
>
<el-checkbox
:label=
"item.id"
>
<el-checkbox
:label=
"item.id"
>
{{
item
.
name
}}
{{
item
.
name
}}
...
@@ -35,7 +34,7 @@
...
@@ -35,7 +34,7 @@
</el-button>
</el-button>
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"sumbitmatch"
@
click=
"sumbitmatch
Cancel
"
>
>
确定
确定
</el-button>
</el-button>
...
@@ -77,13 +76,15 @@
...
@@ -77,13 +76,15 @@
sumbitMatch
sumbitMatch
}
from
'@/api/operation'
;
}
from
'@/api/operation'
;
import
{
doctorListRest
}
from
'@/api/workbench'
;
import
{
doctorListRest
}
from
'@/api/workbench'
;
import
_
from
'lodash'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
checklist
:
[],
checklist
:
[],
adminList
:
[],
adminList
:
[],
showIsReset
:
false
,
showIsReset
:
false
,
operateId
:
''
operateId
:
''
,
oldCheckList
:[],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -127,6 +128,7 @@
...
@@ -127,6 +128,7 @@
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
checklist
=
res
.
data
;
this
.
checklist
=
res
.
data
;
this
.
oldCheckList
=
this
.
checklist
;
}
}
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
@@ -143,16 +145,23 @@
...
@@ -143,16 +145,23 @@
cancelResert
()
{
cancelResert
()
{
this
.
showIsReset
=
false
;
this
.
showIsReset
=
false
;
},
},
sumbitmatchCancel
()
{
this
.
cancelList
=
_
.
difference
(
this
.
oldCheckList
,
this
.
checklist
);
if
(
this
.
cancelList
.
length
>
0
)
{
this
.
showIsReset
=
true
;
}
else
{
this
.
sumbitmatch
();
}
},
confirmResert
()
{
confirmResert
()
{
const
param
=
{
const
uidList
=
this
.
cancelList
||
[];
uid
:
this
.
operateId
doctorListRest
(
uidList
).
then
(
res
=>
{
};
doctorListRest
(
param
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
showIsReset
=
false
;
this
.
showIsReset
=
false
;
this
.
sumbitmatch
();
}
}
});
});
}
,
}
},
},
};
};
</
script
>
</
script
>
...
...
src/views/IM/diagnosis-admin/workbench-new.vue
浏览文件 @
199898a6
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
this
.
tabPositionValue
=
this
.
$route
.
query
.
type
||
'3'
;
this
.
tabPositionValue
=
this
.
$route
.
query
.
type
||
'3'
;
},
},
mounted
()
{
mounted
()
{
const
s
=
storejs
.
get
(
'
soketQuest
'
);
const
s
=
storejs
.
get
(
'
initSocketInfo
'
);
const
id
=
const
id
=
s
&&
s
.
operateUserId
?
s
.
operateUserId
:
this
.
isSuperAdmin
.
userID
;
s
&&
s
.
operateUserId
?
s
.
operateUserId
:
this
.
isSuperAdmin
.
userID
;
this
.
operateUserId
=
id
;
this
.
operateUserId
=
id
;
...
@@ -326,10 +326,8 @@
...
@@ -326,10 +326,8 @@
},
},
methods
:
{
methods
:
{
doctorDeparList
()
{
doctorDeparList
()
{
const
userInfo
=
storejs
.
get
(
'initSocketInfo'
);
const
{
userId
}
=
userInfo
;
const
param
=
{
const
param
=
{
uid
:
userId
uid
:
this
.
operatId
||
this
.
userInfo
.
userId
,
};
};
doctorDeparList
(
param
).
then
(
res
=>
{
doctorDeparList
(
param
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
...
@@ -346,14 +344,14 @@
...
@@ -346,14 +344,14 @@
this
.
showIsReset
=
false
;
this
.
showIsReset
=
false
;
},
},
confirmResert
()
{
confirmResert
()
{
const
userInfo
=
storejs
.
get
(
'initSocketInfo'
);
const
uidList
=
this
.
operatId
?
[
this
.
operatId
]
:
[]
||
this
.
userInfo
.
userId
?
[
this
.
userInfo
.
userId
]
:
[];
const
{
userId
}
=
userInfo
;
doctorListRest
(
uidList
).
then
(
res
=>
{
const
param
=
{
uid
:
this
.
operatId
?
this
.
operatId
:
userId
};
doctorListRest
(
param
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
this
.
showIsReset
=
false
;
this
.
showIsReset
=
false
;
this
.
$message
({
message
:
'重置成功'
,
type
:
'success'
,
});
this
.
doctorDeparList
();
this
.
doctorDeparList
();
}
}
});
});
...
@@ -376,15 +374,27 @@
...
@@ -376,15 +374,27 @@
},
},
confirmDoctorList
()
{
confirmDoctorList
()
{
const
userInfo
=
storejs
.
get
(
'initSocketInfo'
);
const
userInfo
=
storejs
.
get
(
'initSocketInfo'
);
const
{
user
Id
,
user
Name
}
=
userInfo
;
const
{
userName
}
=
userInfo
;
const
params
=
{
const
params
=
{
cancelDoctorIdList
:
this
.
cancelCheckList
||
[],
cancelDoctorIdList
:
this
.
cancelCheckList
||
[],
insertDoctorIdList
:
this
.
newCheckList
||
[],
insertDoctorIdList
:
this
.
newCheckList
||
[],
operateUserId
:
userId
,
operateUserId
:
this
.
operatId
||
this
.
userInfo
.
userId
,
operateUserName
:
userName
operateUserName
:
userName
};
};
doctorListAnd
(
params
).
then
(
res
=>
{
doctorListAnd
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
data
.
length
>
0
)
{
const
totallistShow
=
res
.
data
.
join
(
','
);
this
.
$message
({
message
:
`医生ID为
${
totallistShow
}
已被其他运营分配`
,
type
:
'warning'
});
}
else
{
this
.
$message
({
message
:
'保存成功'
,
type
:
'success'
,
});
}
this
.
doctorDeparList
();
this
.
doctorDeparList
();
}
}
});
});
...
@@ -393,7 +403,7 @@
...
@@ -393,7 +403,7 @@
initCard
()
{
initCard
()
{
const
parms
=
{
const
parms
=
{
bizType
:
this
.
tabPositionValue
,
// 1,异常的列表 2,不需要处理的列表
bizType
:
this
.
tabPositionValue
,
// 1,异常的列表 2,不需要处理的列表
userId
:
this
.
userInfo
.
userId
||
this
.
operateU
serId
,
// userId
userId
:
this
.
operatId
||
this
.
userInfo
.
u
serId
,
// userId
condition
:
this
.
orderOrName
||
''
,
condition
:
this
.
orderOrName
||
''
,
};
};
conditionNewList
(
parms
)
conditionNewList
(
parms
)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录