Blame view

src/views/inspection/addMaintainancePlanLang.js 2.83 KB
daaebda8   wuxw   开发保养计划功能
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  export const messages = {
    en: {
      addMaintainancePlan: {
        title: 'Add Maintenance Plan',
        planName: 'Plan Name',
        planNamePlaceholder: 'Required, please enter plan name',
        standard: 'Maintenance Standard',
        standardPlaceholder: 'Required, please select maintenance standard',
        period: 'Maintenance Cycle',
        periodPlaceholder: 'Required, please select inspection cycle',
        month: 'Month',
        monthUnit: 'Month',
        day: 'Day',
        dayUnit: 'Day',
        fixedDays: 'Fixed Days',
        fixedDaysPlaceholder: 'Required, please enter days',
        startDate: 'Start Date',
        startDatePlaceholder: 'Required, please enter start date',
        endDate: 'End Date',
        endDatePlaceholder: 'Required, please enter end date',
        staff: 'Select Staff',
        machine: 'Maintenance Equipment',
        machinePlaceholder: 'Required, please select equipment',
        saveSuccess: 'Added successfully',
        saveError: 'Failed to add',
        validate: {
          planNameRequired: 'Plan name cannot be empty',
          standardRequired: 'Maintenance standard cannot be empty',
          periodRequired: 'Maintenance cycle cannot be empty',
          monthRequired: 'Month cannot be empty',
          dayRequired: 'Day cannot be empty',
          fixedDaysRequired: 'Fixed days cannot be empty',
          startDateRequired: 'Start date cannot be empty',
          endDateRequired: 'End date cannot be empty',
          machineRequired: 'Equipment cannot be empty'
        }
      }
    },
    zh: {
      addMaintainancePlan: {
        title: '添加保养计划',
        planName: '计划名称',
        planNamePlaceholder: '必填,请填写计划名称',
        standard: '保养标准',
        standardPlaceholder: '必填,请选择保养标准',
        period: '保养周期',
        periodPlaceholder: '必填,请选择巡检周期',
        month: '月',
        monthUnit: '月',
        day: '日',
        dayUnit: '日',
        fixedDays: '固定天数',
        fixedDaysPlaceholder: '必填,请填写多少天后保养一次',
        startDate: '开始日期',
        startDatePlaceholder: '必填,请填写开始日期',
        endDate: '结束日期',
        endDatePlaceholder: '必填,请填写结束日期',
        staff: '选择员工',
        machine: '保养设备',
        machinePlaceholder: '必填,请选择设备',
        saveSuccess: '添加成功',
        saveError: '添加失败',
        validate: {
          planNameRequired: '计划名称不能为空',
          standardRequired: '保养标准不能为空',
          periodRequired: '保养周期不能为空',
          monthRequired: '月不能为空',
          dayRequired: '日不能为空',
          fixedDaysRequired: '固定天数不能为空',
          startDateRequired: '开始日期不能为空',
          endDateRequired: '结束日期不能为空',
          machineRequired: '设备不能为空'
        }
      }
    }
  }