Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-user
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-user
Commits
cf908661
提交
cf908661
authored
9月 14, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
f1e0bed8
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
26 行增加
和
34 行删除
+26
-34
Header.vue
src/components/layout/Header.vue
+1
-1
View.vue
src/modules/channel/views/View.vue
+2
-5
Statistics.vue
src/modules/home/components/Statistics.vue
+2
-1
View.vue
src/modules/school/contact/views/View.vue
+2
-5
View.vue
src/modules/school/project/views/View.vue
+1
-2
View.vue
src/modules/school/school/views/View.vue
+2
-5
View.vue
src/modules/user/goose/views/View.vue
+3
-1
View.vue
src/modules/user/peak/views/View.vue
+2
-1
View.vue
src/modules/user/wechat/views/View.vue
+2
-1
View.vue
src/modules/user/zws/views/View.vue
+2
-5
vite.config.ts
vite.config.ts
+7
-7
没有找到文件。
src/components/layout/Header.vue
浏览文件 @
cf908661
...
@@ -39,7 +39,7 @@ const logout = async () => {
...
@@ -39,7 +39,7 @@ const logout = async () => {
<img
:src=
"userInfo.avatar || 'https://webapp-pub.ezijing.com/website/base/images/avatar.svg'"
/>
<img
:src=
"userInfo.avatar || 'https://webapp-pub.ezijing.com/website/base/images/avatar.svg'"
/>
</div>
</div>
<div
class=
"app-header-user-main"
>
<div
class=
"app-header-user-main"
>
<h3>
{{
user
Store
.
name
}}
</h3>
<h3>
{{
user
Info
.
name
}}
</h3>
<p>
{{
userInfo
.
email
||
userInfo
.
mobile
}}
</p>
<p>
{{
userInfo
.
email
||
userInfo
.
mobile
}}
</p>
</div>
</div>
<div
class=
"app-header-user-buttons"
>
<div
class=
"app-header-user-buttons"
>
...
...
src/modules/channel/views/View.vue
浏览文件 @
cf908661
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
getChannelDetail
}
from
'../api'
import
{
getChannelDetail
}
from
'../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
const
props
=
defineProps
<
Props
>
()
interface
Props
{
id
:
string
}
const
channelInfo
:
any
=
ref
({})
const
channelInfo
:
any
=
ref
({})
getChannelDetail
({
id
:
route
.
query
.
id
||
props
.
id
}).
then
(
res
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getChannelDetail
(
params
).
then
(
res
=>
{
channelInfo
.
value
=
res
.
data
channelInfo
.
value
=
res
.
data
})
})
// 列表配置
// 列表配置
...
...
src/modules/home/components/Statistics.vue
浏览文件 @
cf908661
...
@@ -4,10 +4,11 @@ const props = defineProps({
...
@@ -4,10 +4,11 @@ const props = defineProps({
type
:
Array
type
:
Array
}
}
})
})
const
totalListMap
=
toRefs
(
props
.
totalList
)
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"statistics-list"
>
<div
class=
"statistics-list"
>
<div
class=
"item"
v-for=
"(item, index) in
props.totalList
"
:key=
"index"
>
<div
class=
"item"
v-for=
"(item, index) in
totalListMap
"
:key=
"index"
>
<div
class=
"item_desc"
>
<div
class=
"item_desc"
>
<div
class=
"tit"
>
{{
item
.
name
}}
</div>
<div
class=
"tit"
>
{{
item
.
name
}}
</div>
<div
class=
"text"
>
<div
class=
"text"
>
...
...
src/modules/school/contact/views/View.vue
浏览文件 @
cf908661
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
getContactDetail
}
from
'../api'
import
{
getContactDetail
}
from
'../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
interface
Props
{
id
:
string
}
const
props
=
defineProps
<
Props
>
()
const
contactInfo
:
any
=
ref
({})
const
contactInfo
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getContactDetail
(
params
).
then
(
res
=>
{
getContactDetail
(
params
).
then
(
res
=>
{
contactInfo
.
value
=
res
.
data
contactInfo
.
value
=
res
.
data
...
...
src/modules/school/project/views/View.vue
浏览文件 @
cf908661
...
@@ -4,9 +4,8 @@ const route = useRoute()
...
@@ -4,9 +4,8 @@ const route = useRoute()
interface
Props
{
interface
Props
{
id
:
string
id
:
string
}
}
const
props
=
defineProps
<
Props
>
()
const
projectInfo
:
any
=
ref
({})
const
projectInfo
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getProjectDetail
(
params
).
then
(
res
=>
{
getProjectDetail
(
params
).
then
(
res
=>
{
projectInfo
.
value
=
res
.
data
projectInfo
.
value
=
res
.
data
})
})
...
...
src/modules/school/school/views/View.vue
浏览文件 @
cf908661
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
getSchoolDetail
}
from
'../api'
import
{
getSchoolDetail
}
from
'../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
interface
Props
{
id
:
string
}
const
props
=
defineProps
<
Props
>
()
const
schoolDatail
:
any
=
ref
({})
const
schoolDatail
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getSchoolDetail
(
params
).
then
(
res
=>
{
getSchoolDetail
(
params
).
then
(
res
=>
{
schoolDatail
.
value
=
res
.
data
schoolDatail
.
value
=
res
.
data
})
})
...
...
src/modules/user/goose/views/View.vue
浏览文件 @
cf908661
...
@@ -4,7 +4,9 @@ const route = useRoute()
...
@@ -4,7 +4,9 @@ const route = useRoute()
const
router
=
useRouter
()
const
router
=
useRouter
()
const
gooseInfo
:
any
=
ref
({})
const
gooseInfo
:
any
=
ref
({})
getGooseUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getGooseUserDetail
(
params
).
then
(
res
=>
{
gooseInfo
.
value
=
res
.
data
gooseInfo
.
value
=
res
.
data
})
})
</
script
>
</
script
>
...
...
src/modules/user/peak/views/View.vue
浏览文件 @
cf908661
...
@@ -4,7 +4,8 @@ import { getPeakUserDetail } from '../api'
...
@@ -4,7 +4,8 @@ import { getPeakUserDetail } from '../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
const
router
=
useRouter
()
const
router
=
useRouter
()
const
infoList
:
any
=
ref
({})
const
infoList
:
any
=
ref
({})
getPeakUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getPeakUserDetail
(
params
).
then
(
res
=>
{
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
infoList
.
value
=
res
.
data
infoList
.
value
=
res
.
data
})
})
...
...
src/modules/user/wechat/views/View.vue
浏览文件 @
cf908661
...
@@ -5,7 +5,8 @@ const router = useRouter()
...
@@ -5,7 +5,8 @@ const router = useRouter()
const
wechatFollow
:
any
=
ref
([])
const
wechatFollow
:
any
=
ref
([])
const
other_system_customers
:
any
=
ref
({})
const
other_system_customers
:
any
=
ref
({})
getwechatUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getwechatUserDetail
(
params
).
then
(
res
=>
{
const
{
follow
,
other_system_customer
,
...
info
}
=
res
.
data
const
{
follow
,
other_system_customer
,
...
info
}
=
res
.
data
other_system_customers
.
value
=
other_system_customer
other_system_customers
.
value
=
other_system_customer
wechatFollow
.
value
=
res
.
data
.
follow
.
map
((
item
:
any
)
=>
{
wechatFollow
.
value
=
res
.
data
.
follow
.
map
((
item
:
any
)
=>
{
...
...
src/modules/user/zws/views/View.vue
浏览文件 @
cf908661
...
@@ -2,12 +2,9 @@
...
@@ -2,12 +2,9 @@
import
{
getZwsUserDetail
}
from
'../api'
import
{
getZwsUserDetail
}
from
'../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
const
router
=
useRouter
()
const
router
=
useRouter
()
interface
Props
{
id
:
string
}
const
props
=
defineProps
<
Props
>
()
const
zwsInfo
:
any
=
ref
({})
const
zwsInfo
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getZwsUserDetail
(
params
).
then
(
res
=>
{
getZwsUserDetail
(
params
).
then
(
res
=>
{
zwsInfo
.
value
=
res
.
data
zwsInfo
.
value
=
res
.
data
console
.
log
(
res
)
console
.
log
(
res
)
...
...
vite.config.ts
浏览文件 @
cf908661
...
@@ -24,13 +24,13 @@ export default defineConfig(({ mode }) => ({
...
@@ -24,13 +24,13 @@ export default defineConfig(({ mode }) => ({
cert
:
fs
.
readFileSync
(
path
.
join
(
__dirname
,
'./https/dev.ezijing.com.pem'
))
cert
:
fs
.
readFileSync
(
path
.
join
(
__dirname
,
'./https/dev.ezijing.com.pem'
))
},
},
proxy
:
{
proxy
:
{
'/api/users'
:
{
//
'/api/users': {
// target: 'http://localhost-customer-system-backend.ezijing.com',
//
// target: 'http://localhost-customer-system-backend.ezijing.com',
target
:
'https://customer-backend-api.ezijing.com'
,
//
target: 'https://customer-backend-api.ezijing.com',
rewrite
:
path
=>
path
.
replace
(
/^
\/
api
\/
users/
,
''
),
//
rewrite: path => path.replace(/^\/api\/users/, ''),
changeOrigin
:
true
//
changeOrigin: true
},
//
},
'/api'
:
'https://
resource-center
.ezijing.com'
'/api'
:
'https://
customer-backend-api
.ezijing.com'
}
}
},
},
resolve
:
{
resolve
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论