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 c233cd6a
authored
Mar 24, 2022
by
web
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/pdf' of
http://git.jimijiayuan.cn/jml0128/xrk-bi
into feature/pdf
2 parents
50f83ec3
33901ead
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
src/packages/task-recored/src/components/header.vue
src/packages/task-recored/src/main.vue
src/packages/task-recored/src/style/index.css
src/packages/task-recored/src/components/header.vue
View file @
c233cd6
...
...
@@ -21,7 +21,7 @@
</div>
</div>
<div
class=
"info"
>
<div
class=
"info-item"
>
<div
v-if=
"+from === 2"
class=
"info-item"
>
<span>
项目执行人:
</span>
<span>
{{
resData
.
fullName
}}
</span>
</div>
...
...
@@ -29,7 +29,7 @@
<span>
项目名称:
</span>
<span>
{{
resData
.
projectName
}}
</span>
</div>
<div
class=
"info-item"
>
<div
v-if=
"+from === 2"
class=
"info-item"
>
<span>
电话:
</span>
<span>
{{
resData
.
phone
}}
</span>
</div>
...
...
@@ -40,7 +40,7 @@
</span>
</div>
<div
class=
"info-item"
>
<span>
{{
resData
.
enterpriseTitle
}}
</span>
<span>
{{
resData
.
enterpriseTitle
}}
:
</span>
<span>
{{
resData
.
enterpriseName
}}
</span>
</div>
<div
class=
"info-item"
>
...
...
@@ -64,7 +64,7 @@
import
dateFormat
from
'@/utils/dateFormat'
;
export
default
{
props
:
{
from
:
String
,
from
:
String
||
Number
,
resData
:
Object
},
methods
:
{
...
...
src/packages/task-recored/src/main.vue
View file @
c233cd6
...
...
@@ -24,7 +24,7 @@ export default {
props
:
{
from
:
{
type
:
String
,
default
:
'
gongye
'
default
:
'
1
'
},
projectType
:
{
type
:
[
Number
,
String
]
...
...
@@ -49,6 +49,7 @@ export default {
makeSceneTaskInfo
({
taskId
:
this
.
taskId
}).
then
(
res
=>
{
this
.
resData
=
res
.
data
;
});
console
.
log
(
this
.
from
,
'v-if="+from===1"'
);
}
};
</
script
>
...
...
src/packages/task-recored/src/style/index.css
View file @
c233cd6
...
...
@@ -4,9 +4,9 @@
* Autoprefixer: v10.3.1
* Browsers: >1%,last 2 versions
*/
@page
{
size
:
1190px
;
size
:
auto
;
margin
:
20px
20px
;
}
*
{
font-family
:
SimSun
;
...
...
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