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 5a86fa64
authored
Mar 23, 2022
by
web
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改文件夹名,添加导出
1 parent
54e00143
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
33 additions
and
16 deletions
package.json
src/App.vue
src/lib/index.js
src/packages/task-recored/src/editScene/api/index.js → src/packages/task-recored/src/configurable/api/index.js
src/packages/task-recored/src/editScene/components/footer.vue → src/packages/task-recored/src/configurable/components/footer.vue
src/packages/task-recored/src/editScene/components/header.vue → src/packages/task-recored/src/configurable/components/header.vue
src/packages/task-recored/src/editScene/components/main.vue → src/packages/task-recored/src/configurable/components/main.vue
src/packages/task-recored/src/configurable/index.js
src/packages/task-recored/src/editScene/index.vue → src/packages/task-recored/src/configurable/main.vue
package.json
View file @
5a86fa6
{
{
"name"
:
"xrk-bi"
,
"name"
:
"xrk-bi"
,
"version"
:
"0.3.0-beta"
,
"version"
:
"0.3.0-beta
.1
"
,
"description"
:
"xrk-bi"
,
"description"
:
"xrk-bi"
,
"author"
:
"xrk"
,
"author"
:
"xrk"
,
"main"
:
"dist/bundler.js"
,
"main"
:
"dist/bundler.js"
,
...
...
src/App.vue
View file @
5a86fa6
...
@@ -35,19 +35,15 @@
...
@@ -35,19 +35,15 @@
<
script
>
<
script
>
import
{
getQueryVariable
}
from
'./packages/bi/src/chart-type/common'
;
import
{
getQueryVariable
}
from
'./packages/bi/src/chart-type/common'
;
import
editScene
from
'./packages/task-recored/src/editScene'
;
export
default
{
export
default
{
name
:
'App'
,
name
:
'App'
,
components
:
{
editScene
},
data
()
{
data
()
{
return
{
return
{
isMobile
:
+
getQueryVariable
(
'mobile'
)
===
1
,
isMobile
:
+
getQueryVariable
(
'mobile'
)
===
1
,
isPrint
:
+
getQueryVariable
(
'print'
)
===
1
,
isPrint
:
+
getQueryVariable
(
'print'
)
===
1
,
projectType
:
+
getQueryVariable
(
'projectType'
)
||
20
,
projectType
:
+
getQueryVariable
(
'projectType'
)
||
6
,
// componentName: getQueryVariable('componentName') || 'XrkBi'
componentName
:
getQueryVariable
(
'componentName'
)
||
'XrkBi'
componentName
:
'editScene'
};
};
}
}
};
};
...
...
src/lib/index.js
View file @
5a86fa6
...
@@ -5,8 +5,9 @@
...
@@ -5,8 +5,9 @@
*/
*/
import
Bi
from
'../packages/bi/index.js'
;
import
Bi
from
'../packages/bi/index.js'
;
import
XrkTaskRecord
from
'../packages/task-recored/index.js'
;
import
XrkTaskRecord
from
'../packages/task-recored/index.js'
;
import
XrkTaskRecordConfigurable
from
'../packages/task-recored/configurable/index.js'
;
const
components
=
[
Bi
,
XrkTaskRecord
];
const
components
=
[
Bi
,
XrkTaskRecord
,
XrkTaskRecordConfigurable
];
const
install
=
function
(
Vue
)
{
const
install
=
function
(
Vue
)
{
components
.
forEach
(
component
=>
{
components
.
forEach
(
component
=>
{
...
@@ -21,5 +22,6 @@ if (typeof window !== 'undefined' && window.Vue) {
...
@@ -21,5 +22,6 @@ if (typeof window !== 'undefined' && window.Vue) {
export
default
{
export
default
{
install
,
install
,
Bi
,
Bi
,
XrkTaskRecord
XrkTaskRecord
,
XrkTaskRecordConfigurable
};
};
src/packages/task-recored/src/
editScen
e/api/index.js
→
src/packages/task-recored/src/
configurabl
e/api/index.js
View file @
5a86fa6
File moved
src/packages/task-recored/src/
editScen
e/components/footer.vue
→
src/packages/task-recored/src/
configurabl
e/components/footer.vue
View file @
5a86fa6
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
<div
class=
"content-title"
>
<div
class=
"content-title"
>
<span
class=
"left-bar"
>
<span
class=
"left-bar"
>
<img
<img
src=
"
http:
//cdn.yxvzb.com/WEB/SaaS/images/bi/personal/line-left.png"
src=
"//cdn.yxvzb.com/WEB/SaaS/images/bi/personal/line-left.png"
alt=
""
alt=
""
/>
/>
</span>
</span>
<span
class=
"content-title-text"
>
信息披露
</span>
<span
class=
"content-title-text"
>
信息披露
</span>
<span
class=
"right-bar"
>
<span
class=
"right-bar"
>
<img
<img
src=
"
http:
//cdn.yxvzb.com/WEB/SaaS/images/bi/personal/line-right.png"
src=
"//cdn.yxvzb.com/WEB/SaaS/images/bi/personal/line-right.png"
alt=
""
alt=
""
/>
/>
</span>
</span>
...
...
src/packages/task-recored/src/
editScen
e/components/header.vue
→
src/packages/task-recored/src/
configurabl
e/components/header.vue
View file @
5a86fa6
<!--
* @Description:
* @Date: 2022-03-23 16:47:37
-->
<
template
>
<
template
>
<div>
<div>
<div
class=
"title"
>
{{
resData
.
fullName
}}
—任务记录数据报表
</div>
<div
class=
"title"
>
{{
resData
.
fullName
}}
—任务记录数据报表
</div>
...
@@ -9,7 +13,7 @@
...
@@ -9,7 +13,7 @@
任务基础信息
任务基础信息
</div>
</div>
<img
<img
src=
"
http:
//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
src=
"//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
alt=
""
alt=
""
class=
"bi_title_text_icon"
class=
"bi_title_text_icon"
width=
"62"
width=
"62"
...
...
src/packages/task-recored/src/
editScen
e/components/main.vue
→
src/packages/task-recored/src/
configurabl
e/components/main.vue
View file @
5a86fa6
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
目标基础信息
目标基础信息
</div>
</div>
<img
<img
src=
"
http:
//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
src=
"//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
alt
alt
class=
"bi_title_text_icon"
class=
"bi_title_text_icon"
width=
"62"
width=
"62"
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
任务内容信息
任务内容信息
<
/div
>
<
/div
>
<
img
<
img
src
=
"
http:
//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
src
=
"//cdn.yxvzb.com/WEB/SaaS/images/bi/svg/title.png"
alt
alt
class
=
"bi_title_text_icon"
class
=
"bi_title_text_icon"
width
=
"62"
width
=
"62"
...
...
src/packages/task-recored/src/configurable/index.js
0 → 100644
View file @
5a86fa6
/*
* @Description:
* @Date: 2021-12-17 13:04:12
*/
import
XrkTaskRecordConfigurable
from
'./src/main'
;
XrkTaskRecordConfigurable
.
install
=
function
(
Vue
)
{
Vue
.
component
(
XrkTaskRecordConfigurable
.
name
,
XrkTaskRecordConfigurable
);
};
export
default
XrkTaskRecordConfigurable
;
src/packages/task-recored/src/
editScene/index
.vue
→
src/packages/task-recored/src/
configurable/main
.vue
View file @
5a86fa6
<!--
* @Description:
* @Date: 2022-03-23 16:47:37
-->
<
template
>
<
template
>
<div
class=
"template-container"
>
<div
class=
"template-container"
>
<Header
:from=
"from"
:resData=
"resData"
></Header>
<Header
:from=
"from"
:resData=
"resData"
></Header>
...
@@ -12,7 +16,7 @@ import Header from './components/header.vue';
...
@@ -12,7 +16,7 @@ import Header from './components/header.vue';
import
Main
from
'./components/main.vue'
;
import
Main
from
'./components/main.vue'
;
import
{
makeSceneTaskInfo
}
from
'./api'
;
import
{
makeSceneTaskInfo
}
from
'./api'
;
export
default
{
export
default
{
name
:
'
editScen
e'
,
name
:
'
XrkTaskRecordConfigurabl
e'
,
props
:
{
props
:
{
from
:
{
from
:
{
type
:
String
,
type
:
String
,
...
...
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