|
@@ -3,13 +3,14 @@
|
|
|
<div class="common-title gradient-text">联合值守</div>
|
|
|
<div class="more-btn" @click="handleShowQrCode">
|
|
|
<div class="code-icon"></div>
|
|
|
- 签到码
|
|
|
+ <div class="text">签到码</div>
|
|
|
</div>
|
|
|
<div class="card-content">
|
|
|
<div class="custom-table">
|
|
|
<div class="table-header">
|
|
|
- <div v-for="(item, index) in tableHeader" :key="index" class="td">{{ item.name }}</div>
|
|
|
- <div class="td2"></div>
|
|
|
+ <div class="td">值守单位</div>
|
|
|
+ <div class="td">值守人员</div>
|
|
|
+ <div class="td2">联系方式</div>
|
|
|
</div>
|
|
|
<div class="table-content">
|
|
|
<div v-for="(item, index) in listData" :key="index" class="tr">
|
|
@@ -17,9 +18,9 @@
|
|
|
<div class="td">
|
|
|
<div>{{ item.nick_name }}({{ item.duties }})</div>
|
|
|
</div>
|
|
|
- <div class="td text">{{ item.phone }}</div>
|
|
|
- <div class="td2">
|
|
|
+ <div class="td2 text">
|
|
|
<div class="phone-btn"></div>
|
|
|
+ {{ item.phone }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -47,20 +48,6 @@ directives: {
|
|
|
print;
|
|
|
}
|
|
|
const route = useRoute();
|
|
|
-const tableHeader = reactive([
|
|
|
- {
|
|
|
- name: '值守单位',
|
|
|
- key: 'dept_name'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '值守人员',
|
|
|
- key: 'nick_name'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '联系方式',
|
|
|
- key: 'phone'
|
|
|
- }
|
|
|
-]);
|
|
|
const listData = ref([]);
|
|
|
let eventId = ref('');
|
|
|
let qrCodeUrl = ref('');
|
|
@@ -106,7 +93,6 @@ const handleDownLoad = () => {
|
|
|
};
|
|
|
onMounted(() => {
|
|
|
eventId.value = route.query.event_id as string;
|
|
|
- /*
|
|
|
listData.value = [
|
|
|
{
|
|
|
dept_name: '市应急局',
|
|
@@ -145,19 +131,19 @@ onMounted(() => {
|
|
|
duties: '职务'
|
|
|
}
|
|
|
];
|
|
|
- */
|
|
|
- getCheckinList(eventId.value).then((res) => {
|
|
|
- listData.value = res.data;
|
|
|
- });
|
|
|
+ // getCheckinList(eventId.value).then((res) => {
|
|
|
+ // listData.value = res.data;
|
|
|
+ // });
|
|
|
qrCodeUrl.value = import.meta.env.VITE_APP_BASE_API2 + 'api/event_management/checkin/qrcode?event_id=' + eventId.value;
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.duty-card {
|
|
|
- width: 1965px;
|
|
|
- height: 549px;
|
|
|
+ width: 529px;
|
|
|
+ height: 223px;
|
|
|
background: url('@/assets/images/emergencyCommandMap/duty/dutyBg.png') no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
position: relative;
|
|
|
color: #fff;
|
|
|
animation-name: slideRight;
|
|
@@ -165,9 +151,8 @@ onMounted(() => {
|
|
|
.card-content {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
- padding-top: 100px;
|
|
|
- padding-left: 140px;
|
|
|
- width: 2500px;
|
|
|
+ padding-top: 47px;
|
|
|
+ height: 223px;
|
|
|
}
|
|
|
}
|
|
|
.search-box {
|
|
@@ -178,72 +163,80 @@ onMounted(() => {
|
|
|
}
|
|
|
.more-btn {
|
|
|
position: absolute;
|
|
|
- top: 35px;
|
|
|
- right: 160px;
|
|
|
+ top: 14px;
|
|
|
+ right: 52px;
|
|
|
color: #eaf3fc;
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 14px;
|
|
|
cursor: pointer;
|
|
|
z-index: 2;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ .text {
|
|
|
+ margin-top: -3px;
|
|
|
+ }
|
|
|
.code-icon {
|
|
|
- width: 80px;
|
|
|
- height: 80px;
|
|
|
+ width: 35px;
|
|
|
+ height: 35px;
|
|
|
background: url('@/assets/images/emergencyCommandMap/duty/code.png') no-repeat;
|
|
|
- margin-top: 10px;
|
|
|
+ background-size: 100% 100%;
|
|
|
}
|
|
|
}
|
|
|
.custom-table {
|
|
|
width: 100%;
|
|
|
- margin-top: 20px;
|
|
|
+ margin-top: 10px;
|
|
|
.table-header {
|
|
|
display: flex;
|
|
|
- width: 1772px;
|
|
|
- height: 54px;
|
|
|
+ width: 520px;
|
|
|
+ height: 21px;
|
|
|
background: url('@/assets/images/emergencyCommandMap/duty/header.png') no-repeat;
|
|
|
- font-size: 38px;
|
|
|
- padding: 0 50px;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ font-size: 16px;
|
|
|
+ padding: 0 13px;
|
|
|
.td {
|
|
|
flex: 1;
|
|
|
}
|
|
|
.td2 {
|
|
|
- width: 100px;
|
|
|
+ width: 155px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
}
|
|
|
.table-content {
|
|
|
- height: 350px;
|
|
|
+ height: 130px;
|
|
|
overflow-y: auto;
|
|
|
.tr {
|
|
|
display: flex;
|
|
|
- align-items: flex-end;
|
|
|
- width: 1791px;
|
|
|
- height: 70px;
|
|
|
- margin-left: -17px;
|
|
|
- padding-left: 17px;
|
|
|
- background: url('@/assets/images/emergencyCommandMap/duty/tr.png') no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
- font-size: 38px;
|
|
|
- margin-top: 30px;
|
|
|
- padding: 0 50px;
|
|
|
+ align-items: center;
|
|
|
+ width: 520px;
|
|
|
+ height: 21px;
|
|
|
+ background-color: rgba(44, 129, 255, 0.1);
|
|
|
+ //background: url('@/assets/images/emergencyCommandMap/duty/tr.png') no-repeat;
|
|
|
+ //background-size: 100% 100%;
|
|
|
+ font-size: 14px;
|
|
|
+ margin-top: 12px;
|
|
|
+ padding: 0 15px;
|
|
|
}
|
|
|
.td {
|
|
|
flex: 1;
|
|
|
}
|
|
|
.td2 {
|
|
|
- width: 100px;
|
|
|
+ width: 155px;
|
|
|
text-align: center;
|
|
|
+ position: relative;
|
|
|
+ .phone-btn {
|
|
|
+ position: absolute;
|
|
|
+ top: -12px;
|
|
|
+ left: 0;
|
|
|
+ cursor: pointer;
|
|
|
+ width: 49px;
|
|
|
+ height: 49px;
|
|
|
+ background: url('@/assets/images/emergencyCommandMap/duty/phone.png') no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
}
|
|
|
.text {
|
|
|
color: #08d9ff;
|
|
|
font-family: 'BEBAS-1';
|
|
|
}
|
|
|
- .phone-btn {
|
|
|
- cursor: pointer;
|
|
|
- width: 69px;
|
|
|
- height: 69px;
|
|
|
- background: url('@/assets/images/emergencyCommandMap/duty/phone.png') no-repeat;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</style>
|