Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
5eded924
提交
5eded924
编写于
6月 01, 2019
作者:
chengxiang.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
2566c5ee
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
33 行增加
和
40 行删除
+33
-40
opinionDialog.vue
src/components/opinionDialog.vue
+1
-1
common.scss
src/style/common.scss
+4
-2
new-patient.less
src/style/patient-manager/new-patient/new-patient.less
+7
-7
batch-import.vue
src/views/patients/new-manage/components/batch-import.vue
+3
-4
qr-code-import.vue
src/views/patients/new-manage/components/qr-code-import.vue
+18
-26
未找到文件。
src/components/opinionDialog.vue
浏览文件 @
5eded924
...
...
@@ -13,7 +13,7 @@
class=
"upload-demo"
:action=
"action"
:headers=
"headers"
:multiple=
"false"
multiple
list-type=
"picture"
:limit=
"imgLimit"
:accept=
"'image/jpg,image/jpeg,image/png,image/bmp'"
...
...
src/style/common.scss
浏览文件 @
5eded924
...
...
@@ -14,7 +14,8 @@ body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, l
border
:
none
;
// color: #333;
font-weight
:
normal
;
font-family
:
"PingFangSC"
,
"Microsoft Yahei"
;
// font-family: "PingFangSC", "Microsoft Yahei";
font-family
:
"Helvetica Neue"
,
"Helvetica"
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"SimSun"
,
"sans-serif"
;
box-sizing
:
border-box
;
-webkit-tap-highlight-color
:transparent
;
-webkit-font-smoothing
:
antialiased
;
...
...
@@ -60,7 +61,8 @@ html,body{
height
:
100%
;
width
:
100%
;
background-color
:
#fff
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
// font-family: Arial, Helvetica, sans-serif;
font-family
:
"Helvetica Neue"
,
"Helvetica"
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"SimSun"
,
"sans-serif"
;
font-size
:
16px
;
}
#app
{
...
...
src/style/patient-manager/new-patient/new-patient.less
浏览文件 @
5eded924
...
...
@@ -169,7 +169,7 @@
height: 237px;
margin-top: 15px;
.first{
width:
308
px;
width:
290
px;
// width: 30%;
height: 200px;
float: left;
...
...
@@ -192,8 +192,8 @@
}
.border{
display: inline-block;
width: 200px;
// width: 70
%;
//
width: 200px;
width: 65
%;
height: 0px;
border-bottom: 1px solid #449284;
vertical-align: middle;
...
...
@@ -217,12 +217,12 @@
}
}
.second{
width: 3
8
0px;
width: 3
5
0px;
// width: 40%;
.procedure{
.border{
width: 250px;
// width: 70
%;
//
width: 250px;
width: 65
%;
}
}
.under-info{
...
...
@@ -363,7 +363,7 @@
}
.flow-path{
// width: 100%;
height: 4
41
px;
height: 4
30
px;
display: block;
border: 0;
margin-left: -20px;
...
...
src/views/patients/new-manage/components/batch-import.vue
浏览文件 @
5eded924
...
...
@@ -154,9 +154,6 @@
tableData
:
[],
totalCount
:
0
,
},
uploadHeaders
:
{
token
:
localStorage
.
getItem
(
'token'
)
},
files
:
[],
postData
:
{},
showUploadSuccess
:
false
,
...
...
@@ -204,12 +201,14 @@
fileArray
:
fileArray
,
import_type
:
2
,
};
debugger
;
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
req
.
token
=
'
4E971382E2E14BDC91CC23A450343788
'
req
.
token
=
'
77DDB524DE0742B19CEC759CA463F3A5
'
}
else
{
req
.
token
=
self
.
_token
;
}
self
.
postData
=
JSON
.
stringify
(
req
);
console
.
log
(
'>>>>>> batch upload req'
,
req
)
uploadExcel
(
self
.
postData
).
then
(
res
=>
{
if
(
typeof
res
.
importFlag
!=
'undefined'
&&
res
.
importFlag
==
true
){
self
.
showUploadSuccess
=
true
;
...
...
src/views/patients/new-manage/components/qr-code-import.vue
浏览文件 @
5eded924
...
...
@@ -100,11 +100,11 @@
id
:
''
,
labelIds
:
''
,
},
labelsInfoList
:
[],
currentLabelList
:
[],
labelNameList
:
[],
choosedLabelList
:
[],
forDownloadInfo
:
{},
// 下载用的信息
labelsInfoList
:
[],
// 二维码分组 列表信息
labelNameList
:
[],
// 分组列表
currentLabelList
:
[],
// 接口返回的二维码分组id列表
choosedLabelList
:
[],
// 勾选的分组id列表
forDownloadInfo
:
{},
// 下载用的信息
}
},
created
()
{
...
...
@@ -117,7 +117,7 @@
watch
:
{
showChooseLabelModal
:
function
(
val
)
{
if
(
val
==
false
){
this
.
labelNameList
=
[];
//
this.labelNameList = [];
this
.
choosedLabelList
=
[];
}
},
...
...
@@ -138,15 +138,19 @@
let
data
=
res
.
data
;
if
(
!
justDownload
){
// 非下载二维码时
this
.
qrCodeInfo
=
data
;
if
(
data
.
labelIds
!=
''
){
if
(
data
.
labelIds
&&
(
data
.
labelIds
!=
''
)){
// 存在labelIds,则去请求label信息列表
let
temp
=
data
.
labelIds
.
split
(
','
);
this
.
currentLabelList
=
this
.
formatList
(
temp
);
this
.
handleGetLabelsInfo
({
labelIds
:
data
.
labelIds
,
});
}
else
{
this
.
labelsInfoList
=
[];
this
.
currentLabelList
=
[];
}
this
.
calculateQRCode
(
data
.
qrcodeUrl
);
this
.
handleGetLabelsInfo
({
labelIds
:
data
.
labelIds
,
});
}
else
{
// 下载二维码时,不用更新页面中的二维码信息
// debugger;
this
.
forDownloadInfo
=
data
;
let
{
id
,
beginTime
,
endTime
,
forever
}
=
this
.
forDownloadInfo
;
let
obj
=
{
...
...
@@ -202,6 +206,7 @@
})
},
handleChooseGroup
()
{
// debugger;
this
.
showDownloadQRModal
=
false
;
// 回显已经选择的label
this
.
choosedLabelList
=
this
.
currentLabelList
;
...
...
@@ -217,7 +222,7 @@
if
(
res
.
code
==
'000000'
){
let
data
=
res
.
data
;
this
.
qrCodeInfo
=
data
;
if
(
data
.
labelIds
!=
''
){
if
(
data
.
labelIds
&&
data
.
labelIds
!=
''
){
let
temp
=
data
.
labelIds
.
split
(
','
);
this
.
currentLabelList
=
this
.
formatList
(
temp
);
}
...
...
@@ -234,16 +239,10 @@
// 回显已经选择的label
this
.
choosedLabelList
=
this
.
currentLabelList
;
this
.
goToGetGroupList
();
},
handleAfterChooseLabel
()
{
if
(
this
.
choosedLabelList
.
length
<
1
){
this
.
$message
({
message
:
'请选择分组'
,
type
:
'warning'
});
return
;
}
console
.
log
(
'this.choosedLabelList '
,
this
.
choosedLabelList
)
console
.
log
(
'this.choosedLabelList '
,
this
.
choosedLabelList
.
join
(
','
))
if
(
this
.
showDownloadQRModal
==
false
){
// 选择分组时
this
.
showChooseLabelModal
=
false
;
this
.
goToGetQRCode
({
...
...
@@ -251,7 +250,6 @@
id
:
''
,
first
:
false
,
});
this
.
choosedLabelList
=
[];
}
else
{
// 下载二维码时
// 获取最新二维码参数,但不影响之前的二维码参数
this
.
goToGetQRCode
({
...
...
@@ -260,10 +258,7 @@
first
:
false
,
justDownload
:
true
,
},
this
.
goToDownloadQRCode
);
}
},
goToDownloadQRCode
(
params
)
{
// 下载二维码
...
...
@@ -315,10 +310,7 @@
let
newTab
=
window
.
open
(
'about:blank'
);
newTab
.
location
=
src
;
}
},
}
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录