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
提交
0203a22e
提交
0203a22e
编写于
9月 13, 2021
作者:
lyf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改代码格式
上级
4871e4dd
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
87 行增加
和
85 行删除
+87
-85
rematching-doctor.vue
src/components/common/rematching-doctor.vue
+6
-9
upload-img.vue
src/components/editor/upload-img.vue
+15
-19
upload-music.vue
src/components/editor/upload-music.vue
+20
-20
table-c.vue
src/components/list/table-c.vue
+12
-10
table-component.vue
src/components/list/table-component.vue
+34
-27
未找到文件。
src/components/common/rematching-doctor.vue
浏览文件 @
0203a22e
...
...
@@ -34,8 +34,6 @@
prop=
"statusRemark"
>
<el-col
:span=
"15"
>
<el-select
v-model=
"model.statusRemark"
style=
"width: 135%"
...
...
@@ -81,7 +79,7 @@
type
:
Boolean
,
default
:
false
,
},
rematchingOptions
:{
rematchingOptions
:
{
type
:
Array
,
default
:
null
,
},
...
...
@@ -110,14 +108,13 @@
},
};
},
watch
:{
rematchingOptions
(
val
,
oldval
)
{
watch
:
{
rematchingOptions
(
val
)
{
console
.
log
(
val
);
this
.
model
.
statusRemark
=
val
[
0
]
?
val
[
0
]
:
''
;
}
}
,
},
created
()
{
vm
=
this
;
},
methods
:
{
...
...
@@ -150,13 +147,13 @@
},
getBlurData
(
e
)
{
this
.
model
.
statusRemark
=
e
.
target
.
value
;
}
}
,
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.message
{
.message
{
color
:
#f56c6c
;
font-size
:
14px
;
text-align
:
center
;
...
...
src/components/editor/upload-img.vue
浏览文件 @
0203a22e
...
...
@@ -32,39 +32,38 @@
props
:
{
isDisable
:
{
type
:
Boolean
,
default
:
false
default
:
false
,
},
imgList
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
default
:
()
=>
{
return
[]
;
}
,
}
,
},
data
()
{
return
{
dialogImageUrl
:
''
,
dialogVisible
:
false
,
imgArr
:
[
],
imgArr
:
[],
headers
:
{
token
:
localStorage
.
getItem
(
'token'
),
},
actionurl
:
'#'
,
accept
:
'.png,.jpeg'
accept
:
'.png,.jpeg'
,
};
},
watch
:{
watch
:
{
imgList
(
newv
)
{
this
.
imgArr
=
newv
;
}
}
,
},
created
()
{
this
.
actionurl
=
getBaseUrl
(
'/diagnose/illness/file'
);
},
methods
:
{
handleRemove
(
file
,
fileList
)
{
console
.
log
(
file
)
console
.
log
(
file
)
;
this
.
imgArr
=
fileList
;
},
handlePictureCardPreview
(
file
)
{
...
...
@@ -78,28 +77,25 @@
}
个文件`
);
},
fileUpload
(
file
)
{
},
fileUpload
(
file
)
{},
sucess
(
response
,
file
,
fileList
)
{
this
.
imgArr
=
fileList
;
},
setNewArr
()
{
const
newArr
=
[];
if
(
this
.
imgArr
&&
this
.
imgArr
.
length
)
{
this
.
imgArr
.
forEach
(
item
=>
{
this
.
imgArr
.
forEach
(
(
item
)
=>
{
if
(
item
.
response
)
{
newArr
.
push
(
item
.
response
.
data
);
}
else
if
(
item
.
url
&&
item
.
from
)
{
}
else
if
(
item
.
url
&&
item
.
from
)
{
newArr
.
push
(
item
.
url
);
}
});
}
return
newArr
;
}
}
,
},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
<
style
></
style
>
src/components/editor/upload-music.vue
浏览文件 @
0203a22e
...
...
@@ -33,13 +33,15 @@
class=
"el-upload__tip music-box"
>
<audio
v-for=
"
(item)
of musicArr"
v-for=
"
item
of musicArr"
:key=
"item.uid"
ref=
"audioWrap"
class=
"audio"
controls
:src=
"musicUrl(item)"
>
您的浏览器不支持mp3播放
</audio>
>
您的浏览器不支持mp3播放
</audio>
</ul>
</el-upload>
</div>
...
...
@@ -51,14 +53,14 @@
props
:
{
isDisable
:
{
type
:
Boolean
,
default
:
false
default
:
false
,
},
musicList
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
default
:
()
=>
{
return
[]
;
}
,
}
,
},
data
()
{
return
{
...
...
@@ -70,13 +72,13 @@
token
:
localStorage
.
getItem
(
'token'
),
},
loading
:
false
,
accept
:
'.mp3,.mpeg'
accept
:
'.mp3,.mpeg'
,
};
},
watch
:{
watch
:
{
musicList
(
newv
)
{
this
.
musicArr
=
newv
||
[];
}
}
,
},
created
()
{
this
.
musicArr
=
this
.
musicList
;
...
...
@@ -100,7 +102,6 @@
this
.
loading
=
false
;
clearTimeout
(
time
);
},
1000
);
},
sucess
(
fileList
)
{
this
.
musicArr
=
fileList
;
...
...
@@ -110,23 +111,22 @@
this
.
loading
=
false
;
},
// 上传mp3
beforeMusicUpload
()
{
},
beforeMusicUpload
()
{},
setNewArr
()
{
const
newArr
=
[];
if
(
this
.
musicArr
&&
this
.
musicArr
.
length
)
{
this
.
musicArr
.
forEach
(
item
=>
{
this
.
musicArr
.
forEach
(
(
item
)
=>
{
if
(
item
.
response
)
{
newArr
.
push
(
item
.
response
.
data
.
domainPath
+
item
.
response
.
data
.
path
);
}
else
if
(
item
.
url
&&
item
.
from
)
{
newArr
.
push
(
item
.
response
.
data
.
domainPath
+
item
.
response
.
data
.
path
);
}
else
if
(
item
.
url
&&
item
.
from
)
{
newArr
.
push
(
item
.
url
);
}
});
}
return
newArr
;
},
},
};
</
script
>
...
...
@@ -141,7 +141,7 @@
bottom
:
0
;
right
:
0
;
background
:
#000
;
opacity
:
.3
;
opacity
:
0
.3
;
}
.audio
{
display
:
block
;
...
...
@@ -161,6 +161,6 @@
}
.el-upload-list
{
display
:
inline-block
;
}
}
}
</
style
>
src/components/list/table-c.vue
浏览文件 @
0203a22e
...
...
@@ -20,7 +20,11 @@
:key=
"item.prop"
:prop=
"item.prop"
:label=
"item.label"
:sortable=
"item.prop=='appointBeginTime'||item.prop=='assistantBeginTime'?'custom':false"
:sortable=
"
item.prop == 'appointBeginTime' || item.prop == 'assistantBeginTime'
? 'custom'
: false
"
:show-overflow-tooltip=
"item.showtooltip"
min-width=
"170"
align=
"center"
...
...
@@ -159,7 +163,7 @@
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"reMatchDot(scope.row,10)"
@
click=
"reMatchDot(scope.row,
10)"
>
重新匹配医生
</el-button>
...
...
@@ -168,7 +172,7 @@
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"reMatchDot(scope.row,16)"
@
click=
"reMatchDot(scope.row,
16)"
>
重新联系助诊医生
</el-button>
...
...
@@ -184,7 +188,7 @@
<!--
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,26)"
@
click=
"call(scope.row)"
>
发起问诊
</el-button>
-->
<el-button
v-if=
"showBtn(scope.row, 3)"
:type=
"scope.row.completed
?'danger':
'primary'"
:type=
"scope.row.completed
? 'danger' :
'primary'"
size=
"small"
class=
"btn"
@
click=
"doneHandle(scope.row)"
...
...
@@ -231,8 +235,8 @@
},
tData
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
default
:
()
=>
{
return
[]
;
},
},
pageNo
:
{
...
...
@@ -257,8 +261,8 @@
},
multipleSelection
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
default
:
()
=>
{
return
[]
;
},
},
},
...
...
@@ -270,7 +274,6 @@
},
mounted
()
{},
methods
:
{
sortfunc
(
data
)
{
this
.
$emit
(
'sortfunc'
,
data
);
},
...
...
@@ -333,7 +336,6 @@
},
// 重新匹配医生
reMatchDot
(
row
,
type
)
{
this
.
$emit
(
'reMatchDot'
,
row
,
type
);
},
// 修改时间
...
...
src/components/list/table-component.vue
浏览文件 @
0203a22e
...
...
@@ -315,7 +315,7 @@
v-if=
"scope.row.status != 4 && scope.row.status != 5"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
style=
"margin-top: 10px"
@
click=
"timeHandle(scope.row)"
>
修改时间
...
...
@@ -324,7 +324,7 @@
v-if=
"scope.row.status == 3"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
style=
"margin-top: 10px"
@
click=
"endDiagnosis(scope.row)"
>
结束
...
...
@@ -334,19 +334,29 @@
<!--
<el-button
v-if=
"scope.row.status == 3 && scope.row.imStatus == 1 && scope.row.diagnoseType != 3"
type=
"primary"
size=
"small"
@
click=
"callAll(scope.row)"
style=
"margin-top: 10px;"
>
呼叫双方
</el-button>
-->
<!--
<el-button
v-if=
"scope.row.status == 3 && scope.row.imStatus == 2 && scope.row.diagnoseType != 3"
type=
"primary"
size=
"small"
@
click=
"jionCommunicate(scope.row)"
style=
"margin-top: 10px;"
>
加入问诊
</el-button>
-->
<el-button
v-if=
"scope.row.status == 3 && scope.row.diagnoseType != 3 && scope.row.appointBeginTime && scope.row.appointEndTime"
v-if=
"
scope.row.status == 3 &&
scope.row.diagnoseType != 3 &&
scope.row.appointBeginTime &&
scope.row.appointEndTime
"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
style=
"margin-top: 10px"
@
click=
"jionCommunicate(scope.row)"
>
加入问诊
</el-button>
<el-button
v-if=
"!((scope.row.status==2 || scope.row.status==4) && scope.row.createType == 2)"
v-if=
"
!(
(scope.row.status == 2 || scope.row.status == 4) &&
scope.row.createType == 2
)
"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
style=
"margin-top: 10px"
@
click=
"sendMessage(scope.row)"
>
发送消息
...
...
@@ -366,7 +376,7 @@
v-if=
"scope.row.status == 2 || scope.row.status == 3"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
style=
"margin-top: 10px"
@
click=
"cancelBtn(scope.row)"
>
取消预约
...
...
@@ -376,16 +386,16 @@
v-if=
"scope.row.status != 5"
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
@
click=
"goEditor(scope.row,1)"
style=
"margin-top: 10px"
@
click=
"goEditor(scope.row,
1)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
style=
"margin-top: 10px
;
"
@
click=
"goEditor(scope.row,2)"
style=
"margin-top: 10px"
@
click=
"goEditor(scope.row,
2)"
>
预约详情
</el-button>
...
...
@@ -414,35 +424,33 @@
props
:
{
tData
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
default
:
()
=>
{
return
[]
;
}
,
},
pageNo
:
{
type
:
Number
,
default
:
1
default
:
1
,
},
pageSize
:
{
type
:
Number
,
default
:
20
default
:
20
,
},
totalRows
:
{
type
:
Number
,
default
:
0
default
:
0
,
},
loading
:
{
loading
:
{
type
:
Boolean
,
default
:
false
default
:
false
,
},
tableHeight
:
{
type
:
Number
,
default
:
500
}
default
:
500
,
}
,
},
data
()
{
return
{
};
return
{};
},
methods
:
{
timeHandle
(
row
)
{
...
...
@@ -474,10 +482,9 @@
},
handleCurrentChange
(
value
)
{
this
.
$emit
(
'handleCurrentChange'
,
value
);
}
}
,
},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录