table 优化
parent
d1c6668f59
commit
d92a44e67f
|
|
@ -10,7 +10,7 @@
|
|||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^6.0.1",
|
||||
"@antv/g2": "^4.1.20",
|
||||
"@hwork/ant-design-vue": "^4.1.24",
|
||||
"@hwork/ant-design-vue": "4.1.24",
|
||||
"@hwork/icon": "^1.0.0",
|
||||
"@tinymce/tinymce-vue": "^4.0.4",
|
||||
"axios": "^0.21.1",
|
||||
|
|
@ -915,9 +915,9 @@
|
|||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"node_modules/@hwork/ant-design-vue": {
|
||||
"version": "4.1.25",
|
||||
"resolved": "http://x-repo.haier.net/repository/npm-public/@hwork/ant-design-vue/-/ant-design-vue-4.1.25.tgz",
|
||||
"integrity": "sha512-fgpwWpxVuAlCtpYspVVKS2JLily7Mq90Q9aQj8dr5gIlz56DHW8Tq2j+dIFN2wS5jcRugP5hbC7Wo9LNf23ElA==",
|
||||
"version": "4.1.24",
|
||||
"resolved": "http://x-repo.haier.net/repository/npm-public/@hwork/ant-design-vue/-/ant-design-vue-4.1.24.tgz",
|
||||
"integrity": "sha512-A2jil/lqCdcsDY49XR0GMKRX5MQcnqDsjCEkOAbKBK1V96dLi7M4PJ6Xx8BrREQtmGjpfSy3/hRMhsjyk904iQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^7.0.0",
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^6.0.1",
|
||||
"@antv/g2": "^4.1.20",
|
||||
"@hwork/ant-design-vue": "^4.1.24",
|
||||
"@hwork/ant-design-vue": "4.1.24",
|
||||
"@hwork/icon": "^1.0.0",
|
||||
"@tinymce/tinymce-vue": "^4.0.4",
|
||||
"axios": "^0.21.1",
|
||||
|
|
|
|||
|
|
@ -423,6 +423,9 @@ html {
|
|||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
|
||||
line-height: 30px;
|
||||
}
|
||||
.ant-list-layout {
|
||||
height: 100% !important;
|
||||
}
|
||||
.ant-list-layout-content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -1,43 +1,23 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 岗位列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import save from './modal/save.vue';
|
||||
import edit from './modal/edit.vue';
|
||||
import info from './modal/info.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, remove, removeBatch } from "@/api/module/announce";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -91,7 +71,7 @@ export default {
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择公告?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
/// 删除配置
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -185,7 +185,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,43 +1,24 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<!-- 多库列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- 新增页面 -->
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<!-- 修改页面 -->
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import save from './modal/save.vue';
|
||||
import edit from './modal/edit.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, remove, removeBatch } from "@/api/module/dataSource";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -76,7 +57,7 @@ export default {
|
|||
|
||||
/// 删除配置
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -97,7 +78,7 @@ export default {
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,45 +1,25 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 顶部区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<!-- 查询参数 -->
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<!-- 中心区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<!-- 列表 -->
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import save from './modal/save.vue';
|
||||
import edit from './modal/edit.vue';
|
||||
import info from './modal/info.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { tree, remove, removeBatch } from "@/api/module/dept";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -56,10 +36,12 @@ export default {
|
|||
|
||||
const tableRef = ref()
|
||||
|
||||
const switchFormat = { yes: true, no: false, event: function(value,record){
|
||||
const switchFormat = {
|
||||
yes: true, no: false, event: function (value, record) {
|
||||
record.enable = !record.enable;
|
||||
return value;
|
||||
}}
|
||||
}
|
||||
}
|
||||
|
||||
const columns = [
|
||||
{ dataIndex: "name", key: "name", title: "部门" },
|
||||
|
|
@ -79,7 +61,7 @@ export default {
|
|||
|
||||
/// 删除配置
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此字典?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择字典?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此字典?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择字典?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,26 +1,19 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 岗位列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -165,7 +158,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择私信?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,26 +1,19 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 岗位列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -151,7 +144,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,19 +1,14 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 顶部区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<!-- 查询参数 -->
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 中心区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
</template>
|
||||
<!-- 列表 -->
|
||||
<pro-table
|
||||
:fetch="fetch"
|
||||
|
|
@ -26,11 +21,8 @@
|
|||
>
|
||||
<!-- 继承至 a-table 的默认插槽 -->
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,14 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 顶部区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<!-- 查询参数 -->
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 中心区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
</template>
|
||||
<!-- 列表 -->
|
||||
<pro-table
|
||||
:fetch="fetch"
|
||||
|
|
@ -26,14 +21,11 @@
|
|||
>
|
||||
<!-- 继承至 a-table 的默认插槽 -->
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message , Modal as modal} from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, clean } from "@/api/module/log";
|
||||
import { reactive, createVNode } from 'vue';
|
||||
|
|
@ -79,7 +71,7 @@ export default {
|
|||
|
||||
/// 删除配置
|
||||
const cleanMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要清空日志?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,40 +1,20 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 顶部区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<!-- 查询参数 -->
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 中心区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<!-- 列表 -->
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:operate="operater"
|
||||
:toolbar="toolbar"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :operate="operater" :toolbar="toolbar"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
<!-- 继承至 a-table 的默认插槽 -->
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, clean, exportExcel } from "@/api/module/log";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -83,7 +63,7 @@ export default {
|
|||
|
||||
/// 删除配置
|
||||
const cleanMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要清空日志?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -123,7 +103,8 @@ export default {
|
|||
/// 查询参数
|
||||
const searchParam = [
|
||||
{ key: "title", type: "input", label: "标题" },
|
||||
{ key: "state", type: "select", label: "状态", value: "",
|
||||
{
|
||||
key: "state", type: "select", label: "状态", value: "",
|
||||
options: [
|
||||
{ text: "全部", value: "" },
|
||||
{ text: "成功", value: true },
|
||||
|
|
|
|||
|
|
@ -1,43 +1,23 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 岗位列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import save from './modal/save.vue';
|
||||
import edit from './modal/edit.vue';
|
||||
import info from './modal/info.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, remove, removeBatch } from "@/api/module/post";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -78,7 +58,7 @@ export default {
|
|||
|
||||
/// 删除配置
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -99,7 +79,7 @@ export default {
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择配置?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此角色?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择角色?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,40 +1,20 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 顶部区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<!-- 查询参数 -->
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 中心区域 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<!-- 列表 -->
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
|
||||
>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
<!-- 继承至 a-table 的默认插槽 -->
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
<give :visible="state.visibleGive" @close="closeGive" :record="state.recordGive"></give>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -42,7 +22,7 @@ import save from './modal/save.vue';
|
|||
import edit from './modal/edit.vue';
|
||||
import info from './modal/info.vue';
|
||||
import give from './modal/give.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, remove, removeBatch } from "@/api/module/tenant";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -91,7 +71,7 @@ export default {
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择租户?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,36 +1,16 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<!-- 列表页面 -->
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询条件 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-query
|
||||
:searchParam="searchParam"
|
||||
@on-search ="search"
|
||||
>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search">
|
||||
<template #test="{ data }">
|
||||
<a-input v-model:value="data.test" type="text" />
|
||||
</template>
|
||||
</pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 用户列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table
|
||||
ref="tableRef"
|
||||
:fetch="fetch"
|
||||
:columns="columns"
|
||||
:toolbar="toolbar"
|
||||
:operate="operate"
|
||||
:param="state.param"
|
||||
:pagination="pagination"
|
||||
</template>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- 新增页面 -->
|
||||
<save :visible="state.visibleSave" @close="closeSave" :record="state.record"></save>
|
||||
<!-- 修改页面 -->
|
||||
|
|
@ -39,7 +19,7 @@
|
|||
<give :visible="state.visibleGive" @close="closeGive" :record="state.recordGive"></give>
|
||||
<!-- 详情页面 -->
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -47,7 +27,7 @@ import save from './modal/save.vue';
|
|||
import edit from './modal/edit.vue';
|
||||
import give from './modal/give.vue';
|
||||
import info from './modal/info.vue';
|
||||
import { message , Modal} from '@hwork/ant-design-vue';
|
||||
import { message, Modal as modal } from '@hwork/ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { page, remove, removeBatch, resetPassword } from "@/api/module/user";
|
||||
import { reactive, createVNode, ref } from 'vue';
|
||||
|
|
@ -87,7 +67,7 @@ export default {
|
|||
|
||||
/// 删除用户
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此用户?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -109,7 +89,7 @@ export default {
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择用户?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -148,10 +128,12 @@ export default {
|
|||
const converFormat = [{ label: "男", value: "0" }, { label: "女", value: "1" }];
|
||||
|
||||
/// 开关
|
||||
const switchFormat = { yes: true, no: false, event: function(value,record){
|
||||
const switchFormat = {
|
||||
yes: true, no: false, event: function (value, record) {
|
||||
record.enable = !record.enable;
|
||||
return value;
|
||||
} };
|
||||
}
|
||||
};
|
||||
|
||||
/// 头像
|
||||
const avatarFormat = { size: 36, shape: "square" };
|
||||
|
|
|
|||
|
|
@ -1,26 +1,19 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 客户信息列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -183,7 +176,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择客户信息?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,26 +1,19 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 搬运类型列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -218,7 +211,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,29 +1,18 @@
|
|||
<template>
|
||||
<div>
|
||||
<page-layout>
|
||||
<a-row :gutter="[0,2]">
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table style="margin-top: 10px" rowKey="id" ref="tableRef" :fetch="fetch" :columns="columns"
|
||||
:toolbar="toolbar" :operate="operate" :param="state.param" :pagination="pagination"
|
||||
</template>
|
||||
<pro-table style="margin-top: 10px" rowKey="id" ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar"
|
||||
:operate="operate" :param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</page-layout>
|
||||
</div>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
message,
|
||||
notification,
|
||||
modal
|
||||
Modal as modal
|
||||
} from '@hwork/ant-design-vue';
|
||||
import {
|
||||
ExclamationCircleOutlined
|
||||
|
|
@ -46,6 +35,7 @@
|
|||
const removeBatchKey = "removeBatch";
|
||||
|
||||
export default {
|
||||
name: 'WmsRequestIndex',
|
||||
components: {},
|
||||
|
||||
setup() {
|
||||
|
|
@ -171,7 +161,7 @@
|
|||
|
||||
//重置配置
|
||||
const reActivateMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确认重置该请求?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -208,7 +198,7 @@
|
|||
|
||||
//取消配置
|
||||
const cancelMethod = (record) => {
|
||||
const confirmMsg = Modal.confirm({
|
||||
const confirmMsg = modal.confirm({
|
||||
title: '您是否确认取消该请求?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -231,7 +221,7 @@
|
|||
tableRef.value.reload()
|
||||
} else {
|
||||
message.destroy()
|
||||
notification.error({
|
||||
message.error({
|
||||
message: '请求取消失败',
|
||||
description: response.msg
|
||||
})
|
||||
|
|
@ -244,7 +234,7 @@
|
|||
}
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -279,7 +269,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -315,7 +305,7 @@
|
|||
/// 工具栏
|
||||
const toolbar = [{
|
||||
label: "删除",
|
||||
code: remove,
|
||||
code: 'wms:request:delete',
|
||||
event: function () {
|
||||
removeBatchMethod(state.selectedRowKeys)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,25 +1,16 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 岗位列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -47,6 +38,7 @@
|
|||
const removeBatchKey = "removeBatch";
|
||||
|
||||
export default {
|
||||
name: "SkuCategory",
|
||||
components: {
|
||||
save,
|
||||
edit,
|
||||
|
|
@ -148,7 +140,7 @@
|
|||
|
||||
/// 删除配置
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -182,7 +174,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
import save from './model/save.vue';
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
import {
|
||||
CheckOutlined,
|
||||
|
|
@ -312,7 +312,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (id) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -349,7 +349,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeactQtyMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<script>
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
|
||||
import {
|
||||
|
|
@ -228,7 +228,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
import edit from './model/edit.vue';
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
|
||||
import {
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -222,7 +222,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -223,7 +223,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
import {
|
||||
CheckOutlined,
|
||||
|
|
@ -768,7 +768,7 @@
|
|||
}
|
||||
//删除
|
||||
const removeMethod = (id) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -805,7 +805,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<script>
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
|
||||
import {
|
||||
|
|
@ -190,7 +190,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -229,7 +229,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -342,7 +342,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@
|
|||
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
import {
|
||||
CheckOutlined,
|
||||
|
|
@ -777,7 +777,7 @@
|
|||
}
|
||||
//删除
|
||||
const removeMethod = (id) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -814,7 +814,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<script>
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
|
||||
import {
|
||||
|
|
@ -188,7 +188,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -223,7 +223,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -247,7 +247,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -290,7 +290,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要分配选择的数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -330,7 +330,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要确认选择的数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -370,7 +370,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要执行选择的数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -410,7 +410,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要取消分配选择的数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@
|
|||
|
||||
/// 删除角色
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -325,7 +325,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -368,7 +368,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确认分配?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
import edit from './model/edit.vue';
|
||||
import {
|
||||
message,
|
||||
Modal,
|
||||
Modal as modal,
|
||||
} from '@hwork/ant-design-vue';
|
||||
|
||||
import {
|
||||
|
|
@ -223,7 +223,7 @@
|
|||
|
||||
//删除
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此条数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
|
||||
//批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
const taskCancelKey = "taskCancel";
|
||||
|
||||
export default {
|
||||
name: 'WmsRealTimeMonitorTaskIndex',
|
||||
components: {
|
||||
save,
|
||||
edit,
|
||||
|
|
@ -337,7 +338,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -385,7 +386,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定下发?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -432,7 +433,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定完成?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -479,7 +480,7 @@
|
|||
})
|
||||
return;
|
||||
}
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定取消?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,21 +1,16 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 任务备份列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</template>
|
||||
<!-- 列表 -->
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
|
||||
</template>
|
||||
|
||||
|
|
@ -328,7 +323,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -261,7 +261,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ export default defineComponent({
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -296,7 +296,7 @@ export default defineComponent({
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@
|
|||
|
||||
/// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -277,7 +277,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -312,7 +312,7 @@
|
|||
|
||||
///创建理货
|
||||
const createTallyTaskMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要创建理货任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -306,7 +306,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -202,7 +202,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@
|
|||
|
||||
/// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除此数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -293,7 +293,7 @@
|
|||
|
||||
/// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,24 +1,13 @@
|
|||
<template>
|
||||
<div>
|
||||
<page-layout>
|
||||
<a-row :gutter="[0,2]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col :span="24" style="height: 100%;">
|
||||
<a-card style="width: 100%;">
|
||||
</template>
|
||||
<!-- 托盘出入库记录列表 -->
|
||||
<pro-table style="margin-top: 10px" rowKey="id" ref="tableRef" :fetch="fetch" :columns="columns"
|
||||
:toolbar="toolbar" :operate="operate" :param="state.param" :pagination="pagination">
|
||||
<pro-table style="margin-top: 10px" rowKey="id" ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar"
|
||||
:operate="operate" :param="state.param" :pagination="pagination">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</page-layout>
|
||||
</div>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
|
|
@ -286,7 +275,7 @@
|
|||
|
||||
// 删除数据
|
||||
const removeMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -321,7 +310,7 @@
|
|||
|
||||
// 批量删除
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 码垛通道表列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -173,7 +166,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 区域出入口列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -225,7 +218,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择任务?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,23 +1,16 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout ref="pageRef">
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
message,
|
||||
notification,
|
||||
modal
|
||||
Modal as modal
|
||||
} from '@hwork/ant-design-vue';
|
||||
import {
|
||||
ExclamationCircleOutlined
|
||||
|
|
@ -234,7 +227,7 @@
|
|||
|
||||
// 取消
|
||||
const cancelMethod = (record) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确认取消该出库需求?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
@ -256,7 +249,7 @@
|
|||
tableRef.value.reload()
|
||||
} else {
|
||||
message.destroy()
|
||||
notification.error({
|
||||
message.error({
|
||||
message: '需求取消失败',
|
||||
description: response.msg
|
||||
})
|
||||
|
|
@ -268,7 +261,7 @@
|
|||
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 自增值定义列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -173,7 +166,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 自增值定义列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -200,7 +193,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 当前码垛SN列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -173,7 +166,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- SN历史列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -180,7 +173,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,25 +1,18 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- SN历史列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -180,7 +173,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定删除该数据?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
|
|
@ -1,24 +1,17 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 区域出入口列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,16 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<!-- 区域出入口列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
</template>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,20 @@
|
|||
<template>
|
||||
<page-layout>
|
||||
<a-row :gutter="[10, 10]">
|
||||
<!-- 查询表单 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<a-list-layout
|
||||
ref="pageRef"
|
||||
>
|
||||
<template #search>
|
||||
<pro-query :searchParam="searchParam" @on-search="search"></pro-query>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</template>
|
||||
<!-- 通道列表 -->
|
||||
<a-col :span="24">
|
||||
<a-card>
|
||||
<pro-table ref="tableRef" :fetch="fetch" :columns="columns" :toolbar="toolbar" :operate="operate"
|
||||
:param="state.param" :pagination="pagination"
|
||||
:row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }">
|
||||
</pro-table>
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<save :visible="state.visibleSave" @close="closeSave"></save>
|
||||
<edit :visible="state.visibleEdit" @close="closeEdit" :record="state.recordEdit"></edit>
|
||||
<addConfig :visible="state.visibleSave" @close="closeSave"></addConfig>
|
||||
<info :visible="state.visibleInfo" @close="closeInfo" :record="state.recordInfo"></info>
|
||||
</page-layout>
|
||||
</a-list-layout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
@ -171,7 +164,7 @@
|
|||
}
|
||||
|
||||
const removeBatchMethod = (ids) => {
|
||||
Modal.confirm({
|
||||
modal.confirm({
|
||||
title: '您是否确定要删除选择通道?',
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: '确定',
|
||||
|
|
|
|||
Loading…
Reference in New Issue