Browse Source

bug修复

master
ljlong_2630 7 months ago
parent
commit
ad3305fbba
  1. 3
      src/locales/zh-CN.ts
  2. 4
      src/views/eam/device/deviceRepair/index.vue
  3. 4
      src/views/eam/device/deviceSpotInspectionRecordMain/index.vue
  4. 8
      src/views/eam/device/devicemaintainjob/index.vue
  5. 4
      src/views/eam/device/devicemaintenancejob/index.vue
  6. 4
      src/views/eam/mold/moldmaintainjob/index.vue

3
src/locales/zh-CN.ts

@ -67,7 +67,8 @@ export default {
confirmRefused: '确认审批驳回吗?',
confirmHandle: '确认处理吗?',
confirmSubmit: '确认提交吗?',
finishSuccess:'操作成功'
finishSuccess: '操作成功',
verifySuccess: '验证成功'
},
error: {
noPermission: `抱歉,您无权访问此页面。`,

4
src/views/eam/device/deviceRepair/index.vue

@ -113,8 +113,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'eam:device-repair-request:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'eam:device-repair-request:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'eam:device-repair-request:export'}), //
// defaultButtons.defaultImportBtn({hasPermi:'eam:device-repair-request:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'eam:device-repair-request:export'}), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), //

4
src/views/eam/device/deviceSpotInspectionRecordMain/index.vue

@ -218,8 +218,8 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
// defaultButtons.defaultAddBtn(null), //
defaultButtons.defaultImportBtn({hasPermi:'eam:device-spot-inspection-record-main:import'}),
defaultButtons.defaultExportBtn({hasPermi:'eam:device-spot-inspection-record-main:export'}),
// defaultButtons.defaultImportBtn({hasPermi:'eam:device-spot-inspection-record-main:import'}),
// defaultButtons.defaultExportBtn({hasPermi:'eam:device-spot-inspection-record-main:export'}),
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) //

8
src/views/eam/device/devicemaintainjob/index.vue

@ -221,8 +221,8 @@ const { getList, setSearchParams } = tableMethods
const HeadButttondata = [
// defaultButtons.defaultAddBtn({
// }), //
defaultButtons.defaultImportBtn({hasPermi:'eam:device-maintain-job-main:import'}),
defaultButtons.defaultExportBtn({hasPermi:'eam:device-maintain-job-main:export'}),
// defaultButtons.defaultImportBtn({hasPermi:'eam:device-maintain-job-main:import'}),
// defaultButtons.defaultExportBtn({hasPermi:'eam:device-maintain-job-main:export'}),
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) //
@ -647,9 +647,11 @@ const onCancel = () => {
}
const onSubmit = () => {
DeviceMaintainOrderMainApi.orderClickApprove(dialogRowData.value.id,'VERIFIED',updateFormValue.value.verifyContent)
DeviceMaintainOrderMainApi.orderClickApprove(dialogRowData.value.id,'VERIFIED',updateFormValue.value.verifyContent).then(res => {
message.success(t('common.verifySuccess'))
dialogVisible.value = false
getList()
})
}
const orderPrint = (row) => {

4
src/views/eam/device/devicemaintenancejob/index.vue

@ -384,8 +384,8 @@ const judgeIsTheClassEngineerAndApply = (row,type) => {
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({ hasPermi:'eam:device-maintenance-job-main:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'eam:device-maintenance-job-main:import'}),
defaultButtons.defaultExportBtn({hasPermi:'eam:device-maintenance-job-main:export'}),
// defaultButtons.defaultImportBtn({hasPermi:'eam:device-maintenance-job-main:import'}),
// defaultButtons.defaultExportBtn({hasPermi:'eam:device-maintenance-job-main:export'}),
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) //

4
src/views/eam/mold/moldmaintainjob/index.vue

@ -631,9 +631,11 @@ const onCancel = () => {
}
const onSubmit = (val) => {
MoldMaintainOrderMainApi.orderClickApprove(dialogRowData.value.id,'VERIFIED',updateFormValue.value.verifyContent)
MoldMaintainOrderMainApi.orderClickApprove(dialogRowData.value.id,'VERIFIED',updateFormValue.value.verifyContent).then(res => {
message.success(t('common.verifySuccess'))
dialogVisible.value = false
getList()
})
}
const orderPrint = (row) => {

Loading…
Cancel
Save