feat: 家具初版

This commit is contained in:
砂糖
2025-09-03 11:55:00 +08:00
parent 623fa846a4
commit 82faee4f7c
44 changed files with 1824 additions and 943 deletions

View File

@@ -44,8 +44,8 @@
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="mini" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -55,7 +55,7 @@
type="primary"
plain
icon="Plus"
size="mini"
size="small"
@click="handleAdd"
>新增</el-button>
</el-col>
@@ -64,7 +64,7 @@
type="success"
plain
icon="Edit"
size="mini"
size="small"
:disabled="single"
@click="handleUpdate"
>修改</el-button>
@@ -74,7 +74,7 @@
type="danger"
plain
icon="Delete"
size="mini"
size="small"
:disabled="multiple"
@click="handleDelete"
>删除</el-button>
@@ -84,7 +84,7 @@
type="warning"
plain
icon="Download"
size="mini"
size="small"
@click="handleExport"
>导出</el-button>
</el-col>
@@ -107,7 +107,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<!-- <el-button
size="mini"
size="small"
type="text"
icon="el-icon-view"
@click="handleImageDetail(scope.row)"
@@ -115,7 +115,7 @@
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
@click="handleUpdate(scope.row)"
@@ -123,7 +123,7 @@
<el-button
size="mini"
size="small"
type="text"
icon="Delete"
@click="handleDelete(scope.row)"
@@ -176,7 +176,7 @@
<el-drawer
title="图片列表"
:visible.sync="imageDrawer"
v-model="imageDrawer"
direction="rtl"
>
<image-preview v-for="img in srcList" :src="img" :width="150" :height="150" />

View File

@@ -26,8 +26,8 @@
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="mini" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -37,7 +37,7 @@
type="primary"
plain
icon="Plus"
size="mini"
size="small"
@click="handleAdd"
>新增</el-button>
</el-col>
@@ -46,7 +46,7 @@
type="success"
plain
icon="Edit"
size="mini"
size="small"
:disabled="single"
@click="handleUpdate"
>修改</el-button>
@@ -56,7 +56,7 @@
type="danger"
plain
icon="Delete"
size="mini"
size="small"
:disabled="multiple"
@click="handleDelete"
>删除</el-button>
@@ -66,7 +66,7 @@
type="warning"
plain
icon="Download"
size="mini"
size="small"
@click="handleExport"
>导出</el-button>
</el-col>
@@ -95,13 +95,13 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
@click="handleUpdate(scope.row)"
>修改</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Delete"
@click="handleDelete(scope.row)"

View File

@@ -17,13 +17,13 @@
{{ lastStatus || '点击填写' }}
</span>
</span>
<el-dialog title="手动填写物流状态" :visible.sync="dialogVisible" width="400px" append-to-body>
<el-dialog title="手动填写物流状态" v-model="dialogVisible" width="400px" append-to-body>
<el-form :model="form" label-width="100px">
<el-form-item label="物流状态">
<el-input v-model="form.lastStatus" placeholder="请输入物流状态" />
</el-form-item>
<el-form-item label="更新时间">
<el-date-picker v-model="form.lastUpdateTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择更新时间" />
<el-date-picker v-model="form.lastUpdateTime" type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="请选择更新时间" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">

View File

@@ -37,7 +37,7 @@
<el-date-picker clearable
v-model="queryParams.planDate"
type="date"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
placeholder="请选择计划到货时间">
</el-date-picker>
</el-form-item>
@@ -52,8 +52,8 @@
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="mini" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -63,7 +63,7 @@
<el-button
type="waning"
plain
size="mini"
size="small"
icon="Refresh"
@click="handleRefresh"
>批量更新状态
@@ -73,7 +73,7 @@
type="primary"
plain
icon="Plus"
size="mini"
size="small"
@click="handleAdd"
>新增
</el-button>
@@ -83,7 +83,7 @@
type="success"
plain
icon="Edit"
size="mini"
size="small"
:disabled="single"
@click="handleUpdate"
>修改
@@ -94,7 +94,7 @@
type="danger"
plain
icon="Delete"
size="mini"
size="small"
:disabled="multiple"
@click="handleDelete"
>删除
@@ -105,7 +105,7 @@
type="warning"
plain
icon="Download"
size="mini"
size="small"
@click="handleExport"
>导出
</el-button>
@@ -161,7 +161,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
size="mini"
size="small"
type="text"
icon="Check"
v-if="scope.row.status===0"
@@ -169,7 +169,7 @@
>确认
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Check"
v-if="scope.row.status===1"
@@ -178,7 +178,7 @@
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Refresh"
v-if="scope.row.status===1"
@@ -186,7 +186,7 @@
>同步物流状态
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Close"
v-if="scope.row.status!==2 && scope.row.status!==3"
@@ -194,14 +194,14 @@
>异常
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
@click="handleDetail(scope.row)"
>详情
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
v-if="scope.row.status!==2"
@@ -209,7 +209,7 @@
>修改
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Delete"
@click="handleDelete(scope.row)"
@@ -335,7 +335,7 @@
</el-dialog>
<!-- 手动填写物流状态弹窗 -->
<el-dialog title="手动填写物流状态" :visible.sync="customStatusDialogVisible" width="400px" append-to-body>
<el-dialog title="手动填写物流状态" v-model="customStatusDialogVisible" width="400px" append-to-body>
<el-form :model="customStatusForm" label-width="100px">
<el-form-item label="物流状态">
<el-input v-model="customStatusForm.lastStatus" placeholder="请输入物流状态" />

View File

@@ -21,7 +21,7 @@
<el-date-picker clearable
v-model="queryParams.reportTime"
type="date"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
placeholder="请选择汇报时间">
</el-date-picker>
</el-form-item>
@@ -34,8 +34,8 @@
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="mini" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -45,7 +45,7 @@
type="primary"
plain
icon="Check"
size="mini"
size="small"
@click="handleUpdateStatus"
>修复</el-button>
</el-col> -->
@@ -54,7 +54,7 @@
type="success"
plain
icon="Edit"
size="mini"
size="small"
:disabled="single"
@click="handleUpdate"
>修改</el-button>
@@ -64,7 +64,7 @@
type="danger"
plain
icon="Delete"
size="mini"
size="small"
:disabled="multiple"
@click="handleDelete"
>删除</el-button>
@@ -74,7 +74,7 @@
type="warning"
plain
icon="Download"
size="mini"
size="small"
@click="handleExport"
>导出</el-button>
</el-col>
@@ -102,13 +102,13 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
@click="handleUpdateStatus(scope.row,1)"
>问题解决</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Delete"
@click="handleDelete(scope.row)"
@@ -135,7 +135,7 @@
<el-date-picker clearable
v-model="form.reportTime"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="请选择汇报时间">
</el-date-picker>
</el-form-item>

View File

@@ -7,7 +7,7 @@
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
style="width: 280px; margin-right: 16px;"
:picker-options="pickerOptions"
/>

View File

@@ -23,7 +23,7 @@
<el-descriptions-item label="部门">{{ data.deptName }}</el-descriptions-item>
<el-descriptions-item label="工作地点">{{ data.workPlace }}</el-descriptions-item>
<el-descriptions-item label="是否出差">
<el-tag :type="data.isTrip === 1 ? 'success' : 'info'" size="mini">
<el-tag :type="data.isTrip === 1 ? 'success' : 'info'" size="small">
{{ data.isTrip === 1 ? '是' : '否' }}
</el-tag>
</el-descriptions-item>
@@ -62,9 +62,9 @@
<!-- Footer -->
<template #footer>
<el-button @click="handlePrint" size="mini">打印</el-button>
<el-button @click="handleDownload" size="mini">下载 PDF</el-button>
<el-button @click="visible = false" type="primary" size="mini"> </el-button>
<el-button @click="handlePrint" size="small">打印</el-button>
<el-button @click="handleDownload" size="small">下载 PDF</el-button>
<el-button @click="visible = false" type="primary" size="small"> </el-button>
</template>
</el-dialog>
</template>

View File

@@ -9,7 +9,7 @@
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
/>
<el-button type="primary" icon="Search" class="export-button" @click="handleSearch">
@@ -101,7 +101,7 @@
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
unlink-panels
@change="onSummaryDateChange"
/>
@@ -150,7 +150,7 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
size="mini"
size="small"
type="text"
icon="el-icon-view"
@click="openDetail(scope.row)"

View File

@@ -24,14 +24,14 @@
v-model="queryParams.createTime"
type="date"
placeholder="请输入报工时间"
value-format="yyyy-MM-dd"
value-format="YYYY-MM-DD"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="Search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="mini" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -41,7 +41,7 @@
type="primary"
plain
icon="Plus"
size="mini"
size="small"
@click="handleAdd"
v-hasPermi="['oa:projectReport:add']"
>新增
@@ -52,7 +52,7 @@
type="success"
plain
icon="Edit"
size="mini"
size="small"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['oa:projectReport:edit']"
@@ -64,7 +64,7 @@
type="danger"
plain
icon="Delete"
size="mini"
size="small"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['oa:projectReport:remove']"
@@ -76,7 +76,7 @@
type="warning"
plain
icon="Download"
size="mini"
size="small"
@click="handleExport"
v-hasPermi="['oa:projectReport:export']"
>导出
@@ -112,14 +112,14 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button
size="mini"
size="small"
type="text"
icon="View"
@click="openDetail(scope.row)"
>详情
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Edit"
@click="handleUpdate(scope.row)"
@@ -127,7 +127,7 @@
>修改
</el-button>
<el-button
size="mini"
size="small"
type="text"
icon="Delete"
@click="handleDelete(scope.row)"
@@ -179,8 +179,8 @@
v-model="form.createTime"
type="datetime"
placeholder="请选择报工时间"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd HH:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
format="YYYY-MM-DD HH:mm:ss"
>
</el-date-picker>
</el-form-item>