3 files modified
5 files added
| | |
| | | "vue": "^3.4.27", |
| | | "vue-i18n": "^9.1.9", |
| | | "vue-router": "^4.3.2", |
| | | "vuex": "^4.1.0" |
| | | "vuex": "^4.1.0", |
| | | "xlsx": "^0.18.5" |
| | | }, |
| | | "devDependencies": { |
| | | "@vitejs/plugin-vue": "^5.0.4", |
| | |
| | | "node": ">=0.4.0" |
| | | } |
| | | }, |
| | | "node_modules/adler-32": { |
| | | "version": "1.3.1", |
| | | "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz", |
| | | "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==", |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/animate.css": { |
| | | "version": "4.1.1", |
| | | "resolved": "https://registry.npmmirror.com/animate.css/-/animate.css-4.1.1.tgz", |
| | |
| | | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/cfb": { |
| | | "version": "1.2.2", |
| | | "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz", |
| | | "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", |
| | | "dependencies": { |
| | | "adler-32": "~1.3.0", |
| | | "crc-32": "~1.2.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/chalk": { |
| | | "version": "4.1.2", |
| | | "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", |
| | |
| | | "node": ">=6" |
| | | } |
| | | }, |
| | | "node_modules/codepage": { |
| | | "version": "1.15.0", |
| | | "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz", |
| | | "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==", |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/color-convert": { |
| | | "version": "2.0.1", |
| | | "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", |
| | |
| | | "version": "1.9.3", |
| | | "resolved": "https://registry.npmmirror.com/countup.js/-/countup.js-1.9.3.tgz", |
| | | "integrity": "sha512-UHf2P/mFKaESqdPq+UdBJm/1y8lYdlcDd0nTZHNC8cxWoJwZr1Eldm1PpWui446vDl5Pd8PtRYkr3q6K4+Qa5A==" |
| | | }, |
| | | "node_modules/crc-32": { |
| | | "version": "1.2.2", |
| | | "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", |
| | | "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", |
| | | "bin": { |
| | | "crc32": "bin/crc32.njs" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/crypto-js": { |
| | | "version": "4.1.1", |
| | |
| | | }, |
| | | "engines": { |
| | | "node": ">=4.0" |
| | | } |
| | | }, |
| | | "node_modules/frac": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz", |
| | | "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==", |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/fs-extra": { |
| | |
| | | "deprecated": "Please use @jridgewell/sourcemap-codec instead", |
| | | "dev": true |
| | | }, |
| | | "node_modules/ssf": { |
| | | "version": "0.11.2", |
| | | "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz", |
| | | "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==", |
| | | "dependencies": { |
| | | "frac": "~1.1.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/ssr-window": { |
| | | "version": "3.0.0", |
| | | "resolved": "https://registry.npmmirror.com/ssr-window/-/ssr-window-3.0.0.tgz", |
| | |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmmirror.com/wildcard/-/wildcard-1.1.2.tgz", |
| | | "integrity": "sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==" |
| | | }, |
| | | "node_modules/wmf": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz", |
| | | "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==", |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/word": { |
| | | "version": "0.3.0", |
| | | "resolved": "https://registry.npmjs.org/word/-/word-0.3.0.tgz", |
| | | "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==", |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | }, |
| | | "node_modules/xlsx": { |
| | | "version": "0.18.5", |
| | | "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz", |
| | | "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==", |
| | | "dependencies": { |
| | | "adler-32": "~1.3.0", |
| | | "cfb": "~1.2.1", |
| | | "codepage": "~1.15.0", |
| | | "crc-32": "~1.2.1", |
| | | "ssf": "~0.11.2", |
| | | "wmf": "~1.0.1", |
| | | "word": "~0.3.0" |
| | | }, |
| | | "bin": { |
| | | "xlsx": "bin/xlsx.njs" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.8" |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | "vue": "^3.4.27", |
| | | "vue-i18n": "^9.1.9", |
| | | "vue-router": "^4.3.2", |
| | | "vuex": "^4.1.0" |
| | | "vuex": "^4.1.0", |
| | | "xlsx": "^0.18.5" |
| | | }, |
| | | "devDependencies": { |
| | | "@vitejs/plugin-vue": "^5.0.4", |
| New file |
| | |
| | | <script type="text/javascript"> |
| | | window._AMapSecurityConfig = { |
| | | securityJsCode: '', // 替换为高德平台生成的安全密钥 |
| | | }; |
| | | </script> |
| | | <script src="https://webapi.amap.com/maps?v=1.4.11&key=7873666321486813e3eedad751bb9608&plugin=AMap.PlaceSearch,AMap.Geocoder"></script> |
| | | <script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script> |
| New file |
| | |
| | | import request from '@/axios'; |
| | | |
| | | export const getList = (data) => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/eventPage', |
| | | method: 'post', |
| | | data, |
| | | }); |
| | | }; |
| | | |
| | | export const createTicket = (data) => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/eventPage', |
| | | method: 'post', |
| | | data, |
| | | }); |
| | | }; |
| | | |
| | | // 新增接口:获取工单详细信息 |
| | | export const getTicketInfo = (id) => { |
| | | return request({ |
| | | url: '/drone-device-core/jobEvent/getTicketInfo', |
| | | method: 'get', |
| | | params: { id }, // 使用工单 ID 查询 |
| | | }); |
| | | }; |
| New file |
| | |
| | | import * as XLSX from 'xlsx'; // 使用命名导入方式 |
| | | |
| | | export function export_json_to_excel(headers, data, filename = '导出数据') { |
| | | const worksheet = XLSX.utils.json_to_sheet(data, { header: headers }); |
| | | const workbook = XLSX.utils.book_new(); |
| | | XLSX.utils.book_append_sheet(workbook, worksheet, 'Sheet1'); |
| | | XLSX.writeFile(workbook, `${filename}.xlsx`); |
| | | } |
| New file |
| | |
| | | window._AMapSecurityConfig = { |
| | | securityJsCode: '', // 替换为高德平台生成的安全密钥 |
| | | }; |
| | | |
| | | export const loadAMap = () => { |
| | | return new Promise((resolve, reject) => { |
| | | if (window.AMap) { |
| | | resolve(window.AMap); |
| | | return; |
| | | } |
| | | |
| | | const script = document.createElement('script'); |
| | | script.src = `https://webapi.amap.com/maps?v=1.4.11&key=7873666321486813e3eedad751bb9608&plugin=AMap.PlaceSearch,AMap.Geocoder`; // 替换为你的 API Key |
| | | script.onerror = () => reject(new Error('Failed to load AMap script')); |
| | | script.onload = () => { |
| | | if (window.AMap) { |
| | | resolve(window.AMap); |
| | | } else { |
| | | reject(new Error('AMap failed to initialize')); |
| | | } |
| | | }; |
| | | |
| | | document.body.appendChild(script); |
| | | }); |
| | | }; |
| | | |
| | | export const loadAMapUI = () => { |
| | | return new Promise((resolve, reject) => { |
| | | if (window.AMapUI) { |
| | | resolve(window.AMapUI); |
| | | return; |
| | | } |
| | | |
| | | const script = document.createElement('script'); |
| | | script.src = 'https://webapi.amap.com/ui/1.0/main.js?v=1.0.11'; |
| | | script.onerror = () => reject(new Error('Failed to load AMap UI script')); |
| | | script.onload = () => { |
| | | if (window.AMapUI) { |
| | | resolve(window.AMapUI); |
| | | } else { |
| | | reject(new Error('AMap UI failed to initialize')); |
| | | } |
| | | }; |
| | | |
| | | document.body.appendChild(script); |
| | | }); |
| | | }; |
| | | |
| | | export const initPoiPicker = () => { |
| | | return new Promise((resolve, reject) => { |
| | | loadAMap() |
| | | .then(() => loadAMapUI()) |
| | | .then((AMapUI) => { |
| | | AMapUI.loadUI(['misc/PoiPicker'], (PoiPicker) => { |
| | | if (!PoiPicker) { |
| | | reject(new Error('PoiPicker failed to load')); |
| | | return; |
| | | } |
| | | const poiPicker = new PoiPicker(); |
| | | resolve(poiPicker); |
| | | }); |
| | | }) |
| | | .catch((error) => { |
| | | console.error('Error initializing PoiPicker:', error); |
| | | reject(error); |
| | | }); |
| | | }); |
| | | }; |
| | | |
| | | export const initGeocoder = () => { |
| | | return new Promise((resolve, reject) => { |
| | | loadAMap() |
| | | .then((AMap) => { |
| | | try { |
| | | const geocoder = new AMap.Geocoder(); |
| | | resolve(geocoder); |
| | | } catch (error) { |
| | | reject(new Error('Failed to initialize Geocoder')); |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | console.error('Error initializing Geocoder:', error); |
| | | reject(error); |
| | | }); |
| | | }); |
| | | }; |
| New file |
| | |
| | | <template> |
| | | <basic-container> |
| | | <el-tabs v-model="activeTab" @tab-click="handleTabChange"> |
| | | <el-tab-pane v-for="tab in tabs" :key="tab.name" :label="`${tab.label} (${tab.count})`" :name="tab.name"> |
| | | <div class="tab-content"> |
| | | <!-- 查询条件筛选栏 --> |
| | | <div class="filter-bar"> |
| | | <el-input |
| | | v-model="filters.keyword" |
| | | placeholder="请输入关键字" |
| | | class="filter-item" |
| | | clearable |
| | | @keyup.enter="handleSearch" |
| | | /> |
| | | <el-select |
| | | v-model="filters.department" |
| | | placeholder="请选择所属单位" |
| | | class="filter-item" |
| | | clearable |
| | | > |
| | | <el-option |
| | | v-for="item in departments" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | <el-select |
| | | v-model="filters.type" |
| | | placeholder="请选择工单类型" |
| | | class="filter-item" |
| | | clearable |
| | | > |
| | | <el-option |
| | | v-for="item in types" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | <el-date-picker |
| | | v-model="filters.dateRange" |
| | | type="daterange" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | class="date-picker" |
| | | value-format="yyyy-MM-dd" |
| | | /> |
| | | <el-select |
| | | v-model="filters.status" |
| | | placeholder="请选择状态" |
| | | class="filter-item" |
| | | clearable |
| | | > |
| | | <el-option |
| | | v-for="item in statuses" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
| | | <el-button icon="el-icon-refresh" @click="handleReset">重置</el-button> |
| | | </div> |
| | | |
| | | <!-- 表格部分 --> |
| | | <avue-crud |
| | | :data="tableData" |
| | | :option="option" |
| | | :page.sync="pagination" |
| | | :table-loading="loading" |
| | | @current-change="handlePaginationChange" |
| | | @size-change="handlePaginationChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <template #menu-left> |
| | | <el-button |
| | | type="primary" |
| | | icon="el-icon-plus" |
| | | @click="handleAdd" |
| | | >新建工单</el-button> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | icon="el-icon-download" |
| | | @click="exportData" |
| | | >导出</el-button> |
| | | </template> |
| | | <template #menu="{ row }"> |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-view" |
| | | @click="handleViewDetail(row)" |
| | | >详情</el-button> |
| | | </template> |
| | | <template #status="{ row }"> |
| | | <el-tag :type="getStatusTagType(row.status)">{{ mapStatus(row.status) }}</el-tag> |
| | | </template> |
| | | <template #keyData="{ row }"> |
| | | <el-tooltip :content="row.address" placement="top" effect="light"> |
| | | <span>{{ row.keyData }}</span> |
| | | </el-tooltip> |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | |
| | | <!-- 新建工单对话框 --> |
| | | <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm"> |
| | | <el-form :model="form" :rules="rules" ref="form" label-width="100px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="工单名称" prop="name"> |
| | | <el-input v-model="form.name" placeholder="请输入工单名称"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="工单类型" prop="type"> |
| | | <el-select v-model="form.type" placeholder="请选择工单类型"> |
| | | <el-option v-for="item in types" :key="item.value" :label="item.label" :value="item.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="处理人员" prop="handler"> |
| | | <el-select v-model="form.handler" placeholder="请选择处理人员"> |
| | | <el-option v-for="item in handlers" :key="item.value" :label="item.label" :value="item.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="关联算法" prop="algorithm"> |
| | | <el-select v-model="form.algorithm" placeholder="请选择关联算法"> |
| | | <el-option v-for="item in algorithms" :key="item.value" :label="item.label" :value="item.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="位置选择"> |
| | | <el-button @click="openMap">地图选址</el-button> |
| | | <span v-if="form.location" style="margin-left: 10px;"> |
| | | 已选择位置: {{ formatLocation(form.location) }} |
| | | </span> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="工单内容" prop="content"> |
| | | <el-input type="textarea" v-model="form.content" rows="4" placeholder="请输入工单内容"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="上传图片"> |
| | | <el-upload |
| | | action="/api/upload" |
| | | list-type="picture-card" |
| | | :on-preview="handleUploadPreview" |
| | | :on-remove="handleUploadRemove" |
| | | :on-success="handleUploadSuccess" |
| | | :on-error="handleUploadError" |
| | | :file-list="form.photos" |
| | | :limit="5" |
| | | :multiple="true" |
| | | accept="image/*" |
| | | :before-upload="beforeUpload" |
| | | > |
| | | <i class="el-icon-plus"></i> |
| | | <div slot="tip" class="el-upload__tip"> |
| | | 上传工单相关图片(支持jpg/png格式),最多5张,单张不超过5MB |
| | | </div> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer"> |
| | | <el-button @click="dialogVisible = false">取消</el-button> |
| | | <el-button type="primary" @click="submitForm">提交</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <!-- 工单详情对话框 --> |
| | | <el-dialog v-model="detailVisible" title="工单详情" width="80%" append-to-body> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form label-width="100px"> |
| | | <el-form-item label="上传照片"> |
| | | <el-upload |
| | | action="/api/upload" |
| | | list-type="picture-card" |
| | | :on-preview="handlePreview" |
| | | :on-remove="handleRemove" |
| | | :file-list="currentDetail.photos" |
| | | > |
| | | <i class="el-icon-plus"></i> |
| | | </el-upload> |
| | | <div class="el-upload__tip"> |
| | | 上传相关照片(jpg、jpeg、png),单张不超过5M |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form label-width="100px" class="detail-form"> |
| | | <el-form-item label="工单编号"> |
| | | <span>{{ currentDetail.orderNumber }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="任务名称"> |
| | | <span>{{ currentDetail.orderName }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="工单状态"> |
| | | <el-tag :type="getStatusTagType(currentDetail.status)"> |
| | | {{ mapStatus(currentDetail.status) }} |
| | | </el-tag> |
| | | </el-form-item> |
| | | <el-form-item label="发起时间"> |
| | | <span>{{ currentDetail.startTime }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="发起人"> |
| | | <span>{{ currentDetail.creator }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="经纬度"> |
| | | <span>{{ currentDetail.keyData }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="详细地址"> |
| | | <span>{{ currentDetail.address }}</span> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-col> |
| | | </el-row> |
| | | <template #footer> |
| | | <el-button @click="detailVisible = false">关闭</el-button> |
| | | </template> |
| | | </el-dialog> |
| | | </basic-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getList, createTicket, getTicketInfo } from '@/api/tickets/ticket'; |
| | | import { export_json_to_excel } from '@/utils/exportExcel'; |
| | | |
| | | export default { |
| | | name: "TicketPage", |
| | | data() { |
| | | return { |
| | | activeTab: "all", |
| | | tabs: [ |
| | | { label: "全部工单", name: "all", value: null, count: 0 }, |
| | | { label: "待审核", name: "pending", value: 1, count: 0 }, |
| | | { label: "待处理", name: "processing", value: 2, count: 0 }, |
| | | { label: "处理中", name: "inProgress", value: 3, count: 0 }, |
| | | { label: "已完成", name: "completed", value: 4, count: 0 }, |
| | | { label: "已完结", name: "closed", value: 5, count: 0 }, |
| | | { label: "我发起的", name: "myTickets", value: null, count: 0 }, |
| | | ], |
| | | filters: { |
| | | keyword: "", |
| | | department: "", |
| | | type: "", |
| | | dateRange: [], |
| | | status: "", |
| | | }, |
| | | departments: [], |
| | | types: [], |
| | | handlers: [ |
| | | { label: "处理人A", value: "handlerA" }, |
| | | { label: "处理人B", value: "handlerB" }, |
| | | ], |
| | | algorithms: [ |
| | | { label: "算法A", value: "algorithmA" }, |
| | | { label: "算法B", value: "algorithmB" }, |
| | | ], |
| | | statuses: [ |
| | | { label: "待审核", value: "1" }, |
| | | { label: "待处理", value: "2" }, |
| | | { label: "处理中", value: "3" }, |
| | | { label: "已完成", value: "4" }, |
| | | { label: "已完结", value: "5" }, |
| | | ], |
| | | tableData: [], |
| | | option: { |
| | | border: true, |
| | | stripe: true, |
| | | menuWidth: 150, |
| | | searchMenuSpan: 6, |
| | | viewBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | | menu: true, |
| | | column: [ |
| | | { label: "序号", prop: "id", width: 70 }, |
| | | { label: "工单编号", prop: "orderNumber", width: 150 }, |
| | | { label: "工单名称", prop: "orderName", width: 150 }, |
| | | { label: "所属单位", prop: "department", width: 100 }, |
| | | { label: "发起时间", prop: "startTime", width: 160 }, |
| | | { label: "关联算法", prop: "content", width: 180 }, |
| | | { label: "工单类型", prop: "type", width: 108 }, |
| | | { |
| | | label: "关键数据", |
| | | prop: "keyData", |
| | | slot: true, |
| | | width: 250, |
| | | overHidden: true |
| | | }, |
| | | { label: "创建人", prop: "creator", width: 100 }, |
| | | { label: "处理人", prop: "handler", width: 100 }, |
| | | { label: "工单状态", prop: "status", slot: true, width: 100 } |
| | | ], |
| | | }, |
| | | pagination: { |
| | | currentPage: 1, |
| | | pageSize: 10, |
| | | total: 0, |
| | | }, |
| | | dialogVisible: false, |
| | | detailVisible: false, |
| | | currentDetail: {}, |
| | | form: { |
| | | name: '', |
| | | type: '', |
| | | handler: '', |
| | | algorithm: '', |
| | | location: '', |
| | | address: '', |
| | | content: '', |
| | | photos: [], |
| | | }, |
| | | rules: { |
| | | name: [{ required: true, message: '请输入工单名称', trigger: 'blur' }], |
| | | type: [{ required: true, message: '请选择工单类型', trigger: 'change' }], |
| | | handler: [{ required: true, message: '请选择处理人员', trigger: 'change' }], |
| | | content: [{ required: true, message: '请输入工单内容', trigger: 'blur' }], |
| | | }, |
| | | loading: false, |
| | | globalCounts: {}, |
| | | mapLoaded: false, |
| | | }; |
| | | }, |
| | | created() { |
| | | this.loadAMapScripts(); |
| | | this.fetchDropdownData(); |
| | | }, |
| | | mounted() { |
| | | this.fetchTableData(); |
| | | }, |
| | | methods: { |
| | | async loadAMapScripts() { |
| | | try { |
| | | // await loadAMap(); |
| | | // await loadAMapUI(); |
| | | this.mapLoaded = true; |
| | | } catch (error) { |
| | | console.error('Failed to load AMap scripts:', error); |
| | | this.$message.error('地图加载失败,请检查网络或API Key配置'); |
| | | } |
| | | }, |
| | | |
| | | async fetchDropdownData() { |
| | | try { |
| | | const response = await getTicketInfo(); |
| | | console.log('接口返回数据:', response.data.data); |
| | | const { dept_data, event_type } = response.data.data; |
| | | |
| | | this.departments = dept_data.map(item => ({ |
| | | label: item.dept_name, |
| | | value: item.id, |
| | | })); |
| | | |
| | | this.types = Object.entries(event_type).map(([key, value]) => ({ |
| | | label: value, |
| | | value: key, |
| | | })); |
| | | |
| | | console.log('departments:', this.departments); |
| | | console.log('types:', this.types); |
| | | } catch (error) { |
| | | console.error('获取下拉框数据失败:', error); |
| | | this.$message.error('加载下拉框数据失败'); |
| | | } |
| | | }, |
| | | |
| | | async fetchTableData() { |
| | | this.loading = true; |
| | | try { |
| | | const currentTab = this.tabs.find(tab => tab.name === this.activeTab); |
| | | const params = { |
| | | word_order_type: this.filters.type || undefined, |
| | | status: this.filters.status !== "" ? Number(this.filters.status) : currentTab?.value, |
| | | keyword: this.filters.keyword || undefined, |
| | | dept_id: this.filters.department || undefined, |
| | | start_date: this.filters.dateRange?.[0] ? this.formatDate(this.filters.dateRange[0]) : undefined, |
| | | end_date: this.filters.dateRange?.[1] ? this.formatDate(this.filters.dateRange[1]).replace("00:00:00", "23:59:59") : undefined, |
| | | current: this.pagination.currentPage, |
| | | size: this.pagination.pageSize, |
| | | }; |
| | | console.log("发送的参数:", params); |
| | | const response = await getList(params); |
| | | if (!response?.data?.data?.records) { |
| | | throw new Error('接口返回数据格式不正确'); |
| | | } |
| | | |
| | | const { total, records } = response.data.data; |
| | | this.tableData = records.map(item => { |
| | | const longitude = Number(item.longitude) || 0; |
| | | const latitude = Number(item.latitude) || 0; |
| | | return { |
| | | id: item.id, |
| | | orderNumber: `EVENT${item.id}`, |
| | | orderName: item.event_name || '未命名', |
| | | department: this.departments.find(d => d.value === item.dept_id)?.label || item.dept_name || "未知单位", |
| | | startTime: item.create_time || '未知时间', |
| | | content: item.ai_types || '无内容', |
| | | type: this.types.find(t => t.value === item.event_dict_key)?.label || '未知类型', |
| | | keyData: (!isNaN(longitude) && !isNaN(latitude)) |
| | | ? `${longitude.toFixed(6)}, ${latitude.toFixed(6)}` |
| | | : '未知位置', |
| | | address: item.address || '暂无地址信息', |
| | | creator: item.create_user || '未知创建人', |
| | | handler: item.update_user || '未分配', |
| | | status: Number(item.status || 0), |
| | | photos: item.photos ? item.photos.map(p => ({ url: p })) : [], |
| | | location: (!isNaN(longitude) && !isNaN(latitude)) ? [longitude, latitude] : null, |
| | | }; |
| | | }); |
| | | |
| | | if (this.activeTab === 'all') { |
| | | this.updateGlobalCounts(records, total); |
| | | } |
| | | |
| | | this.pagination.total = total || 0; |
| | | this.updateTabCounts(); |
| | | } catch (error) { |
| | | console.error("获取数据失败:", error); |
| | | this.$message.error(error.message || "获取数据失败"); |
| | | this.tableData = []; |
| | | this.pagination.total = 0; |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | |
| | | beforeUpload(file) { |
| | | const isImage = file.type.includes('image'); |
| | | const isLt5M = file.size / 1024 / 1024 < 5; |
| | | |
| | | if (!isImage) { |
| | | this.$message.error('只能上传图片文件!'); |
| | | return false; |
| | | } |
| | | if (!isLt5M) { |
| | | this.$message.error('图片大小不能超过5MB!'); |
| | | return false; |
| | | } |
| | | return true; |
| | | }, |
| | | |
| | | handleUploadPreview(file) { |
| | | this.$message.info(`预览图片:${file.name}`); |
| | | }, |
| | | |
| | | handleUploadRemove(file, fileList) { |
| | | this.form.photos = fileList; |
| | | this.$message.success(`已移除图片:${file.name}`); |
| | | }, |
| | | |
| | | handleUploadSuccess(response, file, fileList) { |
| | | this.form.photos = fileList; |
| | | this.$message.success(`图片上传成功:${file.name}`); |
| | | }, |
| | | |
| | | handleUploadError(err, file) { |
| | | this.$message.error(`图片上传失败:${file.name}`); |
| | | console.error('上传失败:', err); |
| | | }, |
| | | |
| | | async uploadFiles(files) { |
| | | const uploadPromises = files.map(file => { |
| | | return new Promise((resolve) => { |
| | | const formData = new FormData(); |
| | | formData.append('file', file.raw); |
| | | setTimeout(() => { |
| | | resolve({ |
| | | url: URL.createObjectURL(file.raw), |
| | | name: file.name |
| | | }); |
| | | }, 1000); |
| | | }); |
| | | }); |
| | | return Promise.all(uploadPromises); |
| | | }, |
| | | |
| | | async submitForm() { |
| | | this.$refs.form.validate(async (valid) => { |
| | | if (valid) { |
| | | if (!this.form.location || this.form.location.length !== 2) { |
| | | this.$message.warning('请在地图上选择位置'); |
| | | return; |
| | | } |
| | | |
| | | try { |
| | | const unUploadedFiles = this.form.photos.filter(file => file.raw); |
| | | if (unUploadedFiles.length > 0) { |
| | | await this.uploadFiles(unUploadedFiles); |
| | | } |
| | | |
| | | const submitData = { |
| | | ...this.form, |
| | | photos: this.form.photos.map(file => file.url || file.response?.url), |
| | | location: this.form.location.join(','), |
| | | status: 1 |
| | | }; |
| | | |
| | | await createTicket(submitData); |
| | | this.dialogVisible = false; |
| | | this.$message.success('工单创建成功'); |
| | | this.fetchTableData(); |
| | | } catch (error) { |
| | | console.error('提交失败:', error); |
| | | this.$message.error('工单创建失败: ' + (error.message || '服务器错误')); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | formatDate(date) { |
| | | if (!date) return undefined; |
| | | const d = new Date(date); |
| | | return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')} 00:00:00`; |
| | | }, |
| | | |
| | | mapStatus(status) { |
| | | const statusTextMap = { |
| | | 1: "待审核", |
| | | 2: "待处理", |
| | | 3: "处理中", |
| | | 4: "已完成", |
| | | 5: "已完结" |
| | | }; |
| | | return statusTextMap[status] || "未知状态"; |
| | | }, |
| | | |
| | | getStatusTagType(status) { |
| | | const statusMap = { |
| | | 1: "warning", |
| | | 2: "info", |
| | | 3: "primary", |
| | | 4: "success", |
| | | 5: "danger", |
| | | }; |
| | | return statusMap[status] || "info"; |
| | | }, |
| | | |
| | | handleTabChange(tab) { |
| | | this.activeTab = tab.props?.name || tab.name; |
| | | this.filters.status = ""; |
| | | this.pagination.currentPage = 1; |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | handleSearch() { |
| | | this.pagination.currentPage = 1; |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | handleReset() { |
| | | this.filters = { |
| | | keyword: "", |
| | | department: "", |
| | | type: "", |
| | | dateRange: [], |
| | | status: "", |
| | | }; |
| | | this.pagination.currentPage = 1; |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | handlePaginationChange(val) { |
| | | this.pagination.currentPage = val.currentPage; |
| | | this.pagination.pageSize = val.pageSize; |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | updateGlobalCounts(records, total) { |
| | | const counts = { |
| | | all: total, |
| | | pending: 0, |
| | | processing: 0, |
| | | inProgress: 0, |
| | | completed: 0, |
| | | closed: 0, |
| | | myTickets: 0 |
| | | }; |
| | | |
| | | records.forEach(item => { |
| | | const tab = this.tabs.find(t => t.value === Number(item.status)); |
| | | if (tab) { |
| | | counts[tab.name] = (counts[tab.name] || 0) + 1; |
| | | } |
| | | }); |
| | | |
| | | this.globalCounts = counts; |
| | | }, |
| | | |
| | | updateTabCounts() { |
| | | if (this.activeTab === 'all') { |
| | | this.tabs.forEach(tab => { |
| | | tab.count = this.globalCounts[tab.name] || 0; |
| | | }); |
| | | } else { |
| | | this.tabs.forEach(tab => { |
| | | if (tab.name === this.activeTab) { |
| | | tab.count = this.tableData.length; |
| | | } else { |
| | | tab.count = this.globalCounts[tab.name] || 0; |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | handleAdd() { |
| | | this.dialogVisible = true; |
| | | }, |
| | | |
| | | resetForm() { |
| | | this.form = { |
| | | name: '', |
| | | type: '', |
| | | handler: '', |
| | | algorithm: '', |
| | | location: '', |
| | | address: '', |
| | | content: '', |
| | | photos: [], |
| | | }; |
| | | if (this.$refs.form) { |
| | | this.$refs.form.resetFields(); |
| | | } |
| | | }, |
| | | |
| | | formatLocation(location) { |
| | | if (!Array.isArray(location)) { |
| | | return '未知位置'; |
| | | } |
| | | return `${location[0].toFixed(6)}, ${location[1].toFixed(6)}`; |
| | | }, |
| | | |
| | | handleViewDetail(row) { |
| | | this.currentDetail = { |
| | | ...row, |
| | | photos: row.photos || [], |
| | | }; |
| | | this.detailVisible = true; |
| | | }, |
| | | |
| | | openMap() { |
| | | this.$message.info("地图选址功能暂未实现"); |
| | | }, |
| | | |
| | | handlePreview(file) { |
| | | this.$message.info(`预览图片:${file.name}`); |
| | | }, |
| | | |
| | | handleRemove(file) { |
| | | this.$message.info(`移除图片:${file.name}`); |
| | | }, |
| | | |
| | | refreshChange() { |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | onLoad() { |
| | | this.fetchTableData(); |
| | | }, |
| | | |
| | | async exportData() { |
| | | try { |
| | | this.loading = true; |
| | | const params = { |
| | | keyword: this.filters.keyword || undefined, |
| | | word_order_type: this.filters.type || undefined, |
| | | status: this.filters.status || undefined, |
| | | dept_id: this.filters.department || undefined, |
| | | start_date: this.filters.dateRange?.[0] ? this.formatDate(this.filters.dateRange[0]) : undefined, |
| | | end_date: this.filters.dateRange?.[1] ? this.formatDate(this.filters.dateRange[1]) : undefined, |
| | | }; |
| | | |
| | | const response = await getList(params); |
| | | if (!response?.data?.data?.records) { |
| | | throw new Error('接口返回数据格式不正确'); |
| | | } |
| | | |
| | | const records = response.data.data.records; |
| | | const exportData = records.map(item => ({ |
| | | 工单编号: item.wayline_job_id || '', |
| | | 工单名称: item.event_name || '', |
| | | 所属单位: this.departments.find(d => d.value === item.deptId)?.label || '未知单位', |
| | | 发起时间: item.create_time || '', |
| | | 工单内容: item.ai_types || '', |
| | | 工单类型: this.types.find(t => t.value === item.event_dict_key)?.label || '未知类型', |
| | | 经纬度: `${item.longitude || '未知'}, ${item.latitude || '未知'}`, |
| | | 详细地址: item.address || '暂无地址信息', |
| | | 创建人: item.create_user || '未知创建人', |
| | | 处理人: item.update_user || '未分配', |
| | | 工单状态: this.mapStatus(Number(item.status || 0)), |
| | | })); |
| | | |
| | | export_json_to_excel( |
| | | ['工单编号', '工单名称', '所属单位', '发起时间', '工单内容', '工单类型', '经纬度', '详细地址', '创建人', '处理人', '工单状态'], |
| | | exportData, |
| | | '工单数据' |
| | | ); |
| | | this.$message.success('数据导出成功'); |
| | | } catch (error) { |
| | | console.error('导出失败:', error); |
| | | this.$message.error('数据导出失败'); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | }, |
| | | watch: { |
| | | tableData: { |
| | | handler() { |
| | | this.updateTabCounts(); |
| | | }, |
| | | deep: true |
| | | }, |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .tab-content { |
| | | padding: 10px; |
| | | } |
| | | |
| | | .filter-bar { |
| | | display: flex; |
| | | align-items: center; |
| | | margin-bottom: 15px; |
| | | flex-wrap: wrap; |
| | | |
| | | .filter-item { |
| | | margin-right: 10px; |
| | | margin-bottom: 10px; |
| | | width: 200px; |
| | | } |
| | | |
| | | .date-picker { |
| | | width: 240px; |
| | | } |
| | | } |
| | | |
| | | .action-bar { |
| | | margin-bottom: 16px; |
| | | } |
| | | |
| | | .el-tabs { |
| | | :deep(.el-tabs__content) { |
| | | overflow: visible; |
| | | } |
| | | } |
| | | |
| | | .tab-content { |
| | | min-height: 200px; |
| | | } |
| | | |
| | | .detail-form { |
| | | :deep(.el-form-item) { |
| | | margin-bottom: 10px; |
| | | } |
| | | |
| | | :deep(.el-form-item__label) { |
| | | color: #606266; |
| | | font-weight: normal; |
| | | } |
| | | |
| | | :deep(.el-form-item__content) { |
| | | color: #303133; |
| | | } |
| | | } |
| | | |
| | | .el-dialog { |
| | | .el-form-item { |
| | | margin-bottom: 20px; |
| | | } |
| | | } |
| | | |
| | | .el-upload { |
| | | width: 100%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | |
| | | :deep(.el-upload-list__item) { |
| | | transition: all 0.3s ease; |
| | | } |
| | | |
| | | :deep(.el-upload-list__item:hover) { |
| | | background-color: #f5f7fa; |
| | | } |
| | | } |
| | | |
| | | .el-upload__tip { |
| | | font-size: 12px; |
| | | color: #909399; |
| | | margin-top: 7px; |
| | | } |
| | | </style> |
| | |
| | | "resolved" "https://registry.npmmirror.com/acorn/-/acorn-8.11.3.tgz" |
| | | "version" "8.11.3" |
| | | |
| | | "adler-32@~1.3.0": |
| | | "integrity" "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==" |
| | | "resolved" "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz" |
| | | "version" "1.3.1" |
| | | |
| | | "animate.css@^4.1.1": |
| | | "integrity" "sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==" |
| | | "resolved" "https://registry.npmmirror.com/animate.css/-/animate.css-4.1.1.tgz" |
| | |
| | | "resolved" "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz" |
| | | "version" "1.1.2" |
| | | |
| | | "cfb@~1.2.1": |
| | | "integrity" "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==" |
| | | "resolved" "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz" |
| | | "version" "1.2.2" |
| | | dependencies: |
| | | "adler-32" "~1.3.0" |
| | | "crc-32" "~1.2.0" |
| | | |
| | | "chalk@^4.1.2": |
| | | "integrity" "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" |
| | | "resolved" "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz" |
| | |
| | | "integrity" "sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==" |
| | | "resolved" "https://registry.npmmirror.com/clsx/-/clsx-1.2.1.tgz" |
| | | "version" "1.2.1" |
| | | |
| | | "codepage@~1.15.0": |
| | | "integrity" "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==" |
| | | "resolved" "https://registry.npmjs.org/codepage/-/codepage-1.15.0.tgz" |
| | | "version" "1.15.0" |
| | | |
| | | "color-convert@^2.0.1": |
| | | "integrity" "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==" |
| | |
| | | "integrity" "sha512-UHf2P/mFKaESqdPq+UdBJm/1y8lYdlcDd0nTZHNC8cxWoJwZr1Eldm1PpWui446vDl5Pd8PtRYkr3q6K4+Qa5A==" |
| | | "resolved" "https://registry.npmmirror.com/countup.js/-/countup.js-1.9.3.tgz" |
| | | "version" "1.9.3" |
| | | |
| | | "crc-32@~1.2.0", "crc-32@~1.2.1": |
| | | "integrity" "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" |
| | | "resolved" "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz" |
| | | "version" "1.2.2" |
| | | |
| | | "crypto-js@^4.1.1": |
| | | "integrity" "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" |
| | |
| | | "version" "1.5.10" |
| | | dependencies: |
| | | "debug" "=3.1.0" |
| | | |
| | | "frac@~1.1.2": |
| | | "integrity" "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==" |
| | | "resolved" "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz" |
| | | "version" "1.1.2" |
| | | |
| | | "fs-extra@^10.0.0": |
| | | "integrity" "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==" |
| | |
| | | "resolved" "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz" |
| | | "version" "1.4.8" |
| | | |
| | | "ssf@~0.11.2": |
| | | "integrity" "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==" |
| | | "resolved" "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz" |
| | | "version" "0.11.2" |
| | | dependencies: |
| | | "frac" "~1.1.2" |
| | | |
| | | "ssr-window@^3.0.0-alpha.1": |
| | | "integrity" "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==" |
| | | "resolved" "https://registry.npmmirror.com/ssr-window/-/ssr-window-3.0.0.tgz" |
| | |
| | | "integrity" "sha512-DXukZJxpHA8LuotRwL0pP1+rS6CS7FF2qStDDE1C7DDg2rLud2PXRMuEDYIPhgEezwnlHNL4c+N6MfMTjCGTng==" |
| | | "resolved" "https://registry.npmmirror.com/wildcard/-/wildcard-1.1.2.tgz" |
| | | "version" "1.1.2" |
| | | |
| | | "wmf@~1.0.1": |
| | | "integrity" "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==" |
| | | "resolved" "https://registry.npmjs.org/wmf/-/wmf-1.0.2.tgz" |
| | | "version" "1.0.2" |
| | | |
| | | "word@~0.3.0": |
| | | "integrity" "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==" |
| | | "resolved" "https://registry.npmjs.org/word/-/word-0.3.0.tgz" |
| | | "version" "0.3.0" |
| | | |
| | | "xlsx@^0.18.5": |
| | | "integrity" "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==" |
| | | "resolved" "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz" |
| | | "version" "0.18.5" |
| | | dependencies: |
| | | "adler-32" "~1.3.0" |
| | | "cfb" "~1.2.1" |
| | | "codepage" "~1.15.0" |
| | | "crc-32" "~1.2.1" |
| | | "ssf" "~0.11.2" |
| | | "wmf" "~1.0.1" |
| | | "word" "~0.3.0" |