mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
feat:合并
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btn btn1" @click="signQR">
|
||||
<div class="btn btn1" @click="signQR">
|
||||
<div class="wz">签到二维码</div>
|
||||
</div>
|
||||
<div class="btn btn2" @click="showqdModal">
|
||||
@@ -92,10 +92,10 @@
|
||||
<div class="left">
|
||||
<div class="img"></div>
|
||||
<div class="text" style="margin-left: 10px">已选择</div>
|
||||
<div class="text2">{{selectedRowKeys.length}}</div>
|
||||
<div class="text2">{{ selectedRowKeys.length }}</div>
|
||||
<div class="text">项</div>
|
||||
<div class="text3">列表选项总计:</div>
|
||||
<div class="text4">{{tableData.length}}条</div>
|
||||
<div class="text4">{{ tableData.length }}条</div>
|
||||
</div>
|
||||
<div class="right" @click="clearLine">清空</div>
|
||||
</div>
|
||||
@@ -244,17 +244,17 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 二维码签到弹窗 -->
|
||||
<SignQR v-model:signQRvisible="signQRvisible"/>
|
||||
<SignQR v-model:signQRvisible="signQRvisible" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { toRefs, reactive } from "vue";
|
||||
import SignQR from "./SignQR.vue"
|
||||
import SignQR from "./SignQR.vue";
|
||||
export default {
|
||||
name: "ActiveAttendance",
|
||||
components: {
|
||||
components: {
|
||||
SignQR,
|
||||
},
|
||||
},
|
||||
props: {
|
||||
AAvisible: {
|
||||
type: Boolean,
|
||||
@@ -275,7 +275,7 @@ export default {
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
tableDataTotal: 100,
|
||||
signQRvisible:false, //二维码弹窗
|
||||
signQRvisible: false, //二维码弹窗
|
||||
qdModal: false, //批量签到
|
||||
singleqjModal: false, //单独请假
|
||||
singleqdModal: false, //单独签到
|
||||
@@ -480,7 +480,7 @@ export default {
|
||||
|
||||
const tableDataFunc = () => {
|
||||
const columns = [
|
||||
{
|
||||
{
|
||||
title: "工号",
|
||||
dataIndex: "workNum",
|
||||
key: "workNum",
|
||||
@@ -553,7 +553,7 @@ export default {
|
||||
className: "h",
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
title: "考勤情况",
|
||||
className: "h",
|
||||
dataIndex: "opacation",
|
||||
key: "opacation",
|
||||
@@ -564,9 +564,9 @@ export default {
|
||||
return columns;
|
||||
};
|
||||
//清空所选
|
||||
const clearLine = ()=> {
|
||||
state.selectedRowKeys=[]
|
||||
}
|
||||
const clearLine = () => {
|
||||
state.selectedRowKeys = [];
|
||||
};
|
||||
const showqdModal = () => {
|
||||
state.qdModal = true;
|
||||
};
|
||||
@@ -591,9 +591,9 @@ export default {
|
||||
const closesingleqjModal = () => {
|
||||
state.singleqjModal = false;
|
||||
};
|
||||
const signQR = ()=> {
|
||||
state.signQRvisible = true
|
||||
}
|
||||
const signQR = () => {
|
||||
state.signQRvisible = true;
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
@@ -817,7 +817,6 @@ export default {
|
||||
}
|
||||
}
|
||||
.tableBox {
|
||||
|
||||
.classify {
|
||||
padding-left: 0px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user