Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
4c3d683f
Commit
4c3d683f
authored
Jul 11, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最后操作时间
parent
8268a227
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ruoyi.js
src/utils/ruoyi.js
+1
-1
special.vue
src/views/ecw/offer/special.vue
+4
-2
No files found.
src/utils/ruoyi.js
View file @
4c3d683f
...
...
@@ -11,7 +11,7 @@ const baseURL = process.env.VUE_APP_BASE_API
* @param pattern {String} '{y}-{m}-{d} {h}:{i}:{s}'
* @returns {string|null}
*/
export
function
parseTime
(
time
,
pattern
)
{
export
function
parseTime
(
time
,
pattern
=
undefined
)
{
if
(
arguments
.
length
===
0
||
!
time
)
{
return
null
}
...
...
src/views/ecw/offer/special.vue
View file @
4c3d683f
...
...
@@ -34,9 +34,9 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
prop=
"updateTime"
:formatter=
"(_, __, v) => parseTime(v)"
label=
"最后操作时间"
>
<!-- todo -->
</el-table-column>
<el-table-column
label=
"原价"
>
...
...
@@ -96,6 +96,7 @@ import {getOffer} from '@/api/ecw/offer'
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
name
:
"
OfferSpecial
"
,
components
:
{
...
...
@@ -105,6 +106,7 @@ export default {
},
data
()
{
return
{
parseTime
,
DICT_TYPE
,
getDictDataLabel
,
// 遮罩层
...
...
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