qushaowei
2024-01-11 240c74ffb2b98faddf76648116ca9eeb61ee2cde
src/views/eam/modules/malfunctionRepair/FaultDescriptionList.vue
@@ -72,7 +72,7 @@
      url: {
        list: "/eam/faultDescription/list",
      },
      faultId: '',
      faultId: '-1',
      faultDetails: '',
      photo: ''
    }
@@ -82,7 +82,8 @@
  computed: {
  },
  methods: {
    loadData(arg) {
    loadData() { },
    loadData1(arg) {
      if (!this.url.list) {
        this.$message.error('请设置url.list属性!')
        return
@@ -95,7 +96,7 @@
      this.loading = true
      getAction(this.url.list, params)
        .then(res => {
          if (res.success&&res.result!==null) {
          if (res.success && res.result !== null) {
            //update-begin---author:zhangyafei    Date:20201118  for:适配不分页的数据列表------------
            this.dataSource = res.result.records
            if (this.dataSource != null && this.dataSource != "") {
@@ -125,7 +126,7 @@
    faultId() {
      this.queryParam = {};
      this.queryParam.faultId = this.faultId;
      this.loadData(1);
      this.loadData1(1);
    },
  }
}