Commit 7fd522c8 by Tang

Merge branch 'master' of https://gitee.com/gs1-office-web-sit/gs1

parents f04b31df dd86942e
...@@ -3,5 +3,5 @@ VUE_APP_CURRENTMODE = "production" ...@@ -3,5 +3,5 @@ VUE_APP_CURRENTMODE = "production"
VUE_APP_HOST_URL = "http://192.168.0.77:9091" VUE_APP_HOST_URL = "http://192.168.0.77:9091"
VUE_APP_API_URL = "http://192.168.0.77:9091" VUE_APP_API_URL = "http://192.168.0.77:9091"
VUE_APP_GDS_URL = "http://data-studio.gds.org.cn" VUE_APP_GDS_URL = "http://data-studio.gds.org.cn"
VUE_APP_CHINATM_URL = "http://192.168.0.77:8080/chinatm" VUE_APP_CHINATM_URL = "http://192.168.0.77:80/chinatm"
VUE_APP_LOG = false VUE_APP_LOG = false
...@@ -229,19 +229,23 @@ export default { ...@@ -229,19 +229,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
...@@ -269,7 +273,7 @@ export default { ...@@ -269,7 +273,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
} }
} }
......
...@@ -148,19 +148,23 @@ export default { ...@@ -148,19 +148,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
...@@ -189,7 +193,7 @@ export default { ...@@ -189,7 +193,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
} }
} }
......
...@@ -127,19 +127,23 @@ export default { ...@@ -127,19 +127,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
......
...@@ -177,9 +177,11 @@ export default { ...@@ -177,9 +177,11 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
...@@ -189,10 +191,12 @@ export default { ...@@ -189,10 +191,12 @@ export default {
// console.log(this.$route.query.id) // console.log(this.$route.query.id)
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
...@@ -331,7 +335,7 @@ export default { ...@@ -331,7 +335,7 @@ export default {
color: #454545; color: #454545;
} }
.prominent-text { .prominent-text {
color: #008DBD; color: #008dbd;
} }
.fwxmyfwnr { .fwxmyfwnr {
td { td {
......
...@@ -166,19 +166,23 @@ export default { ...@@ -166,19 +166,23 @@ export default {
console.log(this.$refs[key], "this.$refs"); console.log(this.$refs[key], "this.$refs");
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
......
...@@ -131,19 +131,23 @@ export default { ...@@ -131,19 +131,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
<b>登录平台</b> <b>登录平台</b>
</p> </p>
<p> <p>
登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank" 登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank">{{
>{{urls.host}}</a urls.host
> }}</a>
,点击“成员专区”或点击“我要通报编码信息”。 ,点击“成员专区”或点击“我要通报编码信息”。
</p> </p>
<div class="text-center"> <div class="text-center">
...@@ -102,9 +102,11 @@ export default { ...@@ -102,9 +102,11 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
...@@ -114,10 +116,12 @@ export default { ...@@ -114,10 +116,12 @@ export default {
...mapState(["urls"]), ...mapState(["urls"]),
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
methods: { methods: {
ljtbJump() { ljtbJump() {
...@@ -157,7 +161,7 @@ export default { ...@@ -157,7 +161,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
} }
.text-right { .text-right {
......
...@@ -89,19 +89,23 @@ export default { ...@@ -89,19 +89,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
}; };
</script> </script>
...@@ -126,7 +130,7 @@ export default { ...@@ -126,7 +130,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
img { img {
max-width: 100%; max-width: 100%;
......
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
<b>1、成员专区培训</b> <b>1、成员专区培训</b>
</p> </p>
<p> <p>
登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank" 登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank">{{
>{{urls.host}}</a urls.host
}}</a
>,点击“成员专区”,通过条码卡卡号密码登录。 >,点击“成员专区”,通过条码卡卡号密码登录。
</p> </p>
<div class="text-center"> <div class="text-center">
...@@ -80,8 +81,9 @@ ...@@ -80,8 +81,9 @@
<div class="msg-title" ref="5-2">线下培训:</div> <div class="msg-title" ref="5-2">线下培训:</div>
<p> <p>
登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank" 登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank">{{
>{{urls.origin}}</a urls.origin
}}</a
>,点击“我要培训”。 >,点击“我要培训”。
</p> </p>
<div class="text-center"> <div class="text-center">
...@@ -93,8 +95,7 @@ ...@@ -93,8 +95,7 @@
/> />
</div> </div>
<p> <p>
查看<a href="/Service/Training" target="_blank" 查看<a href="/Service/Training" target="_blank">全国分支机构培训计划</a
>全国分支机构培训计划</a
>,选择适合方式、场次参加培训。 >,选择适合方式、场次参加培训。
</p> </p>
<div <div
...@@ -137,19 +138,23 @@ export default { ...@@ -137,19 +138,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
methods: { methods: {
ljtbJump() { ljtbJump() {
...@@ -188,7 +193,7 @@ export default { ...@@ -188,7 +193,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
a { a {
color: #008dbd; color: #008dbd;
......
...@@ -101,19 +101,23 @@ export default { ...@@ -101,19 +101,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
methods: { methods: {
ljtbJump() { ljtbJump() {
...@@ -152,7 +156,7 @@ export default { ...@@ -152,7 +156,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
a { a {
color: #008dbd; color: #008dbd;
......
...@@ -2,17 +2,18 @@ ...@@ -2,17 +2,18 @@
<div class="guide"> <div class="guide">
<cate :father="wyzxCate"> </cate> <cate :father="wyzxCate"> </cate>
<div class="guide-msg container"> <div class="guide-msg container">
<div class="msg-title" ref="7-1">
<div class="msg-title" ref="7-1">企业可以通过以下几种方式与我们联系:</div> 企业可以通过以下几种方式与我们联系:
</div>
<div class="msg-title">线上咨询</div> <div class="msg-title">线上咨询</div>
<p > <p>
<b>1、成员专区咨询</b> <b>1、成员专区咨询</b>
</p> </p>
<p > <p>
<b>(1)查看常见问题</b> <b>(1)查看常见问题</b>
</p> </p>
<p > <p>
登录中国物品编码中心网站,点击“成员专区”,通过条码卡卡号密码登录,依次点击“咨询”→“常见问题”,查看常见问题。根据业务办理、编码技术、产品信息通报等分类的常见问题方便企业快速查找。 登录中国物品编码中心网站,点击“成员专区”,通过条码卡卡号密码登录,依次点击“咨询”→“常见问题”,查看常见问题。根据业务办理、编码技术、产品信息通报等分类的常见问题方便企业快速查找。
</p> </p>
...@@ -24,10 +25,10 @@ ...@@ -24,10 +25,10 @@
style="margin-top: 15px; margin-bottom: 15px" style="margin-top: 15px; margin-bottom: 15px"
/> />
</div> </div>
<p > <p>
<b>(2)在线提问</b> <b>(2)在线提问</b>
</p> </p>
<p > <p>
依次点击“咨询”→“我的提问”→“新增”,填写问题标题及内容后,点击“提交”,等待工作人员回复。 依次点击“咨询”→“我的提问”→“新增”,填写问题标题及内容后,点击“提交”,等待工作人员回复。
</p> </p>
<div class="text-center"> <div class="text-center">
...@@ -38,10 +39,10 @@ ...@@ -38,10 +39,10 @@
style="margin-top: 15px; margin-bottom: 15px" style="margin-top: 15px; margin-bottom: 15px"
/> />
</div> </div>
<p > <p>
<b>2、移动端咨询</b> <b>2、移动端咨询</b>
</p> </p>
<p > <p>
通过条码卡卡号或者手机号码登录“中国编码APP”,可 “条码咨询”和查看 通过条码卡卡号或者手机号码登录“中国编码APP”,可 “条码咨询”和查看
“常见问题”。填写问题标题及内容后,点击“提交”,提出问题,等待工作人员回复。 “常见问题”。填写问题标题及内容后,点击“提交”,提出问题,等待工作人员回复。
</p> </p>
...@@ -104,19 +105,23 @@ export default { ...@@ -104,19 +105,23 @@ export default {
Object.keys(this.$refs).forEach((key) => { Object.keys(this.$refs).forEach((key) => {
this.$refs[key].setAttribute("class", "msg-title"); this.$refs[key].setAttribute("class", "msg-title");
}); });
if (val.query.id) {
const top = this.$refs[val.query.id].offsetTop; const top = this.$refs[val.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
this.$refs[val.query.id].setAttribute("class", "msg-title actived"); this.$refs[val.query.id].setAttribute("class", "msg-title actived");
}
}); });
}, },
immediate: true, immediate: true,
}, },
}, },
mounted() { mounted() {
if (this.$route.query.id) {
setTimeout(() => { setTimeout(() => {
const top = this.$refs[this.$route.query.id].offsetTop; const top = this.$refs[this.$route.query.id].offsetTop;
window.scrollTo(0, top); window.scrollTo(0, top);
}, 100); }, 100);
}
}, },
methods: { methods: {
ljtbJump() { ljtbJump() {
...@@ -155,7 +160,7 @@ export default { ...@@ -155,7 +160,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #454545; color: #454545;
font-weight: 300; font-weight: 300;
line-height: 24px line-height: 24px;
} }
a { a {
color: #008dbd; color: #008dbd;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<div class="col-lg-8"> <div class="col-lg-8">
<div class="training-bj pxjh"> <div class="training-bj pxjh">
<cate :father="pxjhCate"></cate> <cate2 :father="pxjhCate"></cate2>
<div class="container"> <div class="container">
<p> <p>
为更好的开展我国商品条码系统成员教育培训工作,使我国商品条码系统成员第一时间了解各地区分支机构培训时间及培训内容,现将中国物品编码中心全国分支机构培训计划进行公布。 为更好的开展我国商品条码系统成员教育培训工作,使我国商品条码系统成员第一时间了解各地区分支机构培训时间及培训内容,现将中国物品编码中心全国分支机构培训计划进行公布。
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<div class="col-lg-4"> <div class="col-lg-4">
<div class="training-bj"> <div class="training-bj">
<div class="pxspkc"> <div class="pxspkc">
<cate :father="pxspkcCate"></cate> <cate2 :father="pxspkcCate"></cate2>
<div class="container"> <div class="container">
<p> <p>
系统成员可登录中国商品信息服务平台的成员专区选择在线学习服务培训视频教程,即可简单、有效、快速的学习到实用的商品条码知识,了解GS1系统并按标准使用商品条码,如需了解请按下方提示点击进入。 系统成员可登录中国商品信息服务平台的成员专区选择在线学习服务培训视频教程,即可简单、有效、快速的学习到实用的商品条码知识,了解GS1系统并按标准使用商品条码,如需了解请按下方提示点击进入。
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
<p>尊敬的中国商品条码系统成员:</p> <p>尊敬的中国商品条码系统成员:</p>
<p class="xspxgg-note"> <p class="xspxgg-note">
当前,新冠病毒肺炎疫情已进入关键阶段,为进一步做好疫情防控,有序推进我们的技术服务工作,中国物品编码中心全国分支机构暂停现场培训,同时为系统成员提供免费的线上培训课程和相关学习资料,请点击<a 当前,新冠病毒肺炎疫情已进入关键阶段,为进一步做好疫情防控,有序推进我们的技术服务工作,中国物品编码中心全国分支机构暂停现场培训,同时为系统成员提供免费的线上培训课程和相关学习资料,请点击<a
:href="`${urls.gs1cnTwo}news/article_admin.aspx?Id=9766`" :href="`${urls.origin}/News/msg?id=9766`"
>{{urls.gs1cnTwo}}news/article_admin.aspx?Id=9766</a >{{urls.origin}}/News/msg?id=9766</a
>进行查看。 >进行查看。
</p> </p>
</div> </div>
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
</template> </template>
<script> <script>
import cate from "../comps/cate.vue"; import cate from "../comps/cate.vue";
import cate2 from "../comps/cate2.vue";
import fzzx from "./copms/fzzx.vue"; import fzzx from "./copms/fzzx.vue";
import { nav } from "@/components/layout/header/mock"; import { nav } from "@/components/layout/header/mock";
import { deepFindBreadcrumb } from "@/utils/utils"; import { deepFindBreadcrumb } from "@/utils/utils";
...@@ -107,6 +108,7 @@ import { mapState } from "vuex"; ...@@ -107,6 +108,7 @@ import { mapState } from "vuex";
export default { export default {
components: { components: {
cate, cate,
cate2,
fzzx, fzzx,
}, },
computed: { computed: {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
<div class="notice-nr-kj"> <div class="notice-nr-kj">
<p class="notice-note"> <p class="notice-note">
为应对疫情,切实减轻企业负担,协助企业复工复产、渡过难关,编码中心决定自2020年3月1日至2021年12月31日,采取阶段性降费措施。<span 为应对疫情,切实减轻企业负担,协助企业复工复产、渡过难关,编码中心决定自2020年3月1日至2022年3月31日,采取阶段性降费措施。<span
@click="handelJump" @click="handelJump"
>点击查看收费公示表</span >点击查看收费公示表</span
> >
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
this.show = false; this.show = false;
}, },
handelJump() { handelJump() {
window.open("/Business/Corppaynew", "_blank"); window.open("/Business/Corppay", "_blank");
}, },
}, },
}; };
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<script> <script>
import Title from "../comps/title.vue"; import Title from "../comps/title.vue";
import pages from "../comps/pages2.vue"; import pages from "../comps/pages2.vue";
import { mapState, mapMutations } from "vuex";
export default { export default {
components: { components: {
Title, Title,
...@@ -36,6 +37,9 @@ export default { ...@@ -36,6 +37,9 @@ export default {
this.ycListFn(this.policyList.currPage) this.ycListFn(this.policyList.currPage)
}, },
methods:{ methods:{
...mapMutations({
setMatche: "setMatche",
}),
// 政策法规列表 // 政策法规列表
async ycListFn(page,limit) { async ycListFn(page,limit) {
const params = { const params = {
...@@ -52,6 +56,13 @@ export default { ...@@ -52,6 +56,13 @@ export default {
}, },
getInfo(id,directpath){ getInfo(id,directpath){
const matche = [
{
name: "标准文献",
path: "/Knowledge/Standard",
}
];
this.setMatche(matche);
if(directpath!==''&& directpath.length>0){ if(directpath!==''&& directpath.length>0){
window.open(directpath,'_blank'); window.open(directpath,'_blank');
}else{ }else{
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<script> <script>
import Title from "../comps/title.vue"; import Title from "../comps/title.vue";
import pages from "../comps/pages2.vue"; import pages from "../comps/pages2.vue";
import { mapState, mapMutations } from "vuex";
export default { export default {
components: { components: {
Title, Title,
...@@ -36,6 +37,9 @@ export default { ...@@ -36,6 +37,9 @@ export default {
this.initListFn(this.tableResult.currPage); this.initListFn(this.tableResult.currPage);
}, },
methods:{ methods:{
...mapMutations({
setMatche: "setMatche",
}),
// 小贴士 // 小贴士
async initListFn(page,limit) { async initListFn(page,limit) {
const params = { const params = {
...@@ -51,6 +55,13 @@ export default { ...@@ -51,6 +55,13 @@ export default {
} }
}, },
getInfo(id,directpath){ getInfo(id,directpath){
const matche = [
{
name: "小贴士",
path: "/Knowledge/xts",
}
];
this.setMatche(matche);
if(directpath&&directpath!==''&& directpath.length>0){ if(directpath&&directpath!==''&& directpath.length>0){
window.open(directpath,'_blank'); window.open(directpath,'_blank');
}else{ }else{
...@@ -123,8 +134,6 @@ export default { ...@@ -123,8 +134,6 @@ export default {
cursor: pointer; cursor: pointer;
border-bottom: 1px dashed #C5D8EE; border-bottom: 1px dashed #C5D8EE;
font-size: 14px; font-size: 14px;
width: 100%; width: 100%;
:hover,:active{ :hover,:active{
color: #F26335; color: #F26335;
......
...@@ -110,6 +110,7 @@ export default { ...@@ -110,6 +110,7 @@ export default {
button{ button{
border-radius: 4px; border-radius: 4px;
} }
margin-bottom: 10px;
} }
.listStyle-title{ .listStyle-title{
......
...@@ -210,15 +210,17 @@ export default { ...@@ -210,15 +210,17 @@ export default {
}, },
getInfo(id,directpath){ getInfo(id,directpath){
if(directpath&&directpath!==''&& directpath.length>0){
window.open(directpath,'_blank');
}else{
const matche = [ const matche = [
{ {
name: "食品安全追溯", name: "食品安全追溯",
path: "/News/ECommerce", path: "/News/ECommerce",
} }
]; ];
this.setMatche(matche);
if(directpath&&directpath!==''&& directpath.length>0){
window.open(directpath,'_blank');
}else{
let link = this.$router.resolve({ let link = this.$router.resolve({
path: `/News/msg?id=${id}`, path: `/News/msg?id=${id}`,
}); });
......
...@@ -31,11 +31,13 @@ export default { ...@@ -31,11 +31,13 @@ export default {
border-bottom: 1px dashed #c5d8ee; border-bottom: 1px dashed #c5d8ee;
padding: 20px 0; padding: 20px 0;
margin: 0; margin: 0;
cursor: pointer;
.list-left { .list-left {
flex: 1; flex: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
cursor: pointer;
span { span {
display: inline-block; display: inline-block;
&:nth-child(1) { &:nth-child(1) {
...@@ -48,7 +50,7 @@ export default { ...@@ -48,7 +50,7 @@ export default {
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex: 1;
@include ellipsis; @include ellipsis;
cursor: pointer;
} }
} }
} }
......
...@@ -27,12 +27,14 @@ export default { ...@@ -27,12 +27,14 @@ export default {
justify-content: space-between; justify-content: space-between;
padding: 10px 0; padding: 10px 0;
margin: 0; margin: 0;
cursor: pointer;
>div { >div {
flex: 1; flex: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
font-size: 13px; font-size: 13px;
span { span {
display: inline-block; display: inline-block;
&:nth-child(1) { &:nth-child(1) {
......
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
justify-content: space-between; justify-content: space-between;
padding: 10px 0; padding: 10px 0;
margin: 0; margin: 0;
cursor: pointer;
> div { > div {
flex: 1; flex: 1;
display: flex; display: flex;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<ul class="branchMsg-ul"> <ul class="branchMsg-ul">
<li class="row"> <li class="row">
<div class="col-lg-2 col-4">联系人:</div> <div class="col-lg-2 col-4">联系人:</div>
<div class="col-lg-10 col-8">{{msg.branchSimname}}</div> <div class="col-lg-10 col-8">{{msg.personname}}</div>
</li> </li>
<li class="row"> <li class="row">
<div class="col-lg-2 col-4">&nbsp;&nbsp;&nbsp;&nbsp;话:</div> <div class="col-lg-2 col-4">&nbsp;&nbsp;&nbsp;&nbsp;话:</div>
...@@ -48,9 +48,7 @@ ...@@ -48,9 +48,7 @@
</li> </li>
<li class="row"> <li class="row">
<div class="col-lg-2 col-4">&nbsp;&nbsp;&nbsp;&nbsp;介:</div> <div class="col-lg-2 col-4">&nbsp;&nbsp;&nbsp;&nbsp;介:</div>
<div class="col-lg-10 col-8"> <div class="col-lg-10 col-8" v-html="msg.description"></div>
{{msg.description}}
</div>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -90,6 +88,7 @@ export default { ...@@ -90,6 +88,7 @@ export default {
const { success, data } = orgGetBranchDetailRes; const { success, data } = orgGetBranchDetailRes;
if (success) { if (success) {
console.log(orgGetBranchDetailRes, "获取编码机构详情"); console.log(orgGetBranchDetailRes, "获取编码机构详情");
this.branchMsgCate.name = data.branchName;
this.msg = data; this.msg = data;
} }
}, },
......
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.zxcxgj-cate { .zxcxgj-cate {
font-size: 18px; font-size: 18px;
color: #454545; color: #454545;
......
<template>
<div class="zxcxgj-cate">
<div class="container">
<div class="cate-left">
<img :src="father.ico" v-if="father.ico" /><span>{{ father.name }}</span>
</div>
<div class="cate-right">
<slot v-solt="right"></slot>
</div>
</div>
</div>
</template>
<script>
export default {
props: ["father"],
};
</script>
<style lang="scss" scoped>
.zxcxgj-cate {
font-size: 24px;
color: #C60;
border-bottom: 1px solid #c5d8ee;
padding: 14px 0;
font-weight: bold;
>div {
display: flex;
align-items: center;
justify-content: space-between;
.cate-left{
flex: 1;
text-align: center;
}
}
img {
margin-right: 9px;
}
}
</style>
\ No newline at end of file
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