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 bbbdf869
authored
Sep 08, 2021
by
jml0128
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:增加服务商审核人字段
1 parent
0a042789
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
5 deletions
.npmignore
README.md
package.json
src/packages/bi/src/main.vue
src/packages/bi/src/mixin/index.js
src/packages/bi/src/project/20-configurable.vue
.npmignore
0 → 100644
View file @
bbbdf86
.DS_Store
node_modules/
npm-debug.log
yarn-error.log
yarn.lock
.vscode/
# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
src
README.md
\ No newline at end of file
README.md
0 → 100644
View file @
bbbdf86
<!--
*
@Description:
*
@Date: 2021-09-08 15:26:40
-->
# 0.1.18
1.
BI 组件增加 from 入参
2.
增加服务商审核人字段
package.json
View file @
bbbdf86
{
{
"name"
:
"xrk-bi"
,
"name"
:
"xrk-bi"
,
"version"
:
"0.1.1
7
"
,
"version"
:
"0.1.1
9
"
,
"description"
:
"xrk-bi"
,
"description"
:
"xrk-bi"
,
"author"
:
"xrk"
,
"author"
:
"xrk"
,
"main"
:
"dist/bundler.js"
,
"main"
:
"dist/bundler.js"
,
...
...
src/packages/bi/src/main.vue
View file @
bbbdf86
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: jml
* @Author: jml
* @Date: 2021-02-26 15:38:10
* @Date: 2021-02-26 15:38:10
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-0
7-28 21:56:47
* @LastEditTime: 2021-0
9-08 15:00:42
-->
-->
<
template
>
<
template
>
<div
class=
"xrk-components-bi bi"
:class=
"
{ 'bi-print': print }">
<div
class=
"xrk-components-bi bi"
:class=
"
{ 'bi-print': print }">
...
@@ -54,6 +54,7 @@ export default {
...
@@ -54,6 +54,7 @@ export default {
useScale
:
[
Number
,
String
,
Boolean
],
useScale
:
[
Number
,
String
,
Boolean
],
cantEdit
:
[
Number
,
String
],
cantEdit
:
[
Number
,
String
],
projectType
:
[
Number
,
String
],
projectType
:
[
Number
,
String
],
from
:
[
Number
,
String
],
getBaseInfo
:
{
getBaseInfo
:
{
type
:
Function
,
type
:
Function
,
default
:
()
=>
{}
default
:
()
=>
{}
...
...
src/packages/bi/src/mixin/index.js
View file @
bbbdf86
...
@@ -31,6 +31,10 @@ export default {
...
@@ -31,6 +31,10 @@ export default {
baseFontSize
()
{
baseFontSize
()
{
const
{
isPrint
}
=
this
;
const
{
isPrint
}
=
this
;
return
isPrint
?
printWidth
:
Math
.
min
(
window
.
innerWidth
/
10
,
75
);
return
isPrint
?
printWidth
:
Math
.
min
(
window
.
innerWidth
/
10
,
75
);
},
platform
()
{
// gongye , cso
return
this
.
Bi
.
from
;
}
}
}
}
};
};
src/packages/bi/src/project/20-configurable.vue
View file @
bbbdf86
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
computed
:
{
computed
:
{
catalogueArr
()
{
catalogueArr
()
{
const
hasSingleChoice
=
this
.
showSingleChoice
.
length
>
0
;
const
hasSingleChoice
=
this
.
showSingleChoice
.
length
>
0
;
const
{
page
1
=
0
,
page
2
=
0
,
page3Info
=
[]
}
=
this
;
const
{
page2
=
0
,
page3Info
=
[]
}
=
this
;
return
[
return
[
{
{
name
:
'项目总览'
,
name
:
'项目总览'
,
...
@@ -225,7 +225,11 @@ export default {
...
@@ -225,7 +225,11 @@ export default {
totalTopicNum
,
totalTopicNum
,
chooseTopicNum
,
chooseTopicNum
,
isContrainGroupAnalyse
,
isContrainGroupAnalyse
,
isContrainSingleAnalyse
isContrainSingleAnalyse
,
isAuditCso
,
// 乙方可见
isAuditGongye
,
// 甲方可见
csoAuditUser
// 审核人姓名
}
=
info
;
}
=
info
;
this
.
biInfo
=
{
this
.
biInfo
=
{
biInfoId
:
id
,
biInfoId
:
id
,
...
@@ -249,7 +253,7 @@ export default {
...
@@ -249,7 +253,7 @@ export default {
pos
:
aspNamePosition
pos
:
aspNamePosition
}
}
];
];
this
.
baseInfo
=
[
const
_
baseInfo
=
[
[
[
{
{
name
:
'项目名称'
,
name
:
'项目名称'
,
...
@@ -293,6 +297,25 @@ export default {
...
@@ -293,6 +297,25 @@ export default {
}
}
]
]
];
];
const
showReviewer
=
()
=>
{
switch
(
this
.
platform
)
{
case
'gongye'
:
return
isAuditGongye
==
1
;
case
'cso'
:
return
isAuditCso
==
1
;
}
return
false
;
};
this
.
baseInfo
=
showReviewer
()
?
_baseInfo
.
concat
([
[
{
name
:
'服务商审核人'
,
value
:
csoAuditUser
||
'-'
}
]
])
:
_baseInfo
;
this
.
textData
=
[
this
.
textData
=
[
[
[
{
{
...
...
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