Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
jml0128
/
xrk-bi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1a1dcdc0
authored
Dec 27, 2021
by
shangriqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加参数 party,判断甲方,不显示 执行人和手机号
1 parent
988d2b55
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
28 deletions
src/packages/task-recored/src/main.vue
src/packages/task-recored/src/main.vue
View file @
1a1dcdc
...
...
@@ -5,39 +5,42 @@
<
template
>
<div>
<div
class=
"task-log-pdf-title"
style=
"font-size: 29px"
>
{{
executor
Name
}}
-- 任务记录
{{
baseInfo
.
full
Name
}}
-- 任务记录
</div>
<div
style=
"padding:0 29px
29
px;background:#fff;"
>
<div
style=
"padding:0 29px
0
px;background:#fff;"
>
<BiTitle
index=
"1"
name=
"任务基础信息"
></BiTitle>
<div
style=
"display: block;overflow: hidden"
>
<div
class=
"panel-row"
>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style
=
""
>
项目执行人:
</span>
<div
class=
"panel-cell"
v-if=
"+this.search.party !== 1"
>
<span
class=
"panel-cell-label"
style
>
项目执行人:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
fullName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style=
""
>
项目名称:
</span>
<div
class=
"panel-cell"
:style=
"
{ width: +this.search.party !== 1 ? '30%' : '100%' }"
>
<span
class=
"panel-cell-label"
>
项目名称:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
projectName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style=
""
>
电话:
</span>
<div
class=
"panel-cell"
v-if=
"+this.search.party !== 1"
>
<span
class=
"panel-cell-label"
>
电话:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
phone
}}
</span>
</div>
</div>
<div
class=
"panel-row"
>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style=
""
>
发行单位:
</span>
<span
class=
"panel-cell-label"
>
发行单位:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
industryEnterpriseName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style
=
""
>
服务商:
</span>
<span
class=
"panel-cell-label"
style
>
服务商:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
enterpriseName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style
=
""
>
任务提交时间:
</span>
<span
class=
"panel-cell-label"
style
>
任务提交时间:
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
createDt
}}
</span>
</div>
</div>
...
...
@@ -52,7 +55,7 @@
v-for=
"(item, k) in ctxInfo"
:key=
"k"
>
<span
class=
"panel-cell-label"
style
=
""
>
{{
item
.
label
}}
:
</span>
<span
class=
"panel-cell-label"
style
>
{{
item
.
label
}}
:
</span>
<span
class=
"panel-cell-ctx"
>
{{
item
.
value
}}
</span>
</div>
<!-- 拜访信息 -->
...
...
@@ -69,9 +72,9 @@
<div
style=
"display: inline-block;width: 100%;height: 50px;line-height: 50px;color:#9aa2b2"
>
<p
class=
"panel-cell-label"
style
=
""
>
传递信息 :
</p>
<p
class=
"panel-cell-label"
style
>
传递信息 :
</p>
<div
style=
"
color: #2d2d2d;
text-indent: 2em;list-style: circle"
style=
"text-indent: 2em;list-style: circle"
v-for=
"(item, k) in cdInfo"
:key=
"k"
>
...
...
@@ -84,17 +87,17 @@
<div
style=
"display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2"
>
<p
class=
"panel-cell-label"
style
=
""
>
信息反馈记录:
</p>
<div
style=
"
color: #2d2d2d;
padding:20px 20px 0 0"
>
<img
style=
"width: 100%;"
:src=
"feedBackUrl"
alt
=
""
/>
<p
class=
"panel-cell-label"
style
>
信息反馈记录:
</p>
<div
style=
"padding:20px 20px 0 0"
>
<img
style=
"width: 100%;"
:src=
"feedBackUrl"
alt
/>
</div>
</div>
<div
style=
"display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2"
>
<p
class=
"panel-cell-label"
style
=
""
>
信息转发记录:
</p>
<div
style=
"
color: #2d2d2d;
padding:20px 20px 0 0"
>
<img
style=
"width: 100%;"
:src=
"forwardUrl"
alt
=
""
/>
<p
class=
"panel-cell-label"
style
>
信息转发记录:
</p>
<div
style=
"padding:20px 20px 0 0"
>
<img
style=
"width: 100%;"
:src=
"forwardUrl"
alt
/>
</div>
</div>
</div>
...
...
@@ -135,13 +138,11 @@ export default {
cdInfo
:
[],
// 传递信息
feedBackUrl
:
''
,
//反馈记录
forwardUrl
:
''
,
//转发记录
visitTatgetType
:
''
};
},
computed
:
{
executorName
()
{
return
this
.
baseInfo
[
0
]
&&
this
.
baseInfo
[
0
][
'value'
];
visitTatgetType
:
''
,
search
:
{
party
:
''
//party=1 工业 party=2乙方
}
};
},
async
mounted
()
{
await
this
.
getCtxInfo
().
then
(({
data
:
{
data
}
})
=>
{
...
...
@@ -171,6 +172,15 @@ export default {
this
.
baseInfo
=
res
;
});
});
const
search
=
window
.
location
.
search
.
slice
(
1
)
.
split
(
'&'
)
.
reduce
((
acc
,
cur
)
=>
{
let
[
key
,
val
]
=
cur
.
split
(
'='
);
acc
[
key
]
=
val
;
return
acc
;
},
{});
this
.
search
=
search
;
}
};
</
script
>
...
...
@@ -200,14 +210,13 @@ export default {
.panel-cell-ctx
{
display
:
inline-block
;
color
:
#2d2d2d
;
}
.task-log-pdf-title
{
position
:
relative
;
/*padding-left: 29px;*/
text-indent
:
12px
;
margin-bottom
:
5
0px
;
margin-bottom
:
2
0px
;
/*background: #fff;*/
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment