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
提交
ce59c221
提交
ce59c221
编写于
8月 04, 2023
作者:
史文彬
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'release' into feature/ui-optimize-0801
上级
aab46dcc
0e4746d9
变更
14
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
17164 行增加
和
462 行删除
+17164
-462
.env.dev
.env.dev
+3
-0
.env.development.local
.env.development.local
+1
-1
.env.production
.env.production
+3
-0
.env.testing
.env.testing
+3
-0
README.md
README.md
+3
-0
entitlement.js
src/api/entitlement.js
+17
-8
main.js
src/main.js
+11
-8
index.vue
src/views/appoint/index.vue
+178
-147
index.vue
src/views/appointDetails/index.vue
+11
-0
list.vue
src/views/entitlement/list.vue
+190
-181
date-picker.vue
src/views/sz-public-new/date-picker.vue
+67
-0
index.vue
src/views/sz-public-new/index.vue
+237
-116
vue.config.js
vue.config.js
+1
-1
yarn.lock
yarn.lock
+16439
-0
未找到文件。
.env.dev
浏览文件 @
ce59c221
...
...
@@ -2,6 +2,9 @@ NODE_ENV=production
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='dev'
# 微信小程序的环境变量
VUE_APP_MINI_PROGRAM_ENV = 'trial'
VUE_APP_SERVICE_URL=https://dev-sc.yunqueyi.com
# 阿里云OSS对象存储地址
...
...
.env.development.local
浏览文件 @
ce59c221
NODE_ENV=development
VUE_APP_ENV=development
VUE_APP_MINI_PROGRAM_ENV='trial'
VUE_APP_SERVICE_URL=
# 模拟用户信息
...
...
.env.production
浏览文件 @
ce59c221
...
...
@@ -3,6 +3,9 @@ NODE_ENV=production
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='production'
# 微信小程序的环境变量
VUE_APP_MINI_PROGRAM_ENV = 'release'
VUE_APP_SERVICE_URL=https://sc.yunqueyi.com
# 阿里云OSS对象存储地址
...
...
.env.testing
浏览文件 @
ce59c221
...
...
@@ -3,6 +3,9 @@ NODE_ENV=production
# 自定义 VUE_APP_ENV
VUE_APP_ENV ='production'
# 微信小程序的环境变量
VUE_APP_MINI_PROGRAM_ENV='trial'
VUE_APP_SERVICE_URL=https://test1-sc.yunqueyi.com
# 阿里云OSS对象存储地址
VUE_APP_OSS_URL=https://pica-h5-test.yunqueyi.com/
...
...
README.md
浏览文件 @
ce59c221
# pica-insurance
> 请先查看每个目录的 md 文件
## 仓库入口
[
pica-insurance
](
http://192.168.110.53/com.pica.cloud.frontend/pica-insurance
)
## 启动
```
shell script
npm run start
...
...
src/api/entitlement.js
浏览文件 @
ce59c221
...
...
@@ -2,13 +2,13 @@ import request from 'mn-template/plugins/http';
// 获取权益列表
export
const
getEntitlementList
=
async
(
externalOrderNo
,
projectEquityNo
)
=>
{
return
request
({
method
:
'get'
,
url
:
`/tis/insurance/projectEquityNo/externalOrderNo?externalOrderNo=
${
externalOrderNo
}
&projectEquityNo=
${
projectEquityNo
}
`
,
withCredentials
:
true
,
hasLoading
:
true
,
});
};
return
request
({
method
:
'get'
,
url
:
`/tis/insurance/projectEquityNo/externalOrderNo?externalOrderNo=
${
externalOrderNo
}
&projectEquityNo=
${
projectEquityNo
}
`
,
withCredentials
:
true
,
hasLoading
:
true
,
});
};
// 获取banner
export
const
getBanner
=
async
(
pageType
,
yunOrderNo
)
=>
{
...
...
@@ -16,6 +16,15 @@ export const getBanner = async (pageType, yunOrderNo) => {
method
:
'get'
,
url
:
`/tis/insurance/explain/
${
yunOrderNo
}
/
${
pageType
}
`
,
withCredentials
:
true
,
hasLoading
:
true
,
hasLoading
:
true
,
});
};
// 查询证件类型字典的接口
export
const
getCardTypes
=
()
=>
{
return
request
({
url
:
'basic-data/constants/app?typeCodeList=P333'
,
method
:
'get'
,
withCredentials
:
true
,
});
};
src/main.js
浏览文件 @
ce59c221
import
{
router
,
store
,
vueApp
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
{
router
,
store
,
vueApp
,
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
*
as
dd
from
'dingtalk-jsapi'
;
import
'@/router'
;
console
.
log
(
'router, store, vueApp: '
,
router
,
store
,
vueApp
);
import
'@/assets/js/flexible'
;
import
{
isWeixin
}
from
'./utils/index'
;
import
{
isWeixin
}
from
'./utils/index'
;
import
Loading
from
'@/components/loading/loading.js'
;
import
CryptoJS
from
'crypto-js/crypto-js'
;
import
JsEncrypt
from
'jsencrypt/bin/jsencrypt'
;
...
...
@@ -39,22 +43,21 @@ document.documentElement.addEventListener(
passive
:
false
,
}
);
console
.
log
(
'z'
,
vueApp
.
$rocNative
);
vueApp
.
$rocNative
.
appInit
();
vueApp
.
$rocNative
.
on
(
'wx_ready'
,
function
()
{
console
.
log
(
'-wx_ready-'
,
window
.
_picaWechat
);
// 初始化wx jssdk 后 执行 脚手架将 wx 对象挂在到 $rocNative对象上,后执行 小程序环境判断方法 miniProgram.getEnv
vueApp
.
$rocNative
.
WXInstance
.
miniProgram
.
getEnv
(
function
(
res
)
{
vueApp
.
$rocNative
.
WXInstance
.
miniProgram
.
getEnv
(
function
(
res
)
{
console
.
log
(
'_miniprogram'
,
res
.
miniprogram
);
// true
window
.
_miniprogram
=
res
.
miniprogram
;
});
});
console
.
log
(
'---'
,
isWeixin
());
if
(
isWeixin
())
{
if
(
isWeixin
())
{
window
.
_picaWechat
=
'wechat'
;
}
if
(
dd
.
env
.
version
)
{
if
(
dd
.
env
.
version
)
{
window
.
_picaWechat
=
'dingtalk'
;
}
...
...
@@ -63,7 +66,7 @@ sessionStorage.setItem('headerHeight', 0);
window
.
Vue
.
use
(
Loading
);
// 设置安全密钥
window
.
_AMapSecurityConfig
=
{
securityJsCode
:
'f5093bfce95bd0393749259bcc44ede8'
securityJsCode
:
'f5093bfce95bd0393749259bcc44ede8'
,
};
console
.
log
(
'router, store, vueApp: '
,
router
,
store
,
vueApp
);
...
...
src/views/appoint/index.vue
浏览文件 @
ce59c221
此差异已折叠。
点击以展开。
src/views/appointDetails/index.vue
浏览文件 @
ce59c221
...
...
@@ -151,6 +151,17 @@
<
/text> --
>
<
/div
>
<
/div
>
<
div
v
-
if
=
"detailInfo.helpDetectionFlag == 1"
class
=
"detail-bottom-item"
>
<
div
class
=
"title"
>
采集方式
:
<
/div
>
<
div
class
=
"value"
>
现场检测
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"appoint-detail-tel"
>
客服电话:
<
a
...
...
src/views/entitlement/list.vue
浏览文件 @
ce59c221
此差异已折叠。
点击以展开。
src/views/sz-public-new/date-picker.vue
0 → 100644
浏览文件 @
ce59c221
<
template
>
<div
class=
"pica-date-picker"
>
<van-field
:border=
"false"
readonly
placeholder=
"请选择出生年月日"
:value=
"value"
class=
"appoint-form-items"
@
click=
"handleOpenPopup"
/>
<van-popup
v-model=
"visible"
position=
"bottom"
:transition-appear=
"false"
>
<van-datetime-picker
type=
"date"
title=
"选择年月日"
:value=
"currentDate"
:min-date=
"minDate"
:max-date=
"maxDate"
@
confirm=
"handleConfirm"
@
cancel=
"visible = false"
/>
</van-popup>
</div>
</
template
>
<
script
>
import
dayjs
from
'dayjs'
;
export
default
{
props
:
{
value
:
{
type
:
String
,
default
:
''
,
},
},
data
()
{
return
{
visible
:
false
,
currentDate
:
new
Date
(),
minDate
:
new
Date
(
1900
,
0
,
1
),
maxDate
:
new
Date
(),
};
},
methods
:
{
handleOpenPopup
()
{
this
.
visible
=
true
;
},
handleConfirm
(
value
)
{
this
.
visible
=
false
;
const
formatDate
=
dayjs
(
value
).
format
(
'YYYY-MM-DD'
);
this
.
$emit
(
'input'
,
formatDate
);
},
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
.pica-date-picker
{
width
:
100%
;
.van-cell
{
padding
:
0
!
important
;
}
}
</
style
>
src/views/sz-public-new/index.vue
浏览文件 @
ce59c221
此差异已折叠。
点击以展开。
vue.config.js
浏览文件 @
ce59c221
...
...
@@ -36,7 +36,7 @@ module.exports = {
port
:
8083
,
proxy
:
{
'/proxy'
:
{
target
:
'https://
test1
-sc.yunqueyi.com/'
,
target
:
'https://
dev
-sc.yunqueyi.com/'
,
// target: 'https://test1-sc.yunqueyi.com/',
// target: 'https://uat-sc.yunqueyi.com/',
// http://10.241.65.90:3000/mock/1071/cs/route/removeUser
...
...
yarn.lock
0 → 100644
浏览文件 @
ce59c221
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录