Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
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 75d0aaf4
authored
Jun 13, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
ef6e4f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
src/views/home/ai/detail.vue
src/views/home/ai/detail.vue
View file @
75d0aaf
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-06-02 14:10:14
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-06-13 17:
16:07
* @LastEditTime: 2023-06-13 17:
58:44
* @FilePath: \scrm-micro-home\src\views\home\ai\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -41,7 +41,7 @@
<div
class=
"form-name"
>
导出表格
</div>
<el-button
type=
"primary"
size=
"small"
@
click=
"importUrl"
>
导出
</el-button>
</div>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:noDataImg=
"url"
ref=
"taskForm"
:getListApi=
"getListApi"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
></GLTable>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm
Tabel
"
:noDataImg=
"url"
ref=
"taskForm"
:getListApi=
"getListApi"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
></GLTable>
</div>
</div>
</template>
...
...
@@ -231,6 +231,7 @@ export default {
},
detail
:
{},
searchForm
:
{},
searchFormTabel
:
{},
// 搜索
searchFormData
:
[
{
...
...
@@ -307,10 +308,11 @@ export default {
},
handleReset
()
{
this
.
searchForm
=
{}
this
.
searchFormTabel
=
{}
this
.
$refs
.
taskForm
.
refreshTable
()
},
importUrl
()
{
this
.
$apis
.
aiCall
.
conditionExpost
({
...
this
.
searchForm
}).
then
(
res
=>
{
this
.
$apis
.
aiCall
.
conditionExpost
({
...
this
.
getParams
()
}).
then
(
res
=>
{
util
.
openUrl
(
res
)
})
},
...
...
@@ -321,9 +323,20 @@ export default {
this
.
notConnectPhoneStatusList
=
(
notConnectPhoneStatusList
.
length
&&
notConnectPhoneStatusList
)
||
this
.
statusItem
})
},
getParams
()
{
const
params
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
)
params
.
taskId
=
this
.
$route
.
query
.
id
if
(
params
.
answer
&&
params
.
answer
.
includes
(
'endType'
))
{
params
.
answer
=
params
.
answer
.
filter
(
item
=>
item
!=
'endType'
)
params
.
endType
=
1
}
else
{
params
.
endType
=
null
}
return
params
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
searchForm
.
taskId
=
this
.
$route
.
query
.
id
this
.
searchForm
Tabel
=
this
.
getParams
()
resolve
()
})
}
...
...
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