摘要:
<script setup lang="ts"> import { Modal, message } from 'ant-design-vue'; import { ref } from 'vue'; import doubleSelect from './doubleSelect.vue'; im
閱讀全文
posted @ 2025-07-31 16:32
abcByme
閱讀(10)
推薦(0)
摘要:
watch( () => route.query, (val) => { if (val && val.typeV !== undefined) { activeKey.value = val.typeV; } else { activeKey.value = '1' } getData(); },
閱讀全文
posted @ 2025-06-05 11:34
abcByme
閱讀(12)
推薦(0)
摘要:
.fontStyle { font-family: FZFYSJW; margin-top: -155px; height: 58px; background: #095DDC; border-radius: 4px; border-radius: 0; filter: blur(0); justi
閱讀全文
posted @ 2025-06-04 20:49
abcByme
閱讀(7)
推薦(0)
摘要:
太難看了 // 登錄頁(yè)記住密碼樣式修改 .new-input { input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { // color: #fff !important; // // backgro
閱讀全文
posted @ 2025-04-27 10:15
abcByme
閱讀(36)
推薦(0)
摘要:
<script setup> import { message } from 'ant-design-vue' import Cropper from 'cropperjs' import { upload } from '@/api/workOrder/hotService' const prop
閱讀全文
posted @ 2025-03-27 14:15
abcByme
閱讀(22)
推薦(0)
摘要:
<script lang="ts" setup> import type { Dayjs } from 'dayjs'; import { Modal, message } from 'ant-design-vue'; import dayjs from 'dayjs'; import { colu
閱讀全文
posted @ 2025-03-25 12:54
abcByme
閱讀(50)
推薦(0)
摘要:
<script setup lang="ts"> import useMqttStore from '@/stores/modules/mqtt'; import imganimation1 from '@/assets/images/fly_test_01.png'; import imganim
閱讀全文
posted @ 2025-02-18 08:57
abcByme
閱讀(17)
推薦(0)
摘要:
function isFirstOpen(code: any) { // 檢查localStorage中是否有記錄打開(kāi)狀態(tài)的標(biāo)志 const isLoggedIn = useStorage(`Firstflag${code}`, {}); // console.log('isLoggedIn', i
閱讀全文
posted @ 2025-01-17 09:10
abcByme
閱讀(23)
推薦(0)
摘要:
<script setup lang="ts"> import { useDraggable, useMouseInElement } from '@vueuse/core'; import type { CSSProperties } from 'vue'; interface Props { i
閱讀全文
posted @ 2024-12-27 12:27
abcByme
閱讀(121)
推薦(0)
摘要:
<script setup lang="ts"> import { Empty } from 'ant-design-vue'; export interface TBColumn { title: string dataIndex: string // key: string ellipsis?:
閱讀全文
posted @ 2024-12-27 12:26
abcByme
閱讀(88)
推薦(0)
摘要:
<script setup lang="ts"> import { Empty } from 'ant-design-vue'; const props = withDefaults(defineProps<{ modelValue: any[] // 重要: 外部在使用這個(gè)的時(shí)候,不要修改,要通過(guò)
閱讀全文
posted @ 2024-12-27 12:24
abcByme
閱讀(116)
推薦(0)
摘要:
<script setup lang="ts"> import { ref } from 'vue'; const list = ref([{}]); const queryParams = ref({ currentPage: 1, pageSize: 15, totalPage: 100, })
閱讀全文
posted @ 2024-12-18 09:18
abcByme
閱讀(15)
推薦(0)
摘要:
// 數(shù)據(jù)平均分配 function generateSequence(startValue: any, endValue: any, increment: any) { const sequence = []; for (let i = startValue; i <= endValue; i +
閱讀全文
posted @ 2024-12-10 18:50
abcByme
閱讀(23)
推薦(0)
摘要:
<script setup lang="ts"> import { Modal, message } from 'ant-design-vue'; import Speech from 'speak-tts'; import { useStorage } from '@vueuse/core'; i
閱讀全文
posted @ 2024-11-22 16:58
abcByme
閱讀(68)
推薦(0)
摘要:
/** * 獲取完整的文件路徑地址 */ export function getFullFileURL(url?: string): string { let _url = ''; if (url) { _url = (url?.includes('http://') || url?.include
閱讀全文
posted @ 2024-11-21 11:20
abcByme
閱讀(20)
推薦(0)
摘要:
<script setup lang="ts"> defineOptions({ name: 'rightTop', }); let timer: any = null; const wrapperRef = ref() const tagRef: any = ref([]) const rotat
閱讀全文
posted @ 2024-11-12 14:44
abcByme
閱讀(243)
推薦(0)
摘要:
<script setup lang="ts"> import { useVModel } from '@vueuse/core'; const props = defineProps({ modelValue: { type: Object, default: () => { }, }, });
閱讀全文
posted @ 2024-09-12 17:21
abcByme
閱讀(20)
推薦(0)
摘要:
<script setup lang="ts"> import { ref } from 'vue'; import { Modal, message } from 'ant-design-vue'; import { AIRPLANE_MISSION_MODE } from '../enum';
閱讀全文
posted @ 2024-09-12 17:20
abcByme
閱讀(23)
推薦(0)
摘要:
const lastDataHandle = ref(null); // 上次選擇的dataHandle值 const dataHandle: any = ref([]); const dataHandleALLList = [ { label: '無(wú)', value: 0 }, { label:
閱讀全文
posted @ 2024-08-23 15:56
abcByme
閱讀(13)
推薦(0)
摘要:
<a-input class="input-center-met" v-model:value="form.name1"> <template #prefix> <div class="flex items-center"> <div class="number-btn auto" @click="
閱讀全文
posted @ 2024-08-23 10:50
abcByme
閱讀(24)
推薦(0)
摘要:
:tooltip-open="false" <a-slider ref="scrollableDiv" v-model:value="defaultValue" vertical class="new-slider" :marks="marks" :min="0" :max="10" :step="
閱讀全文
posted @ 2024-08-07 11:12
abcByme
閱讀(48)
推薦(0)
摘要:
<script setup lang="ts"> const props = withDefaults(defineProps<{ num?: number // 當(dāng)前信號(hào)強(qiáng)度 max?: number // 信號(hào)柱最大數(shù)量 minHeight?: number // 信號(hào)柱最小高度,單位px wi
閱讀全文
posted @ 2024-07-30 09:38
abcByme
閱讀(18)
推薦(0)
摘要:
來(lái)自:http://www.rzrgm.cn/keleyz/p/10118648.html 侵刪 let d = []; let d2 = []; result3[1].forEach((item, index) => { d.push({ name: item, }); }); resul
閱讀全文
posted @ 2024-06-27 17:20
abcByme
閱讀(50)
推薦(0)
摘要:
eventTime(v) { let d = v.replace(/T/, " "); let dd = d.substring(0, d.indexOf("+")); return dd; },
閱讀全文
posted @ 2024-03-28 11:04
abcByme
閱讀(28)
推薦(0)
摘要:
<template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background" :border-bottom="false"
閱讀全文
posted @ 2024-03-21 16:00
abcByme
閱讀(192)
推薦(0)
摘要:
/deep/ .ivu-input::-webkit-input-placeholder { color: #87cfff; } /deep/ .ivu-input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #87cfff; } /de
閱讀全文
posted @ 2024-01-25 14:57
abcByme
閱讀(150)
推薦(0)
摘要:
<template> <div ref="appRef" class="app-viewport" id="appRef"> </div> </template> <script> let loading = null; // import drawMixin from '../libs/drawM
閱讀全文
posted @ 2024-01-17 18:08
abcByme
閱讀(61)
推薦(0)
摘要:
<FormItem prop="free" label="包期費(fèi)用(元):"> <Input-number :min="0" style="width: 100%" v-model="formValidate.free" placeholder="請(qǐng)輸入單價(jià)(元)" :formatter="valu
閱讀全文
posted @ 2023-10-19 15:03
abcByme
閱讀(346)
推薦(0)
摘要:
<template> <div class="p-box"> <el-transfer class="new-el-transfer" filterable filter-placeholder="請(qǐng)輸入組織名稱" v-model="value" :data="dataListzz" :titles
閱讀全文
posted @ 2023-08-03 10:39
abcByme
閱讀(76)
推薦(0)
摘要:
if (i == 1) { //近30天 let d30 = [...new Array(30)].map((i, idx) => this.moment().startOf("day").subtract(idx, "days").format('MM-DD')).reverse(); //隨機(jī)數(shù)
閱讀全文
posted @ 2023-07-31 14:56
abcByme
閱讀(249)
推薦(0)
摘要:
html代碼 <div id="root"> <h3>人員列表</h3> <input type="text" placeholder="請(qǐng)輸入名字" v-model="keyWord"> <ul> <li v-for="(p,index) of filPersons" :key="index">
閱讀全文
posted @ 2023-07-13 14:15
abcByme
閱讀(53)
推薦(0)
摘要:
<div class="event-img"> <img :src="item" alt="" v-for="(item,index) in imgPathList" @click="viewImg(imgPathList,index)"/> </div> viewImg(item,index){
閱讀全文
posted @ 2023-05-12 15:34
abcByme
閱讀(271)
推薦(0)
摘要:
來(lái)自:https://blog.csdn.net/chenrui310/article/details/129365208 侵刪 let cw = 1920,ch = 1080//默認(rèn) let body = document.getElementById('body') body.style.wid
閱讀全文
posted @ 2023-05-10 16:31
abcByme
閱讀(686)
推薦(0)
摘要:
上傳了壓縮后的照片 <template> <div> <!-- <el-upload :class="uploadDisabled" ref="upload" :action="action" :headers="headers" list-type="picture-card" :limit="1
閱讀全文
posted @ 2023-04-07 15:23
abcByme
閱讀(191)
推薦(0)
摘要:
getNowDate() { let date = new Date() let year = date.getFullYear() let month = date.getMonth() + 1 let day = date.getDate() let hour = date.getHours()
閱讀全文
posted @ 2023-03-23 10:31
abcByme
閱讀(94)
推薦(0)
摘要:
需要用到moment.具體參考 http://momentjs.cn/docs/#/manipulating/const start = this.$moment().startOf('month').format('MM-DD') //當(dāng)前日期當(dāng)月第一天 const end = this.$mom
閱讀全文
posted @ 2023-03-17 14:51
abcByme
閱讀(84)
推薦(0)
摘要:
<template> <div> <el-upload ref="upload" :class="disabled ? 'disabled' : ''" list-type="picture-card" :action="action" :file-list="newFileList" :disab
閱讀全文
posted @ 2023-03-07 15:38
abcByme
閱讀(39)
推薦(0)
摘要:
https://juejin.cn/post/7132807229048422437 侵刪 <template> <div> <el-table :data="tableData" border> <el-table-column label="序號(hào)" type="index" width="50"
閱讀全文
posted @ 2023-02-28 10:57
abcByme
閱讀(257)
推薦(0)
摘要:
https://www.jb51.net/css/736179.html 侵刪 <style> .main { outline: 1px solid; display: flex; justify-content: space-between; flex-wrap: wrap; } .main>di
閱讀全文
posted @ 2023-02-15 15:18
abcByme
閱讀(162)
推薦(0)
摘要:
// 判斷文件格式 //將多個(gè)文件以數(shù)組方式傳入format中進(jìn)行判斷 format(file){ let fileList = file.map( v => { let file = v.name.split('.') //將字母全部變?yōu)樾懖⒈4娓袷矫?let fileName = file[f
閱讀全文
posted @ 2023-02-14 17:28
abcByme
閱讀(186)
推薦(0)