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
00bb50ec
Commit
00bb50ec
authored
Dec 08, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地方分支机构详情联调
parent
0a712068
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
240 additions
and
65 deletions
+240
-65
api.js
src/axios/api.js
+2
-0
org.js
src/axios/module/org.js
+16
-0
Branch.vue
src/views/Org/Branch.vue
+188
-47
BranchMsg.vue
src/views/Org/BranchMsg.vue
+29
-15
fzzx.vue
src/views/Org/comps/fzzx.vue
+5
-3
No files found.
src/axios/api.js
View file @
00bb50ec
...
@@ -16,11 +16,13 @@ const getCaptcha = (query = {}) => {
...
@@ -16,11 +16,13 @@ const getCaptcha = (query = {}) => {
}
}
import
home
from
"./module/home.js"
import
home
from
"./module/home.js"
import
org
from
"./module/org.js"
import
business
from
"./module/business.js"
import
business
from
"./module/business.js"
import
search
from
"./module/search.js"
import
search
from
"./module/search.js"
const
api
=
{
const
api
=
{
home
,
home
,
org
,
business
,
business
,
search
,
search
,
getCaptcha
,
getCaptcha
,
...
...
src/axios/module/org.js
0 → 100644
View file @
00bb50ec
import
{
POST
}
from
"../fetch.js"
const
Prefix
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
''
;
// 获取编码机构详情
const
orgGetBranchDetail
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/branch/api/getBranchDetail`
,
params
)
}
export
default
{
orgGetBranchDetail
,
}
src/views/Org/Branch.vue
View file @
00bb50ec
...
@@ -74,83 +74,224 @@ export default {
...
@@ -74,83 +74,224 @@ export default {
id
:
"huabei"
,
id
:
"huabei"
,
name
:
"华北"
,
name
:
"华北"
,
list
:
[
list
:
[
"北京分中心"
,
{
"天津分中心"
,
name
:
'北京分中心'
,
"河北分中心"
,
branchCode
:
'1105'
,
"山西分中心"
,
},
"内蒙古分中心"
,
{
name
:
'天津分中心'
,
branchCode
:
'1201'
,
},
{
name
:
'河北分中心'
,
branchCode
:
'1301'
,
},
{
name
:
'山西分中心'
,
branchCode
:
'1405'
,
},
{
name
:
'内蒙古分中心'
,
branchCode
:
'1505'
,
},
],
],
},
},
{
{
id
:
"dongbei"
,
id
:
"dongbei"
,
name
:
"东北"
,
name
:
"东北"
,
list
:
[
list
:
[
"辽宁分中心"
,
{
"沈阳分中心"
,
name
:
'辽宁分中心'
,
"大连分中心"
,
branchCode
:
'2101'
,
"吉林分中心"
,
},
"长春分中心"
,
{
"黑龙江分中心"
,
name
:
'沈阳分中心'
,
"哈尔滨分中心"
,
branchCode
:
'2105'
,
},
{
name
:
'大连分中心'
,
branchCode
:
'2106'
,
},
{
name
:
'吉林分中心'
,
branchCode
:
'2201'
,
},
{
name
:
'长春分中心'
,
branchCode
:
'2205'
,
},
{
name
:
'黑龙江分中心'
,
branchCode
:
'2301'
,
},
{
name
:
'哈尔滨分中心'
,
branchCode
:
''
,
},
],
],
},
},
{
{
id
:
"huadong"
,
id
:
"huadong"
,
name
:
"华东"
,
name
:
"华东"
,
list
:
[
list
:
[
"上海分中心"
,
{
"江苏分中心"
,
name
:
'上海分中心'
,
"南京办事处"
,
branchCode
:
'3101'
,
"浙江分中心"
,
},
"杭州分中心"
,
{
"宁波分中心"
,
name
:
'江苏分中心'
,
"安徽分中心"
,
branchCode
:
'3201'
,
"福建分中心"
,
},
"厦门办事处"
,
{
"江西分中心"
,
name
:
'南京办事处'
,
"山东分中心"
,
branchCode
:
'3205'
,
"青岛办事处"
,
},
"烟台办事处"
,
{
name
:
'浙江分中心'
,
branchCode
:
'3301'
,
},
{
name
:
'杭州分中心'
,
branchCode
:
'3302'
,
},
{
name
:
'宁波分中心'
,
branchCode
:
'3302'
,
},
{
name
:
'安徽分中心'
,
branchCode
:
'3405'
,
},
{
name
:
'福建分中心'
,
branchCode
:
'3501'
,
},
{
name
:
'厦门办事处'
,
branchCode
:
'3505'
,
},
{
name
:
'江西分中心'
,
branchCode
:
'3605'
,
},
{
name
:
'山东分中心'
,
branchCode
:
'3701'
,
},
{
name
:
'青岛办事处'
,
branchCode
:
'3705'
,
},
{
name
:
'烟台办事处'
,
branchCode
:
'3706'
,
},
],
],
},
},
{
{
id
:
"huazhongnan"
,
id
:
"huazhongnan"
,
name
:
"华中、华南"
,
name
:
"华中、华南"
,
list
:
[
list
:
[
"河南分中心"
,
{
"湖北分中心"
,
name
:
'河南分中心'
,
"武汉分中心"
,
branchCode
:
'4101'
,
"湖南分中心"
,
},
"广东分中心"
,
{
"深圳分中心"
,
name
:
'湖北分中心'
,
"广州分中心"
,
branchCode
:
'4201'
,
"珠海分中心"
,
},
"广西分中心"
,
{
"海南分中心"
,
name
:
'武汉分中心'
,
branchCode
:
'4202'
,
},
{
name
:
'湖南分中心'
,
branchCode
:
'4305'
,
},
{
name
:
'广东分中心'
,
branchCode
:
'4401'
,
},
{
name
:
'深圳分中心'
,
branchCode
:
'4402'
,
},
{
name
:
'广州分中心'
,
branchCode
:
'4404'
,
},
{
name
:
'珠海分中心'
,
branchCode
:
'4405'
,
},
{
name
:
'广西分中心'
,
branchCode
:
'4505'
,
},
{
name
:
'海南分中心'
,
branchCode
:
'4605'
,
},
],
],
},
},
{
{
id
:
"xinan"
,
id
:
"xinan"
,
name
:
"西南"
,
name
:
"西南"
,
list
:
[
list
:
[
"四川分中心"
,
{
"成都办事处"
,
name
:
'四川分中心'
,
"重庆分中心"
,
branchCode
:
'5101'
,
"贵州分中心"
,
},
"云南分中心"
,
{
"西藏分中心"
,
name
:
'成都办事处'
,
branchCode
:
'5105'
,
},
{
name
:
'重庆分中心'
,
branchCode
:
'5106'
,
},
{
name
:
'贵州分中心'
,
branchCode
:
'5205'
,
},
{
name
:
'云南分中心'
,
branchCode
:
'5305'
,
},
{
name
:
'西藏分中心'
,
branchCode
:
'5405'
,
},
],
],
},
},
{
{
id
:
"xibei"
,
id
:
"xibei"
,
name
:
"西北"
,
name
:
"西北"
,
list
:
[
list
:
[
"陕西分中心"
,
{
"西安分中心"
,
name
:
'陕西分中心'
,
"甘肃分中心"
,
branchCode
:
'6106'
,
"青海分中心"
,
},
"宁夏分中心"
,
{
"新疆分中心"
,
name
:
'西安分中心'
,
branchCode
:
'6107'
,
},
{
name
:
'甘肃分中心'
,
branchCode
:
'6201'
,
},
{
name
:
'青海分中心'
,
branchCode
:
'6305'
,
},
{
name
:
'宁夏分中心'
,
branchCode
:
'6405'
,
},
{
name
:
'新疆分中心'
,
branchCode
:
'6501'
,
},
],
],
},
},
],
],
...
...
src/views/Org/BranchMsg.vue
View file @
00bb50ec
...
@@ -6,16 +6,11 @@
...
@@ -6,16 +6,11 @@
<div
class=
"branchMsg-message"
>
<div
class=
"branchMsg-message"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-6"
></div>
<div
class=
"col-lg-6"
></div>
<div
class=
"tip col-lg-6 col-12"
>
<div
class=
"tip col-lg-6 col-12"
v-show=
"msg.addressDescription"
>
<div
class=
"tip-title"
><span>
重要提示
</span></div>
<div
class=
"tip-title"
><span>
重要提示
</span></div>
<div
class=
"tip-text"
>
<div
class=
"tip-text"
>
<p></p>
<p></p>
<p>
<p
v-html=
"msg.addressDescription"
></p>
湖北编码分支机构办理武汉所辖市以外的湖北省内企业的条码申办及相关业务,武汉市企业欲办理的,请联系
<a
href=
"/org/article.aspx?code_id=4202"
>
武汉编码分支机构
</a
>
。
</p>
<p></p>
<p></p>
</div>
</div>
</div>
</div>
...
@@ -25,36 +20,36 @@
...
@@ -25,36 +20,36 @@
<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"
>
吴永飞
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
branchSimname
}}
</div>
</li>
</li>
<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"
>
027-88224190
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
tel1
}}
</div>
</li>
</li>
<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"
>
010-64298962
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
fax
}}
</div>
</li>
</li>
<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"
>
tiaomabj@126.com
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
mail
}}
</div>
</li>
</li>
<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"
>
http://tiaoma.12365.net.cn
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
website
}}
</div>
</li>
</li>
<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"
>
北京市东城区和平里东街20号
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
branchAddress
}}
</div>
</li>
</li>
<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"
>
100013
</div>
<div
class=
"col-lg-10 col-8"
>
{{
msg
.
branchPostcode
}}
</div>
</li>
</li>
<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"
>
<div
class=
"col-lg-10 col-8"
>
我们是中国物品编码中心设在北京的分支机构,负责北京地区企业申请使用商品条码及管理工作。负责初审本地区商品条码注册、变更、续展和注销;负责本地区商品条码技术培训,条码质检站的日常检测和管理及市场抽查检测,提供商品条码技术咨询与服务。
{{
msg
.
description
}}
</div>
</div>
</li>
</li>
</ul>
</ul>
...
@@ -78,8 +73,27 @@ export default {
...
@@ -78,8 +73,27 @@ export default {
tip
:
{
tip
:
{
show
:
true
,
show
:
true
,
},
},
msg
:
{},
};
};
},
},
created
()
{
this
.
orgGetBranchDetail
();
},
methods
:
{
// 获取编码机构详情
async
orgGetBranchDetail
()
{
const
params
=
{
branchCode
:
this
.
$route
.
query
.
branchCode
,
};
const
orgGetBranchDetailRes
=
await
this
.
$api
.
org
.
orgGetBranchDetail
(
params
);
const
{
returnCode
,
data
}
=
orgGetBranchDetailRes
;
if
(
returnCode
===
"0"
)
{
console
.
log
(
orgGetBranchDetailRes
,
"获取编码机构详情"
);
this
.
msg
=
data
;
}
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
...
...
src/views/Org/comps/fzzx.vue
View file @
00bb50ec
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"fzzx-list"
>
<div
class=
"fzzx-list"
>
<div
class=
"row"
v-for=
"(tmpA, i) in newList"
:key=
"i"
>
<div
class=
"row"
v-for=
"(tmpA, i) in newList"
:key=
"i"
>
<div
class=
"col-6"
v-for=
"(tmpB, ii) in tmpA"
:key=
"ii"
>
<div
class=
"col-6"
v-for=
"(tmpB, ii) in tmpA"
:key=
"ii"
>
<span
@
click=
"openMsg(
ii)"
>
{{
tmpB
}}
</span>
<span
@
click=
"openMsg(
tmpB.branchCode)"
>
{{
tmpB
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -24,10 +24,12 @@ export default {
...
@@ -24,10 +24,12 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
openMsg
(
i
)
{
openMsg
(
branchCode
)
{
console
.
log
(
i
,
"i"
);
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/Org/BranchMsg"
,
path
:
"/Org/BranchMsg"
,
query
:
{
branchCode
,
},
});
});
},
},
},
},
...
...
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