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

增加签到列表初始化查询字段

上级 53915159
......@@ -87,19 +87,19 @@
<Table :columns="column" :data="data" :height="tableHeightCal" :loading="loading" @on-select="radioSelection"
@on-select-cancel="cancelSelection"
@on-select-all="allSelection" @on-select-all-cancel="cancelSelectionAll">
<template #sign_set="{row}">
<Switch @on-change="switchButton(row)" :value="!row.sign_set" true-color="#22d86e">
<!-- 0 需要 1 不需要 sign_set
1 签到 2 签退 sign
、-->
<template #close>
<span>否</span>
</template>
<template #open>
<span>是</span>
</template>
</Switch>
</template>
<!-- <template #sign_set="{row}">-->
<!-- <Switch @on-change="switchButton(row)" :value="!row.sign_set" true-color="#22d86e">-->
<!-- &lt;!&ndash; 0 需要 1 不需要 sign_set-->
<!-- 1 签到 2 签退 sign-->
<!-- 、&ndash;&gt;-->
<!-- <template #close>-->
<!-- <span>否</span>-->
<!-- </template>-->
<!-- <template #open>-->
<!-- <span>是</span>-->
<!-- </template>-->
<!-- </Switch>-->
<!-- </template>-->
<template #content="{row}">
<div style="display: flex;align-items: center;">
<Ellipsis :text="row.content" :length="10" tooltip></Ellipsis>
......@@ -299,11 +299,11 @@
key: 'watchtypename',
minWidth: 120,
},
{
title: '是否需签到',
slot: 'sign_set',
minWidth: 120,
},
// {
// title: '是否需签到',
// slot: 'sign_set',
// minWidth: 120,
// },
{
title: '值班日志',
slot: 'content',
......@@ -354,7 +354,8 @@
// "page_index": this.page_index,
// "page_size": this.page_size,
"campus_id": this.selectObject.campusidSearch,
// is_lead: 0,
// sign: 9,
}
const res = await api.SignDataExport(data)
window.location.href = this.$ascURL + res.response
......@@ -532,6 +533,8 @@
"page_index": this.page_index,
"page_size": this.page_size,
"campus_id": this.selectObject.campusidSearch,
is_lead: 0,
sign: 9,
}
const res = await api.GetSignRecordList(data)
res.response.data.forEach((currentValue, index) => {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或