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 68acc617
authored
Dec 22, 2021
by
shangriqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 修复样式问题
1 parent
47b84364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
16 deletions
src/packages/task-recored/src/main.vue
src/packages/task-recored/src/main.vue
View file @
68acc61
...
...
@@ -10,15 +10,36 @@
<div
style=
"padding:0 29px 29px;background:#fff;"
>
<BiTitle
index=
"1"
name=
"任务基础信息"
></BiTitle>
<div
style=
"display: block;overflow: hidden"
>
<div
class=
"panel-cell"
style=
"transform: translateY(1px);display: inline-block;width: 33%;height: 70px;line-height: 70px;color:#9aa2b2;border-bottom:1px solid #f4f4f4"
v-for=
"(item, k) in baseInfo"
:key=
"k"
>
<span
class=
"panel-cell-label"
style=
""
>
{{
item
.
label
}}
</span>
:
<span
style=
"color: #2d2d2d"
>
{{
item
.
value
}}
</span>
<div
class=
"panel-row"
>
<div
class=
"panel-cell"
>
<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>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
projectName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<span
class=
"panel-cell-label"
style=
""
>
电话:
</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-ctx"
>
{{
baseInfo
.
industryEnterpriseName
}}
</span>
</div>
<div
class=
"panel-cell"
>
<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-ctx"
>
{{
baseInfo
.
createDt
}}
</span>
</div>
</div>
</div>
</div>
...
...
@@ -31,9 +52,8 @@
v-for=
"(item, k) in ctxInfo"
:key=
"k"
>
<span
class=
"panel-cell-label"
style=
""
>
{{
item
.
label
}}
</span>
:
<span
style=
"color: #2d2d2d"
>
{{
item
.
value
}}
</span>
<span
class=
"panel-cell-label"
style=
""
>
{{
item
.
label
}}
:
</span>
<span
class=
"panel-cell-ctx"
>
{{
item
.
value
}}
</span>
</div>
<!-- 拜访信息 -->
<div>
...
...
@@ -88,7 +108,7 @@
/* eslint-disable */
import
BiTitle
from
'./components/title.vue'
;
import
BiCoverEnd
from
'./components/cover-end'
;
import
createC
ells
from
'./client.js'
;
import
createC
txInfo
from
'./client.js'
;
export
default
{
name
:
'TaskRecord'
,
...
...
@@ -128,22 +148,55 @@ export default {
this
.
cdInfo
=
data
.
cdInfo
;
this
.
feedBackUrl
=
data
.
feedBackUrl
;
this
.
forwardUrl
=
data
.
forwardUrl
;
this
.
cdInfo
=
data
.
cdInfo
;
this
.
visitPlanInformation
=
data
.
visitPlanInformation
;
this
.
visitTatgetType
=
data
.
visitTatgetType
;
this
.
ctxInfo
=
createCells
(
this
.
visitTatgetType
,
data
);
this
.
ctxInfo
=
createCtxInfo
(
this
.
visitTatgetType
,
data
);
// this.ctxInfo = data
});
let
baseInfoFields
=
[
{
label
:
'项目执行人'
,
key
:
'fullName'
,
value
:
''
},
{
label
:
'项目名称'
,
key
:
'projectName'
,
value
:
''
},
{
label
:
'电话'
,
key
:
'phone'
,
value
:
''
},
{
label
:
'发行单位'
,
key
:
'industryEnterpriseName'
,
value
:
''
},
{
label
:
'服务商'
,
key
:
'enterpriseName'
,
value
:
''
},
{
label
:
'任务提交时间'
,
key
:
'createDt'
,
value
:
''
}
];
this
.
$nextTick
(()
=>
{
this
.
getBaseInfo
().
then
(({
data
:
{
data
}
})
=>
{
this
.
baseInfo
=
createCells
(
this
.
visitTatgetType
,
data
);
let
res
=
{};
baseInfoFields
.
map
(
i
=>
{
res
[
i
.
key
]
=
data
[
i
.
key
];
});
this
.
baseInfo
=
res
;
});
});
}
};
</
script
>
<
style
scoped
>
.panel-row
{
border-bottom
:
1px
solid
#f4f4f4
;
}
.panel-cell
{
display
:
inline-flex
;
min-height
:
70px
;
line-height
:
30px
;
transform
:
translateY
(
1px
);
width
:
33%
;
color
:
#9aa2b2
;
}
.panel-cell-label
{
color
:
#a9b0bd
;
margin-right
:
0.5em
;
min-width
:
6rem
;
text-align
:
right
;
}
.panel-cell-ctx
{
display
:
inline-block
;
color
:
#2d2d2d
;
}
.task-log-pdf-title
{
...
...
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