Commit 988d2b55 by web

fix: 修改打包地址

1 parent 5615bfd6
/* eslint-disabled */
<!--
* @Description:
* @LastEditors: Please set LastEditors
......@@ -8,7 +7,7 @@
<template>
<div>
<component
:is="cName"
:is="componentName"
:mobile="isMobile"
:print="isPrint"
:projectType="projectType"
......@@ -44,16 +43,9 @@ export default {
isMobile: +getQueryVariable('mobile') === 1,
isPrint: +getQueryVariable('print') === 1,
projectType: +getQueryVariable('projectType') || 6,
cName: 'TaskRecord'
// cName: 'XrkBi'
componentName: getQueryVariable('componentName') || 'XrkBi'
};
},
components: {},
watch: {},
computed: {},
methods: {},
created() {},
beforeDestroy() {}
}
};
</script>
......
......@@ -4,9 +4,9 @@
* @Date: 2021-01-28 23:29:19
*/
import Bi from '../packages/bi/index.js';
import TaskRecord from '../packages/task-recored/index.js';
import XrkTaskRecord from '../packages/task-recored/index.js';
const components = [Bi, TaskRecord];
const components = [Bi, XrkTaskRecord];
const install = function(Vue) {
components.forEach(component => {
......@@ -21,5 +21,5 @@ if (typeof window !== 'undefined' && window.Vue) {
export default {
install,
Bi,
TaskRecord
XrkTaskRecord
};
......@@ -213,6 +213,7 @@ export const initDivInput = (
let focusIndex = 0;
let leftText = '';
let rightText = '';
// eslint-disable-next-line no-unused-vars
let deleteText = '';
let isComposition = false;
dom.innerHTML = dom.innerText;
......
......@@ -18,7 +18,7 @@
* echart 配置
*/
import { use, init, registerMap } from 'echarts/core';
import { SVGRenderer, CanvasRenderer } from 'echarts/renderers';
import { SVGRenderer } from 'echarts/renderers';
import {
PieChart,
BarChart,
......
......@@ -2,10 +2,10 @@
* @Description:
* @Date: 2021-12-17 13:04:12
*/
import TaskRecord from './src/main';
import XrkTaskRecord from './src/main';
TaskRecord.install = function(Vue) {
Vue.component(TaskRecord.name, TaskRecord);
XrkTaskRecord.install = function(Vue) {
Vue.component(XrkTaskRecord.name, XrkTaskRecord);
};
export default TaskRecord;
export default XrkTaskRecord;
......@@ -4,104 +4,104 @@
-->
<template>
<div>
<div class='task-log-pdf-title' style='font-size: 29px'>
<div class="task-log-pdf-title" style="font-size: 29px">
{{ executorName }} -- 任务记录
</div>
<div style='padding:0 29px 29px;background:#fff;'>
<BiTitle index='1' name='任务基础信息'></BiTitle>
<div style='display: block;overflow: hidden'>
<div class='panel-row'>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>项目执行人:</span>
<span class='panel-cell-ctx'>{{ baseInfo.fullName }}</span>
<div style="padding:0 29px 29px;background:#fff;">
<BiTitle index="1" name="任务基础信息"></BiTitle>
<div style="display: block;overflow: hidden">
<div class="panel-row">
<div class="panel-cell">
<span class="panel-cell-label" style="">项目执行人:</span>
<span class="panel-cell-ctx">{{ baseInfo.fullName }}</span>
</div>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>项目名称:</span>
<span class='panel-cell-ctx'>{{ baseInfo.projectName }}</span>
<div class="panel-cell">
<span class="panel-cell-label" style="">项目名称:</span>
<span class="panel-cell-ctx">{{ baseInfo.projectName }}</span>
</div>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>电话:</span>
<span class='panel-cell-ctx'>{{ baseInfo.phone }}</span>
<div class="panel-cell">
<span class="panel-cell-label" style="">电话:</span>
<span class="panel-cell-ctx">{{ baseInfo.phone }}</span>
</div>
</div>
<div class='panel-row'>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>发行单位:</span>
<span class='panel-cell-ctx'>
<div class="panel-row">
<div class="panel-cell">
<span class="panel-cell-label" style="">发行单位:</span>
<span class="panel-cell-ctx">
{{ baseInfo.industryEnterpriseName }}
</span>
</div>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>服务商:</span>
<span class='panel-cell-ctx'>{{ baseInfo.enterpriseName }}</span>
<div class="panel-cell">
<span class="panel-cell-label" style="">服务商:</span>
<span class="panel-cell-ctx">{{ baseInfo.enterpriseName }}</span>
</div>
<div class='panel-cell'>
<span class='panel-cell-label' style=''>任务提交时间:</span>
<span class='panel-cell-ctx'>{{ baseInfo.createDt }}</span>
<div class="panel-cell">
<span class="panel-cell-label" style="">任务提交时间:</span>
<span class="panel-cell-ctx">{{ baseInfo.createDt }}</span>
</div>
</div>
</div>
</div>
<div style='padding:0 29px 29px;background:#fff;margin-top: 20px'>
<BiTitle index='2' name='任务内容信息'></BiTitle>
<div style="padding:0 29px 29px;background:#fff;margin-top: 20px">
<BiTitle index="2" name="任务内容信息"></BiTitle>
<div>
<div
style='display: inline-block;width: 33%;height: 50px;line-height: 50px;color:#9aa2b2'
v-for='(item, k) in ctxInfo'
:key='k'
style="display: inline-block;width: 33%;height: 50px;line-height: 50px;color:#9aa2b2"
v-for="(item, k) in ctxInfo"
:key="k"
>
<span class='panel-cell-label' style=''>{{ item.label }}:</span>
<span class='panel-cell-ctx'>{{ item.value }}</span>
<span class="panel-cell-label" style="">{{ item.label }}:</span>
<span class="panel-cell-ctx">{{ item.value }}</span>
</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 style='color:#2d2d2d'>{{ visitPlanInformation }}</span>
<span class="panel-cell-label">拜访信息 :</span>
<span style="color:#2d2d2d">{{ visitPlanInformation }}</span>
</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
style='color: #2d2d2d;text-indent: 2em;list-style: circle'
v-for='(item, k) in cdInfo'
:key='k'
style="color: #2d2d2d;text-indent: 2em;list-style: circle"
v-for="(item, k) in cdInfo"
:key="k"
>
{{ item.informationName }}
</div>
</div>
</div>
<!-- 图片-->
<div style=' display: flex;background:#fffoverflow: hidden'>
<div style=" display: flex;background:#fff;overflow: hidden">
<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>
<div style='color: #2d2d2d;padding:20px 20px 0 0'>
<img style='width: 100%;' :src='feedBackUrl' alt='' />
<p class="panel-cell-label" style="">信息反馈记录:</p>
<div style="color: #2d2d2d;padding:20px 20px 0 0">
<img style="width: 100%;" :src="feedBackUrl" alt="" />
</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>
<div style='color: #2d2d2d;padding:20px 20px 0 0'>
<img style='width: 100%;' :src='forwardUrl' alt='' />
<p class="panel-cell-label" style="">信息转发记录:</p>
<div style="color: #2d2d2d;padding:20px 20px 0 0">
<img style="width: 100%;" :src="forwardUrl" alt="" />
</div>
</div>
</div>
</div>
</div>
<bi-cover-end title='信息披露'></bi-cover-end>
<bi-cover-end title="信息披露"></bi-cover-end>
</div>
</template>
<script>
......@@ -111,7 +111,7 @@ import BiCoverEnd from './components/cover-end';
import createCtxInfo from './client.js';
export default {
name: 'TaskRecord',
name: 'XrkTaskRecord',
components: {
BiCoverEnd,
BiTitle
......@@ -119,13 +119,11 @@ export default {
props: {
getBaseInfo: {
type: Function,
default: () => {
}
default: () => {}
},
getCtxInfo: {
type: Function,
default: () => {
}
default: () => {}
}
},
data() {
......
......@@ -26,7 +26,7 @@ function getIPAdress() {
}
const ipv4 = getIPAdress();
const entry =
process.env.NODE_ENV !== 'development'
process.env.NODE_ENV === 'development'
? './src/main.js'
: './src/lib/index.js';
module.exports = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!