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 eaf35745
authored
Aug 15, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
监听
1 parent
91a68f45
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
6 deletions
package-lock.json
package.json
src/main.js
src/setup/qiankun.js
src/views/home/aiCall.vue
package-lock.json
View file @
eaf3574
This diff could not be displayed because it is too large.
package.json
View file @
eaf3574
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@toast-ui/calendar"
:
"^2.1.3"
,
"@toast-ui/calendar"
:
"^2.1.3"
,
"@websee/core"
:
"^4.0.2"
,
"@websee/performance"
:
"^4.0.2"
,
"@websee/recordscreen"
:
"^4.0.2"
,
"axios"
:
"^0.21.1"
,
"axios"
:
"^0.21.1"
,
"babel-polyfill"
:
"^6.26.0"
,
"babel-polyfill"
:
"^6.26.0"
,
"core-js"
:
"^3.4.4"
,
"core-js"
:
"^3.4.4"
,
...
...
src/main.js
View file @
eaf3574
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @Date: 2021-08-13 14:12:11
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
5-20 10:49:23
* @LastEditTime: 2023-0
8-15 10:25:05
* @FilePath: \scrm\scrm-sub-blog\src\main.js
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
...
src/setup/qiankun.js
View file @
eaf3574
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-07-22 18:15:13
* @Date: 2022-07-22 18:15:13
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
7-13 12:04
:30
* @LastEditTime: 2023-0
8-15 10:25
:30
* @FilePath: \scrm-micro-home\src\setup\qiankun.js
* @FilePath: \scrm-micro-home\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -10,6 +10,9 @@ import Vue from 'vue'
...
@@ -10,6 +10,9 @@ import Vue from 'vue'
// import { message } from '@/plugins/element.js'
// import { message } from '@/plugins/element.js'
import
{
fetchConfig
}
from
'@/config'
import
{
fetchConfig
}
from
'@/config'
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
import
webSee
from
'@websee/core'
import
performance
from
'@websee/performance'
import
recordscreen
from
'@websee/recordscreen'
import
{
GLButton
,
GLTable
,
GLFull
,
GLDialog
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
GLButton
,
GLTable
,
GLFull
,
GLDialog
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
getRoutes
}
from
'@/router'
import
{
getRoutes
}
from
'@/router'
import
GLEditor
from
'glsx-components/src/packages/Editor'
import
GLEditor
from
'glsx-components/src/packages/Editor'
...
@@ -19,6 +22,29 @@ Vue.use(GLTable)
...
@@ -19,6 +22,29 @@ Vue.use(GLTable)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLFull
)
Vue
.
use
(
GLFull
)
Vue
.
use
(
GLDialog
)
Vue
.
use
(
GLDialog
)
Vue
.
use
(
webSee
,
{
dsn
:
'http://localhost:8083/reportData'
,
// 上报的地址
apikey
:
'project_home'
,
// 项目唯一的id
userId
:
'897578'
,
// 用户id
repeatCodeError
:
true
,
// 开启错误上报去重,重复的代码错误只上报一次
silentWhiteScreen
:
true
,
// 开启白屏检测
skeletonProject
:
true
,
// 项目是否有骨架屏
handleHttpStatus
(
data
)
{
// 自定义hook, 根据接口返回的 response 判断请求是否正确
let
{
url
,
response
}
=
data
let
{
code
}
=
typeof
response
===
'string'
?
JSON
.
parse
(
response
)
:
response
if
(
url
.
includes
(
'/getErrorList'
))
{
return
code
===
200
?
true
:
false
}
else
{
return
true
}
}
})
// 注册性能检测插件
webSee
.
use
(
performance
)
// 注册页面录屏插件,设置单次录屏时长为20s,默认是10s
webSee
.
use
(
recordscreen
,
{
recordScreentime
:
20
})
// import GLTable from '@/components/glsx-table/index'
// import GLTable from '@/components/glsx-table/index'
// Vue.component('GLTable', GLTable)
// Vue.component('GLTable', GLTable)
// import 'glsx-components/src/theme/theme.scss'
// import 'glsx-components/src/theme/theme.scss'
...
...
src/views/home/aiCall.vue
View file @
eaf3574
...
@@ -187,10 +187,12 @@ export default {
...
@@ -187,10 +187,12 @@ export default {
this
.
$router
.
push
(
'/home/ai/detail?id='
+
scope
.
id
)
this
.
$router
.
push
(
'/home/ai/detail?id='
+
scope
.
id
)
},
},
handleAdd
(
scope
)
{
handleAdd
(
scope
)
{
this
.
isEdit
=
!!
scope
const
a
=
null
console
.
log
(
this
.
isEdit
)
console
.
log
(
a
.
length
)
this
.
editTaskId
=
scope
&&
scope
.
id
// this.isEdit = !!scope
this
.
dialogVisibleTask
=
true
// console.log(this.isEdit)
// this.editTaskId = scope && scope.id
// this.dialogVisibleTask = true
},
},
dialogClose
()
{
dialogClose
()
{
this
.
dialogVisibleTask
=
false
this
.
dialogVisibleTask
=
false
...
...
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