Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
ab56b07a
提交
ab56b07a
编写于
5月 05, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
da ka
上级
b6a02ab3
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
53 行增加
和
76 行删除
+53
-76
gitPush.sh
gitPush.sh
+17
-3
package.json
package.json
+4
-3
index.vue
src/components/selectTime/index.vue
+5
-3
cookieFun.js
src/utils/cookieFun.js
+0
-39
index.js
src/utils/index.js
+0
-6
index.vue
src/views/home/index.vue
+6
-2
index.scss
src/views/insurance-Detection-detail-demo/index.scss
+2
-1
index.vue
src/views/insurance-Detection-detail-demo/index.vue
+7
-10
index.vue
src/views/sz-home/index.vue
+12
-9
未找到文件。
gitPush.sh
浏览文件 @
ab56b07a
#!/bin/bash
#!/bin/bash
hasGit
=
`
which git
`
# 判断是否存在git
hasGit
=
`
which git
`
# 判断是否存在git
msg
=
${
1
:-
'auto commit'
}
# 获取终端输入的第一个参数,若为空则为auto commit
msg
=
${
1
:-
'auto commit'
}
# 获取终端输入的第一个参数,若为空则为auto commit
originBranch
=
'origin/develop'
if
[
!
$hasGit
]
;
then
if
[
!
$hasGit
]
;
then
echo
'Please download git first!'
;
echo
'Please download git first!'
;
exit
1
;
exit
1
;
else
else
git remote update
git fetch
--all
git fetch
--all
result
=
`
git symbolic-ref
--short
-q
HEAD
`
# 获取分支名
result
=
`
git symbolic-ref
--short
-q
HEAD
`
# 获取分支名
current_id
=
`
git log
-n
1 origin/release
--pretty
=
format:
"%H"
`
diff
=
`
git diff
$result
$originBranch
|
grep
-i
">>>>>>"
`
empty
=
""
if
test
$diff
-eq
$empty
then
echo
"没有冲突,继续"
current_id
=
`
git log
-n
1
$originBranch
--pretty
=
format:
"%H"
`
git reset
--soft
$current_id
git reset
--soft
$current_id
git add
.
git add
.
git commit
-m
"
$msg
"
git commit
-m
"
$msg
"
echo
"curBranch
$result
"
echo
"curBranch
$result
"
git push
-f
origin
$result
# 提交代码到github(修改了远程项目名)
git push origin
--force-with-lease
$result
# 提交代码到github(修改了远程项目名)
else
git add
.
git commit
-m
"auto commit"
git push origin
$result
echo
"本地分支和origin/release存在冲突"
echo
"result:
$result
$diff
"
fi
fi
fi
\ No newline at end of file
package.json
浏览文件 @
ab56b07a
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
"devDependencies"
:
{
"devDependencies"
:
{
"
@babel/plugin-proposal-object-rest-spread
"
:
"
^7.11.0
"
,
"
@babel/plugin-proposal-object-rest-spread
"
:
"
^7.11.0
"
,
"
@pica-cli/pica-cli-framework
"
:
"
^1.0.11
"
,
"
@pica-cli/pica-cli-framework
"
:
"
^1.0.11
"
,
"
@pica-cli/vue-cli-plugin-pica-cli-plugin
"
:
"
~1.1.6
2
"
,
"
@pica-cli/vue-cli-plugin-pica-cli-plugin
"
:
"
~1.1.6
4
"
,
"
@pica-core/JsBridge
"
:
"
^1.0.19
"
,
"
@pica-core/JsBridge
"
:
"
^1.0.19
"
,
"
@pica-kit/pica-ui-component
"
:
"
1.0.50
"
,
"
@pica-kit/pica-ui-component
"
:
"
1.0.50
"
,
"
@pica-core/multiple-versions-plugin
"
:
"
^1.0.16
"
,
"
@pica-core/multiple-versions-plugin
"
:
"
^1.0.16
"
,
...
@@ -69,13 +69,14 @@
...
@@ -69,13 +69,14 @@
"
prettier
"
:
"
^2.3.2
"
,
"
prettier
"
:
"
^2.3.2
"
,
"
prettier-eslint-cli
"
:
"
^5.0.1
"
,
"
prettier-eslint-cli
"
:
"
^5.0.1
"
,
"
puppeteer
"
:
"
^10.1.0
"
,
"
puppeteer
"
:
"
^10.1.0
"
,
"
sass
"
:
"
^
1.26.3
"
,
"
sass
"
:
"
1.26.3
"
,
"
sass-loader
"
:
"
^8.0.2
"
,
"
sass-loader
"
:
"
^8.0.2
"
,
"
vue-skeleton-webpack-plugin
"
:
"
^1.2.2
"
,
"
vue-skeleton-webpack-plugin
"
:
"
^1.2.2
"
,
"
vue-template-compiler
"
:
"
^2.6.11
"
,
"
vue-template-compiler
"
:
"
^2.6.11
"
,
"
webpack-bundle-analyzer
"
:
"
^4.4.2
"
,
"
webpack-bundle-analyzer
"
:
"
^4.4.2
"
,
"
pdfjs-dist
"
:
"
2.4.456
"
,
"
pdfjs-dist
"
:
"
2.4.456
"
,
"
storejs
"
:
"
2.0.1
"
"
storejs
"
:
"
2.0.1
"
,
"
js-cookie
"
:
"
3.0.1
"
},
},
"eslintConfig"
:
{
"eslintConfig"
:
{
"root"
:
true
,
"root"
:
true
,
...
...
src/components/selectTime/index.vue
浏览文件 @
ab56b07a
...
@@ -112,9 +112,11 @@ export default {
...
@@ -112,9 +112,11 @@ export default {
// 获取机构列表
// 获取机构列表
getScheduling
()
{
getScheduling
()
{
const
{
projectEquityNo
,
hospitalId
}
=
this
;
const
{
projectEquityNo
,
hospitalId
}
=
this
;
if
(
projectEquityNo
&&
hospitalId
)
{
getScheduling
({
projectEquityNo
,
hospitalId
}).
then
(
res
=>
{
getScheduling
({
projectEquityNo
,
hospitalId
}).
then
(
res
=>
{
this
.
timsArray
=
res
.
data
;
this
.
timsArray
=
res
.
data
;
});
});
}
},
},
selectItem
()
{
selectItem
()
{
if
(
this
.
selectTimes
===
''
)
{
if
(
this
.
selectTimes
===
''
)
{
...
...
src/utils/cookieFun.js
已删除
100644 → 0
浏览文件 @
b6a02ab3
import
Cookies
from
'js-cookie'
;
const
VUE_APP_ENV
=
process
.
env
.
VUE_APP_ENV
;
const
VUE_APP_DOMAIN
=
process
.
env
.
VUE_APP_DOMAIN
;
const
localDomain
=
VUE_APP_ENV
===
'development'
?
window
.
location
.
hostname
:
VUE_APP_DOMAIN
;
export
const
setCookie
=
(
cname
,
cvalue
,
params
=
{
path
:
'/'
,
expires
:
7
,
domain
:
localDomain
,
},
)
=>
{
delCookie
(
cname
);
Cookies
.
set
(
cname
,
cvalue
,
params
);
};
export
const
getCookie
=
(
cname
,
params
=
{
path
:
'/'
,
domain
:
localDomain
},
)
=>
{
const
data
=
Cookies
.
get
(
cname
,
params
);
return
data
;
};
export
const
delCookie
=
(
cname
)
=>
{
Cookies
.
remove
(
cname
,
{
path
:
'/'
,
domain
:
localDomain
,
});
Cookies
.
remove
(
cname
,
{
path
:
'/'
,
domain
:
'.yunqueyi.com'
,
});
Cookies
.
remove
(
cname
,
{
path
:
'/'
,
});
};
src/utils/index.js
浏览文件 @
ab56b07a
import
*
as
cookieFun
from
'./cookieFun'
;
export
const
setCookie
=
cookieFun
.
setCookie
;
export
const
getCookie
=
cookieFun
.
getCookie
;
export
const
delCookie
=
cookieFun
.
delCookie
;
export
const
formatDate
=
(
datetime
)
=>
{
export
const
formatDate
=
(
datetime
)
=>
{
var
date
=
new
Date
(
datetime
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
var
date
=
new
Date
(
datetime
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
var
year
=
date
.
getFullYear
(),
var
year
=
date
.
getFullYear
(),
...
...
src/views/home/index.vue
浏览文件 @
ab56b07a
...
@@ -57,9 +57,9 @@ export default {
...
@@ -57,9 +57,9 @@ export default {
web_data
:{
projectEquityNo
:
projectEquityNo
,
externalOrderNo
:
n
},
web_data
:{
projectEquityNo
:
projectEquityNo
,
externalOrderNo
:
n
},
});
});
this
.
initMap
(
data
);
this
.
initMap
(
data
);
}
}
if
(
this
.
query
.
referer
)
{
if
(
this
.
query
.
referer
)
{
this
.
$loading
.
show
();
const
url
=
this
.
query
.
referer
;
const
url
=
this
.
query
.
referer
;
const
yunOrderNo
=
url
.
split
(
'@@'
)[
1
];
const
yunOrderNo
=
url
.
split
(
'@@'
)[
1
];
console
.
log
(
'this.query.referer'
,
yunOrderNo
);
console
.
log
(
'this.query.referer'
,
yunOrderNo
);
...
@@ -73,7 +73,11 @@ export default {
...
@@ -73,7 +73,11 @@ export default {
component_tag
:
'7802854#0#0#中转页'
,
component_tag
:
'7802854#0#0#中转页'
,
web_data
:{
yunOrderNo
:
yunOrderNo
},
web_data
:{
yunOrderNo
:
yunOrderNo
},
});
});
this
.
initMap
(
data
);
const
that
=
this
;
setTimeout
(
function
()
{
that
.
initMap
(
data
);
},
2000
);
}
}
},
},
...
...
src/views/insurance-Detection-detail-demo/index.scss
浏览文件 @
ab56b07a
.insurance-quickDetection-detail
{
.insurance-quickDetection-detail
-demo
{
background-color
:
#f5f6f8
;
background-color
:
#f5f6f8
;
padding-top
:
10px
;
min-height
:
100vh
;
min-height
:
100vh
;
width
:
100%
;
width
:
100%
;
position
:
relative
;
position
:
relative
;
...
...
src/views/insurance-Detection-detail-demo/index.vue
浏览文件 @
ab56b07a
<
template
>
<
template
>
<div
class=
"insurance-quickDetection-detail"
>
<div
class=
"insurance-quickDetection-detail
-demo
"
>
<page-model
<page-model
v-if=
"picaWechat != 'wechat'"
v-if=
"picaWechat != 'wechat'"
ref=
"PageModel"
ref=
"PageModel"
...
@@ -177,7 +177,8 @@
...
@@ -177,7 +177,8 @@
class=
"result-list-tips"
class=
"result-list-tips"
>
>
<div
class=
"list-tips-item"
>
<div
class=
"list-tips-item"
>
1.请将带有阳性检测结果的试剂盒和包装盒上的条码一起拍照上传,确保两个元素在同一张照片里.
<span
@
click=
"showSample(2)"
>
示例图
</span>
1.请将带有阳性检测结果的试剂盒和包装盒上的条码一起拍照上传,确保两个元素在同一张照片里.
<!--
<span
@
click=
"showSample(2)"
>
示例图
</span>
-->
</div>
</div>
<div
<div
class=
"list-tips-item"
class=
"list-tips-item"
...
@@ -323,13 +324,9 @@ export default {
...
@@ -323,13 +324,9 @@ export default {
this
.
saveOrder
();
this
.
saveOrder
();
},
},
saveOrder
()
{
saveOrder
()
{
const
{
yunOrderNo
,
externalOrderNo
}
=
this
.
$route
.
query
;
const
{
yunOrderNo
}
=
this
.
$route
.
query
;
const
data
=
{};
const
data
=
{};
if
(
this
.
result
)
{
if
(
this
.
result
)
{
// const data = {
// yunOrderNo,
// resultFlag:this.result
// };
data
.
yunOrderNo
=
yunOrderNo
;
data
.
yunOrderNo
=
yunOrderNo
;
data
.
resultFlag
=
this
.
result
;
data
.
resultFlag
=
this
.
result
;
}
else
{
}
else
{
...
@@ -343,12 +340,12 @@ export default {
...
@@ -343,12 +340,12 @@ export default {
hospitalId
:
139136
,
hospitalId
:
139136
,
idType
:
1
,
idType
:
1
,
hospitalName
:
'人民医院和平社区健康服务中心'
,
hospitalName
:
'人民医院和平社区健康服务中心'
,
yunOrderNo
:
yunOrderNo
,
yunOrderNoOne
:
yunOrderNo
,
idCard
:
item
.
idCard
,
idCard
:
item
.
idCard
,
externalOrderNo
,
externalOrderNo
:
'SZ'
+
Math
.
floor
(
new
Date
().
getTime
()
/
1000
)
,
projectEquityNo
:
this
.
projectEquityNo
,
projectEquityNo
:
this
.
projectEquityNo
,
mobilePhone
:
item
.
phoneNum
,
mobilePhone
:
item
.
phoneNum
,
patientName
:
item
.
name
patientName
:
item
.
name
,
};
};
createOrder
(
data
).
then
(
res
=>
{
createOrder
(
data
).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
...
...
src/views/sz-home/index.vue
浏览文件 @
ab56b07a
...
@@ -17,12 +17,13 @@
...
@@ -17,12 +17,13 @@
</div>
</div>
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<
div
<
van-button
class=
"btn"
class=
"btn"
:disabled=
"!person"
@
click=
"toPage"
@
click=
"toPage"
>
>
领取权益
领取权益
</
div
>
</
van-button
>
</div>
</div>
</div>
</div>
<van-popup
<van-popup
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
closeable
closeable
round
round
position=
"bottom"
position=
"bottom"
:style=
"
{ height: '
40%
' }"
:style=
"
{ height: '
270px
' }"
>
>
<div
class=
"popup-title"
>
<div
class=
"popup-title"
>
选择被保险人
选择被保险人
...
@@ -65,13 +66,14 @@
...
@@ -65,13 +66,14 @@
</van-cell-group>
</van-cell-group>
</van-radio-group>
</van-radio-group>
</div>
</div>
<
div
<
van-button
class=
"popup-btn"
class=
"popup-btn"
:disabled=
"!person"
@
click=
"show=false
@
click=
"show=false
"
"
>
>
领取权益
领取权益
</
div
>
</
van-button
>
</van-popup>
</van-popup>
</div>
</div>
</template>
</template>
...
@@ -88,13 +90,13 @@ export default {
...
@@ -88,13 +90,13 @@ export default {
id
:
1
,
id
:
1
,
name
:
'陈琳'
,
name
:
'陈琳'
,
phoneNum
:
'15966877677'
,
phoneNum
:
'15966877677'
,
idCard
:
'
610321********0429
'
idCard
:
'
110101197109017455
'
},
},
{
{
id
:
2
,
id
:
2
,
name
:
'刘鑫琳'
,
name
:
'刘鑫琳'
,
phoneNum
:
'15966877677'
,
phoneNum
:
'15966877677'
,
idCard
:
'
610321********0429
'
idCard
:
'
110101197109014051
'
},
},
]
]
};
};
...
@@ -170,6 +172,7 @@ export default {
...
@@ -170,6 +172,7 @@ export default {
background
:
#FFFFFF
;
background
:
#FFFFFF
;
box-shadow
:
inset
0px
1px
0px
0px
#E9E9E9
;
box-shadow
:
inset
0px
1px
0px
0px
#E9E9E9
;
overflow
:
hidden
;
overflow
:
hidden
;
text-align
:
center
;
.btn
{
.btn
{
width
:
351px
;
width
:
351px
;
height
:
40px
;
height
:
40px
;
...
@@ -235,17 +238,17 @@ export default {
...
@@ -235,17 +238,17 @@ export default {
}
}
}
}
.popup-btn
{
.popup-btn
{
margin
:
4px
auto
;
width
:
351px
;
width
:
351px
;
height
:
40px
;
height
:
40px
;
background
:
#00BDA5
;
background
:
#00BDA5
;
border-radius
:
20px
;
border-radius
:
20px
;
font-size
:
16px
;
font-size
:
16px
;
text-align
:
center
;
text-align
:
center
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
line-height
:
40px
;
line-height
:
40px
;
margin
:
0
auto
;
display
:
block
;
}
}
/
deep
/
.van-radio__icon--checked
.van-icon
{
/
deep
/
.van-radio__icon--checked
.van-icon
{
background
:
#00bda5
;
background
:
#00bda5
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录