Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
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
1
Merge Requests
1
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
qinjianhui
factory_front
Commits
bd91fcbb
Commit
bd91fcbb
authored
Mar 08, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打板下载
parent
824401ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
10 deletions
+74
-10
src/components/CardWrapper.vue
+2
-0
src/types/api/typesetting.ts
+1
-0
src/views/typesetting/TypesettingManagement.vue
+71
-10
No files found.
src/components/CardWrapper.vue
View file @
bd91fcbb
...
...
@@ -148,6 +148,8 @@ const copy = (text: string) => {
position
:
absolute
;
bottom
:
5px
;
right
:
5px
;
display
:
flex
;
align-items
:
center
;
:deep(.svg-icon)
{
width
:
2em
;
height
:
2em
;
...
...
src/types/api/typesetting.ts
View file @
bd91fcbb
...
...
@@ -31,6 +31,7 @@ export interface TypesettingListData {
createTime
?:
string
updateTime
?:
string
assignmentTime
?:
string
paperFile
?:
string
|
null
}
export
interface
SearchForm
{
...
...
src/views/typesetting/TypesettingManagement.vue
View file @
bd91fcbb
...
...
@@ -99,6 +99,29 @@
<
title
>
操作日志
<
/title
>
<
/template
>
<
/Icon
>
<
span
v
-
if
=
"treeId === '201' && cardItem.paperFile"
class
=
"download-icon"
title
=
"点击下载"
@
click
.
stop
=
"downloadFile(cardItem)"
>
<
svg
t
=
"1741336618712"
class
=
"icon"
viewBox
=
"0 0 1024 1024"
version
=
"1.1"
xmlns
=
"http://www.w3.org/2000/svg"
p
-
id
=
"3070"
width
=
"22"
height
=
"22"
>
<
path
d
=
"M821.76 374.72a43.328 43.328 0 0 0-30.976 13.504l-256.64 261.12c-11.072 11.264-33.28 11.264-44.288 0l-256.64-261.12a42.24 42.24 0 0 0-61.952 0 44.032 44.032 0 0 0 0 63.04l256.64 261.056c22.144 22.464 53.12 35.968 84.096 35.968 33.28 0 61.952-13.44 86.272-35.968l256.704-261.12a44.032 44.032 0 0 0 0-62.976c-11.072-8.96-22.08-13.504-33.216-13.504zM512 73.152a44.8 44.8 0 0 0-44.288 44.992v585.152a44.8 44.8 0 0 0 44.288 44.992 44.8 44.8 0 0 0 44.288-44.992V118.144A44.8 44.8 0 0 0 512 73.152z m331.904 787.648H180.096a44.8 44.8 0 0 0-44.288 45.056 44.8 44.8 0 0 0 44.288 44.992h663.808a44.8 44.8 0 0 0 44.288-44.992 44.8 44.8 0 0 0-44.288-45.056z"
fill
=
"#ffffff"
p
-
id
=
"3071"
><
/path
>
<
/svg
>
<
/span
>
<
Icon
name
=
"chakanxiangqing"
@
click
.
stop
=
"submitReview(cardItem, true)"
...
...
@@ -117,9 +140,7 @@
<
/template
>
<
/Icon
>
<
Icon
v
-
if
=
"
treeId === '301' || treeId === '401'
"
v
-
if
=
"treeId === '301' || treeId === '401'"
name
=
"shenhe2"
@
click
.
stop
=
"submitReview(cardItem)"
>
...
...
@@ -203,7 +224,7 @@
<
ElDialog
v
-
model
=
"logVisible"
title
=
"操作日志"
width
=
"
6
00px"
width
=
"
7
00px"
:
close
-
on
-
click
-
modal
=
"false"
>
<
template
#
default
>
...
...
@@ -212,7 +233,14 @@
style
=
"color: #333; height: 400px; overflow: auto"
>
<
div
v
-
for
=
"(item, index) in logList"
:
key
=
"index"
class
=
"log-item"
>
{{
item
.
createdTime
+
' '
+
item
.
description
}}
<
div
class
=
"icon-left"
>
<
Icon
name
=
"a-2labadianji3x"
/>
<
span
class
=
"time"
>
{{
item
.
createdTime
}}
<
/spa
n
>&
emsp
;
<
/div
>
<
span
class
=
"description"
:
title
=
"item.description"
>
{{
item
.
description
}}
<
/span
>
<
/div
>
<
/div
>
<
/template
>
...
...
@@ -250,6 +278,11 @@ const [searchForm] = useValue<SearchForm>({
currentPage
:
1
,
sku
:
''
,
}
)
const
downloadFile
=
(
item
:
TypesettingListData
)
=>
{
if
(
item
.
paperFile
)
{
window
.
open
(
item
.
paperFile
)
}
}
const
getStatusList
=
async
()
=>
{
try
{
const
res
=
await
getStatusListApi
()
...
...
@@ -257,7 +290,6 @@ const getStatusList = async () => {
treeData
.
value
[
0
].
children
=
res
.
data
.
slice
(
1
)
nextTick
(()
=>
{
treeRef
.
value
.
setCurrentKey
(
treeId
.
value
,
true
)
}
)
}
catch
(
e
)
{
console
.
error
(
e
)
...
...
@@ -330,8 +362,8 @@ const submitReview = async (data: TypesettingListData, isDetail = false) => {
detailable
.
value
=
isDetail
try
{
submitReviewModelRef
.
value
?.
getExamineInfo
(
data
)
if
(
data
.
state
===
'601'
||
data
.
state
===
'701'
||
data
.
state
===
'901'
)
{
submitReviewModelRef
.
value
?.
getPriceDetail
(
data
)
if
(
data
.
state
===
'601'
||
data
.
state
===
'701'
||
data
.
state
===
'901'
)
{
submitReviewModelRef
.
value
?.
getPriceDetail
(
data
)
}
const
res
=
await
getTypesettingDetail
(
data
.
id
)
row
.
value
=
res
.
data
...
...
@@ -440,6 +472,15 @@ const reject = async () => {
background
-
color
:
#
eee
;
overflow
:
hidden
;
cursor
:
pointer
;
.
download
-
icon
{
display
:
inline
-
block
;
line
-
height
:
32
px
;
background
:
#
554598
;
width
:
32
px
;
height
:
32
px
;
border
-
radius
:
10
px
;
margin
-
left
:
5
px
;
}
}
.
price
{
...
...
@@ -454,8 +495,28 @@ const reject = async () => {
color
:
#
777
;
}
.
log
-
item
{
height
:
30
px
;
line
-
height
:
30
px
;
width
:
560
px
;
display
:
flex
;
align
-
items
:
center
;
.
icon
-
left
{
width
:
172
px
;
display
:
flex
;
align
-
items
:
center
;
margin
-
right
:
20
px
;
white
-
space
:
nowrap
;
}
.
time
{
// width: 150px;
white
-
space
:
nowrap
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
}
.
description
{
display
:
inline
-
block
;
flex
:
1
;
word
-
wrap
:
break
-
word
;
cursor
:
pointer
;
}
}
.
svg
-
icon
{
...
...
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