This commit is contained in:
13713575202 2025-06-11 16:34:17 +08:00
commit ab6a3c4ed6
6 changed files with 88 additions and 49 deletions

View File

@ -18,3 +18,4 @@ VITE_APP_UPLOAD_API = '/uploadApis'
# 内网接口地址
VITE_APP_BASE_URL = 'http://192.168.18.99:8080'
VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080'
VITE_APP_VIST_URL = 'http://192.168.18.99'

View File

@ -12,3 +12,4 @@ VITE_APP_BASE_API = '/apis'
VITE_APP_BASE_URL = ''
VITE_APP_UPLOAD_API = '/uploadApis'
VITE_APP_UPLOAD_URL = ''
VITE_APP_VIST_URL = 'http://192.168.18.99'

View File

@ -21,6 +21,13 @@ export default defineConfig(({ command, mode }) => {
target: 'ESNext',
outDir: 'dist',
minify: 'terser',
rollupOptions: {
output: {
chunkFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
entryFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
assetFileNames: `static/[ext]/[name]-${Date.now()}-[hash].[ext]`,
},
},
},
server: {
host: '0.0.0.0',

View File

@ -190,7 +190,7 @@ import { Edit } from '@element-plus/icons-vue';
const dialogVisible = ref(false);
const traceData = ref(null);
const activeStatus = ref('1');
const activeStatus = ref('2');
const products = ref([
{

View File

@ -17,9 +17,10 @@
<i class="el-icon-document"></i>
{{ item.title }}
</div>
<div class="card-meta">
<span>编号{{ item.code }}</span>
</div>
<div class="card-meta">发布日期 {{ item.effectiveDate }}</div>
<!-- <div class="card-meta">-->
<!-- <span>编号{{ item.code }}</span>-->
<!-- </div>-->
</div>
<div class="card-content">
<p>{{ item.desc }}</p>
@ -39,7 +40,7 @@
<div class="header-left">
<h3>{{ currentDetail.title }}</h3>
<div class="dialog-meta">
<span>编号{{ currentDetail.code }}</span>
<!-- <span>编号{{ currentDetail.code }}</span>-->
<span :class="`status-tag ${currentDetail.status === '生效中' ? 'active' : 'inactive'}`">{{ currentDetail.status }}</span>
</div>
</div>
@ -51,7 +52,7 @@
</div>
<div class="dialog-content">
<!-- 使用Markdown-it渲染的HTML内容 -->
<div class="doc-preview" v-html="compiledMarkdown"></div>
<div class="doc-preview" v-html="currentDetail.content"></div>
</div>
<div class="dialog-footer">
<div class="footer-info">
@ -87,11 +88,79 @@ const dialogWidth = ref('800px');
//
const systemList = ref([
{
title: '品牌管理规范V2.0',
title: '《耿马县蔬菜公共品牌申请管理制度》',
code: 'BRM-2023-001',
desc: '包含品牌标识、使用规范、VI应用等内容的最新版本',
content:
'# 品牌管理规范 V2.0\n\n## 第一章 总则\n第一条 本规范适用于集团所有子品牌管理...\n\n## 第二章 标识使用\n第五条 品牌标识不得在以下场景使用:\n1. 非官方宣传材料\n2. 竞品对比文档\n3. 未经审批的第三方平台\n\n## 第三章 数字资产\n第九条 数字资源库包含:\n- 官方LOGO矢量文件\n- 品牌色卡CMYK/RGB/HEX\n- 字体库授权文件\n\n## 第四章 附则\n第十二条 本规范自2023年9月1日起生效原有版本自动废止。',
content: `\`<div style="font-family: 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 0 auto; padding: 20px;">
<div style="text-align: center; font-size: 22px; font-weight: bold; margin-bottom: 30px; color: #2a5885; border-bottom: 2px solid #2a5885; padding-bottom: 10px;">
耿马县蔬菜公共品牌申请管理制度
</div>
<div style="font-size: 18px; font-weight: bold; margin: 5px 0 15px 0; color: #2a5885; border-bottom: 1px solid #eee; padding-bottom: 5px;">
第一章 总则
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第一条</span>
为规范"耿马蔬菜"或其他确定的公共品牌名称公共品牌的使用与管理维护品牌形象提升耿马县蔬菜产品的市场竞争力和附加值促进蔬菜产业高质量发展特制定本制度
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第二条</span>
本制度所称"耿马蔬菜"公共品牌以下简称"公共品牌"是指经耿马县人民政府授权由耿马县农业农村局或其他指定主管部门统一注册管理和监督代表耿马县特定区域特定品质蔬菜产品的区域性公用品牌标识
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第三条</span>
本制度适用于在耿马县行政区域内从事蔬菜生产加工经营自愿申请使用公共品牌的企业农民专业合作社家庭农场等主体以下简称"申请人"
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第四条</span>
耿马县农业农村局是公共品牌的主管部门负责品牌的注册推广授权监督管理和违规处理设立或授权专门的管理机构以下简称"品牌管理机构"具体执行日常管理工作
</div>
<div style="font-size: 18px; font-weight: bold; margin: 25px 0 15px 0; color: #2a5885; border-bottom: 1px solid #eee; padding-bottom: 5px;">
第二章 申请条件
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第五条</span>
申请使用公共品牌的申请人应同时具备以下基本条件
<div style="margin-left: 20px; margin-top: 10px;">
<div style="font-weight: bold; color: #2980b9;">主体合法</div>
<div style="margin-left: 10px;">在耿马县依法注册登记具有独立法人资格或规范的经营主体资格经营状况正常</div>
<div style="font-weight: bold; margin-top: 8px; color: #2980b9;">基地在耿马</div>
<div style="margin-left: 10px;">生产加工基地主要位于耿马县行政区域内</div>
<div style="font-weight: bold; margin-top: 8px; color: #2980b9;">质量达标</div>
<div style="margin-left: 10px;">
<ul style="margin-top: 5px; padding-left: 20px;">
<li>产品符合国家行业及地方相关蔬菜产品质量安全标准</li>
<li>建立并有效运行产品质量安全追溯体系</li>
<li>鼓励通过绿色食品有机农产品或良好农业规范GAP等认证</li>
</ul>
</div>
<div style="font-weight: bold; margin-top: 8px; color: #2980b9;">规模与标准</div>
<div style="margin-left: 10px;">具有一定规模的生产基地生产过程执行耿马县制定的蔬菜标准化生产技术规程</div>
<div style="font-weight: bold; margin-top: 8px; color: #2980b9;">信誉良好</div>
<div style="margin-left: 10px;">近两年内无重大产品质量安全环境污染诚信经营等方面的不良记录和行政处罚</div>
</div>
</div>
<!-- 后续章节保持相同格式 -->
<div style="font-size: 18px; font-weight: bold; margin: 25px 0 15px 0; color: #2a5885; border-bottom: 1px solid #eee; padding-bottom: 5px;">
第六章 附则
</div>
<div style="margin-bottom: 15px;">
<span style="font-weight: bold; margin-right: 5px; color: #d35400;">第十五条</span>
本制度自发布之日起施行根据实施情况可适时修订
</div>
</div>\``,
type: 'management',
file: 'BRM-2023-001.docx',
version: '2.0',
@ -100,34 +169,6 @@ const systemList = ref([
department: '品牌管理中心',
publishDate: '2023-08-25',
},
{
title: '品牌推广制度V1.3',
code: 'BRP-2023-005',
desc: '包含线上线下推广策略、预算分配及效果评估标准',
content:
'# 品牌推广制度 V1.3\n\n## 第一章 推广策略\n\n### 第五条 渠道配置\n- 数字媒体占比40%\n- 户外广告占比25%\n- 活动营销占比20%\n- 公关传播占比15%\n\n## 第二章 预算管理\n\n### 第十条 预算审批流程\n市场部提交方案 → 财务部审核 → 副总裁审批 → 执行备案\n\n## 第三章 效果评估\n\n### 第十六条 KPI指标\n| 指标 | 目标值 | 评估周期 |\n|-------|-------|---------|\n| 品牌认知度 | ≥75% | 季度 |\n| 媒体曝光量 | ≥500万次 | 月度 |\n| 转化率 | ≥3.5% | 月度 |',
type: 'promotion',
file: 'BRP-2023-005.docx',
version: '1.3',
effectiveDate: '2023-07-15',
status: '生效中',
department: '市场推广部',
publishDate: '2023-07-10',
},
{
title: '品牌评估体系V1.0',
code: 'BRA-2023-003',
desc: '基于市场反馈和财务数据的品牌价值评估方法与指标',
content:
'# 品牌评估体系 V1.0\n\n## 一、评估维度\n\n### 1.1 市场维度\n- 市场份额增长率\n- 客户满意度评分\n- 行业影响力指数\n\n### 1.2 财务维度\n- 品牌溢价率\n- ROI计算公式\n- 资产回报率\n\n## 二、评估周期\n\n| 级别 | 评估频率 |\n|------|---------|\n| 核心品牌 | 月度 |\n| 重点品牌 | 双月度 |\n| 新兴品牌 | 季度 |\n## 三、数据采集\n- CRM系统数据\n- 财务报表\n- 第三方调研报告',
type: 'evaluation',
file: 'BRA-2023-003.docx',
version: '1.0',
effectiveDate: '2023-06-01',
status: '生效中',
department: '战略发展部',
publishDate: '2023-05-28',
},
]);
//
@ -170,16 +211,6 @@ const printDoc = () => {
// window.print();
};
// setup
// marked
import { marked } from 'marked';
// computed
const compiledMarkdown = computed(() => {
return marked.parse(currentDetail.value.content);
});
// setup editor
const editorConfig = {
readOnly: true,

View File

@ -144,7 +144,6 @@ import { getGoodDetail } from '@/apis/agricultural.js';
import { addToCart, quicklyBuy } from '../../apis/agricultural.js';
import { useMethodsStore } from '@/store/modules/methods';
import { ElMessage, ElMessageBox } from 'element-plus';
import { ElMessage, ElMessageBox } from 'element-plus';
const methodsStore = useMethodsStore();