Commit 5a86fa64 by web

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

1 parent 54e00143
{
"name": "xrk-bi",
"version": "0.3.0-beta",
"version": "0.3.0-beta.1",
"description": "xrk-bi",
"author": "xrk",
"main": "dist/bundler.js",
......
......@@ -35,19 +35,15 @@
<script>
import { getQueryVariable } from './packages/bi/src/chart-type/common';
import editScene from './packages/task-recored/src/editScene';
export default {
name: 'App',
components: {
editScene
},
data() {
return {
isMobile: +getQueryVariable('mobile') === 1,
isPrint: +getQueryVariable('print') === 1,
projectType: +getQueryVariable('projectType') || 20,
// componentName: getQueryVariable('componentName') || 'XrkBi'
componentName: 'editScene'
projectType: +getQueryVariable('projectType') || 6,
componentName: getQueryVariable('componentName') || 'XrkBi'
};
}
};
......
......@@ -5,8 +5,9 @@
*/
import Bi from '../packages/bi/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) {
components.forEach(component => {
......@@ -21,5 +22,6 @@ if (typeof window !== 'undefined' && window.Vue) {
export default {
install,
Bi,
XrkTaskRecord
XrkTaskRecord,
XrkTaskRecordConfigurable
};
......@@ -3,14 +3,14 @@
<div class="content-title">
<span class="left-bar">
<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=""
/>
</span>
<span class="content-title-text">信息披露</span>
<span class="right-bar">
<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=""
/>
</span>
......
<!--
* @Description:
* @Date: 2022-03-23 16:47:37
-->
<template>
<div>
<div class="title">{{ resData.fullName }}—任务记录数据报表</div>
......@@ -9,7 +13,7 @@
任务基础信息
</div>
<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=""
class="bi_title_text_icon"
width="62"
......
......@@ -8,7 +8,7 @@
目标基础信息
</div>
<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
class="bi_title_text_icon"
width="62"
......@@ -62,7 +62,7 @@
任务内容信息
</div>
<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
class="bi_title_text_icon"
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>
<div class="template-container">
<Header :from="from" :resData="resData"></Header>
......@@ -12,7 +16,7 @@ import Header from './components/header.vue';
import Main from './components/main.vue';
import { makeSceneTaskInfo } from './api';
export default {
name: 'editScene',
name: 'XrkTaskRecordConfigurable',
props: {
from: {
type: String,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!