12 2024 档案
摘要:import store from '@/store' /** * 字符权限校验 * @param {Array} value 校验值 * @returns {Boolean} */ export function checkPermi(value) { if (value && value ins
阅读全文
摘要:<template> <div> <el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" :title="title" width="800px" > <el-form ref="elForm" :mo
阅读全文
摘要:<video ref="videoPlayer" id="my-video" preload="meta" height="200px" width="300px" data-setup="{}" autoplay controls > <source src="@/assets/cs.mp4" t
阅读全文
摘要:// 当前时间 var currentTime = new Date(); // 指定时间,例如:2023-04-01 15:00:00 var specifiedTime = new Date('2023-04-01 15:00:00'); // 比较当前时间和指定时间 if (currentTi
阅读全文
摘要:<van-datetime-picker type="datetime" title="选择开始时间" :min-date="minDate" /> 1.当前时间 this.minDate = new Date(); 2.当前时间往后推24小时 this.minDate = new Date(Dat
阅读全文
摘要:<template> <!-- 搜索筛选 --> <van-popup v-model="showPopup" round position="bottom" :style="{ height: '70%' }" closeable close-icon="cross" class="page-fi
阅读全文
摘要:<van-popup v-model="showProject" position="bottom" get-container="body" class="pb20" :style="{ height: '80%', }" closeable round > <div class="pop-hea
阅读全文
摘要:.page-form-item-required-no .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before { content: '' !important; } <el-form ref="elFor
阅读全文
摘要:样式行,实际不行 <van-checkbox-group v-model="selectItems" @click="selectItemsFn"> <div class="flexa w"> <van-checkbox v-for="(item, index) in tableData" :key
阅读全文