Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
教
教师下企业考勤(前端)
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
教师下企业考勤(前端)
提交
1304a21e
提交
1304a21e
编写于
9月 25, 2024
作者:
刘英杰
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v20240925 新增》“企业名称”、“实践部门”、“企业联络人”字段
上级
322fba33
流水线
#29523
已失败 ,包含阶段
in 9 second
变更
6
流水线
1
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
15 行增加
和
10 行删除
+15
-10
index.html
dist/index.html
+1
-1
app.f603d453.js
dist/js/app.f603d453.js
+1
-1
chunk-583cfe78.d9cf5727.js
dist/js/chunk-583cfe78.d9cf5727.js
+1
-1
pc.zip
pc.zip
+0
-0
CTable.vue
src/components/CTable.vue
+4
-4
index.vue
src/pages/activityManagement/index.vue
+8
-3
未找到文件。
dist/index.html
浏览文件 @
1304a21e
<!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.8f4ab740.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.f603d453.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
8f4ab740
.js
→
dist/js/app.
f603d453
.js
浏览文件 @
1304a21e
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
dist/js/chunk-583cfe78.
67940fdd
.js
→
dist/js/chunk-583cfe78.
d9cf5727
.js
浏览文件 @
1304a21e
此差异已折叠。
点击以展开。
pc.zip
0 → 100644
浏览文件 @
1304a21e
文件已添加
src/components/CTable.vue
浏览文件 @
1304a21e
...
@@ -113,18 +113,18 @@ export default {
...
@@ -113,18 +113,18 @@ export default {
* 申请类型 单独获取合并范围
* 申请类型 单独获取合并范围
* */
* */
if
(
rowIndex
===
row
.
startIndex
&&
columnIndex
<
6
)
{
if
(
rowIndex
===
row
.
startIndex
&&
columnIndex
<
9
)
{
//根据下标范围的始标 判断合并 起始位置 根据范围尾标+1 减去始标 得到合并的行数 最后合并
//根据下标范围的始标 判断合并 起始位置 根据范围尾标+1 减去始标 得到合并的行数 最后合并
return
[
row
.
endIndex
+
1
-
row
.
startIndex
,
1
]
return
[
row
.
endIndex
+
1
-
row
.
startIndex
,
1
]
}
}
if
(
rowIndex
>
row
.
startIndex
&&
rowIndex
<=
row
.
endIndex
&&
columnIndex
<
6
){
if
(
rowIndex
>
row
.
startIndex
&&
rowIndex
<=
row
.
endIndex
&&
columnIndex
<
9
){
//根据下标范围 作为判断条件 隐藏
//根据下标范围 作为判断条件 隐藏
return
[
0
,
0
]
return
[
0
,
0
]
}
}
//合成 几行 就会隐藏几行
//合成 几行 就会隐藏几行
if
(
rowIndex
===
row
.
startIndex7Columns
&&
columnIndex
===
6
)
return
[(
row
.
endIndex7Columns
+
1
)
-
row
.
startIndex7Columns
,
1
]
if
(
rowIndex
===
row
.
startIndex7Columns
&&
columnIndex
===
9
)
return
[(
row
.
endIndex7Columns
+
1
)
-
row
.
startIndex7Columns
,
1
]
if
(
rowIndex
>=
row
.
startIndex7Columns
&&
rowIndex
<=
row
.
endIndex7Columns
&&
columnIndex
===
6
)
return
[
0
,
0
]
if
(
rowIndex
>=
row
.
startIndex7Columns
&&
rowIndex
<=
row
.
endIndex7Columns
&&
columnIndex
===
9
)
return
[
0
,
0
]
}
}
...
...
src/pages/activityManagement/index.vue
浏览文件 @
1304a21e
...
@@ -188,6 +188,11 @@ export default {
...
@@ -188,6 +188,11 @@ export default {
{
key
:
'
ssbm
'
,
title
:
'
所属教学部
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
ssbm
'
,
title
:
'
所属教学部
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
minWidth
:
130
,
show
:
true
},
{
key
:
'
phone
'
,
title
:
'
联系电话
'
,
align
:
'
center
'
,
minWidth
:
130
,
show
:
true
},
{
key
:
'
type
'
,
title
:
'
申请类型
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
type
'
,
title
:
'
申请类型
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
qiyemingchen
'
,
title
:
'
企业名称
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
qiyelianlaoren
'
,
title
:
'
实践部门
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
shjianbumen
'
,
title
:
'
企业联络人
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
location
'
,
title
:
'
定位
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
location
'
,
title
:
'
定位
'
,
align
:
'
center
'
,
minWidth
:
300
,
show
:
true
},
{
key
:
'
date
'
,
title
:
'
日期
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
date
'
,
title
:
'
日期
'
,
align
:
'
center
'
,
minWidth
:
150
,
show
:
true
},
{
key
:
'
scope
'
,
title
:
'
申请打卡范围
'
,
align
:
'
center
'
,
minWidth
:
240
,
show
:
true
},
{
key
:
'
scope
'
,
title
:
'
申请打卡范围
'
,
align
:
'
center
'
,
minWidth
:
240
,
show
:
true
},
...
@@ -575,6 +580,7 @@ export default {
...
@@ -575,6 +580,7 @@ export default {
// 处理列表数据 得到相同谁 起止下标 用于合并
// 处理列表数据 得到相同谁 起止下标 用于合并
let
column7IndexArray
=
this
.
getRangeOfElements
(
this
.
tableData
)
let
column7IndexArray
=
this
.
getRangeOfElements
(
this
.
tableData
)
this
.
tableData
=
this
.
tableData
.
map
(
cur
=>
{
this
.
tableData
=
this
.
tableData
.
map
(
cur
=>
{
//获取申请状态 相同的起止下标范围
//获取申请状态 相同的起止下标范围
column7IndexArray
.
forEach
(
cu
=>
{
column7IndexArray
.
forEach
(
cu
=>
{
...
@@ -592,10 +598,9 @@ export default {
...
@@ -592,10 +598,9 @@ export default {
this
.
tk
++
this
.
tk
++
}
}
}).
finally
(()
=>
{
this
.
tableLoading
=
false
})
})
.
finally
(()
=>
{
this
.
tableLoading
=
false
})
},
},
// 改变开关
// 改变开关
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录