Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 012aa771
authored
Apr 03, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
d3084055
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
src/views/clientManage/index.vue
src/views/clientManage/index.vue
View file @
012aa77
...
@@ -658,13 +658,15 @@ export default {
...
@@ -658,13 +658,15 @@ export default {
// 提取出客户名称,命名为customerName;
// 提取出客户名称,命名为customerName;
//提取出车架号,命名为carVin;
//提取出车架号,命名为carVin;
//提取出联系电话(手机号),命名为customerPhone,不用补全;
//提取出联系电话(手机号),命名为customerPhone,不用补全;
// 提取出开始时间,命名为beginDate,格式为:yyyy-MM-dd,例如:2022-11-12,只有以上文字包含"购车"或者"时间"才提取,不然取值'';
//提取出结束时间,命名为endDate,格式为:yyyy-MM-dd,例如:2022-11-12,只有以上文字包含"购车"或者"时间"才提取,不然取值'';
if
(
this
.
orderform
.
order
==
''
)
{
if
(
this
.
orderform
.
order
==
''
)
{
this
.
orderform
.
order
=
this
.
placeholder
this
.
orderform
.
order
=
this
.
placeholder
}
}
Object
.
assign
(
this
.
keys
,
{
subject
:
''
,
festival
:
''
})
Object
.
assign
(
this
.
keys
,
{
subject
:
''
,
festival
:
''
})
const
order
=
this
.
orderform
.
order
const
order
=
this
.
orderform
.
order
// const content = '帮我查询从2023-3-29日至2023-04-05日期间西安飞广州或者深圳的机票,从上面一句话中提取出发日期,命名为date,出发地,命名为start,目的地,命名为end,输出json格式。'
// const content = '帮我查询从2023-3-29日至2023-04-05日期间西安飞广州或者深圳的机票,从上面一句话中提取出发日期,命名为date,出发地,命名为start,目的地,命名为end,输出json格式。'
const
content
=
`
${
order
}
,今年是2023
年
,针对上面这段文字,
const
content
=
`
${
order
}
,今年是2023,针对上面这段文字,
提取出营销文案关键字,命名为subject;
提取出营销文案关键字,命名为subject;
提取出节日,命名为festival,如果是数字,转化成大写,例如:五一节;
提取出节日,命名为festival,如果是数字,转化成大写,例如:五一节;
提取出车主归属地或者车牌号,命名为carNumber,如广东的车主,则取值为"粤";
提取出车主归属地或者车牌号,命名为carNumber,如广东的车主,则取值为"粤";
...
@@ -680,15 +682,17 @@ export default {
...
@@ -680,15 +682,17 @@ export default {
this
.
$message
.
error
(
'生成查询异常,请重试!'
)
this
.
$message
.
error
(
'生成查询异常,请重试!'
)
return
return
}
}
const
{
subject
,
festival
,
...
others
}
=
data
const
{
subject
,
festival
,
beginDate
,
endDate
,
...
others
}
=
data
this
.
keys
=
{
subject
,
festival
}
this
.
keys
=
{
subject
,
festival
}
//searchForm
//searchForm
this
.
searchForm
=
{
...
others
,
customerSex
:
data
.
customerSex
==
0
||
data
.
customerSex
==
null
?
null
:
Number
(
data
.
customerSex
)
}
this
.
searchForm
=
{
...
others
,
customerSex
:
data
.
customerSex
==
0
||
data
.
customerSex
==
null
?
null
:
Number
(
data
.
customerSex
)
}
// if (beginDate && endDate) {
// this.searchForm.purchaseCar = [beginDate, endDate]
// }
// 设置 searchForm
// 设置 searchForm
this
.
searchTable
()
this
.
searchTable
()
// this.gptRequest = false
// list
}
else
{
}
else
{
this
.
gptRequest
=
false
this
.
$message
.
error
(
message
||
'生成查询异常,请重试!'
)
this
.
$message
.
error
(
message
||
'生成查询异常,请重试!'
)
}
}
},
},
...
@@ -696,6 +700,7 @@ export default {
...
@@ -696,6 +700,7 @@ export default {
async
handleResetOrder
()
{
async
handleResetOrder
()
{
this
.
orderform
.
result
=
''
this
.
orderform
.
result
=
''
this
.
gptRequest
=
false
this
.
gptRequest
=
false
this
.
disabled
=
false
await
this
.
resetTable
()
await
this
.
resetTable
()
},
},
...
...
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