feat:完成了工作台,修复了工单详情v-for不渲染的bug,增添了信息滚动条

This commit is contained in:
KindSeven
2024-09-15 04:44:45 +08:00
27 changed files with 6540 additions and 652 deletions

View File

@@ -6,13 +6,12 @@
</template>
<script setup lang="jsx">
import { isShallow, reactive, shallowRef } from 'vue';
import { reactive, shallowRef } from 'vue';
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
import WorkDialog from '../components/WorkDialog.vue';
import { orderdDetele, orderdClose, orderAdd } from "@/api/order/order.js"
const rowData = ref()
const isShow = ref(false)
const workDialogRef = ref()
const router = useRouter()
const tableIns = ref()
@@ -36,7 +35,7 @@ const auths = reactive({
const searchConfig = reactive([
{
label: '工单号',
prop: 'requirementName',
prop: 'orderNumber',
props: {
placeholder: '请输入工单号查询',
clearable: true,
@@ -45,7 +44,7 @@ const searchConfig = reactive([
component: 'el-input',
}, {
label: '工单名称',
prop: 'requirementName',
prop: 'orderName',
props: {
placeholder: '请输入工单名查询',
clearable: true,
@@ -54,7 +53,7 @@ const searchConfig = reactive([
component: 'el-input',
}, {
label: '工单状态',
prop: 'requirementName',
prop: 'orderState',
props: {
placeholder: '请选择工单状态查询',
cacheKey: 'work_order_status',
@@ -64,7 +63,7 @@ const searchConfig = reactive([
component: shallowRef(fvSelect),
}, {
label: '处理人',
prop: 'requirementName',
prop: 'operationUser',
props: {
placeholder: '请输入处理人查询',
clearable: true,
@@ -73,7 +72,7 @@ const searchConfig = reactive([
component: 'el-input',
}, {
label: '关单人',
prop: 'requirementName',
prop: 'knotter',
props: {
placeholder: '请输入关单人查询',
clearable: true,
@@ -83,7 +82,7 @@ const searchConfig = reactive([
},
{
label: '创建日期',
prop: 'requirementDate',
prop: 'createTime',
props: {
placeholder: '请选择',
clearable: true,
@@ -92,7 +91,7 @@ const searchConfig = reactive([
component: 'el-date-picker',
}, {
label: '处理时间',
prop: 'requirementDate',
prop: 'te',
props: {
placeholder: '请选择',
clearable: true,
@@ -101,7 +100,7 @@ const searchConfig = reactive([
component: 'el-date-picker',
}, {
label: '完成时间',
prop: 'requirementDate',
prop: 'completionTime',
props: {
placeholder: '请选择',
clearable: true,