提交 1304a21e 编写于 作者: 刘英杰's avatar 刘英杰

v20240925 新增》“企业名称”、“实践部门”、“企业联络人”字段

上级 322fba33
流水线 #29523 已失败 ,包含阶段
in 9 second
<!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
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
文件已添加
...@@ -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]
} }
......
...@@ -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 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或