qushaowei
2024-01-12 2b4abfa6fc83152b800a7696636fe682b7ec6cbf
src/views/eam/modules/dailyMaintenanceOrder/MaintenanceOrderModal.vue
@@ -424,21 +424,26 @@
          },
          width: 50,
        },
        // {
        //   title: '部位',
        //   align: 'center',
        //   dataIndex: 'location'
        // },
        {
          title: '部位',
          title: '保养角色',
          align: 'center',
          dataIndex: 'location'
          dataIndex: 'maintenanceRole'
        },
        {
          title: '保养项目',
          title: '保养内容',
          align: 'center',
          dataIndex: 'maintenanceProjectName'
        },
        {
          title: '保养标准',
          align: 'center',
          dataIndex: 'standard'
        },
        // {
        //   title: '保养标准',
        //   align: 'center',
        //   dataIndex: 'standard'
        // },
        // {
        //   title: '方法',
        //   align: 'center',
@@ -449,12 +454,12 @@
        //   align: 'center',
        //   dataIndex: 'maintenanceTool'
        // },
        {
          title: '示意图',
          align: 'center',
          dataIndex: 'photo',
          scopedSlots: { customRender: 'photo' }
        },
        // {
        //   title: '示意图',
        //   align: 'center',
        //   dataIndex: 'photo',
        //   scopedSlots: { customRender: 'photo' }
        // },
        // {
        //   title: '维保专业',
        //   align: 'center',
@@ -488,7 +493,7 @@
        },
        useId: {
          rules: [
            { required: true, message: '请选择使用部门!' },
            { required: false, message: '请选择使用部门!' },
          ]
        },
        maintenanceCycleId: {
@@ -636,12 +641,12 @@
    onSearchMaintenanceStandard() {
      let data = this.form.getFieldsValue(['useId']);
      if (data.useId == null || data.useId == "") {
        this.$message.warning("请先选择使用部门!");
        return
      }
      // if (data.useId == null || data.useId == "") {
      //   this.$message.warning("请先选择使用部门!");
      //   return
      // }
      this.$refs.DailyMaintenanceStandardList.list(data.useId);
      this.$refs.DailyMaintenanceStandardList.title = "选择日常保养标准";
      this.$refs.DailyMaintenanceStandardList.title = "选择二级保养标准";
    },
    sendMaintenanceStandardRecord(data) {
      let record = data.record;