Commit 649824f2 by Jianli Ou

bug处理

parent b870a0e7
......@@ -357,76 +357,76 @@ export default {
},
],
},
{
name: "常见问题",
path: "",
active: "",
children: [
{
name: "1.业务办理",
path: "/Business/Faq",
active: "",
query: {
type: "ywbl",
},
noneChild: true,
},
{
name: "2.产品信息通报",
path: "/Business/Faq",
active: "",
query: {
type: "cpxxtb",
},
noneChild: true,
},
{
name: "3.编码技术",
path: "/Business/Faq",
active: "",
query: {
type: "bmjs",
},
noneChild: true,
},
{
name: "4.法规与标准",
path: "/Business/Faq",
active: "",
query: {
type: "fgybz",
},
noneChild: true,
},
{
name: "5.条码质量",
path: "/Business/Faq",
active: "",
query: {
type: "tmzl",
},
noneChild: true,
},
{
name: "6.条码技术应用",
path: "/Business/Faq",
active: "",
query: {
type: "tmjsyy",
},
noneChild: true,
},
{
name: "7.其他",
path: "/Business/Faq",
active: "",
query: {
type: "other",
},
noneChild: true,
},
],
},
// {
// name: "常见问题",
// path: "",
// active: "",
// children: [
// {
// name: "1.业务办理",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "ywbl",
// },
// noneChild: true,
// },
// {
// name: "2.产品信息通报",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "cpxxtb",
// },
// noneChild: true,
// },
// {
// name: "3.编码技术",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "bmjs",
// },
// noneChild: true,
// },
// {
// name: "4.法规与标准",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "fgybz",
// },
// noneChild: true,
// },
// {
// name: "5.条码质量",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "tmzl",
// },
// noneChild: true,
// },
// {
// name: "6.条码技术应用",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "tmjsyy",
// },
// noneChild: true,
// },
// {
// name: "7.其他",
// path: "/Business/Faq",
// active: "",
// query: {
// type: "other",
// },
// noneChild: true,
// },
// ],
// },
],
},
{
......
......@@ -230,7 +230,9 @@
:rules="[{
required: true,
message: '不能为空',
}]">
},
{ validator:checkPhoneReg },
{ validator:checkPhoneReg, trigger:'blur' },]">
<el-input v-model='form.contactmanCtqh' autocomplete='off' placeholder="请输入电话"></el-input>
</el-form-item>
<el-form-item label='手机:'
......@@ -383,6 +385,7 @@ export default {
// serviceType:'' // 办理业务
// },
mobilePattern: /^((13[0-9])|(15[^4])|(18[0-9])|(17[0-8])|(147))\d{8}$/,
phonePattern: /^[0-9]+-[0-9]+$/,
cascadeRegion: window.CodeTable.cascadeRegion,
coinTypeList: [
{label: '人民币', value: '人民币'},
......@@ -423,6 +426,15 @@ export default {
}
}
},
checkPhoneReg(rule, value, callback) {
if (value !== '') {
if (this.phonePattern.test(value)) {
callback();
} else {
callback(new Error('电话号码格式错误,应为 区号-号码'));
}
}
},
checkMobile() {
console.log('checkMobile');
return new Promise((resolve) => {
......
......@@ -46,7 +46,7 @@ export default {
id: uuid("gs_nav"),
name: "商品条码在线注册",
index: 0,
link: "/Business",
link: "http://wsdt.ancc.org.cn/anccoh/",
},
{
id: uuid("gs_nav"),
......@@ -107,7 +107,7 @@ export default {
id: uuid("gs_nav"),
name: "商品条码在线注册",
index: 0,
link: "/Business",
link: "http://wsdt.ancc.org.cn/anccoh/",
},
{
id: uuid("gs_nav"),
......
<template>
<div class="search-content">
<div class="banner-box">
<!-- <img src="./img/query_external_banner.jpeg"-->
<!-- @click="openUrl(`${urls.gs1cn}Manage/down/Import_Data_Guideline.pdf`)"/>-->
<img src="./img/query_external_banner.jpeg"
@click="openUrl(`${urls.gs1cn}Manage/down/Import_Data_Guideline.pdf`)"/>
@click="openUrl(`http://www.gs1cn.org/Manage/down/Import_Data_Guideline.pdf`)"/>
</div>
<div class="title">境外条码信息查询</div>
<div class="body">
......@@ -93,6 +95,9 @@ export default {
...mapState(["urls"]),
},
methods: {
openUrl(url) {
window.open(url, '_black')
},
async handleSearch() {
this.searchCodeShow = this.search.code;
this.showResult = true;
......
......@@ -3,7 +3,7 @@
<div class="title"><a href="http://static.gds.org.cn/ws/index.html" target="_blank" style="color: #454545;">条码微站</a></div>
<div class="body" style="padding-top: 9px">
<p>
条码微站是由中国物品编码中心基于国家标准打造的商品二维码综合服务平台,旨在为企业打通线上线下的沟通渠道,帮助企业轻松建立官方门户,及时发布商品资讯,令产品理念直达目标客户;通过线上生成商品二维码,在移动互联网环境展示产品、打造品牌、拓展市场,帮助企业在激烈的市场竞争中赢得先机。其核心优势在于为企业提供了权威的商品信息发布渠道,及商品二维码生成平台,通过扫描印制在包装上的二维码,企业可以实现现有资源的全面整合,打通线上线下销售渠道。</p>
<a href="http://static.gds.org.cn/ws/index.html" target="_blank">条码微站</a>是由中国物品编码中心基于国家标准打造的商品二维码综合服务平台,旨在为企业打通线上线下的沟通渠道,帮助企业轻松建立官方门户,及时发布商品资讯,令产品理念直达目标客户;通过线上生成商品二维码,在移动互联网环境展示产品、打造品牌、拓展市场,帮助企业在激烈的市场竞争中赢得先机。其核心优势在于为企业提供了权威的商品信息发布渠道,及商品二维码生成平台,通过扫描印制在包装上的二维码,企业可以实现现有资源的全面整合,打通线上线下销售渠道。</p>
<p>
在移动互联的世界,条码微站可以帮助您快速建立起属于自己的移动门户。即使您是初入互联网营销的企业小白,也完全不用担心,无需投入专业网站建设运营人员,只需轻动手指录入商品信息,优质的企业微门户网站即可展现在手机等移动终端。热销展示、新品推介多级产品资讯动态一网打尽,企业新闻、宣传海报品牌宣传深入人心。帮助企业提升品牌形象,降低推广成本,提高经济效益,开拓市场资源。</p>
<img src="./img/tiaomavzhan1.png" alt="">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment