Commit 5a86fa64 by web

fix: 修改文件夹名,添加导出

1 parent 54e00143
{ {
"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",
......
...@@ -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'
}; };
} }
}; };
......
...@@ -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
}; };
...@@ -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>
......
<!--
* @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"
......
...@@ -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"
......
/*
* @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;
<!--
* @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: 'editScene', name: 'XrkTaskRecordConfigurable',
props: { props: {
from: { from: {
type: String, type: String,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!