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 c9b7d4d5
authored
Apr 16, 2025
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
话术确认
1 parent
e99a5b35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
packageEquity/pages/extract/confirm/confirm.js
packageEquity/pages/extract/confirm/confirm.js
View file @
c9b7d4d
...
@@ -80,6 +80,21 @@ Page({
...
@@ -80,6 +80,21 @@ Page({
this
.
extractClass
(
item
)
this
.
extractClass
(
item
)
})
})
},
},
setTags
(
classCode
)
{
const
{
detail
}
=
this
.
data
aiApi
.
extractLabel
({
classCode
}).
then
(
res
=>
{
const
{
labelCode
:
code
}
=
res
.
data
[
0
]
||
{}
detail
.
labelCode
=
code
this
.
setData
({
detail
,
tags
:
res
.
data
})
})
},
extractLabel
(
list
,
item
)
{
extractLabel
(
list
,
item
)
{
const
{
classCode
}
=
item
const
{
classCode
}
=
item
aiApi
.
extractLabel
({
aiApi
.
extractLabel
({
...
@@ -134,6 +149,7 @@ Page({
...
@@ -134,6 +149,7 @@ Page({
classIndex
:
index
,
classIndex
:
index
,
detail
detail
})
})
this
.
setTags
(
detail
.
classCode
)
},
},
toggleClass
()
{
toggleClass
()
{
this
.
setData
({
this
.
setData
({
...
...
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