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
提交
b7a6ca65
提交
b7a6ca65
编写于
12月 01, 2023
作者:
zhongyao.qiao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat 入口增加跳转页面
上级
80ff5bfb
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
152 行增加
和
60 行删除
+152
-60
entitlement.js
src/api/entitlement.js
+8
-0
index.js
src/router/index.js
+8
-3
index.vue
src/views/notice/index.vue
+51
-0
index.vue
src/views/sz-public-new/index.vue
+85
-57
未找到文件。
src/api/entitlement.js
浏览文件 @
b7a6ca65
...
@@ -28,3 +28,11 @@ export const getCardTypes = () => {
...
@@ -28,3 +28,11 @@ export const getCardTypes = () => {
withCredentials
:
true
,
withCredentials
:
true
,
});
});
};
};
export
const
projectMaterial
=
()
=>
{
return
request
({
url
:
'basic-data/constants/app/no-chars/P336'
,
method
:
'get'
,
withCredentials
:
true
,
});
};
src/router/index.js
浏览文件 @
b7a6ca65
import
{
router
,
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
insuranceBindCode
from
'@/views/insurance-bind-code/insurance-bind-code'
;
import
insuranceBindCode
from
'@/views/insurance-bind-code/insurance-bind-code'
;
import
insuranceDetectionDetail
from
'@/views/insurance-detection-detail/insurance-detection-detail'
;
import
insuranceBindCodeSuccess
from
'@/views/insurance-bindCode-success/insurance-bindCode-success'
;
import
insuranceBindCodeSuccess
from
'@/views/insurance-bindCode-success/insurance-bindCode-success'
;
import
handleAllRouter
from
'../public_uat'
;
import
insuranceDetectionDetail
from
'@/views/insurance-detection-detail/insurance-detection-detail'
;
import
{
router
,
}
from
'@pica-cli/vue-cli-plugin-pica-cli-plugin/auto'
;
import
{
headerConfigByMeta
}
from
'mn-template/util/routerUtil'
;
import
{
headerConfigByMeta
}
from
'mn-template/util/routerUtil'
;
import
handleAllRouter
from
'../public_uat'
;
const
routerConfig
=
[
const
routerConfig
=
[
{
{
path
:
'/insuranceBindCode'
,
path
:
'/insuranceBindCode'
,
...
@@ -165,6 +165,11 @@ const routerConfig = [
...
@@ -165,6 +165,11 @@ const routerConfig = [
name
:
'protocol'
,
name
:
'protocol'
,
component
:
()
=>
import
(
'@/views/login/protocol.vue'
),
component
:
()
=>
import
(
'@/views/login/protocol.vue'
),
},
},
{
path
:
'/notice'
,
name
:
'notice'
,
component
:
()
=>
import
(
'@/views/notice/index.vue'
),
},
];
];
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
headerConfigByMeta
(
to
);
headerConfigByMeta
(
to
);
...
...
src/views/notice/index.vue
0 → 100644
浏览文件 @
b7a6ca65
<
template
>
<div
class=
"page-wrapper"
>
<img
v-if=
"image"
class=
"image"
:src=
"image"
/>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
projectEquityNo
:
''
,
rightsNo
:
''
,
image
:
''
,
};
},
created
()
{
const
{
projectEquityNo
,
rightsNo
,
image
}
=
this
.
$route
.
query
;
this
.
projectEquityNo
=
projectEquityNo
;
this
.
rightsNo
=
rightsNo
;
this
.
image
=
image
?
decodeURIComponent
(
image
)
:
''
;
},
mounted
()
{
this
.
$sendBuriedData
(
{
action
:
'ACTION_WEB_ENTER'
,
component_tag
:
'7802964#0#0#保险公告'
,
web_data
:
{
projectEquityNo
:
this
.
projectEquityNo
,
rightsNo
:
this
.
rightsNo
,
},
},
'enter'
);
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.page-wrapper
{
width
:
100%
;
.image
{
display
:
block
;
width
:
100%
;
}
}
</
style
>
src/views/sz-public-new/index.vue
浏览文件 @
b7a6ca65
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getBanner
,
getCardTypes
}
from
'@/api/entitlement'
;
import
{
getBanner
,
getCardTypes
,
projectMaterial
}
from
'@/api/entitlement'
;
import
{
import
{
createOrderSzV2
,
createOrderSzV2
,
taiBaoUserInfo
,
taiBaoUserInfo
,
...
@@ -272,6 +272,8 @@ export default {
...
@@ -272,6 +272,8 @@ export default {
inherentUserInfo
:
null
,
inherentUserInfo
:
null
,
openWebAppConfig_without_yunorder
:
openWebAppConfig_without_yunorder
:
'pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder'
,
'pagesInsurance/all-entrance/index?insurance_without_yunorder=insurance_without_yunorder'
,
nextConfig
:
null
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -341,6 +343,7 @@ export default {
...
@@ -341,6 +343,7 @@ export default {
this
.
userInfo
=
userInfo
||
''
;
this
.
userInfo
=
userInfo
||
''
;
// this.$loading.show();
// this.$loading.show();
this
.
getBanner
(
7
,
rightsNo
||
projectEquityNo
);
this
.
getBanner
(
7
,
rightsNo
||
projectEquityNo
);
this
.
getProjectMaterial
();
this
.
loadCardTypes
();
this
.
loadCardTypes
();
if
(
if
(
this
.
projectEquityNo
===
'TB202309151004000001'
&&
this
.
projectEquityNo
===
'TB202309151004000001'
&&
...
@@ -393,7 +396,20 @@ export default {
...
@@ -393,7 +396,20 @@ export default {
console
.
log
(
err
);
console
.
log
(
err
);
});
});
},
},
getProjectMaterial
()
{
projectMaterial
().
then
((
res
)
=>
{
const
list
=
res
.
data
||
[];
const
target
=
this
.
rightsNo
||
this
.
projectEquityNo
;
const
item
=
list
.
find
((
i
)
=>
i
.
no_char
===
target
);
if
(
item
)
{
this
.
nextConfig
=
{
projectEquityNo
:
this
.
projectEquityNo
,
rightsNo
:
this
.
rightsNo
,
image
:
encodeURIComponent
(
item
.
value
),
};
}
});
},
isReadonly
(
fieldName
)
{
isReadonly
(
fieldName
)
{
if
(
!
this
.
inherentUserInfo
)
return
false
;
if
(
!
this
.
inherentUserInfo
)
return
false
;
return
(
return
(
...
@@ -439,64 +455,76 @@ export default {
...
@@ -439,64 +455,76 @@ export default {
if
(
rightsNo
)
{
if
(
rightsNo
)
{
data
[
'rightsNo'
]
=
rightsNo
;
data
[
'rightsNo'
]
=
rightsNo
;
}
}
createOrderSzV2
(
data
).
then
((
res
)
=>
{
this
.
$loading
.
show
();
console
.
log
(
res
);
createOrderSzV2
(
data
)
if
(
res
.
code
==
'000000'
)
{
.
then
((
res
)
=>
{
const
{
this
.
$loading
.
hide
();
yunOrderNo
,
console
.
log
(
res
);
statusCode
,
if
(
res
.
code
==
'000000'
)
{
externalOrderNo
,
const
{
versionNumber
,
yunOrderNo
,
projectEquityNo
,
statusCode
,
lanZhouOldflag
,
externalOrderNo
,
projectEquityNoNext
,
yunOrderNoNext
,
rightsNo
,
encryptPatientId
,
}
=
res
.
data
;
if
(
rightsNo
)
{
this
.
showProtocol
=
true
;
const
yo
=
yunOrderNoNext
||
yunOrderNo
;
const
po
=
projectEquityNoNext
||
projectEquityNo
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/my-right/index?encryptPatientId=
${
encryptPatientId
}
&projectEquityNo=
${
po
}
&yunOrderNo=
${
yo
}
&externalOrderNo=
${
externalOrderNo
}
&rightsNo=
${
rightsNo
}
`
;
console
.
log
(
'-this.openWebAppConfigPositive.path'
,
versionNumber
,
this
.
openWebAppConfigPositive
.
path
);
}
else
if
(
lanZhouOldflag
)
{
const
url
=
'/home'
;
const
l
=
window
.
location
.
origin
;
const
hr
=
l
+
`/pica-insurance
${
url
}
?projectEquityNo=
${
projectEquityNo
}
&externalOrderNo=
${
externalOrderNo
}
`
;
window
.
location
.
href
=
hr
;
}
else
if
(
statusCode
==
'0103'
||
[
4
,
5
,
6
].
includes
(
versionNumber
)
)
{
this
.
showProtocol
=
true
;
const
yo
=
yunOrderNo
;
const
po
=
projectEquityNo
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=
${
po
}
&yunOrderNo=
${
yo
}
&externalOrderNo=
${
externalOrderNo
}
`
;
console
.
log
(
'-this.openWebAppConfigPositive.path'
,
versionNumber
,
versionNumber
,
this
.
openWebAppConfigPositive
.
path
projectEquityNo
,
);
lanZhouOldflag
,
projectEquityNoNext
,
yunOrderNoNext
,
rightsNo
,
encryptPatientId
,
}
=
res
.
data
;
if
(
this
.
nextConfig
)
{
this
.
$router
.
replace
({
path
:
'/notice'
,
query
:
this
.
nextConfig
,
});
}
else
if
(
rightsNo
)
{
this
.
showProtocol
=
true
;
const
yo
=
yunOrderNoNext
||
yunOrderNo
;
const
po
=
projectEquityNoNext
||
projectEquityNo
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/my-right/index?encryptPatientId=
${
encryptPatientId
}
&projectEquityNo=
${
po
}
&yunOrderNo=
${
yo
}
&externalOrderNo=
${
externalOrderNo
}
&rightsNo=
${
rightsNo
}
`
;
console
.
log
(
'-this.openWebAppConfigPositive.path'
,
versionNumber
,
this
.
openWebAppConfigPositive
.
path
);
}
else
if
(
lanZhouOldflag
)
{
const
url
=
'/home'
;
const
l
=
window
.
location
.
origin
;
const
hr
=
l
+
`/pica-insurance
${
url
}
?projectEquityNo=
${
projectEquityNo
}
&externalOrderNo=
${
externalOrderNo
}
`
;
window
.
location
.
href
=
hr
;
}
else
if
(
statusCode
==
'0103'
||
[
4
,
5
,
6
].
includes
(
versionNumber
)
)
{
this
.
showProtocol
=
true
;
const
yo
=
yunOrderNo
;
const
po
=
projectEquityNo
;
this
.
openWebAppConfigPositive
.
path
=
`pagesInsurance/all-entrance/index?channelSource=insurance_channel&projectEquityNo=
${
po
}
&yunOrderNo=
${
yo
}
&externalOrderNo=
${
externalOrderNo
}
`
;
console
.
log
(
'-this.openWebAppConfigPositive.path'
,
versionNumber
,
this
.
openWebAppConfigPositive
.
path
);
}
else
{
this
.
$router
.
replace
({
path
:
'/entitlement'
,
query
:
{
projectEquityNo
:
projectEquityNo
,
externalOrderNo
:
externalOrderNo
,
},
});
}
}
else
{
}
else
{
this
.
$router
.
replace
({
this
.
$toast
(
res
.
message
);
path
:
'/entitlement'
,
query
:
{
projectEquityNo
:
projectEquityNo
,
externalOrderNo
:
externalOrderNo
,
},
});
}
}
}
else
{
})
this
.
$toast
(
res
.
message
);
.
catch
((
err
)
=>
{
}
console
.
log
(
err
);
});
this
.
$loading
.
hide
();
});
},
},
appointment
()
{
appointment
()
{
this
.
$refs
.
dectionForm
this
.
$refs
.
dectionForm
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录