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
856748f7
Commit
856748f7
authored
Jan 16, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/gs1-office-web-sit/gs1
parents
1d664925
f38dad2c
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
85 additions
and
36 deletions
+85
-36
package-lock.json
package-lock.json
+0
-0
_reset.css
src/assets/css/_reset.css
+2
-2
home.js
src/axios/module/home.js
+2
-2
constant.js
src/config/constant.js
+1
-1
tmgg.vue
src/views/Business/copms/tmgg.vue
+3
-3
list.vue
src/views/Home/comps/list.vue
+7
-2
index.vue
src/views/Home/index.vue
+5
-1
Statuteinfo.vue
src/views/Knowledge/Statuteinfo.vue
+0
-3
article.vue
src/views/Knowledge/article.vue
+0
-3
HealthDetail.vue
src/views/News/HealthDetail.vue
+0
-3
NoticeArticle.vue
src/views/News/NoticeArticle.vue
+0
-3
msg.vue
src/views/News/msg.vue
+0
-3
msgVideo.vue
src/views/News/msgVideo.vue
+0
-3
bike.vue
src/views/Search/bike.vue
+3
-0
external.vue
src/views/Search/external.vue
+3
-0
gln.vue
src/views/Search/gln.vue
+11
-0
glossary.vue
src/views/Search/glossary.vue
+3
-0
index.vue
src/views/Search/index.vue
+19
-2
internal.vue
src/views/Search/internal.vue
+8
-2
shortcode.vue
src/views/Search/shortcode.vue
+10
-3
validation.js
src/views/Search/validation.js
+8
-0
No files found.
package-lock.json
View file @
856748f7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/assets/css/_reset.css
View file @
856748f7
...
@@ -99,7 +99,7 @@ input[type="button"],
...
@@ -99,7 +99,7 @@ input[type="button"],
input
[
type
=
"submit"
]
{
input
[
type
=
"submit"
]
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
::-webkit-scrollbar-track-piece
{
/*
::-webkit-scrollbar-track-piece {
background: #fff1d9;
background: #fff1d9;
border-radius: 2px;
border-radius: 2px;
}
}
...
@@ -114,7 +114,7 @@ input[type="submit"] {
...
@@ -114,7 +114,7 @@ input[type="submit"] {
}
}
::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
background-color: #e59f29;
background-color: #e59f29;
}
}
*/
select
{
select
{
appearance
:
none
;
appearance
:
none
;
...
...
src/axios/module/home.js
View file @
856748f7
...
@@ -34,12 +34,12 @@ const homeSmallImages = (params = {}) => {
...
@@ -34,12 +34,12 @@ const homeSmallImages = (params = {}) => {
// 获取定制服务
// 获取定制服务
const
customService
=
(
params
=
{})
=>
{
const
customService
=
(
params
=
{})
=>
{
return
POST
(
`
${
Prefix
}
/office/userfunctionbinding/api/find`
,
params
)
return
POST
(
`
${
Prefix
}
/office/userfunctionbinding/a
uthA
pi/find`
,
params
)
}
}
// 更新定制服务
// 更新定制服务
const
updateCustomService
=
(
params
=
{})
=>
{
const
updateCustomService
=
(
params
=
{})
=>
{
return
POSTFORM
(
`
${
Prefix
}
/office/userfunctionbinding/api/update`
,
params
)
return
POSTFORM
(
`
${
Prefix
}
/office/userfunctionbinding/a
uthA
pi/update`
,
params
)
}
}
...
...
src/config/constant.js
View file @
856748f7
...
@@ -4,7 +4,7 @@ export const QUERY_PAGE_SIZE_10 = 10
...
@@ -4,7 +4,7 @@ export const QUERY_PAGE_SIZE_10 = 10
export
const
QUERY_PAGE_SIZE_20
=
20
export
const
QUERY_PAGE_SIZE_20
=
20
export
const
QUERY_PAGE_SIZE_All
=
999999
export
const
QUERY_PAGE_SIZE_All
=
999999
// export const FILE_PREFIX = "http://81.68.189.225:9091/office/uploadFileResource"
// export const FILE_PREFIX = "http://81.68.189.225:9091/office/uploadFileResource"
export
const
FILE_PREFIX
=
`
${
window
.
location
.
origin
}
/office/uploadFileResource`
export
const
FILE_PREFIX
=
`
${
window
.
location
.
protocol
}
//
${
window
.
location
.
hostname
}
:9091
/office/uploadFileResource`
export
const
FILE_PREFIX1
=
"http://www.gov.cn"
export
const
FILE_PREFIX1
=
"http://www.gov.cn"
export
const
FILE_PREFIX2
=
"http://ltfzs.mofcom.gov.cn"
export
const
FILE_PREFIX2
=
"http://ltfzs.mofcom.gov.cn"
export
const
FILE_PREFIX3
=
"https://xxgk.mot.gov.cn"
export
const
FILE_PREFIX3
=
"https://xxgk.mot.gov.cn"
src/views/Business/copms/tmgg.vue
View file @
856748f7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<ul
class=
"tmgg-ul"
>
<ul
class=
"tmgg-ul"
>
<li
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"openMsg(tmp)"
>
<li
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"openMsg(tmp)"
>
<span>
【
{{
tmp
.
logoutFlag
===
'0'
?
'注
销'
:
'注册
'
}}
】
</span>
<span>
【
{{
tmp
.
logoutFlag
===
'0'
?
'注
册'
:
'注销
'
}}
】
</span>
<span>
{{
tmp
.
firmName
}}
</span>
<span>
{{
tmp
.
firmName
}}
</span>
</li>
</li>
</ul>
</ul>
...
@@ -52,9 +52,9 @@ export default {
...
@@ -52,9 +52,9 @@ export default {
console
.
log
(
tmp
,
'openMsg'
);
console
.
log
(
tmp
,
'openMsg'
);
let
type
;
let
type
;
if
(
tmp
.
logoutFlag
===
"0"
)
{
if
(
tmp
.
logoutFlag
===
"0"
)
{
type
=
"zhuxiao"
;
}
else
{
type
=
"zhuce"
;
type
=
"zhuce"
;
}
else
{
type
=
"zhuxiao"
;
}
}
let
routeData
=
this
.
$router
.
resolve
({
let
routeData
=
this
.
$router
.
resolve
({
path
:
"/Business/Notice/Msg"
,
path
:
"/Business/Notice/Msg"
,
...
...
src/views/Home/comps/list.vue
View file @
856748f7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col"
>
<div
class=
"col"
>
<div
@
click=
"handelMore"
class=
"more
float-end
"
>
<div
@
click=
"handelMore"
class=
"more"
>
<span>
了解更多
</span
<span>
了解更多
</span
><img
src=
"../../../assets/image/home/more-arrow.png"
alt=
""
/>
><img
src=
"../../../assets/image/home/more-arrow.png"
alt=
""
/>
</div>
</div>
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
.row
{
.row
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
11px
0
;
padding
:
11
.5
px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
.list-left
{
.list-left
{
...
@@ -70,12 +70,16 @@ export default {
...
@@ -70,12 +70,16 @@ export default {
@include
ellipsis;
@include
ellipsis;
}
}
}
}
}
}
.list-right
{
.list-right
{
text-align
:
right
;
text-align
:
right
;
color
:
#999999
;
color
:
#999999
;
font-size
:
16px
;
font-size
:
16px
;
}
}
&
:last-child
{
padding-bottom
:
0
;
}
}
}
.more
{
.more
{
width
:
120px
;
width
:
120px
;
...
@@ -86,6 +90,7 @@ export default {
...
@@ -86,6 +90,7 @@ export default {
background
:
#cd3c0d
;
background
:
#cd3c0d
;
border-radius
:
4px
;
border-radius
:
4px
;
position
:
relative
;
position
:
relative
;
float
:
right
;
&:hover
{
&:hover
{
background
:
#a82c05
;
background
:
#a82c05
;
img
{
img
{
...
...
src/views/Home/index.vue
View file @
856748f7
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
</button>
</button>
</li>
</li>
</ul>
</ul>
<div
class=
"tab-content marginTop1
0
"
>
<div
class=
"tab-content marginTop1
5
"
>
<div
<div
class=
"tab-pane fade show active"
class=
"tab-pane fade show active"
>
>
...
@@ -1794,6 +1794,10 @@ export default {
...
@@ -1794,6 +1794,10 @@ export default {
padding
:
18px
0
;
padding
:
18px
0
;
}
}
.marginTop15
{
margin-top
:
15px
;
}
.marginTop10
{
.marginTop10
{
margin-top
:
10px
;
margin-top
:
10px
;
}
}
...
...
src/views/Knowledge/Statuteinfo.vue
View file @
856748f7
...
@@ -60,9 +60,6 @@ export default {
...
@@ -60,9 +60,6 @@ export default {
@media
screen
and
(
max-width
:
992px
)
{
@media
screen
and
(
max-width
:
992px
)
{
}
}
.showHtml
{
.showHtml
{
p
{
overflow
:
hidden
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/Knowledge/article.vue
View file @
856748f7
...
@@ -70,9 +70,6 @@ export default {
...
@@ -70,9 +70,6 @@ export default {
@media
screen
and
(
max-width
:
992px
)
{
@media
screen
and
(
max-width
:
992px
)
{
}
}
.showHtml
{
.showHtml
{
p
{
overflow
:
hidden
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/News/HealthDetail.vue
View file @
856748f7
...
@@ -46,9 +46,6 @@ export default {
...
@@ -46,9 +46,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.health-detail
{
.health-detail
{
p
{
overflow
:
hidden
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/News/NoticeArticle.vue
View file @
856748f7
...
@@ -73,9 +73,6 @@ export default {
...
@@ -73,9 +73,6 @@ export default {
@media
screen
and
(
max-width
:
992px
)
{
@media
screen
and
(
max-width
:
992px
)
{
}
}
.showHtml
{
.showHtml
{
p
{
overflow
:
hidden
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/News/msg.vue
View file @
856748f7
...
@@ -269,9 +269,6 @@ export default {
...
@@ -269,9 +269,6 @@ export default {
}
}
}
}
.msg-text
{
.msg-text
{
p{
overflow
:
hidden
;
}
img{
img{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/News/msgVideo.vue
View file @
856748f7
...
@@ -268,9 +268,6 @@ export default {
...
@@ -268,9 +268,6 @@ export default {
}
}
}
}
.msg-text
{
.msg-text
{
p
{
overflow
:
hidden
;
}
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
src/views/Search/bike.vue
View file @
856748f7
...
@@ -112,6 +112,9 @@ export default {
...
@@ -112,6 +112,9 @@ export default {
params
.
firmName
=
this
.
search
.
code
params
.
firmName
=
this
.
search
.
code
}
}
this
.
searchCodeShow
=
this
.
search
.
code
;
this
.
searchCodeShow
=
this
.
search
.
code
;
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
}
this
.
showResult
=
true
;
this
.
showResult
=
true
;
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchBike
(
params
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchBike
(
params
);
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
...
...
src/views/Search/external.vue
View file @
856748f7
...
@@ -108,6 +108,9 @@ export default {
...
@@ -108,6 +108,9 @@ export default {
},
},
async
handleSearch
()
{
async
handleSearch
()
{
this
.
searchCodeShow
=
this
.
search
.
code
;
this
.
searchCodeShow
=
this
.
search
.
code
;
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
}
this
.
showResult
=
true
;
this
.
showResult
=
true
;
const
params
=
{
const
params
=
{
"code"
:
this
.
search
.
code
,
"code"
:
this
.
search
.
code
,
...
...
src/views/Search/gln.vue
View file @
856748f7
...
@@ -124,8 +124,19 @@ export default {
...
@@ -124,8 +124,19 @@ export default {
this
.
captchaPath
=
window
.
URL
.
createObjectURL
(
res
.
body
);
this
.
captchaPath
=
window
.
URL
.
createObjectURL
(
res
.
body
);
});
});
},
},
hasSpecialString
(
string
){
const
regName
=
/^
[\u
4e00-
\u
9fa5_a-zA-Z0-9
]
+$/
;
if
(
!
regName
.
test
(
string
)){
this
.
$message
.
error
(
'查询值只能包含中英文字符和数字!'
);
return
true
;
}
return
true
},
async
handleSearch
()
{
async
handleSearch
()
{
this
.
searchCodeShow
=
this
.
search
.
code
;
this
.
searchCodeShow
=
this
.
search
.
code
;
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
}
this
.
showResult
=
true
;
this
.
showResult
=
true
;
const
params
=
{...
this
.
search
};
const
params
=
{...
this
.
search
};
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGln
(
params
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGln
(
params
);
...
...
src/views/Search/glossary.vue
View file @
856748f7
...
@@ -100,6 +100,9 @@ export default {
...
@@ -100,6 +100,9 @@ export default {
captcha
:
this
.
captcha
,
captcha
:
this
.
captcha
,
};
};
this
.
searchCodeShow
=
this
.
search
.
code
;
this
.
searchCodeShow
=
this
.
search
.
code
;
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
}
this
.
showResult
=
true
;
this
.
showResult
=
true
;
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGlossary
(
params
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGlossary
(
params
);
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
...
...
src/views/Search/index.vue
View file @
856748f7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"col-lg-3"
>
<div
class=
"col-lg-3"
>
<SubNav/>
<SubNav/>
</div>
</div>
<div
class=
"col-lg-9"
>
<div
class=
"col-lg-9
gs-search-section
"
>
<router-view></router-view>
<router-view></router-view>
</div>
</div>
</div>
</div>
...
@@ -32,4 +32,21 @@ export default {
...
@@ -32,4 +32,21 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
></
style
>
<
style
lang=
"scss"
>
@media
screen
and
(
max-width
:
992px
)
{
.el-form-item
{
display
:
flex
;
flex-direction
:
column
;
}
.el-form-item
.el-form-item__label
{
width
:
100%
!important
;
}
.el-form-item
.el-form-item__content
{
margin-left
:
0
!important
;
}
}
.gs-search-section
{
}
</
style
>
src/views/Search/internal.vue
View file @
856748f7
...
@@ -387,8 +387,6 @@ export default {
...
@@ -387,8 +387,6 @@ export default {
},
},
async
handleSearchCompany
()
{
async
handleSearchCompany
()
{
this
.
showResult
=
true
;
this
.
resultType
=
'company'
if
(
this
.
company
===
CODE
)
{
if
(
this
.
company
===
CODE
)
{
this
.
searchCodeShow
=
this
.
companySearch
.
code
;
this
.
searchCodeShow
=
this
.
companySearch
.
code
;
}
else
if
(
this
.
company
===
NAME
)
{
}
else
if
(
this
.
company
===
NAME
)
{
...
@@ -396,6 +394,11 @@ export default {
...
@@ -396,6 +394,11 @@ export default {
}
else
{
}
else
{
this
.
searchCodeShow
=
this
.
companySearch
.
address
;
this
.
searchCodeShow
=
this
.
companySearch
.
address
;
}
}
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
}
this
.
showResult
=
true
;
this
.
resultType
=
'company'
const
params
=
{
type
:
this
.
company
,
uuid
:
this
.
uuid
,
code
:
this
.
searchCodeShow
,
captcha
:
this
.
captcha
,};
const
params
=
{
type
:
this
.
company
,
uuid
:
this
.
uuid
,
code
:
this
.
searchCodeShow
,
captcha
:
this
.
captcha
,};
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchInternal
(
params
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchInternal
(
params
);
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
...
@@ -422,6 +425,9 @@ export default {
...
@@ -422,6 +425,9 @@ export default {
if
(
!
this
.
productSearch
.
code
)
{
if
(
!
this
.
productSearch
.
code
)
{
return
this
.
$message
.
error
(
'请输入商品条码'
);
return
this
.
$message
.
error
(
'请输入商品条码'
);
}
}
if
(
this
.
hasSpecialString
(
this
.
productSearch
.
code
)){
return
true
}
this
.
showResult
=
true
;
this
.
showResult
=
true
;
this
.
resultType
=
'product'
;
this
.
resultType
=
'product'
;
const
params
=
{
code
:
this
.
productSearch
.
code
};
const
params
=
{
code
:
this
.
productSearch
.
code
};
...
...
src/views/Search/shortcode.vue
View file @
856748f7
...
@@ -129,8 +129,6 @@ export default {
...
@@ -129,8 +129,6 @@ export default {
},
},
methods
:
{
methods
:
{
async
handleSearchCompany
()
{
async
handleSearchCompany
()
{
this
.
showResult
=
true
;
const
params
=
{
const
params
=
{
shortCode
:
""
,
shortCode
:
""
,
firmName
:
""
,
firmName
:
""
,
...
@@ -140,13 +138,22 @@ export default {
...
@@ -140,13 +138,22 @@ export default {
};
};
if
(
this
.
company
===
CODE
)
{
if
(
this
.
company
===
CODE
)
{
params
.
shortCode
=
this
.
companySearch
.
code
;
params
.
shortCode
=
this
.
companySearch
.
code
;
if
(
this
.
hasSpecialString
(
this
.
companySearch
.
code
)){
return
true
}
}
else
if
(
this
.
company
===
NAME
)
{
}
else
if
(
this
.
company
===
NAME
)
{
params
.
firmName
=
this
.
companySearch
.
name
;
params
.
firmName
=
this
.
companySearch
.
name
;
if
(
this
.
hasSpecialString
(
this
.
companySearch
.
name
)){
return
true
}
}
else
{
}
else
{
params
.
registerAddress
=
this
.
companySearch
.
address
;
params
.
registerAddress
=
this
.
companySearch
.
address
;
if
(
this
.
hasSpecialString
(
this
.
companySearch
.
address
)){
return
true
}
}
}
this
.
showResult
=
true
;
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGetList
(
params
);
const
searchGlnRes
=
await
this
.
$api
.
search
.
searchGetList
(
params
);
console
.
log
(
searchGlnRes
)
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
// this.result = data;
// this.result = data;
...
...
src/views/Search/validation.js
View file @
856748f7
...
@@ -21,5 +21,13 @@ export default {
...
@@ -21,5 +21,13 @@ export default {
this
.
captchaPath
=
window
.
URL
.
createObjectURL
(
res
.
body
);
this
.
captchaPath
=
window
.
URL
.
createObjectURL
(
res
.
body
);
});
});
},
},
hasSpecialString
(
string
){
const
regName
=
/^
[\u
4e00-
\u
9fa5_a-zA-Z0-9
]
+$/
;
if
(
!
regName
.
test
(
string
)){
this
.
$message
.
error
(
'查询值只能包含中英文字符和数字!'
);
return
true
;
}
return
true
}
},
},
}
}
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