Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
1a26e386
Commit
1a26e386
authored
Dec 13, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调常见问题详情页
parent
15cb459e
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
314 additions
and
74 deletions
+314
-74
business.js
src/axios/module/business.js
+7
-1
parameter.js
src/axios/parameter.js
+1
-1
index.vue
src/components/layout/header/index.vue
+2
-1
mock.js
src/components/layout/header/mock.js
+20
-2
index.js
src/router/index.js
+15
-6
Faq.vue
src/views/Business/Faq.vue
+29
-19
FaqMsg.vue
src/views/Business/FaqMsg.vue
+76
-0
Notice.vue
src/views/Business/Notice.vue
+5
-6
NoticeMsg.vue
src/views/Business/NoticeMsg.vue
+2
-2
table.vue
src/views/Business/copms/table.vue
+8
-2
index.vue
src/views/Business/index.vue
+128
-22
BranchMsg.vue
src/views/Org/BranchMsg.vue
+2
-2
left2.vue
src/views/comps/left2.vue
+18
-8
pages.vue
src/views/comps/pages.vue
+1
-2
No files found.
src/axios/module/business.js
View file @
1a26e386
...
@@ -27,15 +27,21 @@ const businessGetDetailById = (params = {}) => {
...
@@ -27,15 +27,21 @@ const businessGetDetailById = (params = {}) => {
return
POST
(
`
${
Prefix
}
/office/eanupc/api/getDetailById`
,
params
)
return
POST
(
`
${
Prefix
}
/office/eanupc/api/getDetailById`
,
params
)
}
}
// 常见问题
// 常见问题
列表
const
businessGetFaqListByTypeName
=
(
params
=
{})
=>
{
const
businessGetFaqListByTypeName
=
(
params
=
{})
=>
{
return
GET
(
`
${
Prefix2
}
/tm/faq/third/getFaqListByTypeName`
,
params
)
return
GET
(
`
${
Prefix2
}
/tm/faq/third/getFaqListByTypeName`
,
params
)
}
}
// 常见问题详情
const
businessGetFaqById
=
(
params
=
{})
=>
{
return
GET
(
`
${
Prefix2
}
/tm/faq/third/getFaqById`
,
params
)
}
export
default
{
export
default
{
businessDownLoad
,
businessDownLoad
,
businessGetTop4
,
businessGetTop4
,
businessGetEanUpcByCondition
,
businessGetEanUpcByCondition
,
businessGetDetailById
,
businessGetDetailById
,
businessGetFaqListByTypeName
,
businessGetFaqListByTypeName
,
businessGetFaqById
,
}
}
src/axios/parameter.js
View file @
1a26e386
...
@@ -67,7 +67,7 @@ export function checkResponseCodeAuthUnPermitted(resCode) {
...
@@ -67,7 +67,7 @@ export function checkResponseCodeAuthUnPermitted(resCode) {
export
function
handleResponseSuccess
(
res
=
{})
{
export
function
handleResponseSuccess
(
res
=
{})
{
return
{
return
{
success
:
true
,
success
:
true
,
returnCode
:
res
.
code
||
ResponseCode
.
success
,
returnCode
:
res
.
code
||
ResponseCode
.
success
[
0
]
,
returnMsg
:
res
.
msg
||
"请求成功"
,
returnMsg
:
res
.
msg
||
"请求成功"
,
data
:
res
.
data
||
res
.
page
||
res
.
member
||
null
data
:
res
.
data
||
res
.
page
||
res
.
member
||
null
}
}
...
...
src/components/layout/header/index.vue
View file @
1a26e386
...
@@ -105,7 +105,8 @@ export default {
...
@@ -105,7 +105,8 @@ export default {
// TODO 去dropdown里面精确查找当前的路径
// TODO 去dropdown里面精确查找当前的路径
let
result
;
let
result
;
result
=
deepFindBreadcrumb
(
nav_
.
children
,
this
.
$route
.
path
);
result
=
deepFindBreadcrumb
(
nav_
.
children
,
this
.
$route
.
path
);
if
(
!
result
&&
Object
.
keys
(
this
.
$route
.
query
).
length
>
0
)
{
// console.log(this.$route.path, result, 'resultresultresult');
if
(
result
.
length
===
0
&&
Object
.
keys
(
this
.
$route
.
query
).
length
>
0
)
{
const
queryString
=
Qs
.
stringify
(
cleanObject
(
this
.
$route
.
query
));
const
queryString
=
Qs
.
stringify
(
cleanObject
(
this
.
$route
.
query
));
let
path
=
`
${
this
.
$route
.
path
}
?
${
queryString
}
`
;
let
path
=
`
${
this
.
$route
.
path
}
?
${
queryString
}
`
;
result
=
deepFindBreadcrumb
(
nav_
.
children
,
path
);
result
=
deepFindBreadcrumb
(
nav_
.
children
,
path
);
...
...
src/components/layout/header/mock.js
View file @
1a26e386
...
@@ -224,6 +224,9 @@ export const nav = [
...
@@ -224,6 +224,9 @@ export const nav = [
name
:
"条码注册公告"
,
name
:
"条码注册公告"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Notice?id=zhuce"
,
link
:
"/Business/Notice?id=zhuce"
,
query
:
{
id
:
'zhuce'
},
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
...
@@ -235,6 +238,9 @@ export const nav = [
...
@@ -235,6 +238,9 @@ export const nav = [
name
:
"条码注销公告"
,
name
:
"条码注销公告"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Notice?id=zhuxiao"
,
link
:
"/Business/Notice?id=zhuxiao"
,
query
:
{
id
:
'zhuxiao'
},
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
...
@@ -293,7 +299,7 @@ export const nav = [
...
@@ -293,7 +299,7 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"常见问题"
,
name
:
"常见问题"
,
index
:
2
,
index
:
2
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
isHiddenMenu
:
true
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
...
@@ -303,6 +309,18 @@ export const nav = [
...
@@ -303,6 +309,18 @@ export const nav = [
},
},
{
{
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"常见问题详情"
,
index
:
2
,
link
:
"/Business/Faq/Msg"
,
isHiddenMenu
:
true
,
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"操作指南"
,
path
:
"/Business/Guide"
},
{
name
:
"常见问题详情"
},
],
},
{
id
:
uuid
(
"gs_nav"
),
name
:
"我要续展"
,
name
:
"我要续展"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Renewal"
,
link
:
"/Business/Renewal"
,
...
@@ -341,7 +359,7 @@ export const nav = [
...
@@ -341,7 +359,7 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"条码公告"
,
name
:
"条码公告"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Msg"
,
link
:
"/Business/
Notice/
Msg"
,
isHiddenMenu
:
true
,
isHiddenMenu
:
true
,
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
...
...
src/router/index.js
View file @
1a26e386
...
@@ -279,13 +279,22 @@ const routes = [
...
@@ -279,13 +279,22 @@ const routes = [
component
:
()
=>
import
(
"@/views/Business/Code1.vue"
),
component
:
()
=>
import
(
"@/views/Business/Code1.vue"
),
},
},
{
{
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
name
:
"
Guide8
"
,
name
:
"
Faq
"
,
meta
:
{
meta
:
{
name
:
"常见问题"
,
name
:
"常见问题"
,
fatherPath
:
'/Business/Guide'
,
fatherPath
:
'/Business/Guide'
,
},
},
component
:
()
=>
import
(
"@/views/Business/Fap.vue"
),
component
:
()
=>
import
(
"@/views/Business/Faq.vue"
),
},
{
path
:
"/Business/Faq/Msg"
,
name
:
"FaqMsg"
,
meta
:
{
name
:
"常见问题"
,
fatherPath
:
'/Business/Guide'
,
},
component
:
()
=>
import
(
"@/views/Business/FaqMsg.vue"
),
},
},
{
{
path
:
"/Business/Corppaynew"
,
path
:
"/Business/Corppaynew"
,
...
@@ -320,12 +329,12 @@ const routes = [
...
@@ -320,12 +329,12 @@ const routes = [
component
:
()
=>
import
(
"@/views/Business/Notice.vue"
),
component
:
()
=>
import
(
"@/views/Business/Notice.vue"
),
},
},
{
{
path
:
"/Business/Msg"
,
path
:
"/Business/
Notice/
Msg"
,
name
:
"BusinessMsg"
,
name
:
"Business
Notice
Msg"
,
meta
:
{
meta
:
{
name
:
"业务大厅详情"
,
name
:
"业务大厅详情"
,
},
},
component
:
()
=>
import
(
"@/views/Business/Msg.vue"
),
component
:
()
=>
import
(
"@/views/Business/
Notice
Msg.vue"
),
},
},
{
{
path
:
"/Business/Training"
,
path
:
"/Business/Training"
,
...
...
src/views/Business/Fa
p
.vue
→
src/views/Business/Fa
q
.vue
View file @
1a26e386
...
@@ -38,9 +38,10 @@
...
@@ -38,9 +38,10 @@
role="tabpanel"
role="tabpanel"
:aria-labelledby="tmp.type + '-tab'"
:aria-labelledby="tmp.type + '-tab'"
>
>
<faqTable
:list=
"tmp.data"
/>
<faqTable
:list=
"tmp.data"
@
toTableFather=
"receiveTableFather"
/>
<pages
<pages
:currPage=
"pageParams.currPage"
:currPage=
"pageParams.currPage"
:pageSize=
"pageParams.pageSize"
:total=
"pageParams.total"
:total=
"pageParams.total"
@
getLimit=
"receivePagesChild"
@
getLimit=
"receivePagesChild"
/>
/>
...
@@ -73,21 +74,20 @@ export default {
...
@@ -73,21 +74,20 @@ export default {
pageParams
:
{
pageParams
:
{
currPage
:
1
,
currPage
:
1
,
pageSize
:
10
,
pageSize
:
10
,
pageCount
:
5
,
total
:
0
,
total
:
0
,
},
},
list
:
[
list
:
[
{
{
type
:
"qbwt"
,
type
:
"qbwt"
,
name
:
"全部问题"
,
name
:
"全部问题"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"qbwt"
,
active
:
"qbwt"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"ywbl"
,
type
:
"ywbl"
,
name
:
"业务办理"
,
name
:
"业务办理"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"ywbl"
,
active
:
"ywbl"
,
data
:
[
data
:
[
{
{
...
@@ -99,42 +99,42 @@ export default {
...
@@ -99,42 +99,42 @@ export default {
{
{
type
:
"cpxxtb"
,
type
:
"cpxxtb"
,
name
:
"产品信息通报"
,
name
:
"产品信息通报"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"cpxxtb"
,
active
:
"cpxxtb"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"bmjs"
,
type
:
"bmjs"
,
name
:
"编码技术"
,
name
:
"编码技术"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"bmjs"
,
active
:
"bmjs"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"fgybz"
,
type
:
"fgybz"
,
name
:
"法规与标准"
,
name
:
"法规与标准"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"fgybz"
,
active
:
"fgybz"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"tmzl"
,
type
:
"tmzl"
,
name
:
"条码质量"
,
name
:
"条码质量"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"tmzl"
,
active
:
"tmzl"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"tmjsyy"
,
type
:
"tmjsyy"
,
name
:
"条码技术应用"
,
name
:
"条码技术应用"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"tmjsyy"
,
active
:
"tmjsyy"
,
data
:
[],
data
:
[],
},
},
{
{
type
:
"other"
,
type
:
"other"
,
name
:
"其他"
,
name
:
"其他"
,
link
:
"/Business/
Guide8
"
,
link
:
"/Business/
Faq
"
,
active
:
"other"
,
active
:
"other"
,
data
:
[],
data
:
[],
},
},
...
@@ -143,20 +143,19 @@ export default {
...
@@ -143,20 +143,19 @@ export default {
},
},
computed
:
{
computed
:
{
current
()
{
current
()
{
// console.log(this.$route.query.id, "$route.query.id");
let
type
;
let
id
;
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
id
)
{
type
=
this
.
$route
.
query
.
type
;
id
=
this
.
$route
.
query
.
id
;
}
else
{
}
else
{
id
=
"qbwt"
;
type
=
"qbwt"
;
}
}
return
id
;
return
type
;
},
},
},
},
watch
:
{
watch
:
{
$route
:
{
$route
:
{
handler
(
val
)
{
handler
(
val
)
{
this
.
init
(
val
.
query
.
id
);
this
.
init
(
val
.
query
.
type
);
},
},
deep
:
true
,
deep
:
true
,
immediate
:
true
,
immediate
:
true
,
...
@@ -173,6 +172,17 @@ export default {
...
@@ -173,6 +172,17 @@ export default {
this
.
pageParams
.
currentPage
=
val
;
this
.
pageParams
.
currentPage
=
val
;
this
.
getFaqListByTypeName
();
this
.
getFaqListByTypeName
();
},
},
// 接收列表子组件传过来的值
receiveTableFather
(
msg
)
{
console
.
log
(
msg
,
'接收列表子组件传过来的值'
);
this
.
$router
.
push
({
path
:
'/Business/Faq/Msg'
,
query
:
{
type
:
this
.
current
,
id
:
msg
.
id
,
},
});
},
// 常见问题
// 常见问题
async
getFaqListByTypeName
()
{
async
getFaqListByTypeName
()
{
const
params
=
{
const
params
=
{
...
@@ -187,7 +197,7 @@ export default {
...
@@ -187,7 +197,7 @@ export default {
console
.
log
(
businessGetFaqListByTypeNameRes
,
"常见问题"
);
console
.
log
(
businessGetFaqListByTypeNameRes
,
"常见问题"
);
this
.
pageParams
.
total
=
data
.
totalRows
;
this
.
pageParams
.
total
=
data
.
totalRows
;
this
.
list
.
forEach
((
el
)
=>
{
this
.
list
.
forEach
((
el
)
=>
{
if
(
el
.
active
===
this
.
$route
.
query
.
id
)
{
if
(
el
.
active
===
this
.
$route
.
query
.
type
)
{
el
.
data
=
data
.
rows
;
el
.
data
=
data
.
rows
;
}
}
});
});
...
@@ -198,7 +208,7 @@ export default {
...
@@ -198,7 +208,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
this
.
list
[
i
].
link
,
path
:
this
.
list
[
i
].
link
,
query
:
{
query
:
{
id
:
this
.
list
[
i
].
active
,
type
:
this
.
list
[
i
].
active
,
},
},
});
});
},
},
...
...
src/views/Business/FaqMsg.vue
0 → 100644
View file @
1a26e386
<
template
>
<div
class=
"guide"
>
<cate
:father=
"lsspCate"
></cate>
<div
class=
"guide-msg container"
>
<p
v-html=
"msg.content"
>
</p>
</div>
</div>
</
template
>
<
script
>
import
cate
from
"../comps/cate.vue"
;
export
default
{
components
:
{
cate
,
},
data
()
{
return
{
lsspCate
:
{
name
:
""
,
ico
:
""
,
},
msg
:
{},
};
},
created
()
{
this
.
businessGetFaqListgetFaqById
();
},
methods
:
{
// 常见问题详情
async
businessGetFaqListgetFaqById
()
{
const
params
=
{
id
:
this
.
$route
.
query
.
id
,
};
const
businessGetFaqByIdRes
=
await
this
.
$api
.
business
.
businessGetFaqById
(
params
);
const
{
returnCode
,
data
}
=
businessGetFaqByIdRes
;
if
(
returnCode
===
200
)
{
console
.
log
(
businessGetFaqByIdRes
,
"常见问题详情"
);
this
.
lsspCate
.
name
=
data
.
name
this
.
msg
=
data
;
}
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.guide
{
@include
module-box;
.guide-msg
{
margin
:
20px
0
;
font-size
:
14px
;
.msg-title
{
color
:
#008dbd
;
margin
:
15px
0
;
&.actived
{
color
:
#04408d
;
}
}
.paddingBottom10
{
padding-bottom
:
10px
;
}
img
{
max-width
:
100%
;
}
p
{
text-indent
:
25px
;
font-size
:
14px
;
color
:
#454545
;
font-weight
:
300
;
line-height
:
24px
}
}
}
</
style
>
\ No newline at end of file
src/views/Business/Notice.vue
View file @
1a26e386
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
:aria-labelledby="tmp.type + '-tab'"
:aria-labelledby="tmp.type + '-tab'"
>
>
<list
:list=
"tmp.data"
@
toListFather=
"receiveListChild"
/>
<list
:list=
"tmp.data"
@
toListFather=
"receiveListChild"
/>
<pages
:currPage=
"pageParams.currPage"
:total=
"pageParams.total"
@
getLimit=
"receivePagesChild"
/>
<pages
:currPage=
"pageParams.currPage"
:
pageSize=
"pageParams.pageSize"
:
total=
"pageParams.total"
@
getLimit=
"receivePagesChild"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -82,7 +82,6 @@ export default {
...
@@ -82,7 +82,6 @@ export default {
pageParams
:
{
pageParams
:
{
currPage
:
1
,
currPage
:
1
,
pageSize
:
10
,
pageSize
:
10
,
pageCount
:
5
,
total
:
100
,
total
:
100
,
},
},
logoutFlag
:
"1"
,
logoutFlag
:
"1"
,
...
@@ -118,8 +117,8 @@ export default {
...
@@ -118,8 +117,8 @@ export default {
// console.log(params, "params");
// console.log(params, "params");
const
businessGetEanUpcByConditionRes
=
const
businessGetEanUpcByConditionRes
=
await
this
.
$api
.
business
.
businessGetEanUpcByCondition
(
params
);
await
this
.
$api
.
business
.
businessGetEanUpcByCondition
(
params
);
const
{
returnCode
,
data
}
=
businessGetEanUpcByConditionRes
;
const
{
success
,
data
}
=
businessGetEanUpcByConditionRes
;
if
(
returnCode
===
"0"
)
{
if
(
success
)
{
console
.
log
(
businessGetEanUpcByConditionRes
,
"条码注册/注销公告"
);
console
.
log
(
businessGetEanUpcByConditionRes
,
"条码注册/注销公告"
);
this
.
pageParams
.
total
=
data
.
totalCount
;
this
.
pageParams
.
total
=
data
.
totalCount
;
let
key
;
let
key
;
...
@@ -148,14 +147,14 @@ export default {
...
@@ -148,14 +147,14 @@ export default {
// 接收列表子组件传过来的值
// 接收列表子组件传过来的值
receiveListChild
(
obj
)
{
receiveListChild
(
obj
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/Business/Msg"
,
path
:
"/Business/
Notice/
Msg"
,
query
:
{
query
:
{
id
:
this
.
$route
.
query
.
id
,
id
:
this
.
$route
.
query
.
id
,
fId
:
obj
.
fid
,
fId
:
obj
.
fid
,
code
:
obj
.
code
,
code
:
obj
.
code
,
},
},
});
});
const
result
=
deepFindBreadcrumb
(
nav
,
'/Business/Msg'
);
const
result
=
deepFindBreadcrumb
(
nav
,
'/Business/
Notice/
Msg'
);
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
},
},
jump
(
i
)
{
jump
(
i
)
{
...
...
src/views/Business/Msg.vue
→
src/views/Business/
Notice
Msg.vue
View file @
1a26e386
...
@@ -96,9 +96,9 @@ export default {
...
@@ -96,9 +96,9 @@ export default {
};
};
const
businessGetDetailByIdRes
=
const
businessGetDetailByIdRes
=
await
this
.
$api
.
business
.
businessGetDetailById
(
params
);
await
this
.
$api
.
business
.
businessGetDetailById
(
params
);
const
{
returnCode
,
data
}
=
businessGetDetailByIdRes
;
const
{
success
,
data
}
=
businessGetDetailByIdRes
;
console
.
log
(
businessGetDetailByIdRes
,
"businessGetDetailByIdRes"
);
console
.
log
(
businessGetDetailByIdRes
,
"businessGetDetailByIdRes"
);
if
(
returnCode
===
"0"
)
{
if
(
success
)
{
this
.
czznCate
.
name
=
data
.
firmName
;
this
.
czznCate
.
name
=
data
.
firmName
;
data
.
logoutFlag
=
data
.
logoutFlag
===
'1'
?
'已注销'
:
'有效'
;
data
.
logoutFlag
=
data
.
logoutFlag
===
'1'
?
'已注销'
:
'有效'
;
data
.
logoutDate
=
data
.
logoutDate
?
this
.
$moment
(
data
.
logoutDate
).
format
(
"YYYY年MM月DD"
)
:
null
;
data
.
logoutDate
=
data
.
logoutDate
?
this
.
$moment
(
data
.
logoutDate
).
format
(
"YYYY年MM月DD"
)
:
null
;
...
...
src/views/Business/copms/table.vue
View file @
1a26e386
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<div
class=
"col-lg-8"
>
标题
</div>
<div
class=
"col-lg-8"
>
标题
</div>
<div
class=
"col-lg-2"
>
类型
</div>
<div
class=
"col-lg-2"
>
类型
</div>
</div>
</div>
<div
class=
"fqtbody"
v-if=
"list.length > 0"
>
<div
class=
"fqtbody"
>
<div
class=
"row"
v-for=
"(tmp, i) in list"
:key=
"i"
>
<div
class=
"row"
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"handelClick(tmp)"
>
<div
class=
"col-lg-2"
>
{{
i
+
1
}}
</div>
<div
class=
"col-lg-2"
>
{{
i
+
1
}}
</div>
<div
class=
"col-lg-8"
>
{{
tmp
.
name
}}
</div>
<div
class=
"col-lg-8"
>
{{
tmp
.
name
}}
</div>
<div
class=
"col-lg-2"
>
{{
tmp
.
types
&&
tmp
.
types
.
name
}}
</div>
<div
class=
"col-lg-2"
>
{{
tmp
.
types
&&
tmp
.
types
.
name
}}
</div>
...
@@ -17,6 +17,11 @@
...
@@ -17,6 +17,11 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
'list'
],
methods
:
{
handelClick
(
msg
)
{
this
.
$emit
(
'toTableFather'
,
msg
);
},
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -43,6 +48,7 @@ export default {
...
@@ -43,6 +48,7 @@ export default {
}
}
.fqtbody
{
.fqtbody
{
.row{
.row{
cursor
:
pointer
;
padding
:
20px
0
;
padding
:
20px
0
;
margin
:
0
;
margin
:
0
;
border-bottom
:
1px
solid
#E9E9E9
;
border-bottom
:
1px
solid
#E9E9E9
;
...
...
src/views/Business/index.vue
View file @
1a26e386
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<router-view
class=
"marginTopLg20"
></router-view>
<router-view
class=
"marginTopLg20"
></router-view>
</div>
</div>
</div>
</div>
<div
class=
"marginTop20"
v-if=
"$route.path !=='/Business/Register'"
>
<div
class=
"marginTop20"
v-if=
"$route.path !==
'/Business/Register'"
>
<zxcxgj
/>
<zxcxgj
/>
</div>
</div>
</div>
</div>
...
@@ -42,7 +42,9 @@ export default {
...
@@ -42,7 +42,9 @@ export default {
name
:
"操作指南"
,
name
:
"操作指南"
,
path
:
"/Business/Guide"
,
path
:
"/Business/Guide"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-1"
,
id
:
"1-1"
,
},
children
:
[
children
:
[
{
{
name
:
"我要申请商品条码"
,
name
:
"我要申请商品条码"
,
...
@@ -54,59 +56,74 @@ export default {
...
@@ -54,59 +56,74 @@ export default {
name
:
"1.企业申请商品条码资格"
,
name
:
"1.企业申请商品条码资格"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-1"
,
id
:
"1-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.条码注册方式"
,
name
:
"2.条码注册方式"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-2"
,
id
:
"1-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.提交材料"
,
name
:
"3.提交材料"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-3"
,
id
:
"1-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"4.线上注册流程"
,
name
:
"4.线上注册流程"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-4"
,
id
:
"1-4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"5.收费标准"
,
name
:
"5.收费标准"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-5"
,
id
:
"1-5"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"6.审批时效"
,
name
:
"6.审批时效"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-6"
,
id
:
"1-6"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"7.注册成功发放材料"
,
name
:
"7.注册成功发放材料"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-7"
,
id
:
"1-7"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"8.厂商识别代码使用期限"
,
name
:
"8.厂商识别代码使用期限"
,
path
:
"/Business/Guide1"
,
path
:
"/Business/Guide1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-8"
,
id
:
"1-8"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
},
},
{
{
...
@@ -118,35 +135,45 @@ export default {
...
@@ -118,35 +135,45 @@ export default {
name
:
"1.设计、制作合格的条码的注意事项"
,
name
:
"1.设计、制作合格的条码的注意事项"
,
path
:
"/Business/Guide2"
,
path
:
"/Business/Guide2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-1"
,
id
:
"2-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.编制零售商品代码应遵循原则"
,
name
:
"2.编制零售商品代码应遵循原则"
,
path
:
"/Business/Guide2"
,
path
:
"/Business/Guide2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-2"
,
id
:
"2-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.零售商品代码编制方法"
,
name
:
"3.零售商品代码编制方法"
,
path
:
"/Business/Guide2"
,
path
:
"/Business/Guide2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-3"
,
id
:
"2-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"4.条码胶片制作方法"
,
name
:
"4.条码胶片制作方法"
,
path
:
"/Business/Guide2"
,
path
:
"/Business/Guide2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-4"
,
id
:
"2-4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"5.条码胶片制作费用"
,
name
:
"5.条码胶片制作费用"
,
path
:
"/Business/Guide2"
,
path
:
"/Business/Guide2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-5"
,
id
:
"2-5"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -160,14 +187,18 @@ export default {
...
@@ -160,14 +187,18 @@ export default {
name
:
"1.通报商品信息方法及提交内容"
,
name
:
"1.通报商品信息方法及提交内容"
,
path
:
"/Business/Guide3"
,
path
:
"/Business/Guide3"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3-1"
,
id
:
"3-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.条码卡问题"
,
name
:
"2.条码卡问题"
,
path
:
"/Business/Guide3"
,
path
:
"/Business/Guide3"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3-2"
,
id
:
"3-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -181,35 +212,45 @@ export default {
...
@@ -181,35 +212,45 @@ export default {
name
:
"1.微信共享"
,
name
:
"1.微信共享"
,
path
:
"/Business/Guide4"
,
path
:
"/Business/Guide4"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4-1"
,
id
:
"4-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.微信共享开通方法"
,
name
:
"2.微信共享开通方法"
,
path
:
"/Business/Guide4"
,
path
:
"/Business/Guide4"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4-2"
,
id
:
"4-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.同步至微信信息"
,
name
:
"3.同步至微信信息"
,
path
:
"/Business/Guide4"
,
path
:
"/Business/Guide4"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4-3"
,
id
:
"4-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"4.产品信息即时同步至微信方法"
,
name
:
"4.产品信息即时同步至微信方法"
,
path
:
"/Business/Guide4"
,
path
:
"/Business/Guide4"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4-4"
,
id
:
"4-4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"5.同步至微信图片要求"
,
name
:
"5.同步至微信图片要求"
,
path
:
"/Business/Guide4"
,
path
:
"/Business/Guide4"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4-5"
,
id
:
"4-5"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -223,14 +264,18 @@ export default {
...
@@ -223,14 +264,18 @@ export default {
name
:
"1.线上培训"
,
name
:
"1.线上培训"
,
path
:
"/Business/Guide5"
,
path
:
"/Business/Guide5"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"5-1"
,
id
:
"5-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.线下培训"
,
name
:
"2.线下培训"
,
path
:
"/Business/Guide5"
,
path
:
"/Business/Guide5"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"5-2"
,
id
:
"5-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -244,28 +289,36 @@ export default {
...
@@ -244,28 +289,36 @@ export default {
name
:
"1.续展办理方式"
,
name
:
"1.续展办理方式"
,
path
:
"/Business/Guide6"
,
path
:
"/Business/Guide6"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"6-1"
,
id
:
"6-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.收费标准"
,
name
:
"2.收费标准"
,
path
:
"/Business/Guide6"
,
path
:
"/Business/Guide6"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"6-2"
,
id
:
"6-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.审批时效"
,
name
:
"3.审批时效"
,
path
:
"/Business/Guide6"
,
path
:
"/Business/Guide6"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"6-3"
,
id
:
"6-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"4.续展通过后发放材料"
,
name
:
"4.续展通过后发放材料"
,
path
:
"/Business/Guide6"
,
path
:
"/Business/Guide6"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"6-4"
,
id
:
"6-4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -279,21 +332,27 @@ export default {
...
@@ -279,21 +332,27 @@ export default {
name
:
"1.线上咨询"
,
name
:
"1.线上咨询"
,
path
:
"/Business/Guide7"
,
path
:
"/Business/Guide7"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"7-1"
,
id
:
"7-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.全国咨询电话"
,
name
:
"2.全国咨询电话"
,
path
:
"/Business/Guide7"
,
path
:
"/Business/Guide7"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"7-2"
,
id
:
"7-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.电子邮箱"
,
name
:
"3.电子邮箱"
,
path
:
"/Business/Guide7"
,
path
:
"/Business/Guide7"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"7-3"
,
id
:
"7-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -305,51 +364,65 @@ export default {
...
@@ -305,51 +364,65 @@ export default {
children
:
[
children
:
[
{
{
name
:
"1.业务办理"
,
name
:
"1.业务办理"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"ywbl"
,
query
:
{
type
:
"ywbl"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"2.产品信息通报"
,
name
:
"2.产品信息通报"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"cpxxtb"
,
query
:
{
type
:
"cpxxtb"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"3.编码技术"
,
name
:
"3.编码技术"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"bmjs"
,
query
:
{
type
:
"bmjs"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"4.法规与标准"
,
name
:
"4.法规与标准"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"fgybz"
,
query
:
{
type
:
"fgybz"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"5.条码质量"
,
name
:
"5.条码质量"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"tmzl"
,
query
:
{
type
:
"tmzl"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"6.条码技术应用"
,
name
:
"6.条码技术应用"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"tmjsyy"
,
query
:
{
type
:
"tmjsyy"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"7.其他"
,
name
:
"7.其他"
,
path
:
"/Business/
Guide8
"
,
path
:
"/Business/
Faq
"
,
active
:
""
,
active
:
""
,
id
:
"other"
,
query
:
{
type
:
"other"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -375,21 +448,27 @@ export default {
...
@@ -375,21 +448,27 @@ export default {
name
:
"一次性加入费"
,
name
:
"一次性加入费"
,
path
:
"/Business/Corppay"
,
path
:
"/Business/Corppay"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1"
,
id
:
"1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"胶片制作费"
,
name
:
"胶片制作费"
,
path
:
"/Business/Corppay"
,
path
:
"/Business/Corppay"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2"
,
id
:
"2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"系统维护"
,
name
:
"系统维护"
,
path
:
"/Business/Corppay"
,
path
:
"/Business/Corppay"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3"
,
id
:
"3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
...
@@ -409,7 +488,9 @@ export default {
...
@@ -409,7 +488,9 @@ export default {
name
:
"服务项目与服务内容"
,
name
:
"服务项目与服务内容"
,
path
:
"/Business/Corppay"
,
path
:
"/Business/Corppay"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"4"
,
id
:
"4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -420,14 +501,18 @@ export default {
...
@@ -420,14 +501,18 @@ export default {
name
:
"条码注册公告"
,
name
:
"条码注册公告"
,
path
:
"/Business/Notice?id=zhuce"
,
path
:
"/Business/Notice?id=zhuce"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"zhuce"
,
id
:
"zhuce"
,
},
},
},
{
{
name
:
"条码注销公告"
,
name
:
"条码注销公告"
,
path
:
"/Business/Notice?id=zhuxiao"
,
path
:
"/Business/Notice?id=zhuxiao"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"zhuxiao"
,
id
:
"zhuxiao"
,
},
},
},
],
],
},
},
{
{
...
@@ -448,9 +533,11 @@ export default {
...
@@ -448,9 +533,11 @@ export default {
{
{
name
:
"我要编码"
,
name
:
"我要编码"
,
path
:
"/Business/Code"
,
path
:
"/Business/Code"
,
redirectUrl
:
'/Business/Code1'
,
redirectUrl
:
"/Business/Code1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
""
,
id
:
""
,
},
children
:
[
children
:
[
{
{
name
:
"零售商品"
,
name
:
"零售商品"
,
...
@@ -461,28 +548,36 @@ export default {
...
@@ -461,28 +548,36 @@ export default {
name
:
"为不同的商品项目编制不同的商品标识代码"
,
name
:
"为不同的商品项目编制不同的商品标识代码"
,
path
:
"/Business/Code1"
,
path
:
"/Business/Code1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-1"
,
id
:
"1-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"选择相应的条码符号"
,
name
:
"选择相应的条码符号"
,
path
:
"/Business/Code1"
,
path
:
"/Business/Code1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-2"
,
id
:
"1-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"条码符号的设计"
,
name
:
"条码符号的设计"
,
path
:
"/Business/Code1"
,
path
:
"/Business/Code1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-3"
,
id
:
"1-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"条码符号的印制"
,
name
:
"条码符号的印制"
,
path
:
"/Business/Code1"
,
path
:
"/Business/Code1"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"1-4"
,
id
:
"1-4"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -496,21 +591,27 @@ export default {
...
@@ -496,21 +591,27 @@ export default {
name
:
"非零售商品的标识代码"
,
name
:
"非零售商品的标识代码"
,
path
:
"/Business/Code2"
,
path
:
"/Business/Code2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-1"
,
id
:
"2-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"非零售商品的条码标识"
,
name
:
"非零售商品的条码标识"
,
path
:
"/Business/Code2"
,
path
:
"/Business/Code2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-2"
,
id
:
"2-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"应用标识符的使用"
,
name
:
"应用标识符的使用"
,
path
:
"/Business/Code2"
,
path
:
"/Business/Code2"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"2-3"
,
id
:
"2-3"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -524,14 +625,18 @@ export default {
...
@@ -524,14 +625,18 @@ export default {
name
:
"物流单元的标识代码"
,
name
:
"物流单元的标识代码"
,
path
:
"/Business/Code3"
,
path
:
"/Business/Code3"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3-1"
,
id
:
"3-1"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
{
{
name
:
"物流标签"
,
name
:
"物流标签"
,
path
:
"/Business/Code3"
,
path
:
"/Business/Code3"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3-2"
,
id
:
"3-2"
,
},
noneChild
:
true
,
noneChild
:
true
,
},
},
],
],
...
@@ -541,11 +646,13 @@ export default {
...
@@ -541,11 +646,13 @@ export default {
{
{
name
:
"我要通报编码信息"
,
name
:
"我要通报编码信息"
,
path
:
""
,
path
:
""
,
type
:
'redirect'
,
type
:
"redirect"
,
redirectUrl
:
'/Business/Guide3'
,
redirectUrl
:
"/Business/Guide3"
,
active
:
""
,
active
:
""
,
query
:
{
id
:
"3-1"
,
id
:
"3-1"
,
},
},
},
{
{
name
:
"我要生成商品二维码"
,
name
:
"我要生成商品二维码"
,
path
:
"/Business/2dcode"
,
path
:
"/Business/2dcode"
,
...
@@ -564,7 +671,7 @@ export default {
...
@@ -564,7 +671,7 @@ export default {
{
{
name
:
"条码商桥"
,
name
:
"条码商桥"
,
path
:
"http://so.anccnet.com/Home/Login"
,
path
:
"http://so.anccnet.com/Home/Login"
,
type
:
'link'
,
type
:
"link"
,
active
:
""
,
active
:
""
,
},
},
],
],
...
@@ -584,7 +691,6 @@ export default {
...
@@ -584,7 +691,6 @@ export default {
path
:
"/Business/ypzs"
,
path
:
"/Business/ypzs"
,
active
:
"ypzs"
,
active
:
"ypzs"
,
},
},
],
],
},
},
{
{
...
@@ -616,7 +722,7 @@ export default {
...
@@ -616,7 +722,7 @@ export default {
name
:
"办理自行车企业代码"
,
name
:
"办理自行车企业代码"
,
path
:
"http://bikecode.gs1cn.org/"
,
path
:
"http://bikecode.gs1cn.org/"
,
active
:
""
,
active
:
""
,
type
:
'link'
,
type
:
"link"
,
},
},
{
{
name
:
"办理动物管理者代码"
,
name
:
"办理动物管理者代码"
,
...
...
src/views/Org/BranchMsg.vue
View file @
1a26e386
...
@@ -87,8 +87,8 @@ export default {
...
@@ -87,8 +87,8 @@ export default {
};
};
const
orgGetBranchDetailRes
=
const
orgGetBranchDetailRes
=
await
this
.
$api
.
org
.
orgGetBranchDetail
(
params
);
await
this
.
$api
.
org
.
orgGetBranchDetail
(
params
);
const
{
returnCode
,
data
}
=
orgGetBranchDetailRes
;
const
{
success
,
data
}
=
orgGetBranchDetailRes
;
if
(
returnCode
===
"0"
)
{
if
(
success
)
{
console
.
log
(
orgGetBranchDetailRes
,
"获取编码机构详情"
);
console
.
log
(
orgGetBranchDetailRes
,
"获取编码机构详情"
);
this
.
msg
=
data
;
this
.
msg
=
data
;
}
}
...
...
src/views/comps/left2.vue
View file @
1a26e386
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
:class=
"{
:class=
"{
active:
active:
tmpB.active === currentName ||
tmpB.active === currentName ||
(tmpB.id && tmpB.id === $route.query.id
),
hasRouteQuery($route.query, tmpB.query
),
}"
}"
v-for=
"(tmpB, ii) in tmpA.children"
v-for=
"(tmpB, ii) in tmpA.children"
:key=
"ii"
:key=
"ii"
...
@@ -71,11 +71,23 @@ export default {
...
@@ -71,11 +71,23 @@ export default {
},
},
},
},
created
()
{
created
()
{
console
.
log
(
this
.
list
,
"获取当前路由地址"
);
console
.
log
(
this
.
$route
.
query
,
"获取当前路由地址"
);
let
result
=
deepFindBreadcrumb
(
nav
,
''
);
let
result
=
deepFindBreadcrumb
(
nav
,
""
);
console
.
log
(
result
,
'resultresultresult2'
);
console
.
log
(
result
,
"resultresultresult2"
);
},
},
methods
:
{
methods
:
{
// 当前路由是否包含左侧菜单
hasRouteQuery
(
routeQuery
,
query
)
{
let
isHas
=
false
;
if
(
query
)
{
Object
.
keys
(
routeQuery
).
forEach
((
k
)
=>
{
if
(
query
.
hasOwnProperty
(
k
)
&&
routeQuery
[
k
]
===
query
[
k
])
{
isHas
=
true
;
}
});
}
return
isHas
;
},
// 路由跳转
// 路由跳转
jump
(
el
)
{
jump
(
el
)
{
console
.
log
(
el
,
"el"
);
console
.
log
(
el
,
"el"
);
...
@@ -91,7 +103,7 @@ export default {
...
@@ -91,7 +103,7 @@ export default {
}
}
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
}
}
if
(
el
.
id
)
{
if
(
el
.
query
)
{
let
path
;
let
path
;
if
(
type
===
"redirect"
)
{
if
(
type
===
"redirect"
)
{
path
=
el
.
redirectUrl
;
path
=
el
.
redirectUrl
;
...
@@ -101,9 +113,7 @@ export default {
...
@@ -101,9 +113,7 @@ export default {
console
.
log
(
path
,
"path"
);
console
.
log
(
path
,
"path"
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
path
,
query
:
{
query
:
el
.
query
,
id
:
el
.
id
,
},
});
});
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
src/views/comps/pages.vue
View file @
1a26e386
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
:current-page=
"currPage"
:current-page=
"currPage"
layout=
"prev, pager, next"
layout=
"prev, pager, next"
:total=
"total"
:total=
"total"
@
size-change=
"changeSize"
@
current-change=
"goPage"
@
current-change=
"goPage"
background
background
>
>
...
@@ -66,7 +65,7 @@ export default {
...
@@ -66,7 +65,7 @@ export default {
mounted
(){
mounted
(){
},
},
methods
:{
methods
:{
changeSize
(
i
){
changeSize
(){
this
.
$emit
(
'getLimit'
,
this
.
currPage
)
this
.
$emit
(
'getLimit'
,
this
.
currPage
)
},
},
goPage
(
i
){
goPage
(
i
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment