Browse Source

BUG修改

master
parent
commit
69cdc05c51
  1. 4
      src/views/eam/basic/basicMonthEquipment/index.vue
  2. 8
      src/views/eam/basic/inspection/index.vue
  3. 10
      src/views/eam/basic/item/index.vue
  4. 2
      src/views/eam/basic/locationArea/index.vue
  5. 8
      src/views/eam/basic/moldInspection/index.vue
  6. 8
      src/views/eam/basic/moldMaintenance/index.vue
  7. 10
      src/views/eam/item/itemLocationReplace/index.vue
  8. 4
      src/views/eam/item/itemOrderMain/index.vue
  9. 2
      src/views/eam/item/transaction/index.vue

4
src/views/eam/basic/basicMonthEquipment/index.vue

@ -98,7 +98,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
//defaultButtons.defaultAddBtn(null), //
defaultButtons.defaultImportBtn({hasPermi:'basic:BasciYearEquipment:export'}), //
defaultButtons.defaultImportBtn({hasPermi:'basic:BasicMonthEquipment:export'}), //
// defaultButtons.defaultExportBtn(null), //
defaultButtons.defaultFreshBtn(null), //
// defaultButtons.defaultFilterBtn(null), //
@ -132,7 +132,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
//defaultButtons.mainListEditBtn(null), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:BasciYearEquipment:delete'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:BasicMonthEquipment:delete'}), //
]
// -

8
src/views/eam/basic/inspection/index.vue

@ -133,8 +133,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'basic:inspection:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:inspection:export'}), //
defaultButtons.defaultAddBtn({hasPermi:'basic:deviceMaintenance:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:deviceMaintenance:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -164,8 +164,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'basic:inspection:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:inspection:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'basic:deviceMaintenance:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:deviceMaintenance:delete'}), //
]
// -

10
src/views/eam/basic/item/index.vue

@ -83,8 +83,8 @@
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'basic:locationArea:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:locationArea:export'}), //
defaultButtons.defaultAddBtn({hasPermi:'basic:item:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:item:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -106,9 +106,9 @@
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'basic:locationArea:update'}), //
defaultButtons.chooseDeviceBtn({hasPermi:'basic:locationArea:choose'}),//
defaultButtons.mainListDeleteBtn({hasPermi:'basic:locationArea:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'basic:item:update'}), //
defaultButtons.chooseDeviceBtn({hasPermi:'basic:item:choose'}),//
defaultButtons.mainListDeleteBtn({hasPermi:'basic:item:delete'}), //
]
// -

2
src/views/eam/basic/locationArea/index.vue

@ -79,7 +79,7 @@
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'basic:locationArea:query'}), //
defaultButtons.defaultAddBtn({hasPermi:'basic:locationArea:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:locationArea:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //

8
src/views/eam/basic/moldInspection/index.vue

@ -96,8 +96,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'basic:MoldInspection:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:MoldInspection:export'}), //
defaultButtons.defaultAddBtn({hasPermi:'basic:deviceMaintenance:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:deviceMaintenance:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -127,8 +127,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'basic:MoldInspection:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:MoldInspection:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'basic:deviceMaintenance:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:deviceMaintenance:delete'}), //
]
// -

8
src/views/eam/basic/moldMaintenance/index.vue

@ -156,8 +156,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'basic:moldMaintenance:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:moldMaintenance:export'}), //
defaultButtons.defaultAddBtn({hasPermi:'basic:deviceMaintenance:create'}), //
defaultButtons.defaultExportBtn({hasPermi:'basic:deviceMaintenance:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -187,8 +187,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'basic:moldMaintenance:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:moldMaintenance:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'basic:deviceMaintenance:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'basic:deviceMaintenance:delete'}), //
]
// -

10
src/views/eam/item/itemLocationReplace/index.vue

@ -99,9 +99,9 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'eam:itemLocationReplace:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'eam:itemLocationReplace:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'eam:itemLocationReplace:export'}), //
defaultButtons.defaultAddBtn({hasPermi:'item:itemLocationReplace:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'item:itemLocationReplace:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'item:itemLocationReplace:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //
@ -133,8 +133,8 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'eam:itemLocationReplace:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'eam:itemLocationReplace:delete'}), //
defaultButtons.mainListEditBtn({hasPermi:'item:itemLocationReplace:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'item:itemLocationReplace:delete'}), //
]
// -

4
src/views/eam/item/itemOrderMain/index.vue

@ -116,7 +116,7 @@
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'item:itemApplyMain:create'}), //
defaultButtons.defaultAddBtn({hasPermi:'item:itemOrderMain:create'}), //
// defaultButtons.defaultExportBtn(null), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
@ -159,7 +159,7 @@
// -
const butttondata = (row) => {
return [
defaultButtons.mainListOrderCOMPLETEBtn({ hide: isShowMainButton(row, ['INCOMPLETE']),hasPermi:'item:itemApplyMain:create' }), //
defaultButtons.mainListOrderCOMPLETEBtn({ hide: isShowMainButton(row, ['INCOMPLETE']),hasPermi:'item:itemOrderMain:create' }), //
// defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn(null), //
]

2
src/views/eam/item/transaction/index.vue

@ -98,7 +98,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'item:transaction:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'eam::import'}), //
defaultButtons.defaultImportBtn({hasPermi:'item:transaction:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'item:transaction:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //

Loading…
Cancel
Save