Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f0864f3a
authored
Apr 15, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
带教任务新增创建时间字段
1 parent
625bc9cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
tabWorkOrder/pages/mentorshipManage/constantData.js
tabWorkOrder/pages/mentorshipManage/mentorshipManage.js
tabWorkOrder/pages/mentorshipManage/constantData.js
View file @
f0864f3
...
...
@@ -71,6 +71,12 @@ export const mentorshipFormData = [
disabled
:
true
},
{
label
:
'创建时间'
,
name
:
'createdDate'
,
labelName
:
'createdDateStr'
,
disabled
:
true
},
{
label
:
'支援方式'
,
name
:
'supportWay'
,
labelName
:
'supportWayTxt'
,
...
...
tabWorkOrder/pages/mentorshipManage/mentorshipManage.js
View file @
f0864f3
...
...
@@ -118,8 +118,7 @@ convertNumbersToChinese(num) {
search
()
{
this
.
setData
({
nothing
:
false
,
currentPage
:
1
,
currentPage
:
1
})
this
.
getList
()
},
...
...
@@ -141,6 +140,7 @@ convertNumbersToChinese(num) {
let
{
list
,
pages
}
=
res
.
data
const
getIndex
=
(
list
,
confId
)
=>
list
?.
findIndex
(
v
=>
confId
==
v
.
confId
)
>
-
1
?
list
?.
findIndex
(
v
=>
confId
==
v
.
confId
)
:
0
list
?.
forEach
(
item
=>
{
item
.
createdDateStr
=
wx
.
$util
.
tsFormatTime
(
item
.
createdDate
,
'Y-M-D h:m:s'
)
item
.
supportWayTxt
=
getConfName
(
supportWayList
,
item
.
supportWay
)
// 支援方式
item
.
storeTypeTxt
=
getConfName
(
storeTypeList
,
item
.
storeType
)
// 门店类型
item
.
businessTypeTxt
=
getConfName
(
businessTypeList
,
item
.
businessType
)
// 业务类型
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment