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 988d2b55
authored
Dec 22, 2021
by
web
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改打包地址
1 parent
5615bfd6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
74 deletions
src/App.vue
src/lib/index.js
src/packages/bi/src/chart-type/common.js
src/packages/bi/src/commonComponents/chart-base.vue
src/packages/task-recored/index.js
src/packages/task-recored/src/main.vue
webpack.config.js
src/App.vue
View file @
988d2b5
/* eslint-disabled */
<!--
<!--
* @Description:
* @Description:
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
...
@@ -8,7 +7,7 @@
...
@@ -8,7 +7,7 @@
<
template
>
<
template
>
<div>
<div>
<component
<component
:is=
"cName"
:is=
"c
omponent
Name"
:mobile=
"isMobile"
:mobile=
"isMobile"
:print=
"isPrint"
:print=
"isPrint"
:projectType=
"projectType"
:projectType=
"projectType"
...
@@ -44,16 +43,9 @@ export default {
...
@@ -44,16 +43,9 @@ export default {
isMobile
:
+
getQueryVariable
(
'mobile'
)
===
1
,
isMobile
:
+
getQueryVariable
(
'mobile'
)
===
1
,
isPrint
:
+
getQueryVariable
(
'print'
)
===
1
,
isPrint
:
+
getQueryVariable
(
'print'
)
===
1
,
projectType
:
+
getQueryVariable
(
'projectType'
)
||
6
,
projectType
:
+
getQueryVariable
(
'projectType'
)
||
6
,
cName
:
'TaskRecord'
componentName
:
getQueryVariable
(
'componentName'
)
||
'XrkBi'
// cName: 'XrkBi'
};
};
},
}
components
:
{},
watch
:
{},
computed
:
{},
methods
:
{},
created
()
{},
beforeDestroy
()
{}
};
};
</
script
>
</
script
>
...
...
src/lib/index.js
View file @
988d2b5
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
* @Date: 2021-01-28 23:29:19
* @Date: 2021-01-28 23:29:19
*/
*/
import
Bi
from
'../packages/bi/index.js'
;
import
Bi
from
'../packages/bi/index.js'
;
import
TaskRecord
from
'../packages/task-recored/index.js'
;
import
Xrk
TaskRecord
from
'../packages/task-recored/index.js'
;
const
components
=
[
Bi
,
TaskRecord
];
const
components
=
[
Bi
,
Xrk
TaskRecord
];
const
install
=
function
(
Vue
)
{
const
install
=
function
(
Vue
)
{
components
.
forEach
(
component
=>
{
components
.
forEach
(
component
=>
{
...
@@ -21,5 +21,5 @@ if (typeof window !== 'undefined' && window.Vue) {
...
@@ -21,5 +21,5 @@ if (typeof window !== 'undefined' && window.Vue) {
export
default
{
export
default
{
install
,
install
,
Bi
,
Bi
,
TaskRecord
Xrk
TaskRecord
};
};
src/packages/bi/src/chart-type/common.js
View file @
988d2b5
...
@@ -213,6 +213,7 @@ export const initDivInput = (
...
@@ -213,6 +213,7 @@ export const initDivInput = (
let
focusIndex
=
0
;
let
focusIndex
=
0
;
let
leftText
=
''
;
let
leftText
=
''
;
let
rightText
=
''
;
let
rightText
=
''
;
// eslint-disable-next-line no-unused-vars
let
deleteText
=
''
;
let
deleteText
=
''
;
let
isComposition
=
false
;
let
isComposition
=
false
;
dom
.
innerHTML
=
dom
.
innerText
;
dom
.
innerHTML
=
dom
.
innerText
;
...
...
src/packages/bi/src/commonComponents/chart-base.vue
View file @
988d2b5
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* echart 配置
* echart 配置
*/
*/
import
{
use
,
init
,
registerMap
}
from
'echarts/core'
;
import
{
use
,
init
,
registerMap
}
from
'echarts/core'
;
import
{
SVGRenderer
,
CanvasRenderer
}
from
'echarts/renderers'
;
import
{
SVGRenderer
}
from
'echarts/renderers'
;
import
{
import
{
PieChart
,
PieChart
,
BarChart
,
BarChart
,
...
...
src/packages/task-recored/index.js
View file @
988d2b5
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
* @Description:
* @Description:
* @Date: 2021-12-17 13:04:12
* @Date: 2021-12-17 13:04:12
*/
*/
import
TaskRecord
from
'./src/main'
;
import
Xrk
TaskRecord
from
'./src/main'
;
TaskRecord
.
install
=
function
(
Vue
)
{
Xrk
TaskRecord
.
install
=
function
(
Vue
)
{
Vue
.
component
(
TaskRecord
.
name
,
TaskRecord
);
Vue
.
component
(
XrkTaskRecord
.
name
,
Xrk
TaskRecord
);
};
};
export
default
TaskRecord
;
export
default
Xrk
TaskRecord
;
src/packages/task-recored/src/main.vue
View file @
988d2b5
...
@@ -4,104 +4,104 @@
...
@@ -4,104 +4,104 @@
-->
-->
<
template
>
<
template
>
<div>
<div>
<div
class=
'task-log-pdf-title'
style=
'font-size: 29px'
>
<div
class=
"task-log-pdf-title"
style=
"font-size: 29px"
>
{{
executorName
}}
-- 任务记录
{{
executorName
}}
-- 任务记录
</div>
</div>
<div
style=
'padding:0 29px 29px;background:#fff;'
>
<div
style=
"padding:0 29px 29px;background:#fff;"
>
<BiTitle
index=
'1'
name=
'任务基础信息'
></BiTitle>
<BiTitle
index=
"1"
name=
"任务基础信息"
></BiTitle>
<div
style=
'display: block;overflow: hidden'
>
<div
style=
"display: block;overflow: hidden"
>
<div
class=
'panel-row'
>
<div
class=
"panel-row"
>
<div
class=
'panel-cell'
>
<div
class=
"panel-cell"
>
<span
class=
'panel-cell-label'
style=
''
>
项目执行人:
</span>
<span
class=
"panel-cell-label"
style=
""
>
项目执行人:
</span>
<span
class=
'panel-cell-ctx'
>
{{
baseInfo
.
fullName
}}
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
fullName
}}
</span>
</div>
</div>
<div
class=
'panel-cell'
>
<div
class=
"panel-cell"
>
<span
class=
'panel-cell-label'
style=
''
>
项目名称:
</span>
<span
class=
"panel-cell-label"
style=
""
>
项目名称:
</span>
<span
class=
'panel-cell-ctx'
>
{{
baseInfo
.
projectName
}}
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
projectName
}}
</span>
</div>
</div>
<div
class=
'panel-cell'
>
<div
class=
"panel-cell"
>
<span
class=
'panel-cell-label'
style=
''
>
电话:
</span>
<span
class=
"panel-cell-label"
style=
""
>
电话:
</span>
<span
class=
'panel-cell-ctx'
>
{{
baseInfo
.
phone
}}
</span>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
phone
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
'panel-row'
>
<div
class=
"panel-row"
>
<div
class=
'panel-cell'
>
<div
class=
"panel-cell"
>
<span
class=
'panel-cell-label'
style=
''
>
发行单位:
</span>
<span
class=
"panel-cell-label"
style=
""
>
发行单位:
</span>
<span
class=
'panel-cell-ctx'
>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
industryEnterpriseName
}}
{{
baseInfo
.
industryEnterpriseName
}}
</span>
</span>
</div>
</div>
<div
class=
'panel-cell'
>
<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>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
enterpriseName
}}
</span>
</div>
</div>
<div
class=
'panel-cell'
>
<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>
<span
class=
"panel-cell-ctx"
>
{{
baseInfo
.
createDt
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
'padding:0 29px 29px;background:#fff;margin-top: 20px'
>
<div
style=
"padding:0 29px 29px;background:#fff;margin-top: 20px"
>
<BiTitle
index=
'2'
name=
'任务内容信息'
></BiTitle>
<BiTitle
index=
"2"
name=
"任务内容信息"
></BiTitle>
<div>
<div>
<div
<div
style=
'display: inline-block;width: 33%;height: 50px;line-height: 50px;color:#9aa2b2'
style=
"display: inline-block;width: 33%;height: 50px;line-height: 50px;color:#9aa2b2"
v-for=
'(item, k) in ctxInfo'
v-for=
"(item, k) in ctxInfo"
:key=
'k'
: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>
<span
class=
"panel-cell-ctx"
>
{{
item
.
value
}}
</span>
</div>
</div>
<!-- 拜访信息 -->
<!-- 拜访信息 -->
<div>
<div>
<div
<div
style=
'display: inline-block;width: 100%;height: 50px;line-height: 50px;color:#9aa2b2'
style=
"display: inline-block;width: 100%;height: 50px;line-height: 50px;color:#9aa2b2"
>
>
<span
class=
'panel-cell-label'
>
拜访信息 :
</span>
<span
class=
"panel-cell-label"
>
拜访信息 :
</span>
<span
style=
'color:#2d2d2d'
>
{{
visitPlanInformation
}}
</span>
<span
style=
"color:#2d2d2d"
>
{{
visitPlanInformation
}}
</span>
</div>
</div>
</div>
</div>
<!-- 传递信息 -->
<!-- 传递信息 -->
<div>
<div>
<div
<div
style=
'display: inline-block;width: 100%;height: 50px;line-height: 50px;color:#9aa2b2'
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
<div
style=
'color: #2d2d2d;text-indent: 2em;list-style: circle'
style=
"color: #2d2d2d;text-indent: 2em;list-style: circle"
v-for=
'(item, k) in cdInfo'
v-for=
"(item, k) in cdInfo"
:key=
'k'
:key=
"k"
>
>
{{
item
.
informationName
}}
{{
item
.
informationName
}}
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 图片-->
<!-- 图片-->
<div
style=
' display: flex;background:#fffoverflow: hidden'
>
<div
style=
" display: flex;background:#fff;overflow: hidden"
>
<div
<div
style=
'display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2'
style=
"display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2"
>
>
<p
class=
'panel-cell-label'
style=
''
>
信息反馈记录:
</p>
<p
class=
"panel-cell-label"
style=
""
>
信息反馈记录:
</p>
<div
style=
'color: #2d2d2d;padding:20px 20px 0 0'
>
<div
style=
"color: #2d2d2d;padding:20px 20px 0 0"
>
<img
style=
'width: 100%;'
:src=
'feedBackUrl'
alt=
''
/>
<img
style=
"width: 100%;"
:src=
"feedBackUrl"
alt=
""
/>
</div>
</div>
</div>
</div>
<div
<div
style=
'display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2'
style=
"display: inline-block;width: 33%;line-height: 50px;color:#9aa2b2"
>
>
<p
class=
'panel-cell-label'
style=
''
>
信息转发记录:
</p>
<p
class=
"panel-cell-label"
style=
""
>
信息转发记录:
</p>
<div
style=
'color: #2d2d2d;padding:20px 20px 0 0'
>
<div
style=
"color: #2d2d2d;padding:20px 20px 0 0"
>
<img
style=
'width: 100%;'
:src=
'forwardUrl'
alt=
''
/>
<img
style=
"width: 100%;"
:src=
"forwardUrl"
alt=
""
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<bi-cover-end
title=
'信息披露'
></bi-cover-end>
<bi-cover-end
title=
"信息披露"
></bi-cover-end>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -111,7 +111,7 @@ import BiCoverEnd from './components/cover-end';
...
@@ -111,7 +111,7 @@ import BiCoverEnd from './components/cover-end';
import
createCtxInfo
from
'./client.js'
;
import
createCtxInfo
from
'./client.js'
;
export
default
{
export
default
{
name
:
'TaskRecord'
,
name
:
'
Xrk
TaskRecord'
,
components
:
{
components
:
{
BiCoverEnd
,
BiCoverEnd
,
BiTitle
BiTitle
...
@@ -119,13 +119,11 @@ export default {
...
@@ -119,13 +119,11 @@ export default {
props
:
{
props
:
{
getBaseInfo
:
{
getBaseInfo
:
{
type
:
Function
,
type
:
Function
,
default
:
()
=>
{
default
:
()
=>
{}
}
},
},
getCtxInfo
:
{
getCtxInfo
:
{
type
:
Function
,
type
:
Function
,
default
:
()
=>
{
default
:
()
=>
{}
}
}
}
},
},
data
()
{
data
()
{
...
...
webpack.config.js
View file @
988d2b5
...
@@ -26,7 +26,7 @@ function getIPAdress() {
...
@@ -26,7 +26,7 @@ function getIPAdress() {
}
}
const
ipv4
=
getIPAdress
();
const
ipv4
=
getIPAdress
();
const
entry
=
const
entry
=
process
.
env
.
NODE_ENV
!
==
'development'
process
.
env
.
NODE_ENV
=
==
'development'
?
'./src/main.js'
?
'./src/main.js'
:
'./src/lib/index.js'
;
:
'./src/lib/index.js'
;
module
.
exports
=
{
module
.
exports
=
{
...
...
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