Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
教
教师下企业考勤(前端)
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
教师下企业考勤(前端)
提交
e094845b
提交
e094845b
编写于
3月 08, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v20240308 保存
上级
8a90dbe0
流水线
#24495
已通过 ,包含阶段
in 34 second
变更
18
流水线
1
展开全部
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
63 行增加
和
13 行删除
+63
-13
chunk-583cfe78.1fe009d8.css
dist/css/chunk-583cfe78.1fe009d8.css
+0
-0
index.html
dist/index.html
+1
-1
app.896295c0.js
dist/js/app.896295c0.js
+2
-2
chunk-583cfe78.f0e8a882.js
dist/js/chunk-583cfe78.f0e8a882.js
+1
-1
chunk-vendors.b3dfef74.js
dist/js/chunk-vendors.b3dfef74.js
+2
-2
postApiEnterpriseclockGetEnterpriseclockFileExport.d.ts
...k/postApiEnterpriseclockGetEnterpriseclockFileExport.d.ts
+11
-3
postApiEnterpriseclockGetEnterpriseclockFileExport.js
...ock/postApiEnterpriseclockGetEnterpriseclockFileExport.js
+10
-2
DataViewModel.d.ts
src/api/interface/apiTypes/DataViewModel.d.ts
+4
-0
DataViewModel.js
src/api/interface/apiTypes/DataViewModel.js
+1
-0
DataViewModelMessageModel.d.ts
src/api/interface/apiTypes/DataViewModelMessageModel.d.ts
+8
-0
DataViewModelMessageModel.js
src/api/interface/apiTypes/DataViewModelMessageModel.js
+1
-0
ExportRequests.d.ts
src/api/interface/apiTypes/ExportRequests.d.ts
+12
-0
ExportRequests.js
src/api/interface/apiTypes/ExportRequests.js
+1
-0
index.d.ts
src/api/interface/index.d.ts
+3
-0
index.js
src/api/interface/index.js
+3
-0
index.js
src/api/xxcj/index.js
+1
-1
index.vue
src/pages/activityManagement/index.vue
+1
-0
index.js
src/plugins/request/index.js
+1
-1
未找到文件。
dist/css/chunk-
18665222
.1fe009d8.css
→
dist/css/chunk-
583cfe78
.1fe009d8.css
浏览文件 @
e094845b
文件已移动
dist/index.html
浏览文件 @
e094845b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
教师下企业
</title><link
href=
css/chunk-vendors.0122f5db.css
rel=
stylesheet
><link
href=
css/app.dd21080a.css
rel=
stylesheet
></head><body><noscript><strong>
请开启 JavaScript 功能来使用 教师下企业。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.f144d0e0.js
></script><script
src=
js/app.f9cadc21.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"
><link
rel=
"shortcut icon"
href=
favicon.ico
><title>
教师下企业
</title><link
href=
css/chunk-vendors.0122f5db.css
rel=
stylesheet
><link
href=
css/app.dd21080a.css
rel=
stylesheet
></head><body><noscript><strong>
请开启 JavaScript 功能来使用 教师下企业。
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.b3dfef74.js
></script><script
src=
js/app.896295c0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
f9cadc21
.js
→
dist/js/app.
896295c0
.js
浏览文件 @
e094845b
此差异已折叠。
点击以展开。
dist/js/chunk-
18665222.2ef59d9c
.js
→
dist/js/chunk-
583cfe78.f0e8a882
.js
浏览文件 @
e094845b
此差异已折叠。
点击以展开。
dist/js/chunk-vendors.
f144d0e0
.js
→
dist/js/chunk-vendors.
b3dfef74
.js
浏览文件 @
e094845b
此差异已折叠。
点击以展开。
src/api/controller/Enterpriseclock/postApiEnterpriseclockGetEnterpriseclockFileExport.d.ts
浏览文件 @
e094845b
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
import
{
type
AxiosRequestConfig
}
from
"
axios
"
;
import
{
type
Data
Requests
}
from
"
../../interface
"
;
import
{
type
Export
Requests
}
from
"
../../interface
"
;
/**
/**
* 附件导出
* /api/Enterpriseclock/GetEnterpriseclockFileExport
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
*/
export
declare
function
postApiEnterpriseclockGetEnterpriseclockFileExport
(
input
?:
Data
Requests
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
export
declare
function
postApiEnterpriseclockGetEnterpriseclockFileExport
(
params
:
PostApiEnterpriseclockGetEnterpriseclockFileExportParams
,
input
?:
Export
Requests
,
config
?:
AxiosRequestConfig
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
code
:
number
;
status
:
string
;
status
:
string
;
msg
:
string
;
msg
:
string
;
msg_detail
:
string
;
msg_detail
:
string
;
response
:
string
;
response
:
{
file_path
:
string
;
password
:
string
;
};
}
>
;
}
>
;
export
interface
PostApiEnterpriseclockGetEnterpriseclockFileExportParams
{
user_id
?:
string
;
form_id
?:
string
;
}
src/api/controller/Enterpriseclock/postApiEnterpriseclockGetEnterpriseclockFileExport.js
浏览文件 @
e094845b
import
request
from
"
@/plugins/request
"
;
import
request
from
"
@/plugins/request
"
;
/**
/**
* 附件导出
* /api/Enterpriseclock/GetEnterpriseclockFileExport
* /api/Enterpriseclock/GetEnterpriseclockFileExport
*/
*/
export
function
postApiEnterpriseclockGetEnterpriseclockFileExport
(
input
,
config
)
{
export
function
postApiEnterpriseclockGetEnterpriseclockFileExport
(
params
,
input
,
config
)
{
return
request
.
post
(
`/api/Enterpriseclock/GetEnterpriseclockFileExport`
,
input
,
config
);
const
paramsInput
=
{
user_id
:
params
.
user_id
,
form_id
:
params
.
form_id
,
};
return
request
.
post
(
`/api/Enterpriseclock/GetEnterpriseclockFileExport/
${
params
.
form_id
}
?user_id=
${
params
.
user_id
}
`
,
input
,
{
params
:
paramsInput
,
...
config
,
});
}
}
src/api/interface/apiTypes/DataViewModel.d.ts
0 → 100644
浏览文件 @
e094845b
export
interface
DataViewModel
{
file_path
?:
string
;
password
?:
string
;
}
src/api/interface/apiTypes/DataViewModel.js
0 → 100644
浏览文件 @
e094845b
export
{};
src/api/interface/apiTypes/DataViewModelMessageModel.d.ts
0 → 100644
浏览文件 @
e094845b
import
{
type
DataViewModel
}
from
"
../../interface
"
;
export
interface
DataViewModelMessageModel
{
code
?:
number
;
status
?:
string
;
msg
?:
string
;
msg_detail
?:
string
;
response
?:
DataViewModel
;
}
src/api/interface/apiTypes/DataViewModelMessageModel.js
0 → 100644
浏览文件 @
e094845b
export
{};
src/api/interface/apiTypes/ExportRequests.d.ts
0 → 100644
浏览文件 @
e094845b
export
interface
ExportRequests
{
role
?:
string
;
audit_status
?:
string
;
key_word
?:
string
;
submit_time_start
?:
string
;
submit_time_end
?:
string
;
show_title
?:
string
[];
sort
?:
string
;
rule_type
?:
string
;
item_id
?:
string
;
file_name_rule
?:
string
[];
}
src/api/interface/apiTypes/ExportRequests.js
0 → 100644
浏览文件 @
e094845b
export
{};
src/api/interface/index.d.ts
浏览文件 @
e094845b
...
@@ -7,6 +7,9 @@ export * from "./apiTypes/TableTitle";
...
@@ -7,6 +7,9 @@ export * from "./apiTypes/TableTitle";
export
*
from
"
./apiTypes/EnterpriseclockViewModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModelPageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModelPageModel
"
;
export
*
from
"
./apiTypes/ExportRequests
"
;
export
*
from
"
./apiTypes/DataViewModel
"
;
export
*
from
"
./apiTypes/DataViewModelMessageModel
"
;
export
*
from
"
./apiTypes/TokenViewModel
"
;
export
*
from
"
./apiTypes/TokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModelMessageModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModelMessageModel
"
;
...
...
src/api/interface/index.js
浏览文件 @
e094845b
...
@@ -7,6 +7,9 @@ export * from "./apiTypes/TableTitle";
...
@@ -7,6 +7,9 @@ export * from "./apiTypes/TableTitle";
export
*
from
"
./apiTypes/EnterpriseclockViewModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModelPageModel
"
;
export
*
from
"
./apiTypes/EnterpriseclockViewModelMessageModelPageModel
"
;
export
*
from
"
./apiTypes/ExportRequests
"
;
export
*
from
"
./apiTypes/DataViewModel
"
;
export
*
from
"
./apiTypes/DataViewModelMessageModel
"
;
export
*
from
"
./apiTypes/TokenViewModel
"
;
export
*
from
"
./apiTypes/TokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModelMessageModel
"
;
export
*
from
"
./apiTypes/ComplexTokenViewModelMessageModel
"
;
...
...
src/api/xxcj/index.js
浏览文件 @
e094845b
...
@@ -2,7 +2,7 @@ import request from '@/plugins/request';
...
@@ -2,7 +2,7 @@ import request from '@/plugins/request';
export
function
xxcjImportFile
(
data
)
{
export
function
xxcjImportFile
(
data
)
{
return
request
({
return
request
({
url
:
`/
xxcj/api/data-sync/file/export/
${
data
.
form_id
}
?user_id=
${
data
.
user
_id
}
`
,
url
:
`/
api/Enterpriseclock/GetEnterpriseclockFileExport?user_id=
${
data
.
user_id
}
&form_id=
${
data
.
form
_id
}
`
,
method
:
'
post
'
,
method
:
'
post
'
,
data
data
});
});
...
...
src/pages/activityManagement/index.vue
浏览文件 @
e094845b
...
@@ -363,6 +363,7 @@ export default {
...
@@ -363,6 +363,7 @@ export default {
}
}
this
.
hooks
.
myEncapsulationFunction
(()
=>
{
this
.
hooks
.
myEncapsulationFunction
(()
=>
{
return
xxcjImportFile
(
this
.
fileDefaultFormData
).
then
(
res
=>
{
return
xxcjImportFile
(
this
.
fileDefaultFormData
).
then
(
res
=>
{
vueCookies
.
remove
(
'
admin-teacher-go2-corporation-xxcjUrl
'
)
if
(
res
.
code
===
1
)
window
.
location
.
href
=
res
.
response
if
(
res
.
code
===
1
)
window
.
location
.
href
=
res
.
response
return
res
return
res
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
...
src/plugins/request/index.js
浏览文件 @
e094845b
...
@@ -72,7 +72,7 @@ const refreshToken = async () => {
...
@@ -72,7 +72,7 @@ const refreshToken = async () => {
// 请求拦截器
// 请求拦截器
service
.
interceptors
.
request
.
use
(
service
.
interceptors
.
request
.
use
(
config
=>
{
config
=>
{
config
.
baseURL
=
[
Setting
.
apiBaseURL
,
'
/
'
][
Number
(
vueCookies
.
get
(
'
admin-teacher-go2-corporation-xxcjUrl
'
)
==
1
)];
//切换信息采集接口
//
config.baseURL = [Setting.apiBaseURL,'/'][Number(vueCookies.get('admin-teacher-go2-corporation-xxcjUrl') == 1)]; //切换信息采集接口
// 在请求发送之前做一些处理
// 在请求发送之前做一些处理
// const token = util.cookies.get('token');
// const token = util.cookies.get('token');
let
token
=
util
.
cookies
.
get
(
'
teacher-go2-corporation-token
'
)
let
token
=
util
.
cookies
.
get
(
'
teacher-go2-corporation-token
'
)
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录