Commit 804e1a2c by 林家欣

修改常见问题全部问题请求参数bug

parent edd5e648
......@@ -38,7 +38,7 @@
role="tabpanel"
:aria-labelledby="tmp.type + '-tab'"
>
<faqTable :list="tmp.data" @toTableFather="receiveTableFather"/>
<faqTable :list="tmp.data" @toTableFather="receiveTableFather" />
<pages
:currPage="pageParams.currPage"
:pageSize="pageParams.pageSize"
......@@ -89,12 +89,7 @@ export default {
name: "业务办理",
link: "/Business/Faq",
active: "ywbl",
data: [
{
name: "企业申请注册厂商识别代码是否必须到中国物品编码中心总部办理?",
type: "业务办理",
},
],
data: [],
},
{
type: "cpxxtb",
......@@ -164,7 +159,11 @@ export default {
methods: {
init(id) {
const current = this.list.filter((item) => item.active === id)[0];
if (current.name === "全部问题") {
this.search.typeName = "";
} else {
this.search.typeName = current.name;
}
this.getFaqListByTypeName();
},
// 接收分页子组件传过来的值
......@@ -174,9 +173,9 @@ export default {
},
// 接收列表子组件传过来的值
receiveTableFather(msg) {
console.log(msg, '接收列表子组件传过来的值');
console.log(msg, "接收列表子组件传过来的值");
this.$router.push({
path: '/Business/Faq/Msg',
path: "/Business/Faq/Msg",
query: {
type: this.current,
id: msg.id,
......
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