Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
miniProgramsFormRender
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
王正
miniProgramsFormRender
Commits
0aaa2fdd
提交
0aaa2fdd
authored
1月 22, 2026
作者:
zhangmingzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
公共客户信息头配置前置图片
上级
63c2acd3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
9 行删除
+23
-9
common.js
common.js
+6
-0
customerHeader.js
components/customerHeader/customerHeader.js
+10
-7
index.html
index.html
+7
-2
没有找到文件。
common.js
浏览文件 @
0aaa2fdd
...
...
@@ -115,6 +115,12 @@ let urlConfig = {
zx
:
"https://cs.hebnx.com:10022/xcx/ifs/edxd"
,
sc
:
"https://sdc.hebnx.com:443/xcx/ifs/edxd"
}
// 图片加载
let
urlConfigImage
=
{
kf
:
"http://124.239.130.105:10021/xcx_kf"
,
zx
:
"https://cs.hebnx.com:10022/xcx"
,
sc
:
"https://sdc.hebnx.com:443/xcx"
}
// 出售计划请求类
function
initRequest
(
commonHeader
,
modeEvn
,
publicKey
,
PRIVATE_KEY
)
{
let
request
=
axios
.
create
({
...
...
components/customerHeader/customerHeader.js
浏览文件 @
0aaa2fdd
...
...
@@ -23,17 +23,17 @@ Vue.component('customer-header', {
</div>
<!-- 状态印章 -->
<div class="status-seal">
<img v-if="this.statusText === '待审批'"
src="/static/img/customer/daishenpi.png
" class="seal-img" />
<img v-if="this.statusText === '已撤销'" src="
/static/img/customer/yichexiao.png
" class="seal-img" />
<img v-if="this.statusText === '已完成'" src="
/static/img/customer/yiwancheng.png
" class="seal-img" />
<img v-if="this.statusText === '已终结'" src="
/static/img/customer/yizhongjie.png
" class="seal-img" />
<img v-if="this.statusText === '运行中'" src="
/static/img/customer/yunxingzhong.png
" class="seal-img" />
<img v-if="this.statusText === '待审批'"
:src="imgUrl+'/static/img/customer/daishenpi.png'
" class="seal-img" />
<img v-if="this.statusText === '已撤销'" src="
imgUrl+'/static/img/customer/yichexiao.png'
" class="seal-img" />
<img v-if="this.statusText === '已完成'" src="
imgUrl+'/static/img/customer/yiwancheng.png'
" class="seal-img" />
<img v-if="this.statusText === '已终结'" src="
imgUrl+'/static/img/customer/yizhongjie.png'
" class="seal-img" />
<img v-if="this.statusText === '运行中'" src="
imgUrl+'/static/img/customer/yunxingzhong.png'
" class="seal-img" />
</div>
</div>
</div>
</div>
`
,
props
:
[
'cusinfo'
,
'tags'
,
'statusText'
],
// html接收字段名都是小写,单向传递
props
:
[
'cusinfo'
,
'tags'
,
'statusText'
,
'urlConfigImage'
,
'modeEvn'
],
// html接收字段名都是小写,单向传递
data
()
{
return
{
imgUrl
:
''
,
...
...
@@ -47,7 +47,10 @@ Vue.component('customer-header', {
}
},
created
(){
console
.
log
(
'---cusinfo-'
,
this
.
statusText
)
console
.
log
(
'---cusinfo1-'
,
this
.
urlConfigImage
)
console
.
log
(
'---modeEvn-'
,
this
.
modeEvn
)
console
.
log
(
'-------34353---'
,
this
.
urlConfigImage
[
this
.
modeEvn
])
this
.
imgUrl
=
this
.
urlConfigImage
[
this
.
modeEvn
]
},
methods
:
{
// 组件内方法
...
...
index.html
浏览文件 @
0aaa2fdd
...
...
@@ -31,7 +31,7 @@
<body>
<div
id=
"app"
v-loading=
"loading"
style=
"height: 100vh;z-index:-1"
>
<customer-header
v-if=
"cusFlag"
:cusinfo=
"cusinfo"
:tags=
"tags"
:status-text=
"statusText
"
></customer-header>
<customer-header
v-if=
"cusFlag"
:cusinfo=
"cusinfo"
:tags=
"tags"
:status-text=
"statusText"
:url-config-image=
"urlConfigImage"
:mode-evn=
"modeEvn
"
></customer-header>
<v-form-render
:preview-state=
"true"
identi-fication=
'XCX'
:form-json=
"formJson"
:form-data=
"formData"
:option-data=
"optionData"
ref=
"vFormRef"
>
</v-form-render>
...
...
@@ -93,9 +93,14 @@
cusFlag
:
false
,
cusinfo
:
{},
tags
:
[],
statusText
:
''
statusText
:
''
,
urlConfigImage
:
''
,
modeEvn
:
''
},
async
created
()
{
this
.
urlConfigImage
=
urlConfigImage
this
.
modeEvn
=
urlParams
.
modeEvn
console
.
log
(
'----this.modeEvn-----'
,
this
.
modeEvn
)
console
.
log
(
'---------userInfo----'
,
urlParams
)
console
.
log
(
'---------userInfo----'
,
urlParams
.
sessionData
)
this
.
cusFlag
=
urlParams
.
sessionData
.
cusFlag
?
true
:
false
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论