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
提交
7de96d4e
提交
7de96d4e
编写于
12月 01, 2021
作者:
xiaoping.di
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问诊台调整ui1
上级
d71dac2b
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
1261 行增加
和
37 行删除
+1261
-37
workbench.js
src/api/workbench.js
+8
-0
index.js
src/components/common/consultationCard/index.js
+350
-0
index.scss
src/components/common/consultationCard/index.scss
+334
-0
index.vue
src/components/common/consultationCard/index.vue
+216
-0
department.vue
src/components/common/department.vue
+232
-0
round.js
src/store/modules/round.js
+41
-0
workbench-new.vue
src/views/IM/diagnosis-admin/workbench-new.vue
+76
-35
slidebar.vue
src/views/layout/components/slidebar.vue
+3
-1
vue.config.js
vue.config.js
+1
-1
未找到文件。
src/api/workbench.js
浏览文件 @
7de96d4e
...
...
@@ -5,4 +5,12 @@ export const conditionUpdate = async(data) => {
data
:
data
,
method
:
'post'
,
});
};
export
const
conditionNewList
=
async
(
data
)
=>
{
return
request
({
url
:
'/diagnose/admin/diagnose/operator/newList'
,
params
:
data
,
method
:
'get'
,
});
};
\ No newline at end of file
src/components/common/consultationCard
.vue
→
src/components/common/consultationCard
/index.js
浏览文件 @
7de96d4e
此差异已折叠。
点击以展开。
src/components/common/consultationCard/index.scss
0 → 100644
浏览文件 @
7de96d4e
.inquiry-wrap
{
box-sizing
:
border-box
;
margin-bottom
:
10px
;
padding
:
20px
;
background
:
#ffffff
;
border-radius
:
18px
;
user-select
:
none
;
position
:
relative
;
.line
{
display
:
flex
;
justify-content
:
space-between
;
font-size
:
14px
;
color
:
#999999
;
.left
{
.time
{
color
:
#ff5e57
;
font-size
:
18px
;
margin-top
:
3px
;
}
}
.right
{
margin-left
:
23px
;
.orderno
{
display
:
flex
;
align-items
:
center
;
margin-top
:
3px
;
.num
{
font-size
:
18px
;
color
:
#02120f
;
}
.copy
{
font-size
:
12px
;
margin-left
:
16px
;
padding
:
0
5px
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
15px
;
color
:
#212121
;
}
}
.grey
{
color
:
#6a7990
;
}
.org
{
color
:
#ff5e57
;
}
}
.superior-doctor
{
width
:
49%
;
display
:
flex
;
justify-content
:flex-start
;
align-items
:
flex-start
;
.inquiry-user-img
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
position
:
relative
;
width
:
40px
;
height
:
40px
;
.offline
{
position
:
absolute
;
left
:
-4px
;
top
:
-4px
;
z-index
:
10
;
}
.avatar
{
position
:
absolute
;
left
:
0
;
top
:
0
;
background
:
#dddddd
;
border-radius
:
36px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
}
}
.inquiry-user-info
{
font-size
:
14px
;
margin-left
:
6px
;
.info-name-wrap
{
display
:
flex
;
align-items
:
center
;
}
.info-name
{
display
:
inline-block
;
max-width
:
85px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
18px
;
color
:
#02120f
;
font-weight
:
bold
;
}
.info-container
{
align-items
:
center
;
flex-direction
:
row
;
height
:
auto
;
line-height
:
30px
;
line-height
:
25px
;
.info-phone
{
color
:
#6a7990
;
font-size
:
16px
;
}
.info-call-time
{
color
:
#ff5e57
;
}
.info-calling
{
width
:
15px
;
height
:
25px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
img
{
width
:
15px
;
height
:
15px
;
}
}
}
}
.manual-call-status
{
display
:
flex
;
.manual-dialing
{
margin-right
:
5px
;
cursor
:
pointer
;
img
{
width
:
27px
;
height
:
48px
;
}
}
.call-status
{
// width: 45px;
// height: 46px;
img
{
cursor
:
pointer
;
width
:
27px
;
height
:
48px
;
}
}
}
}
.basic-doctor
{
width
:
49%
;
display
:flex
;
justify-content
:flex-start
;
.basic-user-img
,
.basic-user-info
{
padding-right
:
6px
;
.info-name-wrap
{
display
:flex
;
align-items
:center
;
justify-content
:space-between
;
.info-name
{
max-width
:
85px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
18px
;
color
:
#02120f
;
font-weight
:
bold
;
}
}
.info-container
{
align-items
:
center
;
flex-direction
:
row
;
height
:
auto
;
line-height
:
30px
;
line-height
:
25px
;
.info-phone
{
color
:
#666
;
font-size
:
16px
;
}
.info-call-time
{
color
:
#ff5e57
;
}
.info-calling
{
width
:
15px
;
height
:
25px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
img
{
width
:
15px
;
height
:
15px
;
}
}
}
}
}
.no-info
{
}
.inquiry-user-status
{
width
:
100%
;
padding
:
4px
0
;
height
:
auto
;
overflow
:
hidden
;
.status-cll-user-answer
{
background
:
rgba
(
255
,
94
,
87
,
0
.07
);
border-radius
:
10px
;
border
:
1px
solid
rgba
(
255
,
94
,
87
,
0
.15
);
padding
:
0
4px
;
height
:
20px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#ff5e57
;
line-height
:
20px
;
margin-right
:
6px
;
}
.status-cll-user-finish
{
background
:
rgba
(
0
,
189
,
165
,
0
.07
);
border-radius
:
10px
;
border
:
1px
solid
rgba
(
0
,
189
,
165
,
0
.17
);
padding
:
0
4px
;
height
:
20px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#0d9078
;
line-height
:
20px
;
margin-right
:
6px
;
}
}
.line-btn
{
cursor
:
pointer
;
position
:
relative
;
width
:
45%
;
height
:
35px
;
background
:
rgba
(
68
,
146
,
132
,
0
.09
);
border-radius
:
23px
;
text-align
:
center
;
line-height
:
35px
;
color
:
#0d9078
;
font-size
:
14px
;
font-weight
:
bold
;
.line-btn-tap
{
position
:
absolute
;
top
:
-10px
;
right
:
20px
;
width
:
48px
;
height
:
20px
;
background
:
#0d9078
;
border-radius
:
7px
7px
7px
0px
;
font-size
:
14px
;
color
:
#ffffff
;
line-height
:
20px
;
}
span
{
font-weight
:
bold
;
}
}
.line-btn-enter
{
background
:
#0d9078
;
color
:
#fff
;
.call-box
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
img
{
margin-right
:
14px
;
}
}
}
.isManuacall
{
background
:
#ff5e57
;
}
.noIsCall
{
background
:
#0d9078
;
}
}
.mt30
{
margin-top
:
30px
;
}
.line-second
{
margin-top
:
13px
;
justify-content
:
flex-start
;
align-items
:
center
;
}
.mt20
{
margin-top
:
20px
;
}
.line-position
{
position
:
absolute
;
top
:
96%
;
left
:
0
;
width
:
100%
;
height
:
auto
;
background
:
#fff
;
.wait
{
display
:
flex
;
margin
:
0px
20px
;
font-size
:
14px
;
justify-content
:
space-between
;
border-bottom
:
1px
solid
#e9e9e9
;
.wait-info
{
display
:
flex
;
height
:
40px
;
align-items
:
center
;
.header
{
width
:
20px
;
height
:
20px
;
img
{
width
:
100%
;
height
:
auto
;
}
}
.name
{
color
:
#02120f
;
padding-left
:
5px
;
line-height
:
16px
;
}
.connect
{
color
:
#ff5e57
;
margin-left
:
5px
;
}
.order
{
color
:
#999999
;
span
{
color
:
#212121
;
}
}
}
&
:last-of-type
{
border-bottom
:
none
;
}
}
}
.wait-person
{
width
:
300px
;
height
:
auto
;
display
:
flex
;
}
}
\ No newline at end of file
src/components/common/consultationCard/index.vue
0 → 100644
浏览文件 @
7de96d4e
<
template
>
<div
class=
"inquiry-wrap"
>
<div
class=
"line"
>
<div
class=
"superior-doctor"
>
<div
class=
"inquiry-user-img"
>
<div
v-if=
"
diagnoseTypeIcon == 'voice' &&
(item.returnStatus == 1 || item.returnStatus == 3) &&
doctorTrtcEntryStatus != 1
"
class=
"offline"
>
<img
:src=
"offline"
alt=
""
>
</div>
<div
class=
"avatar"
>
<el-avatar
:src=
"item.doctorImageUrl"
/>
</div>
</div>
<div
class=
"inquiry-user-info"
>
<div
class=
"info-name-wrap"
>
<span
class=
"info-name"
>
{{
item
.
doctorName
}}
</span>
<span>
{{
item
.
department
}}
</span>
</div>
<ul
class=
"info-container"
>
<li
class=
"info-phone"
>
{{
item
.
doctorMobile
}}
</li>
<li
v-if=
"item.doctorCallTime"
class=
"info-call-time"
>
{{
pastDoctorCallTime
}}
前呼叫
</li>
<li
v-if=
"doctorCallKfStatus == 1"
class=
"info-calling"
>
正在呼叫
</li>
<li
class=
"inquiry-user-status"
>
<span
:class=
"
doctorCallStatus === '已拨打完成'
? 'status-cll-user-finish'
: 'status-cll-user-answer'
"
>
{{
doctorCallStatus
}}
</span>
</li>
</ul>
</div>
</div>
<!-- 助诊医生 -->
<div
class=
"basic-doctor"
>
<ul
class=
"basic-user-img"
>
<li
v-if=
"
diagnoseTypeIcon == 'voice' &&
(item.returnStatus == 1 || item.returnStatus == 3) &&
userTrtcEntryStatus != 1
"
class=
"offline"
>
<img
:src=
"offline"
alt=
""
>
</li>
<li
class=
"avatar"
>
<el-avatar
:src=
"item.userImageUrl"
/>
</li>
</ul>
<ul
class=
"basic-user-info"
>
<li
class=
"info-name-wrap"
>
<span
class=
"info-name"
>
{{
item
.
userName
}}
</span>
<span>
助诊医生
</span>
</li>
<li
class=
"info-container"
>
<div
class=
"info-phone"
>
{{
item
.
userMobile
}}
</div>
<div
v-if=
"item.userCallTime"
class=
"info-call-time"
>
{{
pastUserCallTime
}}
前呼叫
</div>
<div
v-if=
"userCallKfStatus == 1"
class=
"info-calling"
>
<img
:src=
"infocallImg"
alt=
""
>
</div>
</li>
<li
class=
"inquiry-user-status"
>
<span
:class=
"
userCallStatus === '已拨打完成'
? 'status-cll-user-finish'
: 'status-cll-user-answer'
"
>
{{
userCallStatus
}}
</span>
</li>
</ul>
</div>
<!-- 未开始接诊 或停止接诊-->
<div
class=
"no-info"
/>
</div>
<div
class=
"line line-second"
>
<div
class=
"left"
>
<div>
预约时间
</div>
<div
class=
"time"
>
<span>
{{
appointBeginTime
}}
</span>
-
<span>
{{
appointEndTime
}}
</span>
</div>
</div>
<div
class=
"right"
>
<div>
问诊单号
</div>
<ul
class=
"orderno"
>
<li
class=
"num"
>
{{
item
.
diagnoseLogId
}}
</li>
<li
class=
"copy"
>
复制
</li>
</ul>
</div>
</div>
<div
class=
"line mt30 line-last"
>
<div
class=
"line-btn"
@
click=
"waitPersonFun"
>
<div>
当前排队5人
<i
class=
"el-icon-arrow-down el-icon--right"
/></div>
</div>
<div
class=
"line-btn line-btn-enter"
:class=
"
{ isManuacall: isManuacall, noIsCall: !isManuacall }"
@click="openChat"
>
<div
v-if=
"doctorCallKfStatus == 1"
class=
"call-box"
>
<img
:src=
"callImg"
alt=
"call"
>
电话呼叫中
<!-- manuacallIng 正在拨打 isManuacall ? manuacallIng : manuacall-->
</div>
<div
v-else
class=
"call-box"
@
click=
"manualDialing(1)"
>
<img
:src=
"callImg"
alt=
"call"
>
电话呼叫
</div>
</div>
</div>
<div
v-if=
"isShowWait"
class=
"line-position"
>
<ul
v-for=
"(ele, index) in mockData"
:key=
"index"
class=
"wait"
>
<li
class=
"wait-info"
>
<div
class=
"header"
>
<img
:src=
"item.userImageUrl"
alt=
""
>
</div>
<div
class=
"name"
>
name
</div>
<div
class=
"connect"
>
连接失败 2次
</div>
</li>
<li
class=
"wait-info"
>
<div
class=
"order"
>
问诊单号
<span>
877654
</span>
</div>
</li>
</ul>
</div>
</div>
</
template
>
<
script
>
import
index
from
'./index'
;
export
default
index
;
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"index"
;
</
style
>
src/components/common/department.vue
0 → 100644
浏览文件 @
7de96d4e
<
template
>
<div>
<div
ref=
"agmentSelect"
class=
"serviceSchedule_select"
>
<el-cascader
ref=
"cascader"
v-model=
"departmentId"
filterable
clearable
class=
"serviceSchedule-cascader"
:options=
"allTilst"
placeholder=
"选择科室"
:show-all-levels=
"false"
@
change=
"changeDepartment"
>
<template
slot-scope=
"
{ data }">
<span
:style=
"
{ fontSize: '15px', color: '#606266' }">
{{
data
.
label
}}
</span>
<span
:style=
"
{
fontSize: '10px',
color: '#606266',
marginLeft: '10px',
opacity: '0.7',
}"
>
{{
data
.
text
}}
</span>
</
template
>
</el-cascader>
</div>
</div>
</template>
<
script
>
import
{
departmentAll
}
from
'@/api/diagnosis'
;
import
{
previewWork
,
}
from
'@/api/serviceSchedule'
;
export
default
{
name
:
'Index'
,
components
:
{
},
data
()
{
return
{
maxDiaNum
:
10
,
dateTime
:
''
,
interfaceOptions
:
[],
innerform
:
[],
props
:
{
// props定义的值根据接口返回的数据定的
label
:
'value'
,
value
:
'no'
,
children
:
'interface'
,
},
departmentId
:
''
,
allTilst
:
[],
allList
:
{},
};
},
watch
:
{},
created
()
{
this
.
departmentAll
();
},
mounted
()
{},
methods
:
{
getInputNumber
(
value
)
{
console
.
log
(
value
,
'getInputNumbergetInputNumber'
);
},
departmentAll
()
{
departmentAll
().
then
((
res
)
=>
{
if
(
res
.
code
==
'000000'
)
{
console
.
log
(
res
,
'res111'
);
this
.
allList
=
res
.
data
||
{};
this
.
showListALL
();
}
});
},
showListALL
()
{
const
arr
=
[];
const
{
departmentMapList
,
parentDepartmentList
}
=
this
.
allList
;
parentDepartmentList
.
map
((
item
)
=>
{
const
obj
=
{
label
:
item
.
departmentName
,
value
:
item
.
departmentId
,
children
:
[],
};
departmentMapList
.
map
((
info
)
=>
{
if
(
info
.
parentDepartmentId
===
obj
.
value
)
{
const
children
=
[];
info
.
diagnoseDepartmentRespList
.
map
((
detail
)
=>
{
const
secondObj
=
{
label
:
detail
.
departmentName
,
value
:
detail
.
departmentId
,
text
:
''
,
};
let
secondChildren
=
''
;
(
detail
.
departmentDeseaseRespList
||
[]).
map
((
res
)
=>
{
secondChildren
+=
res
.
deseaseName
+
' '
;
});
secondObj
.
text
=
secondChildren
?
`(
${
secondChildren
}
)`
:
''
;
children
.
push
(
secondObj
);
});
obj
.
children
=
children
;
}
});
arr
.
push
(
obj
);
});
console
.
log
(
arr
);
this
.
allTilst
=
arr
;
},
// 获取选择的值
changeDepartment
()
{
const
checkedNodes
=
this
.
$refs
[
'cascader'
].
getCheckedNodes
();
if
(
checkedNodes
.
length
>
0
)
{
this
.
departmentId
=
checkedNodes
[
0
].
value
;
this
.
$emit
(
'select-department'
,
this
.
departmentId
);
console
.
log
(
this
.
departmentId
);
}
else
{
this
.
departmentId
=
''
;
}
},
getNowDate
(
value
)
{
this
.
dateTime
=
value
;
},
search
()
{
if
(
!
this
.
dateTime
||
!
this
.
departmentId
)
{
return
this
.
$message
({
message
:
'科室和时间都需要选择哦!'
,
type
:
'warning'
,
});
}
const
params
=
{
dateTime
:
this
.
dateTime
,
departmentId
:
this
.
departmentId
,
};
previewWork
({
...
params
}).
then
((
res
)
=>
{
if
(
res
.
code
===
'000000'
&&
res
.
data
)
{
this
.
calendarOptions
.
resources
=
(
res
.
data
.
doctorList
||
[]).
map
(
(
item
)
=>
{
return
{
id
:
item
.
doctorId
,
title
:
item
.
doctorName
,
};
}
);
const
dutyRosterPreList
=
(
res
.
data
.
dutyRosterPreList
||
[]).
map
(
(
item
,
index
)
=>
{
return
{
id
:
index
,
resourceId
:
item
.
doctorId
,
end
:
item
.
endTime
,
start
:
item
.
startTime
,
color
:
'#FFEDE9'
,
};
}
);
const
dutyWorkList
=
(
res
.
data
.
dutyWorkList
||
[]).
map
(
(
item
,
index
)
=>
{
return
{
id
:
index
,
resourceId
:
item
.
doctorId
,
end
:
item
.
endTime
,
start
:
item
.
startTime
,
color
:
'#E7F4F5'
,
};
}
);
if
(
res
.
data
)
{
this
.
calendarOptions
.
events
=
[].
concat
(
dutyRosterPreList
,
dutyWorkList
);
}
const
calendarApi
=
this
.
$refs
.
fullCalendar
.
getApi
();
this
.
getWidth
=
`
${
(
this
.
calendarOptions
.
resources
.
length
+
1
)
*
150
}
px`
;
this
.
getMaxWidth
=
`
${
this
.
calendarOptions
.
resources
.
length
*
150
+
100
}
px`
;
calendarApi
.
gotoDate
(
this
.
dateTime
);
console
.
log
(
this
.
calendarOptions
.
resources
);
console
.
log
(
this
.
calendarOptions
.
events
);
}
else
{
this
.
calendarOptions
.
events
=
[];
this
.
calendarOptions
.
resources
=
[];
}
});
},
},
};
</
script
>
<
style
lang=
"scss"
>
.serviceSchedule-cascader
{
.el-input
{
.el-input__inner
{
width
:
183px
;
height
:
41px
;
background
:
#ffffff
;
border-radius
:
7px
;
border
:
1px
solid
#D9D9D9
;
}
.el-input__suffix
{
display
:
flex
;
align-items
:
center
;
}
}
input
:
:-
webkit-input-placeholder
{
color
:
#89888b
;
}
}
.serviceSchedule_dateTime
{
.el-input__inner
{
// width: 150px;
height
:
32px
;
background
:
#ffffff
;
border-radius
:
16px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.15
);
}
.el-input__icon
{
display
:
flex
;
align-items
:
center
;
}
input
:
:-
webkit-input-placeholder
{
color
:
#89888b
;
}
}
</
style
>
src/store/modules/round.js
0 → 100644
浏览文件 @
7de96d4e
const
roundCard
=
{
namespaced
:
true
,
state
:
{
socketClient
:
null
,
},
actions
:
{
initCard
(
context
,
payload
)
{
const
{
rootState
}
=
context
;
console
.
log
(
context
,
payload
,
'context, payload111'
,
rootState
);
// const { list, allSize, countRespList } = socket;
// console.log('-rootState', rootState, socket);
// const { currentTabStatus } = rootState.main;
// context.commit('main/updateCurrentCalList', countRespList, {
// root: true,
// });
// context.commit('main/updateAllSize', allSize, { root: true });
// if (list) {
// const l = list[0] || [];
// if (currentTabStatus == 99) {
// context.commit('main/updateCurrentDiagList', list, { root: true });
// } else {
// if (currentTabStatus == l.returnStatus) {
// context.commit('main/updateCurrentDiagList', list, {
// root: true,
// });
// }
// if (l.length == 0) {
// context.commit('main/updateCurrentDiagList', list, {
// root: true,
// });
// }
// }
// } else {
// context.commit('main/updateCurrentDiagList', [], { root: true });
// }
},
},
mutations
:
{
},
};
export
default
roundCard
;
src/views/IM/diagnosis-admin/workbench-new.vue
浏览文件 @
7de96d4e
...
...
@@ -16,22 +16,6 @@
@
change=
"changeDatetime"
/>
</div>
<div
class=
"searh-input"
>
<el-input
v-model=
"searchValue"
placeholder=
"输入问诊单号/医生姓名"
class=
"input-with-select"
@
change=
"getSerachValue"
>
<el-button
slot=
"append"
class=
"search-botton"
@
click=
"getSerValue"
>
搜索
</el-button>
</el-input>
</div>
</div>
<!-- tab栏 -->
<el-radio-group
...
...
@@ -81,6 +65,26 @@
v-if=
"currentDiagList"
class=
"workbench-li-c"
>
<div
class=
"workbench-title"
>
<department
@
select-department=
"selectDepartment"
/>
<div
class=
"searh-input"
>
<el-input
v-model=
"searchValue"
placeholder=
"输入问诊单号/医生姓名"
class=
"input-with-select"
@
change=
"getSerachValue"
>
<el-button
slot=
"append"
class=
"search-botton"
@
click=
"getSerValue"
>
搜索
</el-button>
</el-input>
</div>
</div>
<!-- 1111 -->
<div
class=
"grid-c"
>
<div
...
...
@@ -111,16 +115,17 @@
</div>
</div>
</
template
>
<
script
>
import
{
createNamespacedHelpers
}
from
'vuex'
;
const
{
mapState
}
=
createNamespacedHelpers
(
'main'
);
import
storejs
from
'storejs'
;
import
consultationCard
from
'@/components/common/consultationCard.vue'
;
import
{
conditionUpdate
}
from
'@/api/workbench'
;
import
consultationCard
from
'@/components/common/consultationCard/index.vue'
;
import
department
from
'@/components/common/department.vue'
;
import
{
conditionUpdate
,
conditionNewList
}
from
'@/api/workbench'
;
export
default
{
components
:
{
consultationCard
,
department
,
},
data
()
{
const
s
=
storejs
.
get
(
'soketQuest'
);
...
...
@@ -129,6 +134,7 @@
const
id
=
s
&&
s
.
operateUserId
?
s
.
operateUserId
:
this
.
isSuperAdmin
.
userID
;
return
{
departmentId
:
''
,
tabPosition
:
t
,
showChat
:
true
,
totalRows
:
0
,
...
...
@@ -188,11 +194,12 @@
checkedValues
:
[],
tabPositionValue
:
'全部订单'
,
searchValue
:
''
,
userInfo
:
null
,
timer
:
null
};
},
computed
:
{
...
mapState
({
allSize
:
(
state
)
=>
state
.
allSize
,
currentDiagList
:
(
state
)
=>
state
.
currentDiagList
,
// currentCalList: (state) => state.currentCalList,
soketQuest
:
(
state
)
=>
state
.
soketQuest
,
...
...
@@ -235,8 +242,33 @@
const
id
=
s
&&
s
.
operateUserId
?
s
.
operateUserId
:
this
.
isSuperAdmin
.
userID
;
this
.
operateUserId
=
id
;
this
.
userInfo
=
storejs
.
get
(
'initSocketInfo'
);
console
.
log
(
this
.
userInfo
.
userId
,
'userInfouserInfo'
);
this
.
initCard
();
// this.timer = window.setInterval(() => {
// setTimeout(() => {
// this.initCard();
// }, 0);
// }, 5000);
},
destroyed
()
{
window
.
clearInterval
(
this
.
timer
);
},
methods
:
{
initCard
()
{
conditionNewList
({
bizType
:
1
,
userId
:
this
.
userInfo
.
userId
}).
then
(
res
=>
{
if
(
res
.
code
===
'000000'
)
{
console
.
log
(
111
);
}
else
{
console
.
log
(
222
);
}
});
},
selectDepartment
(
val
)
{
this
.
departmentId
=
val
;
console
.
log
(
889910
,
val
);
},
getSerachValue
(
value
)
{
this
.
searchValue
=
value
;
},
...
...
@@ -303,7 +335,7 @@
}
});
},
}
,
}
};
</
script
>
<
style
lang=
"scss"
>
...
...
@@ -377,15 +409,6 @@
height
:
40px
;
}
}
.searh-input
{
.el-input
{
width
:
440px
;
.search-botton
{
background
:
#0d9078
;
color
:
#fff
;
}
}
}
}
.title
{
...
...
@@ -402,15 +425,33 @@
}
}
.workbench-content
{
padding
:
10px
;
padding
:
0
2px
;
.workbench-title
{
border-top
:
1px
solid
#F0F2F5
;
height
:
75px
;
display
:flex
;
line-height
:
75px
;
background
:
#fff
;
margin-bottom
:
10px
;
.searh-input
{
.el-input
{
width
:
364px
;
.search-botton
{
background
:
#0d9078
;
color
:
#fff
;
}
}
}
}
.workbench-li-c
{
width
:
100%
;
.grid-c
{
width
:
100%
;
display
:
grid
;
grid-template-columns
:
33%
33%
33%
;
grid-row-gap
:
20px
;
grid-column-gap
:
20px
;
grid-template-columns
:
auto
auto
auto
;
grid-template-rows
:
auto
auto
auto
;
//grid-template-columns: 32% 32% 32%;
//grid-row-gap: 2%;
grid-column-gap
:
10px
;
padding
:
0px
7px
;
.el-checkbox-group
{
.el-checkbox
{
...
...
src/views/layout/components/slidebar.vue
浏览文件 @
7de96d4e
...
...
@@ -81,7 +81,9 @@
isSuper
:
false
,
userID
:
userId
,
};
const
u
=
this
.
getSocketUrl
(
BUILD_ENV
);
const
u
=
this
.
getSocketUrl
(
'test'
);
console
.
log
(
BUILD_ENV
);
// u.url = 'https://test1-sockets.yunqueyi.com';
storejs
.
set
(
'initSocketInfo'
,
{
url
:
u
,
userId
:
userId
});
this
.
$store
.
dispatch
(
'socket/initSocket'
,
{
url
:
u
,
userId
:
userId
});
vueMenuDtos
.
map
((
item
)
=>
{
...
...
vue.config.js
浏览文件 @
7de96d4e
...
...
@@ -71,7 +71,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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录