Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuzhequan
electron-printer
Commits
a8b467a5
Commit
a8b467a5
authored
Jun 17, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加coutryCode字段
parent
f89489d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
src/views/design/head/index.vue
+6
-0
src/views/design/index.vue
+4
-0
src/views/design/main/index.vue
+1
-2
No files found.
src/views/design/head/index.vue
View file @
a8b467a5
...
@@ -845,6 +845,12 @@ export default {
...
@@ -845,6 +845,12 @@ export default {
</el-button>
</el-button>
</div>
</div>
<div
class=
"right-user"
>
<div
class=
"right-user"
>
<div
v-if=
"user && user.factory"
style=
"font-weight: 700;margin-left: 8px;"
>
{{
user
.
factory
.
countryCode
||
"CN"
}}
</div>
<p
v-if=
"user && user.factory"
>
{{
user
.
factory
.
title
}}
</p>
<p
v-if=
"user && user.factory"
>
{{
user
.
factory
.
title
}}
</p>
<el-dropdown
@
command=
"dropdownCommand"
>
<el-dropdown
@
command=
"dropdownCommand"
>
<div
style=
"margin-right: 20px"
>
<div
style=
"margin-right: 20px"
>
...
...
src/views/design/index.vue
View file @
a8b467a5
...
@@ -14,6 +14,10 @@ export default {
...
@@ -14,6 +14,10 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
user
=
this
.
$dataStore
.
get
(
"user"
);
this
.
user
=
this
.
$dataStore
.
get
(
"user"
);
if
(
this
.
user
.
factory
&&
this
.
user
.
factory
.
countryCode
)
{
this
.
factoryType
=
this
.
user
.
factory
.
countryCode
;
}
console
.
log
(
17
,
this
.
user
);
this
.
$refs
.
updateDialog
.
checkUpdate
().
then
((
data
)
=>
{
this
.
$refs
.
updateDialog
.
checkUpdate
().
then
((
data
)
=>
{
console
.
log
(
17
,
data
);
console
.
log
(
17
,
data
);
...
...
src/views/design/main/index.vue
View file @
a8b467a5
...
@@ -1113,12 +1113,11 @@ export default {
...
@@ -1113,12 +1113,11 @@ export default {
v-for=
"(img, i) in selectImgList"
v-for=
"(img, i) in selectImgList"
:key=
"i"
:key=
"i"
class=
"img-item showImg"
class=
"img-item showImg"
style=
"max-width: 50%;"
@
click
.
stop
.
prevent=
"selectImg(img, i)"
@
click
.
stop
.
prevent=
"selectImg(img, i)"
>
>
<img
<img
:key=
"i"
:key=
"i"
style=
"width: auto;height: 190px;"
style=
"width: auto;height: 190px;
max-width: 200px;
"
:src=
"img.productionFile"
:src=
"img.productionFile"
/>
/>
<!--
<span>
{{
img
.
designId
}}
</span>
-->
<!--
<span>
{{
img
.
designId
}}
</span>
-->
...
...
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