Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
supervise-wecom
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 49161443
authored
May 27, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chron: 項目加入基礎配置
1 parent
f42c29de
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
14 deletions
jsconfig.json
src/components/dateSearch/dateSearch.vue
src/views/teamWork/teamWork/teamList.vue
vue.config.js
jsconfig.json
0 → 100644
View file @
4916144
{
"compilerOptions"
:
{
"target"
:
"ES2020"
,
//
"jsx"
:
"react-jsx"
,
//
"lib"
:
[
"ES2020"
,
"DOM"
,
"DOM.Iterable"
],
"lib"
:
[
"ES2020"
],
"useDefineForClassFields"
:
true
,
/*
Paths
*/
"baseUrl"
:
"."
,
"module"
:
"ESNext"
,
/*
Bundler
mode
*/
//
按
Node
规则解析模块
"moduleResolution"
:
"node"
,
"paths"
:
{
"@/*"
:
[
"src/*"
]
},
"resolveJsonModule"
:
true
,
"allowImportingTsExtensions"
:
false
,
"allowJs"
:
true
,
"checkJs"
:
false
,
"noEmit"
:
true
,
"allowSyntheticDefaultImports"
:
true
,
"esModuleInterop"
:
true
,
"isolatedModules"
:
true
,
"skipLibCheck"
:
true
},
"include"
:
[
"src/**/*"
,
"src/**/*.js"
,
"src/**/*.vue"
],
"exclude"
:
[
"node_modules"
,
"dist"
,
".git"
]
}
src/components/dateSearch/dateSearch.vue
View file @
4916144
...
@@ -49,11 +49,11 @@
...
@@ -49,11 +49,11 @@
<!-- 周 -->
<!-- 周 -->
<van-picker
v-if=
"timeType === 'week'"
<van-picker
v-if=
"timeType === 'week'"
ref=
"weekPicker"
ref=
"weekPicker"
value-key=
"label"
show-toolbar
:columns=
"weekColumns"
:columns=
"weekColumns"
:default-index=
"defaultIndex"
:default-index=
"defaultIndex"
show-toolbar
:title=
"titleEnum[timeType]"
:title=
"titleEnum[timeType]"
value-key=
"label"
@
cancel=
"cancel"
@
cancel=
"cancel"
@
change=
"onWeekChange"
@
change=
"onWeekChange"
@
confirm=
"onWeekConfirm"
/>
@
confirm=
"onWeekConfirm"
/>
...
@@ -63,10 +63,10 @@
...
@@ -63,10 +63,10 @@
<van-calendar
ref=
"calendar"
<van-calendar
ref=
"calendar"
v-model=
"show"
v-model=
"show"
color=
"#2C66F7"
color=
"#2C66F7"
type=
"range"
:max-date=
"maxDateObj"
:max-date=
"maxDateObj"
:max-range=
"31"
:max-range=
"31"
:min-date=
"minDateObj"
:min-date=
"minDateObj"
type=
"range"
@
close=
"onClose"
@
close=
"onClose"
@
confirm=
"onConfirm"
/>
@
confirm=
"onConfirm"
/>
</div>
</div>
...
...
src/views/teamWork/teamWork/teamList.vue
View file @
4916144
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
<van-list
v-if=
"list.length"
<van-list
v-if=
"list.length"
v-model=
"loading"
v-model=
"loading"
class=
"list"
class=
"list"
:finished=
"finished"
finished-text=
"到底了~"
finished-text=
"到底了~"
:finished=
"finished"
@
load=
"onLoadMore"
>
@
load=
"onLoadMore"
>
<template
v-if=
"list.length > 0"
>
<template
v-if=
"list.length > 0"
>
<div
v-for=
"(item, index) in list"
<div
v-for=
"(item, index) in list"
...
@@ -104,8 +104,8 @@
...
@@ -104,8 +104,8 @@
</van-list>
</van-list>
<van-empty
v-if=
"list.length === 0 && !loading && !refreshing"
<van-empty
v-if=
"list.length === 0 && !loading && !refreshing"
description=
"暂无数据"
description=
"暂无数据"
:image=
"`${IMG_URL}icon-empty.png`
"
image-size=
"100
"
image-size=
"100
"
/>
:image=
"`${IMG_URL}icon-empty.png`
"
/>
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
</div>
</div>
...
...
vue.config.js
View file @
4916144
...
@@ -124,14 +124,7 @@ module.exports = {
...
@@ -124,14 +124,7 @@ module.exports = {
// 别名 alias
// 别名 alias
config
.
resolve
.
alias
config
.
resolve
.
alias
.
set
(
"@"
,
resolve
(
"src"
))
.
set
(
"@"
,
resolve
(
"src"
));
.
set
(
"assets"
,
resolve
(
"src/assets"
))
.
set
(
"api"
,
resolve
(
"src/api"
))
.
set
(
"views"
,
resolve
(
"src/views"
))
.
set
(
"components"
,
resolve
(
"src/components"
))
.
set
(
"plugins"
,
resolve
(
"src/components"
))
.
set
(
"utils"
,
resolve
(
"src/utils"
));
/**
/**
* 设置保留空格
* 设置保留空格
*/
*/
...
...
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